Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with ME01 BDC session

Former Member
0 Kudos

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

2 REPLIES 2

Former Member
0 Kudos

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

0 Kudos

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.