‎2009 Sep 30 6:10 AM
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
‎2009 Sep 30 6:14 AM
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
‎2009 Sep 30 6:47 AM
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?