on 10-19-2012 7:47 AM
Hi Experts,
I am new to SAP, i am working on my SCM system and my requirement is to fetch product details and display the TDSRC status and the transportation lane details for the product. My question is how do i convert MATID into MATNR, is there any function module to help me? I think GUID_CONVERT doesn't help.
Thanks & Regards,
Raveendra.
Hi Raveendra,
Please check:
/SAPAPO/DM_MATERIAL_GET Short Text Read Materials Using MATIDs
/SAPAPO/DM_MATERIAL_GET_MATID Short Text Provides Material ID
Best regards,
Tiemin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please use table /sapapo/matmap.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Raveendra,
Try to use this FM to convert the MATID into MATNR.
CALL FUNCTION '/SCMB/MDL_PRODUCT_READ'
EXPORTING
iv_id = iv_matid
IMPORTING
es_data = ls_matid_extkey.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Raveendra,
Did you check the APO table /sapao/matkey which has mapping of MATNR to MATID. Here from product # you will find product ID and use the product ID to get other details from other tables.
Thanks
Dev
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
/SAPAPO/DM_MATERIAL_GET: Function module extracts data like - material information, material text, base unit of measure for particular material based on material id.
Explanation
IMPORTING
I_MATID_TAB-MATID = <Material ID>
EXPORTING
E_MATKEY_TAB = <Matkey information like material number, product type, product attributes etc.>
E_MATTXT_TAB = <Material Text>
E_MARM_TAB = <MARM table information like alternate unit of
measure, attributes of alternative UOM etc.>
There is a new book on Programming in SAP APO. You might want to check that out.
http://www.flipkart.com/programming-sap-apo-1st/p/itmdgt9hbdh6auzu?pid=9781259028441&ref=bc49ea80-1a...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
7 | |
4 | |
3 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.