‎2005 Aug 23 8:48 AM
Hello!
Does anyone know about which BAPI to use to read material BOMs from SAP ERP? I tried to find one in transaction BAPI but did not succeed.
Thanks a lot and best Regards
Jens
‎2005 Aug 23 9:15 AM
Hi Jen,
You can use CSAP_MAT_BOM_READ function module.
You need to pass value for Material and BOM usage.
This will return two tables T_STPO and T_STKO.
If you need any example, please let me know.
Hope this will help.
Also try CS_BOM_EXPLOSION.
Thanks and Warm Regards.
Pras Durafe
‎2005 Aug 23 9:01 AM
Welcome to SDN
you can use FM
'CS_BOM_EXPL_MAT_V2'
but this is not RFC enabled.(you cannot call it from external system) if you want this to be RFC enabled just wrap it with a RFC function. (check /people/prakash.singh4/blog/2005/05/15/explode-boms-in-enterprise-portal-using-htmlb-tree--part-1-abap for wrapping it in a RFC)
Rdgards
Raja
Since you are new to SDN, have a look at the following weblog about SDN way of saying thanks,
/people/mark.finnern/blog/2004/08/10/spread-the-love
‎2005 Aug 23 9:12 AM
Hi Jens,
Welcome to SDN.
You are right, a BAPI to explode a BOM probably does not exist in standard package (wonder why !!?!). though they have BAPIs to Create a material BOM and to check if a BOM for a material exists (BAPI_MAT_BOM_EXISTENCE_CHECK).
Though a work aroung might be helpful. You might want to use the Function module "CS_BOM_EXPL_MAT_V2". This FM is not remote enabled. So all you have to do is <i><b>envelope</b></i> this within a custom RFM and go on from there.
Hope this helps.
Cheers and Regards,
Sanyam<i></i><i></i>
‎2005 Aug 23 9:15 AM
Hi Jen,
You can use CSAP_MAT_BOM_READ function module.
You need to pass value for Material and BOM usage.
This will return two tables T_STPO and T_STKO.
If you need any example, please let me know.
Hope this will help.
Also try CS_BOM_EXPLOSION.
Thanks and Warm Regards.
Pras Durafe
‎2005 Aug 23 9:47 AM
Hi Jens,
Please go through the below weblogs. They have a sample code that will help you out.
Explode BOMS - Prakash
/people/prakash.singh4/blog/2005/05/15/explode-boms-in-enterprise-portal-using-htmlb-tree--part-1-abap
/people/prakash.singh4/blog/2005/05/15/explode-boms-in-enterprise-portal-using-htmlb-tree--part-2-java
Explode BOMS - Thomas
/people/thomas.jung3/blog/2005/05/16/explode-boms-in-enterprise-portal-using-htmlb-tree--part-3-bsp
Hope these help you out.
Thanks & Regards
Kathirvel