‎2009 May 23 9:03 AM
HI Folks,
I want to upload material master for this views- basic data1,sales org1,sales org2,sales general/plant, purchasing, accounting.so after selecting views im getting one small window in that we have to fill plant,sales org, and distribution channel .i have created bdc program.after processing the program..the data is not passing into the small window which is having plant,sales org,distribution channel.
if iam using lsmw also the same problem,the data is not passing to the plant window...iam using ECC 6.0 version.
how can i solve this problem..please help me as soon as possible.
Thanks ,
Neelu
‎2009 May 23 10:47 AM
you can use LSMW BAPI method , you wont get the popup wondow
Business Object BUS1001006 Standard material
Method SAVEDATA Create and change materia
Message Type MATMAS_BAPI Create and change materia
Basic Type MATMAS_BAPI01 Create and Change Materia
‎2009 May 23 4:31 PM
Hi,
You can use the direct input program RMDATIND.
Regards,
Ankur Parab
‎2009 May 25 7:18 AM
Hi Dude,
Insted of BDC goo for BAPI to upload the Material Master data BAPI_MATERIAL_SAVEDATA.
‎2009 May 25 9:18 AM
‎2009 May 25 11:30 AM
Hi,
First check the recording, just process your recording in transaction SHDB (by selecting your recording name and click on process button).
Rgds,
Venu
‎2009 May 26 6:44 AM
Hi,
This is a sample recording, try this, it will solve your issue.
perform open_group.
perform bdc_dynpro using 'SAPLMGMM' '0060'.
perform bdc_field using 'BDC_CURSOR'
'RMMG1-MTART'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'RMMG1-MBRSH'
'C'.
perform bdc_field using 'RMMG1-MTART'
'FERT'.
perform bdc_dynpro using 'SAPLMGMM' '0070'.
perform bdc_field using 'BDC_CURSOR'
'MSICHTAUSW-DYTXT(02)'.
perform bdc_field using 'BDC_OKCODE'
'=ENTR'.
perform bdc_field using 'MSICHTAUSW-KZSEL(01)'
'X'.
perform bdc_field using 'MSICHTAUSW-KZSEL(02)'
'X'.
perform bdc_dynpro using 'SAPLMGMM' '4004'.
perform bdc_field using 'BDC_OKCODE'
'=SP02'.
perform bdc_field using 'MAKT-MAKTX'
'test'.
perform bdc_field using 'BDC_CURSOR'
'MARA-MATKL'.
perform bdc_field using 'MARA-MEINS'
'KG'.
perform bdc_field using 'MARA-MATKL'
'02'.
perform bdc_field using 'MARA-MTPOS_MARA'
'NORM'.
perform bdc_dynpro using 'SAPLMGMM' '4004'.
perform bdc_field using 'BDC_OKCODE'
'=SP04'.
perform bdc_field using 'BDC_CURSOR'
'MAKT-MAKTX'.
perform bdc_field using 'MAKT-MAKTX'
'test'.
perform bdc_dynpro using 'SAPLMGMM' '0081'.
perform bdc_field using 'BDC_CURSOR'
'RMMG1-VTWEG'.
perform bdc_field using 'BDC_OKCODE'
'=ENTR'.
perform bdc_field using 'RMMG1-WERKS'
'C001'.
perform bdc_field using 'RMMG1-VKORG'
'C001'.
perform bdc_field using 'RMMG1-VTWEG'
'01'.
perform bdc_dynpro using 'SAPLMGMM' '4000'.
perform bdc_field using 'BDC_OKCODE'
'=SP19'.
perform bdc_field using 'MAKT-MAKTX'
'test'.
perform bdc_field using 'MARA-MEINS'
'KG'.
perform bdc_field using 'MARA-MATKL'
'02'.
perform bdc_field using 'MVKE-SKTOF'
'X'.
perform bdc_field using 'BDC_CURSOR'
'MG03STEUER-TAXKM(01)'.
perform bdc_field using 'MG03STEUER-TAXKM(01)'
'0'.
perform bdc_dynpro using 'SAPLMGMM' '4200'.
perform bdc_field using 'BDC_OKCODE'
'=MAIN'.
perform bdc_field using 'BDC_CURSOR'
'MAKT-MAKTX'.
perform bdc_field using 'MAKT-MAKTX'
'test'.
perform bdc_dynpro using 'SAPLMGMM' '4000'.
perform bdc_field using 'BDC_OKCODE'
'=SP19'.
perform bdc_field using 'BDC_CURSOR'
'MAKT-MAKTX'.
perform bdc_field using 'MAKT-MAKTX'
'test'.
perform bdc_field using 'MARA-MEINS'
'KG'.
perform bdc_field using 'MARA-MATKL'
'02'.
perform bdc_field using 'MVKE-SKTOF'
'X'.
perform bdc_dynpro using 'SAPLMGMM' '0081'.
perform bdc_field using 'BDC_CURSOR'
'RMMG1-LGORT'.
perform bdc_field using 'BDC_OKCODE'
'=ENTR'.
perform bdc_field using 'RMMG1-LGORT'
'0001'.
perform bdc_dynpro using 'SAPLMGMM' '4000'.
perform bdc_field using 'BDC_OKCODE'
'=BU'.
perform bdc_field using 'BDC_CURSOR'
'MAKT-MAKTX'.
perform bdc_field using 'MAKT-MAKTX'
'test'.
perform bdc_field using 'MARA-MEINS'
'KG'.
perform bdc_field using 'MARA-IPRKZ'
'D'.
perform bdc_dynpro using 'SAPLMGMM' '4000'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'MAKT-MAKTX'
'test'.
perform bdc_field using 'MARA-MEINS'
'KG'.
perform bdc_field using 'MARA-GEWEI'
'KG'.
perform bdc_field using 'MARC-MTVFP'
'02'.
perform bdc_field using 'BDC_CURSOR'
'MARC-LADGR'.
perform bdc_field using 'MARA-TRAGR'
'0001'.
perform bdc_field using 'MARC-LADGR'
'0001'.
perform bdc_dynpro using 'SAPLMGMM' '4000'.
perform bdc_field using 'BDC_OKCODE'
'=BU'.
perform bdc_field using 'BDC_CURSOR'
'MAKT-MAKTX'.
perform bdc_field using 'MAKT-MAKTX'
'test'.
perform bdc_field using 'MARA-MEINS'
'KG'.
perform bdc_field using 'MARA-IPRKZ'
'D'.
perform bdc_transaction using 'MM01'.
perform close_group.
Thanks & Regards,
Kimaya
‎2009 May 26 8:14 AM