Hi,
I've created a batch input for 'LQ02' transaction. In this transaction you can mark all the registers with a button (materials) to move (another button).
When I do it manually, that means I mark all the registers with the button and move them with the other button, it works properly. But, with the batch input only does the first (however all the registers are marked).
Some idea why?
This is the batch input:
<i>report Z_LIBERA
no standard page heading line-size 255.
include bdcrecx1.
start-of-selection.
perform open_group.
perform bdc_dynpro using 'RLLQ0200' '1000'.
perform bdc_field using 'BDC_CURSOR'
'PA_BUDAT'.
perform bdc_field using 'BDC_OKCODE'
'=ONLI'.
perform bdc_field using 'S1_LGNUM'
'E'.
perform bdc_field using 'S1_LGTYP-LOW'
'001'.
perform bdc_field using 'PA_BWLVS'
'904'.
perform bdc_field using 'PA_BLDAT'
''.
perform bdc_field using 'PA_BUDAT'
''.
perform bdc_dynpro using 'SAPMSSY0' '0120'.
perform bdc_field using 'BDC_OKCODE'
'=MKAL'.
perform bdc_dynpro using 'SAPMSSY0' '0120'.
perform bdc_field using 'BDC_OKCODE'
'=UMBU'.
perform bdc_transaction using 'LQ02'.
perform close_group.</i>
Add a comment