‎2010 Mar 02 8:58 AM
Hi SDN,
is there a BAPI for getting a BOM with a specific parameter effectivity? I searched for a parameter like serial number but without success.
Thanks in advance.
‎2010 Apr 02 12:03 AM
Hi Erik,
Below are the steps for material BOM Explosion with parameter effectivity. If you want this functionality to behave as a bapi(for WS, rfc, etc.) then you will need to wrap these function calls together.
First you need to initialize the Engineering change management application.
1) CALL FUNCTION 'ECM_PROCESSOR_INIT'
Set the 'no-popup' flag. I don't know how your system has been configured so you will need to sort through the function module parameters yourself to determine what you need based on your implementation(Change masters with release key, without, etc). ***note, there is a bug in this FM code not yet corrected by SAP. if you have unexpected results it may be caused by data not being cleared from 'itab_aepfb'. Add an implicit enhancment to the start of the FM and add 'refresh itab_aepfb.'.
2) CALL FUNCTION 'CS_BOM_EXPL_MAT_V2'.
You will have already initialized the ECM processor so your effectivity will now take effect.
Hope this helps,
-Scott
‎2010 Mar 02 9:18 AM
did you try these ?
BAPI_COSTESTIMATE_GETDETAIL Determine detailed information for a cost estimate
BAPI_COSTESTIMATE_GETEXPLOSION Determine BOM Explosion for a Cost Estimate
BAPI_COSTESTIMATE_GETLIST Determine cost estimate lists
BAPI_COSTESTIMATE_ITEMIZATION Determine itemization for a cost estimate
‎2010 Mar 02 9:29 AM
No, I didn't try these. I was searching for a material BOM BAPI which would accept a serial number.
‎2010 Mar 02 9:45 AM
BAPI_BOM_UPLOAD_SAVE is this the one ? It accepts fields related to CS01
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)
Also do refer
Did you get your answer ? if not could you please elaborate a little bit so that i could help you solve the issue ..
regards
Manthan.
‎2010 Mar 02 10:01 AM
BOM view without parameter values:
[SAP - CEWB - BOM|http://i48.tinypic.com/do9oq8.png]
BOM view with parameter X0051,X9999:
[SAP - CEWB - BOM with parameter|http://i49.tinypic.com/168wp00.png]
Is there a BAPI that will get me the BOM like in the second screenshot?
Edited by: erik.vonderheid on Mar 2, 2010 11:01 AM
‎2010 Apr 02 12:03 AM
Hi Erik,
Below are the steps for material BOM Explosion with parameter effectivity. If you want this functionality to behave as a bapi(for WS, rfc, etc.) then you will need to wrap these function calls together.
First you need to initialize the Engineering change management application.
1) CALL FUNCTION 'ECM_PROCESSOR_INIT'
Set the 'no-popup' flag. I don't know how your system has been configured so you will need to sort through the function module parameters yourself to determine what you need based on your implementation(Change masters with release key, without, etc). ***note, there is a bug in this FM code not yet corrected by SAP. if you have unexpected results it may be caused by data not being cleared from 'itab_aepfb'. Add an implicit enhancment to the start of the FM and add 'refresh itab_aepfb.'.
2) CALL FUNCTION 'CS_BOM_EXPL_MAT_V2'.
You will have already initialized the ECM processor so your effectivity will now take effect.
Hope this helps,
-Scott
‎2010 Oct 15 2:53 PM
Hi experts,
i have this problem: I must use the RFC cs_Bom_Expl_Mat_V2 from my program written in VB.net.
Before execute the cs_Bom_Expl_Mat_V2 i must execute the RFC ECM_PROCESSOR_INIT that not have the RemotE access enabled for external use. i need an RFC or Bapi that seem ECM_PROCESSOR_INIT.