Application Development and Automation 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: 
Read only

BDC OKCODE - ME01 - Source list

Former Member
0 Likes
751

Hello All,

I need to write a BDC to update the source list for the materials (master data ) with T-code ME01.

But ME01 is used both for create and change of the source list.

I am writing the following BDC for change,but it is not working.

CLEAR bdc_tab. REFRESH bdc_tab.

PERFORM dynpro USING:

*initial screen

'X' 'SAPLMEOR' '0200',

' ' 'EORD-MATNR' itab_eord-matnr,

' ' 'EORD-WERKS' itab_eord-werks,

' ' 'BDC_OKCODE' '/00'.

PERFORM dynpro USING:

'X' 'SAPLMEOR' '0205',

' ' 'EORD-VDATU(1)' from_date.

*

PERFORM dynpro USING:

' ' 'EORD-BDATU(1)' to_date,

' ' 'EORD-LIFNR(1)' itab_eord-lifnr,

' ' 'EORD-EKORG(1)' p_ekorg,

' ' 'RM06W-FESKZ(1)' ' ',

' ' 'EORD-AUTET(1)' '1',

' ' 'BDC_OKCODE' '=BU'.

CALL TRANSACTION 'ME01' USING bdc_tab MODE bdc_mode UPDATE 'S'.

I am trying to change the existing source list for a part with above BDC code.

But it says "Source list for mat. 0403-000363 and plant V711 already being

processed".

Please guide me how should i change the existing source list with BDC ?

Thanks in advance,

Swati

2 REPLIES 2
Read only

Former Member
0 Likes
539

Hi,

The error just means that someone is already editing source list for the material 0403-000363. Close that and try executing the bdc.

Regards,

Vikranth

Read only

0 Likes
539

Thanks Vikranth...it didnt strike me.

ANyways i am now getting another error likbelow.

"Several sources MRP-relevant on one date"

What could be the reason?