Skip to Content

Supply Area-BOM Level by Level

Hi Folks,

I am having a problem in fetching the Supply area when a Component is having many sub-assemblies.

To be in detail,

I am fetching the DISTINCT Production Order(AUFNR) from MSEG w.r.t to MBLNR and MJAHR.

Then w.r.t to this AUFNR I am fetching the BOM category(STLTY) and BOM (STLNR).

Then this STLTY and STLNR I am fetching the Supply area(PRVBE).

If the supply area is maintained at this level,then fine.If this BOM is having many sub-Assemblies and the supply area is maintained at a different level then we need to explode that BOM step by step and fetch the Supply Area.

To be precise CS11 gives the Supply Area according to the BOM Level by Level.I just wanna fetch the Supply Area as per that.Do anyone here has an idea about how this functionality can be achieved.

I am trying to find by debugging CS11,any valuable inputs from experts here will be helpful.



Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Sep 05, 2008 at 04:03 AM

    Hi ,

    u can try this FM CS_BOM_EXPL_MAT_V2


    table STPO.



    Add comment
    10|10000 characters needed characters exceeded

    • Hi,

      The above function module is indeed getting me all the data but not exactly as per requirement.I need to fetch the supply area of only the DOCUMENTED GOODS MOVEMENT(CO03) for which a Material Document is Created.So,we had considered the Reservation Number and Item no of the reservation number for materials in the Material Document and then feeding the same to RESB table to get the corresponding Supply Area.It is working.