The BOM Data

Can we get BOM Data from the Table RESB.....

Hi Engin,
I am talking about the Bill Of Materrial Data, i.e in making a product what all materials are used in what proportion.....
Thanks
Sucharu Kotwal
Edited by: SucharuKotwal18 on Jun 3, 2011 9:50 AM

Similar Messages

  • How  to link between these tables and get the bom explosion

    tables : mast,stpo,makt
      SELECT AMATNR BMAKTX CIDNRK CMENGE C~MEINS  INTO CORRESPONDING FIELDS OF TABLE IT_COMP_IDEL FROM
                       MAST AS A INNER JOIN MAKT AS B ON AMATNR = BMATNR
                                 INNER JOIN STPO AS C ON ASTLNR = CSTLNR
                       WHERE AMATNR IN S_MATNR AND AWERKS IN S_WERKS.
    using cs13 to get the bom summary
    using these table to but i got only few materials only,
    but cs13 got more materials
    how can i solve that one
    Regards
    ds

    Hi,
    Just go through this program i think it will help u out.
    TABLES: MARA, MARC.
    TYPE-POOLS : fibs,stree.
    TYPES: BEGIN OF STRUCT_BOM,
            MATNR TYPE MATNR,          " Material Number
            WERKS TYPE WERKS_D,        " Plant
            IDNRK TYPE IDNRK,          " BOM Item
            STLAL TYPE STLAL,          " Alternative BOM
            STUFE TYPE HISTU,          " BOM Level
            OJTXB TYPE OJTXB,          " Object description (assembly)
           END OF STRUCT_BOM.
    *- table types
    types: t_bom type table of struct_bom.
    *Internal Tables to hold the BOM data.
    DATA: ITAB_BOM type table of STRUCT_BOM.
    DATA: WA_BOM TYPE STRUCT_BOM,
          wa_stb type stpox,
          wa_matcat type stpox.
    DATA: IT_STB       type standard table of STPOX,
          IT_STBC      type standard table of STPOX,
          IT_MATCAT    type standard table of CSCMAT.
    *-- to enter BOM DATA
    *Selection Options
    select-options: s_matnr for V_matnr,       "BOM Material
                    s_plant for V_werks.       "BOM Plant
    *Input Parameters
    parameters:     p_alter type stko-stlal,      "Alternate BOM
                    p_usage type stzu-stlan,      "BOM usage
                    p_appli type tc04-capid,      "BOM Application
                    P_CATE  TYPE STKO-STLTY DEFAULT 'M'.      "BOM Category
    INITIALIZATION.
    REFRESH ITAB_BOM.
    CLEAR WA_BOM.
    REFRESH IT_STB.
    REFRESH IT_MATCAT.
    START-OF-SELECTION.
    SELECT matnr
           werks
           stlal
           INTO CORRESPONDING FIELDS OF TABLE itab_bom
           FROM mast
           WHERE matnr IN s_matnr
           AND werks IN s_plant
           AND stlan = p_usage
           AND stlal = p_alter.
    CLEAR V_MATNR.
    CLEAR V_WERKS.
    DATA: WA_STB TYPE STPOX,
          WA_MATCAT TYPE CSCMAT.
        v_matnr = wa_bom-matnr.
        v_werks = wa_bom-werks.
        CALL FUNCTION 'CS_BOM_EXPL_MAT_V2'
          EXPORTING
            capid                 = p_appli
            datuv                 = sy-datum
            mktls                 = 'X'
            mehrs                 = 'X'
            mtnrv                 = v_matnr
            stlal                 = p_alter
            stlan                 = p_usage
            werks                 = v_werks
          TABLES
            stb                   = it_stb
            matcat                = it_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
            conversion_error      = 8
            OTHERS                = 9.
        IF sy-subrc <> 0.
          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                  WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
    Then just print whatever data u want it_stb, it_matcat tables.
    reward points if u find my answer helpfull.

  • How to increase the BOM Alternate field in CS01

    Hi,
    We are interfacing between SAP and third party PLM software (Innovator) to bring the BoM date for CS01 transaction. the third party PLM is having 3 digit version, whereas IN CS01 the BoM alternate takes only 2 digit . kindly suggest the best solution to map the date to CS01 requirement (the RFC are working fine and we are uploading thrrough BDC)
    regards,
    paveetra

    Dear
    "Alternative selection for multiple BOMs"
    (Transaction OS32).
    select the bom Application and check all the box like mrp elxp rel for costing
    with regards
    pushpala

  • BOM DAta Access in SRM

    Hi,
    WE are implementing a PLM - SRM integration wherein products once finalised would need to be communicated over to the Vendors for finalising product design. we would be having SAP R/3 as the system which would be the bedrock so as to say. after product design stage where the BOM would be constructed, how can we access the BOM DATA through SRM ? i checked the SRM master data, ALL of which would be sourced through R/3 using CRM Middleware, what i want to knwo is, how will we import BOM data into SRM ?
    regards
    authi

    SRM does not have native capability to store structured items (like bill of materials or bill of services) like in R/3.  Even if you somehow replicate the BOM into SRM (using CRM middleware) the procurement documents cannot handle such structure items.
    Kind Regards, Suresh.
    Message was edited by: Suresh Ramanathan

  • BOM data source ... Li Xu???

    Hi Li,
    In one of your earlier posts I saw that you have created a custom data source for BOM extraction. I am desperately trying to create a BW data source for BOM with explosion to lowest level. Can you please help me with the logic and the code for the custom extractor..
    Delta? Time dependency?
    I would really appreciate your help.
    My email is [email protected]
    Thanks in advance!
    Ani.

    Hi Ani,
    the BOM data source we implemented is based on R/3 tables. The steps:
    1. you may need to identify the tables and fields and their relationship and requirement first together with your R/3 biz/IT partners.
    2. create a table view by joining the tables and fields identified above.
    3. create generic customer data source against the view.
    4. replicate DS in BW and assign it to IS ....
    we didn't use ABAP coding for this data source.
    Hope it helps.

  • BOM data analysis

    Hi all,
    I want to do a BOM data analysis.
    There is a two BOMs in R/3, One for engineering design, the other for production. I want to extract  the BOM data ( including BOM's item ) to BW and compare them.
    Can I extract the data by BW business content datasource? If there is not business content datasource, shall I do it by the general datasource? Which table do the BOM data store in R/3?
    Many thanks!

    Hi.. 
    i need to know precises... as per my understanding .. check this links
    Re: Extract BOM data from R/3 to BW
    Re: Loading Bill of Material
    BOM (Bill of Material) Master Data  in Business Content?????
    BOM Material Master Data in BW

  • How to enter BOM data in BOM header

    I need a small help from SAP GURUS regarding the subject given above. When i was trying to enter BOM data in DIR enabled object links of BOM header, it was not allowing (Disabled) to enter the same.
    How to enter BOM details in BOM header in DIR?
    Is their any proceedure to enter the BOM data in DIR object?
    Thanks in advance.
    Regards
    Suresh. J

    Hi Suresh,
    unfortunatly it is not possible to add a BOM header link from document side.
    Generally the linkage of objects to a DIR is designed as such that a
    user can create and maintain the link from object-side as well as from
    document-side. There are, however, some exceptions like the production
    order (PORDER), BOM item (STPO_DOC) and BOM header (STKO_DOC). Links to
    these objects can only be created and maintained from object-side.
    Regarding BOM objects the reason for this restriction is due to the
    engineering change master, which is completely connected to BOM. The
    functionality at this level only allows the display of BOM objects from
    the DMS application.
    The check for these objects is done in the following coding:
    Main Program     SAPLCV130
    Source code of   LCV130O01
    MODULE (PBO)     L201_BLANKLINES
    ***special settings
      IF drad-dokob  = 'PORDER' or drad-dokob  = 'STPO_DOC' or
         drad-dokob  = 'STKO_DOC' or drad-dokob  = 'DPR_OBJLNK'.
        PERFORM display_col_change USING 'PORDER-CO_POSNR' 1 1.   " no icon
        GF_no_edit_screen_link = 'X'.
      ENDIF.
      if not gf_no_edit_screen_link is initial
      and display_mode NE c_dms_display.
        message w321 with intdrad-dokob.
      endif.
    ENDMODULE.                             " L201_BLANKLINES  OUTPUT
    I hope this information is usefull for you. In that case please reward points.
    Best regards,
    Christoph

  • Extract BOM data from R/3 to BW

    Hello BW Gurus,
    what is the method of extracting BOM data from R/3 into BW.
    Thanks in advance.
    rgds,
    TR PRADEEP

    Hi Pradeep,
    unfortunately you have to create something custom in order to manage BOM data in BW.
    Doing that, consider that all your BOM data is available in R/3 tables  STKO and STPO (Header and Item).
    With the table MAST you can find also the link among the combination material/plant with every BOM codes.
    At this point your might create a view (and then link it with your custom datasource) by using these tables (however you have to consider your specific needs).
    Please keep in mind that you will extract all historical data of that BOM number. So, use the "Created date" to use the BOM data you are interested in.
    By the way, access against these tables is not so feasible...try to search in your R/3 (I don't have the access now) a function module (search with BOM) that has as input parameters BOM Header, Alternative and others and gives back a table of the respective BOM items. You can create an InfoSet on the table STKO, enhance it with some code that calls the FM and writes the returned values in the Infoset (then use it to create your custom datasource !)
    Hope it helps !
    Bye,
    Roberto

  • 'Valid to' dates for both the Header & the components in the BOM report.

    Hi Experts,
    My Requirement:
    Need to display the 'Valid to' dates for both the Header & the components in the BOM report.
    Right now we are using the Functional modules 'GET_STKO' & 'GET_STPO' for the header
    & the components respectively. The report gives the correct output for the all the BOM alternatives
    which exist. But for the BOM alternatives which have been deleted(updated in STKO-LKENZ)
    'Valid to' dates are displayed as'00/00/0000'.
    (Note:ECM is used for BOMs)
    Is there any Logical Database that I can fetch the 'Valid to' dates of both BOM Header & components
    which are deleted?
    Regards,
    Mahesh

    Dear Mahesh,
    In my understanding I dont think you cannot get the valid to date for BOM header,unless a ECN,(engineering change number) is
    used to set the deletion flag.In otherwords none of the business sets for all these BOM's the valid to date(which means the
    default valid to date 31.12.9999 is taken).
    Check with this FM, CS_BOM_EXPL_MAT_V2 whether can you get the valid to date for the components(infact here also the
    valid from date given in the input screen impacts the report output).
    Check and revert back.
    Regards
    Mangalraj.S

  • How to change the valid from date of the bom header?

    ECM is active in the system.
    I want to change the valid from date of the BOM header with the help of a change number.
    How can I change it?

    Hello
    Lets assume that, we are going to change Management for controlling Valid From date
    Steps to be followed for creation of Change No
    Tcode CC01 for Change No
    Click on Change Master
    Once you enter into Change master, maintain the description
    In the Valid from Date, maintain the date from which you BOM should be current
    Maintain the Status (01)
    Click on Ojbect Type, maintain for which Object types is the Change no needs to be active i.e. for BOM, Rtg, etc
    save the Change No
    After the change no is created
    Enter the Change No during the creation mode of BOM
    THe system copies the Valid from date from Change No

  • Material in two plants, I run MRP with the BOM is not found in prod plant

    Hi all,
    I have plant 1020 material 12345
    Plant 1020 is the production plant for material 12345
    The material 12345 exists in plant 1070.
    The material 12345 in plant 1070 has no MRP.
    Plant 1020 material 12345 config in MM03
    MRP1 --> MRP Type = PD
    MRP1 --> MRP Controller = G03
    MRP3 --> Planning material = PLAN_1020_GR03
    MRP3 --> Planning plant = 1020
    Plant 1070 material 12345 config in MM03
    MRP1 --> MRP Type = P3
    MRP1 --> MRP Controller = 017
    MRP3 --> Planning material = empty
    MRP3 --> Planning plant = empty
    The BOM in cs11 for plant 1020 material 12345
    has 3 components
    Comp#1
    Comp#2
    Comp#3
    The Dependency is code
    TABLE TB_1020_SUPERBOM (PP_nuance_interne = $ROOT.PP_nuance_interne,
    PP_dim_billette_bom = $ROOT.PP_dim_billette_bom,
    PP_CODE_LONG_BILL = $ROOT.PP_CODE_LONG_BILL,
    pp_component_bom =$self.pp_component_bom).
    The dependency is not found because it is looking for it in the plant 1070 and not the plant 1020.
    When the MRP runs for a Delivery type stock transfer order I get
    CONFIG_1020_BILLET <---- This is the BOM item component field in CS11 in the Basic data tab
    Comp#2
    Comp#3
    instead of
    Comp#1
    Comp#2
    Comp#3
    When I run MRP for the same material, if there's no
    "Delivery based on Stock transfert orders" the MRP associates the correct components
    Hope this explains m'I situation.
    Regards!
    Curtis

    Hi,
    If you want a reply in one line, it would be SAP R/3 does not supoort this feature.
    You will have to go for APO module.
    There are few things which can be done in R/3 side, as in maintaining a scope for MRP run in OM0E, maintaining special procurement key etc etc, but all these will not do any check of stock in another plant & can only help in a very limited way if all any for your specific need.
    But SAP R/3 provides a cross plant evaluation via MD48 to know the stock & demands at all plants, this can help only for evaluation purpose.
    Hope it clarifies.
    Regards,
    Vivek

  • Comparing the BOM usage with the actual usage for materials.

    Hi All
    My client want to compare the BOM usage with the actual usage and have a report for this within a period? More specified they want to calculate the BOM usage, based on the requirement quantity from confirmation - but with out the scrap %. mulitplied with the confimed quantity of the header material.
    The actual usage should be based on  goods issuing from stock, either as goods issue to order (backflushing) or as goods issue to cost center. 
    I havent been able to indentiy a standard report for doing this - does some of you know a standard report?
    -  I was thinking of the following method:
    Look at  tabel RESB and compare it  with MSEG, but I have some diferent problems with this.
      - In resb there is no qty before scrap. 
      - The data amount from MSEG, is so huge so it is not possible to make a data search for a whole period (eg. month)
    Br. M

    There is one std report MCRX which gives a comparison of quanity in order and actual consumption,
    if it doesnt meet your need, you may have to create a custom report.
    logic can be find the quantites as per BOM for the produced quantities
    issued quantities to the order
    tables you may need are AUFK AUFM
    AFKO, STAS STPO
    MSEG, MKPO
    JEST ( if you want to filter using order status)

  • Error While Loading the Master Data from R3

    Hi Gurus,
    I am loading the masterdata from R3.I have enhanced the Datasource .In that datasource there is a field DATUB ( Valid To Date).For this field I have wriiten the User Exit at the R3 side.Now I am loading the data in BW.But I am not getting the values for DATUB field in the BW, though they are there at the R3 side.
    I have done following to analyse the issue.
    1.Have checked the datasource at the R3 from RSA3.Its populating the field DATUB correctly.
    2.Have deleted the whole masterdata and tried to load again.But no success.
    3.Have tried to load the data for the perticular Bill of Material(BOM).Then it get loaded correctly along with the value of DATUB.But when i tried loading the entire data i am not getting the field DATUB populated.
    Please help me out.Its urgent.
    Thanks.
    Shalaka

    Hello,
    I finally got the solution to my problem.
    If you append a field to generic datsource then you should check the tick in datasource for "field only". Or else you would not get the values handed over to BW.
    Please check following link for more details about this "field only" setting for Generic datasources.
    http://help.sap.com/saphelp_tm70/helpdata/en/3f/548c9ec754ee4d90188a4f108e0121/content.htm
    Regards,
    Anuj

  • Component in the BOM whit the for decimal .

    Dear gurus,
    i need insert in the quantity of component in the BOM the value 1,1234 , a value whit for decimal but the system for the UM ( example KG) is 3 decimal in the  transaction CUNI .
    Are there the procedure for insert this value ?
    Thanks a lot
    Daniele Pistilli
    PP

    Hi,
    SAP Standard will allow u only 3 decimal palces.
    So do one thing increase the base quantity of header material so it can fullfill you're requirement..
    EX: in bom you have given like for one FERT material you want RAW material 1.1234..normal in this sap std will allow only up to
    1.123 only...
    For this in the BOM of FERT material header data PUT base Quantity 100 so that you can put youre RAW material Quantity as
    112.23.
    Regards,
    Ravi

  • Purchase order form display the BOM of the item material

    Dear :
      When i print or preview the purchase order in ME23n,I want to display all of the  components of  material which every item used.(sap standard output type is NEU,form is MEDRUCK)
      The components can be displayed when we click the button of "Components" in the right "Material Data" ITem Tcode:ME23N.
      Firstly ,i have to get the BOM of the material through the function:CS_BOM_EXPL_MAT_V2.But NOW,i found that ,In ME22N ,the operator would change the components and saved the order,
       so, my way to display the component in the print form is wrong!:(
       anyone give me some advice?
       Thanks.

    Shao,
    I guess you will have to design your SMART Form according to your requirments and configure this SMART Form to be called from the output conditions of the PO.
    In this SMART Form, you will have to include the logic of exploding the BOM and showing the components as well.
    I don't its a standard functionality.
    Regards,
    Ravi
    Note : Please reward the helpful posts.

Maybe you are looking for

  • Selecting fields for flat file input

    I've built a scenario that uses the File adapter to load a flat file into SAP and fully understand the concepts. My problem is that I have fixed length file I need to load which has 50+ fields per row. I only need 10 fields per row and those fields a

  • What's the difference between MP3 and M4a?

    The "convert selecton to MP3" in itunes is giving me files labeled "M4a" What's the difference between the two?

  • Why do I depend on a carrier for 10.2.1 update if I bought the phone from an electronics shop, unlocked

    I am mad on Blackberry for this, because I don't undestand why ! I bought the my phone, a Z10 from an electronics shop, so it is unlocked and not dependable on any carrier, and I paid premium. The first time I turned on the phone, BB Link did update

  • Re: field exits

    Hi,    Iam getting one problem while creating field exit for tcode iw21.  When i choose the activiteis tab, if there is no value in the table control first field then i raise error message( there is no activities defined) . But the error messge is re

  • OIM 11g - PeopleSoft connector - Future Dated Recon Events

    Hi OIM Experts, I am having a problem, processing the future dated events using OIM peoplesoft connector. All the current dated, events are getting linked and processed. The future dated events in OIM are in deferred state as expected. But after runn