09-25-2008 7:04 AM
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.
09-25-2008 8:34 AM
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.
09-25-2008 7:09 AM
You can use a variant for that purpose.
Let me know if there some problem with that.
-Rajat
09-25-2008 7:10 AM
09-25-2008 8:34 AM
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.
10-08-2008 11:33 AM
Hello Nagarajan,
Thank you very very much. You have resolved my problem.
Best Regards,
Amal