10-09-2007 1:48 PM
I have a source list that goes to multiple pages. We use file interface and BDC session to update this source list. The problem is, that this session updates changes to the first page only. Any changes done to subsequent pages won't be saved.
More information: I have used SHDB to record the transaction, the programmed BDC session matches the SHDB recording. And all this has been working fine for many years. Problem came up when this source list became big and spilled over to multiple pages.
Any help is greatly appreciated.
Atul.
Message was edited by:
Atul Devasthali
10-10-2007 7:11 AM
i think the problem is in the recording . Because for 2nd page onwards the problem is occured. You can try this recording.
perform bdc_dynpro using 'SAPLMEOR' '0200'.
perform bdc_field using 'BDC_CURSOR'
'EORD-WERKS'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'EORD-MATNR'
<material no>.
perform bdc_field using 'EORD-WERKS'
<plant>.
perform bdc_dynpro using 'SAPLMEOR' '0205'.
perform bdc_field using 'BDC_CURSOR'
'EORD-MATNR'.
perform bdc_field using 'BDC_OKCODE'
'=NS'.
perform bdc_dynpro using 'SAPLMEOR' '0205'.
perform bdc_field using 'BDC_CURSOR'
'EORD-AUTET(02)'.
perform bdc_field using 'BDC_OKCODE'
'=BU'.
perform bdc_field using 'EORD-VDATU(02)'
<pass from date>.
perform bdc_field using 'EORD-BDATU(02)'
<pass to date>.
perform bdc_field using 'EORD-LIFNR(02)'
<vendor no>.
perform bdc_field using 'EORD-EKORG(02)'
<purchasing grp>.
perform bdc_field using 'EORD-AUTET(02)'
'1'.
perform bdc_transaction using 'ME01'.
regards
shiba dutta
10-10-2007 11:34 AM
Thank you Shiba for this info.
However, adding records to the next screen is not a problem. Making changes to existing records and saving them is the problem.