FM for BOM Explosion (BOM is with model-unit effectivity)

HI Experts,
I am looking for a bom explosion function module that allows me to explode Model-Unit BOMS.
For example, if I have a bom that uses Change Master to control Model-Unit effectivities, I want to able to provide a Model and Unit, and explode the neccessary components at the next level.
Does anyone know such function modules?
Thanks in advance,
Charlie

Was able to do it by using the following code:
      MTCOM-MATNR = LKL_MATNR.                               
      MTCOM-KENNG = 'MC29M'.
      MTCOM-SPRAS = SY-LANGU.
      MTCOM-NOVOR = 'X'.
      CALL FUNCTION 'MATERIAL_READ'
         EXPORTING  SCHLUESSEL = MTCOM
         IMPORTING  RETURN     = MTCOR
                    MATDATEN   = MC29M
         TABLES     SEQMAT01   = DUMMYTAB
         EXCEPTIONS MATERIAL_NOT_FOUND = 4
                    PLANT_NOT_FOUND    = 8 .
         CALL FUNCTION 'ECM_PROCESSOR_INIT'
              EXPORTING
                   TOPMATNR            = LKL_MATNR           
                   E_TECHS             = LKL_TECHS
                   DEFAULT_TECHS       = 'X'
                   FREIG_KALKULATION   = 'X'
                   FREIG_PLANUNG       = 'X'
                   FREIG_FERTIGUNG     = 'X'
                  display             = 'X'
                   no_pop_up           = ''
                   FREIG_EINGABEBEREIT = 'X'
                  BATCHLAUF           = SYST-BATCH
              TABLES
                   VALID_OR_INVALID = CCVAL
                   PARAMETER        = PARAM
                   OUTPUT_PARAMETER = ECM_SL                 
              EXCEPTIONS
                   exit_in_dynpro   = 4                      
                   OTHERS           = 0.
Then with this fm to explode bom;
CALL FUNCTION 'CS_BOM_EXPL_MAT_V2'
  EXPORTING
    aumgb                 = 'X'
    capid                 = 'PP01'
    datuv                 = sy-datum
    ehndl                 = '1'
    emeng                 = 1  "required qty
    mktls                 = 'X'
    mehrs                 = 'X'
   mmory                 = '0'
    mtnrv                 = 'TEST12345'
    stlal                 = '02'  "Alternative
    stlan                 = '1'
   SVWVO                 = 'X'
   STKKZ                 = 'X'
     werks                 = '0001'
   VRSVO                 = 'X'
  IMPORTING
    topmat                = topmat
    dstst                 = dstst
  TABLES
    stb                   = stb
    matcat                = matcat

Similar Messages

  • RFC BAPI for BOM explosion with parametric effectivity

    Hello,
    I'm searching for a RFC enabled BAPI for BOM explosion which allows to evaluate parametric effectivity.

    Hi you can also check CS_BOM_EXPLOSION_MAT
    If its not remote enabled, write a custom fm(Remote enabled) and wrap this Fm.

  • BOM Explosion based on Production Order Creation

    Hi PP Guru,
    My client wants the BOM Explosion date to be based on Production Order creation date. Could you help to advise how to set-up this requirement?
    I have showed them these possible System Configuration in BOM explosion, but none of these options are applicable to their current business practice.
    <OPPQ> BOM Explosion:
         BOM explosion number/order start date
    1     Order start date
    2     Order finish date
    3     BOM explosion number/order start date
    4     BOM explosion number/order finish date
    Looking forward to you reply.
    thanks,
    John

    Hi Sundaresan,
    Thanks for your reply.  So do you think there's any other way to fulfill the client's requirement?  I was thinking to do the "PP Master Data" instead, in order to choose the date of explosion.
    Actually the scenario is this:
    Initially the Material XXXXXX has a valid BOM on 03.01.2011 to 12.31.9999, but then, some changes has been made, maybe the user has changed the component or added new component using 04.01.2011 to 12.31.9999 as validity date.
    For example, the user created the Production Order (manually in CO01 or from Planned Order conversion) on 03.20.2011 and the Order Star date is 04.01.2011, so the system will copy the updated BOM which is valid on 04.01.2011 to 12.31.9999 (based on Order Start date).
    However, the client wants to explode the previous BOM instead (03.01.2011 to 12.31.9999).
    Please advise.
    Thanks,
    John

  • BOM with alternate unit of measure

    Hello team
    Is it possible to create the BOM with alternate unit of measure ?
    Thanks
    JJ

    Hi,
    Not possible to create BOM by item material with alt unit of measure.
    If you want to use other UOM in production, use issue unit in work scheduling view.
    If you want to procure use order unit in purchasing view.
    For selling use sale unit in sales view.
    Regards,
    Dharma

  • Create Characteristic with multiple units of measure

    Hello Friends,
    I want to create characteristic (CT04) which has multiple units of measure.  At present  a  Characteristic is created with a single unit of Measure. I have to create characeristic and assign it in MIC. MIC specifications are customer dependent. Customer may give specifications in different unit of measure. While creating sales order, I am entering the specifications for characteristics, as material is created with varient.
    I am creating Single Characteristic multiple times for different Unit of Measure and assigning it to the class.
    Therefore according to the Customer requirment and his specifed Unit of Measure, that Characteristic is choosen having same UoM as of Customer.
    Insead of doing this, Is it possible to assign multiple units of measure to single characteristic?
    Waitng for reply!
    Regards,
    Kiran

    Hi,
    With Multiple Unit Of measures, I don't think its possible.
    You can Use CHAR for characteristics, to Use.
    Instead for Fixed Units. Let Marketing/sales Enter the req.
    But you shall make it Multiple Selection, Since you can use them in Selection Condition.
    Hope this is Useful.
    Regards
    Raghu

  • Create characteristc with multiple units of measure

    Hello Friends,
    I want to create characteristic (CT04) which has multiple units of measure.  At present  a  Characteristic is created with a single unit of Measure. I have to create characeristic and assign it in MIC. MIC specifications are customer dependent. Customer may give specifications in different unit of measure. While creating sales order, I am entering the specifications for characteristics, as material is created with varient.
    I am creating Single Characteristic multiple times for different Unit of Measure and assigning it to the class.
    Therefore according to the Customer requirment and his specifed Unit of Measure, that Characteristic is choosen having same UoM as of Customer.
    Insead of doing this, Is it possible to assign multiple units of measure to single characteristic?
    Waitng for reply!
    Regards,
    Kiran

    Hi,
    With Multiple Unit Of measures, I don't think its possible.
    You can Use CHAR for characteristics, to Use.
    Instead for Fixed Units. Let Marketing/sales Enter the req.
    But you shall make it Multiple Selection, Since you can use them in Selection Condition.
    Hope this is Useful.
    Regards
    Raghu

  • Report for Cost of Multiple products with Multilevel BOM explosion

    Hi,
    Our client has a requirement of a report showing standard cost estimate of multiple FG products, with multi-level BOM explosion.
    In short, the requirement is to get a CK13N report for multiple products.
    Has anyone come across such requirement? The requirements seems to be very normal.
    But, I have not seen any standard report for the same. If there is any, please suggest.
    or suggest a better solution for the same.
    Thanks in advance. Pts guaranteed.

    Hi,
    I totally agree with you that this is a totally vague requirement.
    However, let me share the reason for such client requirement.
    We have a customer, for which we produce certain parts for select models. Now, the arrangement with customer for pricing is based on the raw material and other production cost for all such parts. Based on the fluctuations in cost, the pricing would be finalised.. on a monthly or quarterly basis.
    For this purpose, the customer requires to know the raw materials used in each of the part.
    Individually it could have been managed. But the price change in terms of % is decided at global level and not for each part.
    Please suggest

  • BOM Explosion for Multiple Process Orders

    Hi,
    I hope someone can assist me with the following: Is there a report I can run or transaction I can do to have BOM explosion for multiple Process Orders? I would like to input process orders for a week and see the BOM details per PO.
    Thanks

    Dear Sukendar,
    1.For this requirement you have to go for a Z report and you can give the Functional Spec's to prepare
    this report to your ABAP consultant.Prepare the input format,logic of the program and the output format.
    In the logic part you can make use of this Functional Modules's CSAP_MAT_BOM_READ or 
    CSEP_MAT_BOM_READ  or CS_BOM_EXPLOSION   or CS_BOM_EXPL_MAT_V2 .
    2.Using CEWB helps you to identify all the material that's having the BOM,but here the report does not
    shows you the level by level by BOM for a FERT.
    Check and revert back.
    Regards
    Mangalraj.S

  • BOM Explosion needed on PO and/or Delivery for Stock Transfer PO Process

    Good afternoon,
      I have been researching the SDN and web for a solution to my problem to no avail so far. 
    The business problem I need to solve is the requirement for our STPO process to explode certain BOM's that are transfered from one company/plant to another company/plant in order to record batch/serial # component information by the delivering plant on the delivery and verification of the batch/serial # in the receiving plant during MIGO processing of the delivery.  This is needed by our Service Mgmt department in order to track servicable items within the Finished Good (medical devices industry).
    It appears on the SDN that a BOM can not be exploded on a non-Subcontracting PO (which would be ideal for us), but barring this problem, we are trying to have the BOM explode in the Delivery created from the STPO via the VL10B transaction.
    The STPO generates a Delivery doc with type NLCC and item category NLC.  I have maintained the material master for the BOM material to have an Item Category Group of ERLA, and I have modified Item Category Determination in configuration in Logistics Execution for deliveries to include ERLA, usage V, and NLC as default item category.  But, the deliveries generated from the STPO still do not explode, like what normally happens if the delilvery of the BOM was created from a standard Order.
    The components for the BOM need to be displayed on the Delivery (if not the STPO), so the cleark can record the Batch/Serial #'s for each component.  Then when the receiving plant posts the Goods Receipt for the delivery a user exit we have (based on movement type and material document code) builds a Service Mgmt table that is then processed to De-install the BOM and components from the former plant and install the BOM and components at the receiving plant (and then subsequently at the ultimate customer's location when a normal sale is made), generating a new Functional Location.
    Has anyone here had to do anything like this before?  Would any of you have any ideas on how this BOM explosion might work on the PO or Delivery?
    Thanks in advance.
    Scott.

    No responses to this question.
    Subject dropped.

  • BOM Explosion needed on Delivery for Intercompany Stock Transfer Order

    Good afternoon,
    I have been researching the SDN and web for a solution to my problem to no avail so far.
    The business problem I need to solve is the requirement for our STPO process to explode certain BOM's that are transfered from one company/plant to another company/plant in order to record batch/serial # component information by the delivering plant on the delivery and verification of the batch/serial # in the receiving plant during MIGO processing of the delivery. This is needed by our Service Mgmt department in order to track servicable items within the Finished Good (medical devices industry).
    It appears on the SDN that a BOM can not be exploded on a non-Subcontracting PO (which would be ideal for us), but barring this problem, we are trying to have the BOM explode in the Delivery created from the STPO via the VL10B transaction.
    The STPO generates a Delivery doc with type NLCC and item category NLC. I have maintained the material master for the BOM material to have an Item Category Group of ERLA, and I have modified Item Category Determination in configuration in Logistics Execution for deliveries to include ERLA, usage V, and NLC as default item category. But, the deliveries generated from the STPO still do not explode, like what normally happens if the delilvery of the BOM was created from a standard Order.
    The components for the BOM need to be displayed on the Delivery (if not the STPO), so the cleark can record the Batch/Serial #'s for each component. Then when the receiving plant posts the Goods Receipt for the delivery a user exit we have (based on movement type and material document code) builds a Service Mgmt table that is then processed to De-install the BOM and components from the former plant and install the BOM and components at the receiving plant (and then subsequently at the ultimate customer's location when a normal sale is made), generating a new Functional Location.
    Has anyone here had to do anything like this before? Would any of you have any ideas on how this BOM explosion might work on the PO or Delivery?
    Thanks in advance.
    Scott.

    No responses to this question.
    Subject dropped.

  • BOM explosion in Sales order with material variants

    Dear all,
    we would like to work with Variant Matching in the Sales Order. Additionaly we would like to explode the BOM....according to the SAP help this is not possible....
    http://help.sap.com/erp2005_ehp_06/helpdata/en/bd/05a7d69d3211d190380000e8a49aad/frameset.htm
    Does anybody of you has any ideas how and where to make this happen?
    Thanks for your help and kind regards
    Jan

    Hi,
    I have gonethrough the SAP link referred by you but never come across with any problem in type matching during Sales order even if the BOM explosion is set for Multilevel in Configuration Profile provided the other pre requisite set up was perfect.
    Regards
    Brahmaji D

  • Routing details with bom explosion

    hi friends
    i have developend the report for pp,in routing details
    how to get the details of bom explosion with workcenter and routing operations
    If procurement type is E or X, system has to check the routing through CA03.
    If procurement type if F, leave this field as blank and then fetch the relevant vendor
    CS_BOM_EXPL_MAT_V2 - using this fm to get the bom explosion
    after that how to relate between workcenter and routing details.
    input is material number
    plant
    1.operator
    2.material - i got through fm
    3.material description i got through fm
    4.workcenter
    5.vendor
    6.operation description
    7.uom -i got through fm
    8.qty - i got through fm
    9.uom
    10.setuptime
    11.processingtime
    12.deliverytime
    code for review.
    TABLES : MAST
    DATA: BEGIN OF ISTPO OCCURS 1000.
    INCLUDE STRUCTURE STPOX.
    DATA: END OF ISTPO.
    DATA: BEGIN OF MATCAT OCCURS 1000.
    INCLUDE STRUCTURE CSCMAT.
    DATA: END OF MATCAT.
    DATA: W_TOPMAT LIKE CSTMAT.
    SELECT-OPTIONS : P_MATNR FOR MAST-MATNR.
    PARAMETERS : P_WERKS TYPE MAST-WERKS.
    DATA : BEGIN OF ITAB OCCURS 0,
    MATNR LIKE MAST-MATNR,
    WERKS LIKE MAST-WERKS,
    END OF ITAB.
    DATA: IT_STB LIKE ISTPO OCCURS 0 WITH HEADER LINE.
    data : istpotemp like stpox occurs 0 with header line.
    data : istpofinal like stpox occurs 0 with header line.
    START-OF-SELECTION.
    CLEAR ISTPO. REFRESH ISTPO.
    SELECT MATNR WERKS FROM MAST INTO TABLE ITAB
    WHERE MATNR IN P_MATNR AND WERKS = P_WERKS.
    LOOP AT ITAB.
    CALL FUNCTION 'CS_BOM_EXPL_MAT_V2'
    EXPORTING
    CAPID = 'PP01'
    MEHRS = 'X'
    MMAPS = ' '
    MDMPS = ' '
    BREMS = 'X'
    DISMM = ' '
    LIFNR = ' '
    WEBAZ = ' '
    DATUV = SY-DATUM
    MTNRV = ITAB-MATNR
    WERKS = P_WERKS
    EMENG = '1'
    STKKZ = ' '
    FBSTP = ' '
    FTREL = ' '
    IMPORTING
    TOPMAT = W_TOPMAT
    TABLES
    STB = ISTPO
    MATCAT = MATCAT
    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
    OTHERS = 8.
    WRITE: / W_TOPMAT-MATNR UNDER TEXT-H00 COLOR COL_HEADING,
    W_TOPMAT-MAKTX UNDER TEXT-H01 COLOR COL_HEADING.
    sort istpo by index descending.
    loop at istpo.
    WRITE :/ ISTPO-POSNR,
    ISTPO-IDNRK,
    ISTPO-OJTXP,
    ISTPO-MENGE,
    ISTPO-MEINS,
    endloop.
    refresh istpo.
    endloop.

    HI,
            i got the workcenter also,but i need to classify
    if the material procurment type is E OR X CHECK FOR routing details
    or else if its F THEN pick the vendor and uom -PLPO-VGE01,PLPO-PLIFZ.
    how shall i implement this
    Regards
    ds

  • BOM explosion  with Two Material Number

    Hi
    How can  i Explosion in  BOM with  two material number, if any Fm is there in sap or any othre options
    Please tell me
    Regards
    Mani

    Your question is not complete.
    There are two types of bom explosion. from child to parent and parent to child.
    You have to pass one material at a time. Please search in sdn for the fm's. This question ihas been widely discussed here.

  • BOM Explosion with order finish date

    Hi,
    In transaction OPPQ it is possible to configure the BOM explosion date used by MRP and creation of a process order (see SAP NOTE 506345).
    I suppose this setting is also considered when re-reading master data during release of an order.
    The field BESAL can have the following values:
                BOM explosion number/order start date
    1     Order start date
    2     Order finish date
    3     BOM explosion number/order start date
    4     BOM explosion number/order finish date
    What I do not understand is that value 4 also end up in using the order start date when re-reading master data. Here the function module CO_ZF_VALIDATIONDATE_DET is called which contains the following coding:
    + Festwerte Feld BESAL:+*
    * ' ' Seriennummer/Eckstarttermin
    * 1   Eckstarttermin
    * 2   Eckendtermin
    * 3   Seriennummer
    IF T399D-BESAL <> CHAR2.
    * Auflösung mit Starttermin
    u2026
    ELSE.
    * Auflösung mit Endtermin
    u2026
    ENDIF.
    which says only use the Order finish date if BESAL has the value 2. The comment showing the possible values gives me the impression that SAP simply forgot to adapt this coding when splitting the value 3 (prev. only BOM explosion number) into 3 BOM explosion number/order start date and 4 BOM exlosion number/order finish date.
    On the other hand the SAP Note mentioned above documents this behaviour.
    Does anyone know the reason why value 4 (BOM exlosion number/order finish date) results in using the order start date ?

    hi,
    The defination in OPPQ is only working for the MRP, when the planned order is created.
    Then the explosion date will be copied from planned order to production/process order when you convert the planned order.
    However, when the production or process order is created manually, or when you do a re-read master data process, then a different BOM explosion date process will be carried out as described in the SAP note 506345, it has explained the behavior clearly base on the different value of paramter:
    V_T399D_S-BESAL = initial, 1, 3 or 4
    V_T399D_S-BESAL = 2 (Explosion with order finish date)
    So there is no problem to have different behavior of planned order and production/process order.
    Regards,
    Rachel

  • BOM Explosion with Versions

    Hi,
    I am trying to build BOM Explosion Hierarchy with levels, but one of the requirements is to also generate the hierarchy with versions.
    So for instance I have Parent BOM with version C and component with version D. I need to also generate the hierarchy for all the versions of the Parent  (o,A,B) and to what components and versions do they tie to.
    I am not sure how is this possible. All I have been able to do is get the latest version via BOM, and BOM Component tables.
    Thanks

    hi,
    The defination in OPPQ is only working for the MRP, when the planned order is created.
    Then the explosion date will be copied from planned order to production/process order when you convert the planned order.
    However, when the production or process order is created manually, or when you do a re-read master data process, then a different BOM explosion date process will be carried out as described in the SAP note 506345, it has explained the behavior clearly base on the different value of paramter:
    V_T399D_S-BESAL = initial, 1, 3 or 4
    V_T399D_S-BESAL = 2 (Explosion with order finish date)
    So there is no problem to have different behavior of planned order and production/process order.
    Regards,
    Rachel

Maybe you are looking for

  • Windows 7 installation on a Qosmio G30

    When performing an advanced installation of Windows 7 on a Qosmio G30, the HDDs are not seen. I mean, on the screen where I am supposed to select the drive to install Windows, there is nothing on display. Do I have to uodate the HDDs drivers? If yes,

  • Distorted images in slide show creation.

    Hello, I created a slide show using high res image files and adding music files. I noticed that while viewing the show in full screen and even after outputing the sllide show to a cd, all the images are distorted. Any suggestions as to what I am doin

  • Namespace URIs Using Files

    All, Is it possible to reference a namespace to a file on your hard disk? All the examples I have seen use http addresses. I have tried the file URI but receive the message given below. Thanks, Brian MSV Message: start parsing a grammar. namespace "f

  • Change a Labels Style

    I was wondering if anyone can help me out. I am trying to change a style of a label dynamically. The problem is I get an error "Call Attempted on an object that is not a function" if I try to define the var as an object and it doesn't work correctly

  • Ask for emails

    I need a script that asks for a users email address before they can download but I cant find one that will do this easily and simply, does anybody know where I can get one from?