Batch Input and Select Option
Hello,
Please, i have one issue.
I want to do one Batch Input for one standard transaction. In this transaction, exist one select-option and i fill more values.
I generate the SDHB but i have problema with the select-option. How i can simulate enter value in the Select option by code?
Thank you.
Tags:
Nagarajan Ramamoorthy replied
Hi SALHI AMAL,
We can do this. But its a lengthy process.
You have to record by giving multiple selection values and do some changes in that code.
The number of rows in that 'Multiple Selection' dialog is 8 and it is constant, i.e. it won't vary with monitor or screen size.
In my testing,
perform bdc_dynpro using 'SAPLALDB' '3000'. perform bdc_field using 'BDC_OKCODE' '=ACPT'.
This is the code to just to fill values in 'SELECT SINGLE VALUES' tab.
If i want to fill more than 8 values, the following code will do that,
perform bdc_dynpro using 'SAPLALDB' '3000'. perform bdc_field using 'BDC_OKCODE' '=P+'.
In this, you have to determine, how many times, we have to press 'PAGE DOWN'.
This all regards one tab in that dialog. Still there are 3 dialogs.
Regards,
R.Nagarajan.