We got all needed functions, so I'll give you an example how to call the methods correctly to get characteristics update window like this: Program bellow is reading firstly the info about stored ...
Now it's time to save the values entered into database. I will use here previously created method to move data from reference structure to BAPI tables, then I will read values from database to see ...
Our characteristics update screen was displayed, data was changes so we need to read the reference data and put the values into BAPI structures in order to be able to save the values to database. I will ...
In previous article I've shown how to move characteristics from reference data to screen values table, this method is doing opposite way from screen values table to reference data structure. Importing: ...
Before we can call the screen with the characteristic value to change we need to convert data from our reference data structure to table of type TT_API_VALI. Following method shows how to do it. Importing: ...
We've got method to convert internal value to float, now it's time for next one which I didn't suppose it would be needed but when I was calling CTMS_DDB_SET_VALUE_ONLINE to show input screen ...
... there own values at call
- method to copy data from my reference data structure to screen values - method to copy data from screen (after input) to my reference data structure - method to copy data from ...
... into field CONNID, but as stated before, the check of the input data is done on a base of the type of internal table field. That is why I’ve received an error that entry is not numeric.
Figure ...
... exits, you can find the by searching of FM that begins with CONVERSION_EXIT_*. You’ll notice that after the second underscore there is a five characters name of the conversion exit, and then _INPUT or ...
... is a nested internal table and is passed by VALUE
CI_VALPAR
CL_CI_TEST_VALUE_PARAMETER
FLD_INNOWR
N
Input parameter is passed by VALUE but not changed
CI_VALPAR ...
...
*& Module PAI INPUT
*&---------------------------------------------------------------------*
* text
*----------------------------------------------------------------------*
module pai input. ...
... field can be found in ZDEMO_FALV06.
methods set_mark_field
importing
value(iv_fieldname) type lvc_s_fcat-fieldname .
SET_EDITABLE
Set's grid is ready for input and registers ...
I've seen on SCN plenty of question about copying BOM from one plant to other, or from one material to other. Most of them were closed by using LSMW or direct input methods, but there is a really nice ...
...
).
if sy-subrc 0.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
else.
call method go_popup_grid->set_ready_for_input ...
It may happen that you'll need to do select or loop on a base of the field which is kept in lower case, but you don't know exactly what's the value o field. In such case you may want to build ...
...
* MODULE pai INPUT
*----------------------------------------------------------------------*
*
*----------------------------------------------------------------------*
module pai input.
if ...
... and field-symbols to put them on place. So let's start. As input parameter I will use only subscreen number: i_dynnr type sy-dynnr -> subscreen number Implementation of method: method get_variant_for_ss. ...
...
).
if i_zip_files is not initial or et_xstring is requested.
call function 'SCMS_BINARY_TO_XSTRING'
exporting
input_length = ms_accessinf-comp_size ...
... and 'PERIOD_AND_DATE_CONVERT_INPUT' comes with a help. We would need to declare some importing and exporting parameters in a method: Importing (all as optional to be able to use method in both ...