Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Before confirming the production Order I need ALT BOM TEXT data

Former Member
0 Kudos
284

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

2 REPLIES 2

Former Member
0 Kudos
137

Hi

Try to use fm CS_BOM_EXPL_MAT_V2

Max

Former Member
0 Kudos
137

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