Skip to Content
0
Former Member
May 12, 2009 at 02:41 PM

BAPI for BOM Upload

458 Views

Looking for a BAPI to post BOM data from internal table to database tables with respective error logs and success logs (with respect to completion log....logs to be displayed in a report output).

Fields of internal table are :

STKO-STLNR (BOM No)

STKO-STLTY (BOM Category)

STKO-STLST (BOM Status)

STKO-BMENG (Base Quantity)

STKO-DATUV (Valid from)

STKO-DATUB (Valid to)

STKO-LKENZ (Deletion Indicator)

STPO-POSTP (Item Category)

STPO-IDNRK (Component)

STPO-MENGE (Component Quant.)

STPO-IDENT (Item ID)

MAST-MATNR (Material)

MAST-WERKS (Plant)

MAST-STLAN (BOM Usage)

I am using FM - CS_BOM_EXPL_MAT_V2...But i am not able to trap the logs and could not find all the fields as well (STKO-STLST).

Will this FM serve the purpose? If not please help me with a BAPI.

Regards.