‎2009 Aug 20 3:55 AM
Hi...
I need to update the material description using EXCEL file.
Do you think is safe if I update MARA~maktx directly ?
Or I should call some function ? Not too sure any inter-related process in between or not.
Thanks.
‎2009 Aug 20 5:01 AM
use the BAPI 'BAPI_MATERIAL_SAVEDATA' and change the material description.
Regards,
Anil N.
‎2009 Aug 20 4:52 AM
Hi,
Do a small BDC for T-code MM02, to update Material Description it will be in one shot you can complete it.
Its not fair to update MARA table directly, coz Material Description need to update in few more tables like MAKT.
Regards,
Suneel G
‎2009 Aug 20 6:51 AM
Thanks ...
What's the difference between LSMW and BDC ?
I think I need to write some codes for BDC. Right ?
‎2009 Aug 20 5:01 AM
use the BAPI 'BAPI_MATERIAL_SAVEDATA' and change the material description.
Regards,
Anil N.
‎2009 Aug 20 6:55 AM
Hi ,
The difference bewteen the LSMW and BDC is in bdc u have to write the code and lsmw u have to perform some steps given by sap.
in bdc u can perofrm ur own logic wht evr way u want.
But for updating materila desc, i say the best way is to use the bapi , not hing else.
u can go with
BAPI_MATERIAL_SAVEDATA
u can check the same in se37 by passing the rqired fields and executing.
Regards
Rajendra
‎2009 Aug 20 8:03 AM
Ok, thanks .. I will check the BAPI method.
I completed the BDC but I have another dilemma which field to enable.
Since I am updating only the description, it should be the part ID and description. Right ?
CALL FUNCTION 'ZFM_UPDMATDESC'
EXPORTING
CTU = 'X'
MODE = 'N'
UPDATE = 'L'
GROUP =
USER =
KEEP =
HOLDDATE =
NODATA = '/'
MATNR_001 = wa_matdesc-matnr
KZSEL_01_002 = 'X'
MAKTX_01_003 = wa_matdesc-desc
" MEINS_004 = 'EA'
" MATKL_005 = '07'
IMPORTING
SUBRC =
TABLES
MESSTAB =
.
‎2009 Aug 20 9:39 AM
Hi,
why you are using a custom function module?
just call the BAPI - BAPI_MATERIAL_SAVE_DATA.
Pass the required parameters.
for your case, pass,
1). HEADDATA - FOR SELECTING THE VIEW (BASIC VIEW - MUST )
2). CLIENT DATA AND CLIENT DATAX
and in tables you get the material description.
pass those values and check.
if you have doubt still, revert back.
Regards,
Sakthi sri.
‎2010 Jan 22 2:00 PM
Hi friends,
I have a similar requirement i have to change material description of many materials
Also i need to change a few things in CLASSIFICATION VIEW .. does any one have any idea how can i make changes to CLASSIFICATION VIEW ??
I desperately need a solution.
Thanking you all in anticipation