Table details required for pegged requirements

Dear All,
I have the following scenario.
One child components is required for three different header materials. After MRP run, In MD04, three diffenerent planned orders will be there for child component for three reservations of three Header materials. I want to see the immediate header level of the child component through tables for report purpose. If you see through the function module MD_PEGGING or MD_PEGGING_NODIALOG, it is showing the top most header material. But it is not showing the immediate header material for the child component planned order. Please guide me to get the immediate header material through table or function module or any.
Thanks in advance.
Vijay.

Check these tables.
MDTB,PLAF.

Similar Messages

  • Tables for pegged requirement

    Hi Gurus,
    Can you please tell me the tables ( for both planned order and prodution order) name to get the pegged requirement?
    Regards
    Rajib Pathak

    Hi sankaran,
    Thanks for the reply. Actually I need to extract data from CM50 report output. I need the values from following fields.
    Pegged requirements
    Activity/operation
    Pegged rqmts type
    Pegged reqmt qty
    Total capacity reqmts
    Material
    Work Center
    Plant
    Available Capacity
    Can you please tell me the list of corresponding tables to do this.

  • Table  for pegged requirement

    HI,
    I need to develop a report to  identify the pegged requirement against purchase requsition for the dependent requirements of low-level components. i have checked MD_PEGGING  and MD_PEGGING_NODIALOG but these FM are not suitable for my requirement. Since i need to get the sale order deatils by passing PR number.
    Please share your thoughs on this.
    Thanks & Regards,
    Renuga.A

    Yes, after running FM MD_SALES_ORDER_STATUS_REPORT or MD_stock_requirement list _API
    Fetch the data which have DELKZ "BA" -( purchase requisition) from the result of above FM
    and pass the data into FM MD_PEGGING_NODIALOG &get the relevant sale order line item

  • Configured material BOM table details requried for component list

    Hi PLM Experts,
          As per the client requirement, we need to activate one sales condition type based on Super BOM components list. To define a logic for the above requirement, to list out the component we checked in STPO Table and in this table its appearing only the phantham materials not the real BOM of the component is appearing.
        So can you please suggest the table name where i can find the Bill Of Material of my Finished Product (Configured material) in the Table level.
    Warm Regards.
    Velmurugan P

    Thanks Ajit.
    But the problem still persist. The tables you have listed will suits for regular BOM compoents list. But we want to know the Table / procedure details in case of Configured material BOM details. Because for configured materials the BOM will be determined during sales order (Planned order) only.
        This BOM of configured material won't get stored in the table you have listed. As per our requirement we are looking for table details where we can list out the components list to perform the additional charges in the sales order based on BOM.
    Warm Regards,
    VEL

  • How to find out the idoc type required for our requirement

    Hi,
         How to find out the list of available idoc type in SAP. It will be good if i get to know the table name where all the idoc type definitions are gets stored.
    Say i have some requirement and for that requirement how i can find the proper idoc type to be used. (assume functional consultant is not providing that information)
    Points will be given for the useful answers
    Thanks,
    Prasanna

    Hi prasanna,
                    we can get SAP idoc types in tcode we31.For every requirment there will be different message type.
    For example we want idoc type for account invoice receipt.
    First find out message type for that purpose which can be found in we81-ACC_INVOICE_RECEIPT.
    Get this message type and search in we82  where we can find message type and idoc type linkage.
    try this way.
    Reward if it is usful.
    Thanks,
    Srikanth.A

  • Functional specification required for Me57 requirement

    In SAP MM, Transaction ME57, I want to pull in the Common Inventory Quantity (Not Project or Sales Order Stock) of the Material which is maintained on the Purchase Requisition.
    And also in  the T code MB52 screen, the Inventory Quantity i want to bring it.  It will be ALL Common Inventory in the Plant (minus Storage Loc a001 for Plant a000).  Again, this should NOT pull in Project or Sales Order stock.  Only Common Inventory.
    I would like a rough functional specification draft ASAP. Pleas help.

    Hi prasanna,
                    we can get SAP idoc types in tcode we31.For every requirment there will be different message type.
    For example we want idoc type for account invoice receipt.
    First find out message type for that purpose which can be found in we81-ACC_INVOICE_RECEIPT.
    Get this message type and search in we82  where we can find message type and idoc type linkage.
    try this way.
    Reward if it is usful.
    Thanks,
    Srikanth.A

  • Select statement or a procedure or a function required for this requirement

    i have 2 tables t1 and t2.
    t1 contains 1 column,named as c_id
    t2 contains 2 columns, named as tc_id and preceeding_c_id.
    select * from t1;
    c_id
    100
    200
    300
    400
    select * from t2;
    tc_id preceeding_c_id
    150 100
    180 150
    100
    190 180
    210 200
    250 210
    260 250
    Now my requirement is:
    I need to send a parameter as :c_id = 100
    the ouput should be as follows
    100
    150
    180
    190
    :c_id = 200
    the output should be as follows:
    200
    210
    250
    260
    Thanks & Regards

    SQL> variable c_id number
    SQL> exec :c_id := 100
    PL/SQL procedure successfully completed.
    SQL> with t as (
      2             select 150 tc_id, 100 preceeding_c_id from dual union all
      3             select 180, 150 from dual union all
      4             select 100, null from dual union all
      5             select 190, 180 from dual union all
      6             select 210, 200 from dual union all
      7             select 250, 210 from dual union all
      8             select 260, 250 from dual
      9            )
    10   select  tc_id
    11     from  t
    12     start with preceeding_c_id = :c_id
    13     connect by preceeding_c_id = prior tc_id
    14  union all
    15   select  :c_id
    16     from  dual
    17  order by 1
    18  /
         TC_ID
           100
           150
           180
           190
    SQL> exec :c_id := 200
    PL/SQL procedure successfully completed.
    SQL> /
         TC_ID
           200
           210
           250
           260
    SQL> SY.

  • Logic required for the requirement (urgent)

    HI experts,
    can anyone help me out regarding the following logic.
    The logic will check for both complete and partial goods receipts and invoice receipts. Based on the PO line item history it will calculate the totals into following categories:
    (1) Total PO Line Item value with both GR & IR
    (2) Total PO Line Item value with GR but no IR
    (3) Total PO Line Item value with IR but no GR
    For a single PO line, it is possible to have the Total Line Item Value divided into one or more of the above three categories at the same time. For example, if for a PO line item with 100 unit at $10.00 per unit, there is a GR for 50 Units and IR for only 30 units, the three columns above will be populated as:
    (1) Total PO Line Item value with both GR & IR – 30 x 10 = 300
    (2) Total PO Line Item value with GR but no IR – 20 x 10 = 200
    (3) Total PO Line Item value with IR but no GR – 0 x 10 = 0
    Similarly, if for a PO line item with 100 units and $10.00 per unit, there is a GR for 50 units and IR for 70 units, the three columns will be populated as:
    (1) Total PO Line Item value with both GR & IR – 50 x 10 = 500
    (2) Total PO Line Item value with GR but no IR – 0 x 10 = 0
    (3) Total PO Line Item value with IR but no GR – 20 x 10 = 200
    Regards,
    Nagaraj

    Maybe this example will help....
    report zrich_0002 .
    data: iekbe type table of ekbe with header line.
    data: xmbew type mbew.
    data: xekpo type ekpo.
    data: begin of ibuckets occurs 0,
          ebeln type ekpo-ebeln,
          ebelp type ekpo-ebelp,
          pgrir type p decimals 2,  " Total GR & IR
          pgr   type p decimals 2,  " Total GR
          pir   type p decimals 2,  " Total IR
          pgrni type p decimals 2,  "GR no IR
          pirng type p decimals 2,  "IR no GR
          end of ibuckets.
    parameters: p_ebeln type ekko-ebeln,
                p_ebelp type ekpo-ebelp.
    start-of-selection.
      clear iekbe.  refresh iekbe.
      select * into table iekbe from ekbe
                  where ebeln = p_ebeln
                    and ebelp = p_ebelp
                    and vgabe in ('1','2').
      loop at iekbe.
        clear ibuckets.
        ibuckets-ebeln = iekbe-ebeln.
        ibuckets-ebelp = iekbe-ebelp.
        select single * from ekpo into xekpo
                      where ebeln = iekbe-ebeln
                        and ebelp = iekbe-ebelp.
        select single * from mbew into xmbew
                       where matnr = xekpo-matnr.
        case iekbe-vgabe.
          when  '1'.
            ibuckets-pgrir = iekbe-menge * xmbew-stprs.
            ibuckets-pgr   = iekbe-menge * xmbew-stprs.
          when '2'.
            ibuckets-pgrir = iekbe-menge * xmbew-stprs.
            ibuckets-pir   = iekbe-menge * xmbew-stprs.
        endcase.
        collect ibuckets.
      endloop.
      loop at ibuckets.
        ibuckets-pgrni = ibuckets-pgr - ibuckets-pir.
        ibuckets-pirng = ibuckets-pir - ibuckets-pgr.
        if ibuckets-pgrni < 0.
          clear ibuckets-pgrni.
        endif.
        if ibuckets-pirng < 0.
          clear ibuckets-pirng.
        endif.
        modify ibuckets.
      endloop.
      loop at ibuckets.
        write:/    ibuckets-ebeln,
                   ibuckets-ebelp ,
                   ibuckets-pgrir,
                   ibuckets-pgr   ,
                   ibuckets-pir  ,
                   ibuckets-pgrni ,
                   ibuckets-pirng .
      endloop.
    Regards,
    Rich Heilman

  • Java mapping or UDF required for a requirement!!!

    I am doing idoc to file scenario and stuck with the mapping in the following case. I think an UDF or JAVA mapping will do the bill. can some one help me in this regard please.
    IDoc message type, IDoc basic type, IDoc extension
    PAYEXT.PEXR2002.ZEXR2002.
    <u><b>conditions:</b></u>
    IF E1IDB02 BA-FIIKWAER = CNY
          then MID(E1EDKA1 BE-NAME1,12,11)
    IF E1IDB02 BA-FIIKWAER <> CNY and LEN(E1EDKA1 BE-NAME1)<=35
         then MID(E1EDKA1 BE-STRAS,1,35)
    IF E1IDB02 BA-FIIKWAER <> CNY and LEN(E1EDKA1 BE-NAME1)>35
         then MID(E1EDKA1 BE-NAME1,36,35)
    This will be mapped to "Info Line 1" field in file.
    Thanks,
    Kiran

    Hi Mr.Kiran,
    here is the code
    pass the following fields to Context UDF
    1.E1IDB02-FIIKWAER
    2.E1EDKA1-NAME1
    3.E1EDKA1-STRAS
      for(int k = 0;k<FIIKWAER.length;k++)
         if(FIIKWEAR[k].equalsIgnoreCase("CNY"))
            result.addValue(NAME1[k].substring(11,12));
         else if(!(FIIKWEAR[k].equalsIgnoreCase("CNY"))&&(NAME1[k].length() <= 35))
           result.addValue(STRAS[k].substring(1,35));
         else if(!(FIIKWEAR[k].equalsIgnoreCase("CNY"))&&(NAME1[k].length() > 35))
          result.addValue(NAME1[k].substring(35,36));

  • Pegged requirements table

    Hi all sap expert.
    i have been looking for pegged requirement table. i able to find out few table PBIM , PBED and PBHI, but none of the able for me to key in planned order number.
    but i puzzled with the how to get the pegged requirment. since i have a report format is in query.
    using MD04 , i am able to see the pegged requirement. i am also try to use MD09 but just one pegged requirement can view at all time.
    i wonder , is there any table
    using planned order number to locate the pegged requirement?
    gurus hope can advice me this newbie..thansk alot
    regards
    Wilson

    hi there
    the information i whould like to get is when i click the pegged requirement button in the MD04
    are dare , requirements , requirements qty and etc..
    all the infomation is inside PBIM..
    i ' m no idea how to link the table from RESB tro PBIM.
    hope by using planned order number i able to link to PBIM or other table similar to PBIM.

  • Need a Pegging module for dependent requirements.

    Hi
    Need a Pegging functional module for dependent requirements.
    There is MD_PEGGING_NODIALOG ,where we need to pass the planned order number.
    Please advise how to get the pegged requirements for dependent requirements or other MRP elements other than planned order.
    Thanks
    Prasad

    Hello,
    Function module MD_PEGGING_NODIALOG works with data structures of MRP list or current requirements/stock list. For a given material, you first need to fetch the relevant structures by the help of following FMs; BAPI_MATERIAL_MRP_LIST and BAPI_MATERIAL_STOCK_REQ_LIST. You can loop at the structures exported by these FMs and run MD_PEGGING_NODIALOG with the corresponding parameters of the MRP element you require. You can run MD_PEGGING_NODIALOG with any MRP element you like as in MD04 and MD05 transactions.
    Regards.

  • Pegged Requirement Report

    Hi All,
    I am developing a report for pegged requirement, in that my requirement is ,
    I want to display the component number , receipt number and its quantity
    ( Similar to the results that are displayed  in MD04 ).
    I am passing header component and then am exploding its Bill Of Material,
    then for each component am getting its receipt number.
    But am not getting the desired results as shown in MD04 transaction.
    In MD04 transaction all data is getting displayed at runtime.
    can you tell me how to proceed and how to get the exact receipt number for the component as that displayed in MD04.
    Edited by: bharat tambat on Aug 22, 2008 3:27 PM
    Plz help its urgent

    Dear
    If you are lloking for custom report then you should develope based on folllowing tabels :
    1.RESB ,PBIM ,BAUGR(PEG.REQ.QTY) ,PLAUN(PL.ORD) ,AUFNR(PO), EBELN(PR)
    Or you can try MD_STOCK_REQUIREMENT_API_list  /MD_PEGGING_NODIALOG
    For standrad SAP report you need to refer CO09/MD4C/COOIS/MD07
    Hope this helps
    Regards
    JH

  • Need table or FM for PO number in SO lineitems

    Hi guys,
                   I need table name or FM for salesorder lineitem PO number(in order data tab).I checked in VBKD table, but our requirement is- some sales order contains different PO number in header level and  in line item PO number.Users will input ex -
    Header level - X/Y( where X and Y are PO numbers in Header level of SO)
    suppose we have 2 line items
    lineitem1 is updated with X po number and lineitem 2 with Y.
    So i need to pick the PO numbers based on itemlevel and not headerlevel.
    I checked with VBKD table.But  its no where related to my issue.Because the header and item level differs in Po number

    Hi,
    VBKD table shd work for your requirement.
    VBELN        POSNR    BSTKD                               B
    0200005701   000000   1000035.1
    0200005701   000010   1000035.1
    0200005701   000020   1000035.1-test
    I created a test data of different PO's and its coming correct.

  • Table For Capacity requirements

    Hello Every one,
    Does any body know the table which contains details for capacity requirements raised for a planned order and production order raised for a specific tme period for multiple capacity categories.
    The table should contain or a logic should exist to link the following fields:
    1. Planned order, production order
    2. Capacity requirements
    3. Capacity category.
    4. Period
    This is because my current uses capacities of 2 capacity categories (machine and labor) to plan production.
    Sincerely,
    Aji

    Hello Aji,
    Please find the tables:
    KBKO    Header record for capacity requirements
    KAKO    Capacity Header Segment
    KAKT    Capacity Description
    KAZY    Intervals of Capacity
    KBKO     Header record for capacity requirements
    KBED     Capacity requirements records
    KBKO     Header record for capacity requirements
    KBED      Capacity requirements records
    KBEZ      Add. data for table KBED (for indiv. capacities/splits)
    TC26      Capacity category
    Regards,
    Alok Tiwari

  • Table for dependent requirements

    Hi Experts,
    When we convert a planned order of a FG in the MD04 screen, is there a way that production orders for dependent requirements also get created for the inhouse produced materials? In which table can I find a link between the order of FG to the order of SFG?
    Regards,
    Sachin
    Edited by: swing swiss on Jan 15, 2010 9:39 PM

    Hi,
    Are you woking Collective Orders ?
    If you're not, then there is no link between the FG SFO & SFG SFO. But you can refer to the table RESB & in that the field BAUGR will give the pegged material info for a particular material - order combination.
    Regards,
    Vivek

Maybe you are looking for

  • With Open ESB CD in hand, how do I get started?

    I spent time at the Open ESB booth at JavaOne 2007 talking with the Sun representatives and engineers about Open ESB. I'm glad I did, but I'm having a heck of a time getting started. I have all of the requirements set-up running on Solaris 10 develop

  • Error while starting ManagedServer

    Hi all, I am getting following error while starting managed server <Jan 27, 2009 12:30:35 PM PKT> <Error> <HTTP> <BEA-101216> <Servlet: "PubSubServlet" failed to preload on startup in Web applica tion: "rest/sms". javax.servlet.ServletException: [HTT

  • Help is greatly needed with page processing in APEX

    hello everyone please could someone help me with a survey application that im working on . Basically i have  a page that has 5 different regions on it an each region has a LOV which has the following display values ( agree, strongly agree, disagree a

  • Text cannot be displayed right

    Helly Guys, I am a new mac user and I have transfered all my mails from MS Outlook 2007 for windwos to Mac Mail program successfully. However, some of the messages appeared as shown: "Ð&#151;дÑ&#128;авейÑ&#130;е, Ð&#152;зпÑ&#128;аÑ&#137;ам

  • Node removed from the cluster and cannot joined to clustr again

    Hi I have problem with 2 node cluster. we are running windows 2008 R2 enterprise edition. Suddenly one node had some issue with network connnectivity and it was removed from the cluster. on the console its shows node1 offline. connectivity between th