06-04-2010 10:41 AM
Hi,
I have a requirement that flat file data shoud be update in MM02 t-code in basic data view (Units of measure ) columns .
I have no access in dev. for mm02 t-code but mm03 available.
Can somebody suggest how to approach this. I know through recording (SHDB) i will do.
But can i put mm03 instead of mm02 at the time of recording?
06-04-2010 10:48 AM
Hi,
Instead of recording use BAPI to update.
BAPI_MATERIAL_SAVEDATA
Regards
Bala Krishna
06-04-2010 10:48 AM
Hi,
Instead of recording use BAPI to update.
BAPI_MATERIAL_SAVEDATA
Regards
Bala Krishna
06-04-2010 12:35 PM
Hi,
thanks,
But i want to update these 4 fields data from flat file.
How to catch in the FM ?
MARM-MATNR MARM-MEINH MARM-UMREZ MARM-UMREN
Material UoM Numerator Denominator
06-04-2010 12:52 PM
You can record MM02 itself.
or you can write a report in that you can read the file and send those values to the BAPI, BAPI_material_savedata.
--
Reddy
06-04-2010 1:16 PM
Hi,
Fill the structure HEADDATA with material details, and fill the table BAPI_MARM with the values you want to update.
Go through the documentation of the BAPI.
Regards
Bala Krishna