‎2008 Feb 15 8:25 AM
Hi Guys,
is there any standard BAPI which can handle multi level BAPI's.
If not is there any function module which can do this.
Actually i want to get the deta for BOM to the last level.
‎2008 Feb 15 8:36 AM
BAPI related to BOM:
BAPI_MATERIAL_BOM_GROUP_CREATE Creation of a material BOM group
BAPI_MAT_BOM_EXISTENCE_CHECK Check whether BOM for material exists
BAPI_BOM_UPLOAD_SAVE Main Module for BOM Update (Upload from CRM)
Regards.
‎2008 Sep 05 12:18 PM
‎2008 Feb 15 8:36 AM
you can use this FM /ISDFPS/PM_BOM_GETDETAIL. You need to pass the material and plant concatenated into single field.
This FM will retrrive all the BOM /ISDFPS/PM_BOM_GETLIST and CABM_READ_BOM.
Try this FMs, I hope it will work.
Regards
Praveen
‎2008 Feb 15 8:41 AM
HI,
Call the function module 'CS_BOM_EXPL_MAT_V2' in your program & you will get the same output as you do in CS12.
call function 'CS_BOM_EXPL_MAT_V2'
exporting
datuv = il_datuv " bom expln date
mehrs = 'X'
mtnrv = il_matnr "Material number
stlal = il_stlal
stlan = il_stlan
werks = il_werks " plant
tables
stb = it_stpox
exceptions
alt_not_found = 1
call_invalid = 2
material_not_found = 3
missing_authorization = 4
no_bom_found = 5
no_plant_data = 6
no_suitable_bom_found = 7
conversion_error = 8
Suggest to do search in SDN with key - 'BOM'
Will get a lot of helpful discussions.
<b>Reward points if this helps.
Manish</b>
‎2008 Sep 05 12:18 PM