2011 Jan 10 1:37 PM
Hi Friends,
After Production Order creation Ineed ALT BOM TEST data (STKO-STKTX field) i.e., means Before confirming the production order I wanted to take ALT BOM TEXT.
I analyzed the standard BAPI 'BAPI_PRODORD_GET_DETAIL ' but In this BAPI I have not the STKTX field in any Export parameter then how we have to get the ALT BOM TEXT data.
If we need to go for Custom BAPI pls. tell me the process to follow.
Thank you,
Madhu
2011 Jan 10 1:44 PM
2011 Jan 10 2:08 PM
Hi Madhu,
BOM Header table is STKO.
The fields are STKO-LTXSP for Alternative text.
STKO-STLNR for BOM Number.
If you are passing BOM Number , you can select alternative text on condition based after that you can proceed.
Here, if sy-subrc = 0, you can write own code.
Otherwise, If you are passing Material to find Alternative text, you can use FM.
Lot of function modules available on BOM.
Regards,
Prasad