MRP header and detail tables

Hello All...
MDKP table is the header data for the MRP document. Does anyone know
if there is a table for the details?

I believe that the MRP item data is stored in a data cluster. The database
table is MDTC, and the data cluster area is ar. Use the following command to
import the data from the data cluster:
Import <structure> from database mdtc(ar) ID <key>.
The ID key value comes from the field dtnum (Number of the material
requirements planning table) in table MDKP. For an example, take a look at
line 56 in the form 'aufbauen_mdoex' in program SAPLM61X.
Hope this helps.

Similar Messages

  • Creating view cluster for a header and detail table

    Hi all,
    I want to create a View cluster for maintaining 2 tables (one is the header table and other is the detail table)
    ....for each line in the header table there can be multiple detail line items...
    If anyone has worked on such requirement...please tell me how should i go about developing it.
    after creation i should be able to maintain the cluster using transaction SM34....
    Thanks ,
    Sushil.

    hi
    refer to following link
    http://help.sap.com/saphelp_nw04/helpdata/en/d0/999246b2aa11d1a5700000e82deaaa/frameset.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/d0/999246b2aa11d1a5700000e82deaaa/frameset.htm
    Cheers
    Snehi

  • XMLSequence EXTRACT HEAD and DETAIL in ORACLE 9.2

    Hi, sorry about my english i am from argentine.
    I have this XML:
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <arrayOfServicio >
        <Servicio>
            <Nombre>Autenticacion</Nombre>
            <Descripcion>ws</Descripcion>
            <Activo>true</Activo>
            <Version>1.0</Version>
            <MetodosEntity>
                <Metodo>
                    <Nombre>RequestTicket</Nombre>
                    <Activo>true</Activo>
                    <Version>1.0</Version>
                </Metodo>
            </MetodosEntity>
        </Servicio>
        <Servicio>
            <Nombre>Consultas</Nombre>
            <Descripcion>wsConsultas</Descripcion>
            <Activo>true</Activo>
            <Version>1.0</Version>
            <MetodosEntity>
                <Metodo>
                    <Nombre>GetVigencia</Nombre>
                    <Activo>true</Activo>
                    <Version>1.0</Version>
                </Metodo>
                <Metodo>
                    <Nombre>GetSiniestralidad</Nombre>
                    <Activo>true</Activo>
                    <Version>1.0</Version>
                </Metodo>
                <Metodo>
                    <Nombre>GetAgrupados</Nombre>
                    <Activo>true</Activo>
                    <Version>1.0</Version>
                </Metodo>
                <Metodo>
                    <Nombre>GetSiniestralidadPorCuil</Nombre>
                    <Activo>true</Activo>
                    <Version>1.0</Version>
                </Metodo>
            </MetodosEntity>
        </Servicio>
        <Servicio>
            <Nombre>Referencias</Nombre>
            <Descripcion>wsReferencias</Descripcion>
            <Activo>true</Activo>
            <Version>1.0</Version>
            <MetodosEntity>
                <Metodo>
                    <Nombre>TablaReferencia</Nombre>
                    <Activo>true</Activo>
                    <Version>1.0</Version>
                </Metodo>
                <Metodo>
                    <Nombre>ListadoReferencia</Nombre>
                    <Activo>true</Activo>
                    <Version>1.0</Version>
                </Metodo>
            </MetodosEntity>
        </Servicio>
        <Servicio>
            <Nombre>General</Nombre>
            <Descripcion>WsGeneral</Descripcion>
            <Activo>true</Activo>
            <Version>1.0</Version>
            <MetodosEntity>
                <Metodo>
                    <Nombre>GetServicios</Nombre>
                    <Activo>true</Activo>
                    <Version>1.0</Version>
                </Metodo>
            </MetodosEntity>
        </Servicio>
        <Servicio>
            <Nombre>eServicios</Nombre>
            <Descripcion>wseServicios</Descripcion>
            <Activo>true</Activo>
            <Version>1.0</Version>
            <MetodosEntity>
                <Metodo>
                    <Nombre>SetComunicacion</Nombre>
                    <Activo>true</Activo>
                    <Version>1.0</Version>
                </Metodo>
            </MetodosEntity>
        </Servicio>
        <Servicio>
            <Nombre>VentanillaART</Nombre>
            <Descripcion>wsVentanillaART</Descripcion>
            <Activo>true</Activo>
            <Version>1.0</Version>
            <MetodosEntity>
                <Metodo>
                    <Nombre>ObtenerNovedades</Nombre>
                    <Activo>true</Activo>
                    <Version>1.0</Version>
                </Metodo>
            </MetodosEntity>
        </Servicio>
        <Servicio>
            <Nombre>Establecimientos</Nombre>
            <Descripcion>wsEstablecimiento</Descripcion>
            <Activo>true</Activo>
            <Version>1.0</Version>
            <MetodosEntity>
                <Metodo>
                    <Nombre>GetConsultaPorCuit</Nombre>
                    <Activo>true</Activo>
                    <Version>1.0</Version>
                </Metodo>
            </MetodosEntity>
        </Servicio>
    </arrayOfServicio>
    I am working in ORACLE 9.2 and i wrote this query but the result is not correct, i need to join HEAD and DETAIL in some way but cannot do that...
      select extractvalue(value(head),'//Servicio/Nombre/text()') ,
            extractvalue(value(head),'//Servicio/Descripcion/text()'),
            extractvalue(value(head),'//Servicio/Activo/text()'),
            extractvalue(value(head),'//Servicio/Version/text()')
            ,extractvalue(value(detail),'//Metodo/Nombre/text()')
            ,extractvalue(value(detail),'//Metodo/Activo/text()')
            ,extractvalue(value(detail),'//Metodo/Version/text()')
      from arwt_ws_return x
          , table(xmlsequence(extract (x.x_xmldoc, '/arrayOfServicio/Servicio'))) head
          , table(xmlsequence(extract (x.x_xmldoc, '/arrayOfServicio/Servicio/MetodosEntity/Metodo'))) detail;
    Ii really appreciate your help.
    Thanks!

    Hi,
    You can do that by passing the head element to the second XMLSequence. That way you maintain the correlation between the parent and its children :
    select extractvalue(value(head), '/Servicio/Nombre') as srv_nombre
         , extractvalue(value(head), '/Servicio/Descripcion') as srv_desc
         , extractvalue(value(head), '/Servicio/Activo') as srv_activo
         , extractvalue(value(head), '/Servicio/Version') as srv_version
         , extractvalue(value(detail), '/Metodo/Nombre') as met_nombre
         , extractvalue(value(detail), '/Metodo/Activo') as met_activo
         , extractvalue(value(detail), '/Metodo/Version') as met_version
    from arwt_ws_return x
       , table(xmlsequence(extract(x.x_xmldoc, '/arrayOfServicio/Servicio'))) head
       , table(xmlsequence(extract(value(head), '/Servicio/MetodosEntity/Metodo'))) detail
    Please also note that :
    - you don't need a descendant axis (//) if you know the exact path
    - you don't need to go down to the text() node if you're using extractvalue
    Hope that helps.

  • Error : Transaction header and line tables cannot be empty

    please can some one help me.
    when i want to create an invoice without anuy line, i have the error : Transaction header and line tables cannot be empty .
    can some one tell me how can i solve this
    regards.

    Hi,
    I really don't know if it is possible to create an invoice in AR with no transaction lines. When I interface invoices from another system to AR (and there is no need to detail inventory items), I use a single line with a dummy inventory item or with no inventory item (inventory_item_id and warehouse_id set to null) in transaction lines, and I use the description field to describe the link to the other software in a user-friendly way.
    Regards,
    Ketter Ohnes
    Message was edited by:
    Ketter Ohnes

  • Populate header and detail

    Hi,
    I have an internal table with the value below. I need to populate to header data line (1 record only)  and detail is an internal table
    When there is a change of customer, i need to copy 123 to header and 2 records of material (abc & xed), sales (100 & 200) and qty (10 & 12) to detail internal table.
    for customer 567, i need to copy to header and material aqs, sales 150 and qty 5 to detail internal table.
    May I know how can I achieve this?
    customer     material        sales      qty
    123              abc              100         10
    123              xed              200          12
    567              aqs              150           5
    877              abc               140         8
    Thanks
    Rgds

    Hello,
    As per my understanding, your requirement is that you have an internal table which has a combined data and you want to split it into headr and detail internal tables, based on the change of the customer number which is the first field in the combined internal table. If so then assume that it_com is the combined internal table and it_head and it_det as the header and detail interbnal tables respectively.
    First sor the combined internal table on customer number
    sort it_com by kunnr.
    Now loop across this table and on the event at new customer populate the header table and in the remaining loop populate the detail table.
    loop at it_com into wa_com.
      at new kunnr.
         wa_head-kunnr = wa_com-kunnr.
         append wa_head-kunnr to it_head-kunnr.
         clear wa_head-kunnr.
      endat.
    append the records from the combined table into the item table, whatever fields required
    endloop.
    Regards,
    Sachin

  • Pivot with header and details

    I need to display data from both header and detail, details has to come from other table also
    --CREATE TABLE
    CREATE TABLE [dbo].[Table_Dept](
    [DeptId] [int] NULL,
    [DeptCode] [char](2) NULL,
    [DeptName] [nvarchar](100) NULL
    ) ON [PRIMARY]
    CREATE TABLE [dbo].[Table_Detail](
    [Header_ID] [int] NOT NULL,
    [Name] [nvarchar](50) NOT NULL,
    [DescValue] [nvarchar](max) NULL
    ) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
    CREATE TABLE [dbo].[Table_Header](
    [Header_Id] [int] NULL,
    [UserName] [nvarchar](50) NULL
    ) ON [PRIMARY]
    --INSERT DATA
    INSERT INTO Table_Dept (DeptId, DeptCode, DeptName)
    VALUES (1, 'HO', N'Head Office'),
    (2, 'BO', N'Branch Office'),
    (3, 'RO', N'Reginal Office'),
    (4, 'SO', N'Sub Division Office')
    INSERT INTO Table_Header
    (Header_Id, UserName)
    VALUES (1, N'Ravi'), (2, N'Gopal'), (3, N'Deepa')
    INSERT INTO Table_Detail
    (Header_ID, Name, DescValue)
    VALUES (1, N'ListNumber', N'1005'),
    (1, N'PhaseCode', N'AA'),
    (1, N'DeptCode', 'BO,RO'),
    (1, N'City', 'Bangalore'),
    (2, N'ListNumber', N'1006'),
    (2, N'PhaseCode', N'AB'),
    (2, N'DeptCode', 'SO,RO'),
    (2, N'City', 'Delhi'),
    (3, N'ListNumber', N'1007'),
    (3, N'PhaseCode', N'AA'),
    (3, N'DeptCode', 'HO'),
    (3, N'City', 'Mumbai')
    --EXPECTED RESULT
    HeaderId
    ListNumber
    PhaseCode
    DeptName
    City
    User
    1
    1005
    AA
    Branch Office,   Reginal Office
    Bangalore
    Ravi
    2
    1006
    AB
    Sub Division   Office,Reginal Office
    Delhi
    Gopal
    3
    1007
    AA
    HO
    Mumbai
    Deepa
    ShanmugaRaj

    see below code
    SELECT *,
    STUFF((SELECT ',' + DeptName
    FROM Table_Dept
    WHERE ',' + t.DeptCode + ',' LIKE '%,' + DeptCode + ',%'
    FOR XML PATH('')),1,1,'') AS DeptName
    FROM
    SELECT h.Header_ID,
    td.ListNumber,
    td.PhaseCode,
    td.DeptCode,
    td.City
    FROM Table_header h
    INNER JOIN (SELECT Header_ID,
    MAX(CASE WHEN Name = 'ListNumber' THEN DescValue END) AS ListNumber,
    MAX(CASE WHEN Name = 'PhaseCode' THEN DescValue END) AS PhaseCode,
    MAX(CASE WHEN Name = 'DeptCode' THEN DescValue END) AS DeptCode,
    MAX(CASE WHEN Name = 'City' THEN DescValue END) AS City
    FROM Table_Detail
    GROUP BY Header_ID)td
    ON td.Header_ID = h.Header_ID
    )t
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs
    In case of not having department table...consider the dept code, where the values are now comming from table and
    need result if the data is not displayed from table and they are static..
    use case when 'Bo' then 'Branch Office'
    when 'Ro' then 'Reginal Office'
    when 'So' then 'Sub Division Office'
    when 'Ho' then 'Head Office'
    kindly suggest how to replace my above query
    ShanmugaRaj

  • Keeping heading and detail on the same page

    Hi, I have a report with a group header section and a detail section.  How can I keep the heading section and all the detail section on the same page without starting each group on a new page?
    The detail section will have either 2 or 3 records with some of the objects set to grow if the data doesn't fit on one line.  This results in several changes of group appearing on the same page which is what I want.  However, what I don't want is the header section on one page with the detail section on the next, or the header and some of the detail records on one page with the rest of the detail records on the next.  What I would like is the report to start a new page if the header and all the detail records don't fit on the same page but without starting a new page for every group change.  How can I achieve this?

    you can put the group header and details into a sub report on the old group header section.
    then hide the details section

  • File content conversion - sender adapter for Header and detail records

    Hi Experts,
                     I am receiving a field of fixed length content format.(Header)The first line of the file will follow the structure X having some fields and (DetailRecord)subsequent lines in the file will follow structure Y having somes fields.There is no record identifier for Header and Detail records.In one file first line is Header records and remaining subsequent line is DetailRecord.What are the parameters we have to set for sender file content conversion parameters as i donot have any key field and key field value.And in one file we have only one header records ( first line) and n number of detail records from 2nd line onwards.
    Thanks
    Deepak

    Hi
    Refer the below fourm link,
    Flat file whitout id
    Regards
    Ramg.

  • Opportunity Header and Item tables

    I am looking at the keys on the Opportunity Header and Item table which are GUIDs.
    I have the following scenario.
    1. My source table contains the Opportunity Header GUID
    2. My target table requires all the fields from the source table and some Opportunity Header and Item attributes
    I can write WHERE clause logic for my Opportunity Header attributes
    For my Opportunity item attributes I was going to introduce a count - this is not possible with Item GUID unless a part of the GUID is incremental for each line by 1 or there is a maintained field otherwise as part of the Opportunity Item which is a number representation for each line.
    Can someone advise
    Thanks

    Hi,
    In the CRMD_ORDERADM_H table you have the Opportunity GUID as well as the Object ID which is the opportunity id.  In the CRMD_ORDERADM_I table, you have the GUID and also the NUMBER_INT which is the item number.  See if you can use the item number.
    Thanks.

  • How to show master and detail tables in different pages?

    Hi,
    Can somebody expalin me how to include or bind the master and detail tables to different pages which are included at runtime.
    thnaks,
    Naresh.

    Hello!
    you have ti create a Master/Detail data structure.
    In the first page drag the master table, on the second drag a detail table.
    It should work out of the box. Selecting a record on the master table selects
    the details on the detail table automatically!
    regards,
    Mario Udina

  • DMEE issue in header and detail record

    Hi Gurs,
    I am working in DMME payment medium .
    I have declared DMEE  header structure(00000001000001 ) as level 1 and detail (050000010020192             XX110000001) as also level 1.
    This is the output format i am getting.
    00000001000001                                                                               
    05000001002000             XX110000001                                                                               
    00000001000001                                                                               
    05000001002012            XX110000002                                                                               
    00000001000001                                                                               
    05000001002012             XX110000003                                                                00000001000001                                                                               
    05000001002011             XX110000004           
    But my requirment not lke this. i need to dispaly all detail items under one header also i need to increase the counter for every items starting from 2.
    Both header and detail are at  level 1.If i declared the detail as level 2 the output is not generated.
    This is what i need.                                                                               
    00000001000001                                                                               
    05000002002000             XXX110000001                                                        
    05000003002012             XXX110000002
    05000004002012             XXX110000003
    05000005002011             XXX110000004 
    Pls suggest me any solutions
    Thanks .

    NOT answered

  • DMEE Issues header and detail record

    Hi Gurs,
    I am working in DMME(PAYM) payment medium .
    I have declared DMEE header structure(00000001000001 ) as level 1 and detail (050000010020192 XX110000001) as also level 1.
    This is the output format i am getting.
    00000001000001
    05000001002000 XX110000001
    00000001000001
    05000001002012 XX110000002
    00000001000001
    05000001002012 XX110000003 00000001000001
    05000001002011 XX110000004
    But my requirment not lke this. i need to dispaly all detail items under one header also i need to increase the counter for every items starting from 2.
    Both header and detail are at level 1.If i declared the detail as level 2 the output is not generated.
    This is what i need.
    00000001000001
    05000002002000 XXX110000001
    05000003002012 XXX110000002
    05000004002012 XXX110000003
    05000005002011 XXX110000004
    Pls suggest me any solutions
    Thanks .
    Edited by: bala chandran on Oct 9, 2009 10:57 AM

    NOT answered

  • Difference between  header and item table

    hi experts
    I have doubt in choosing header and item table. what is the difference between them. on what situations they can be choosed, how can i conclude that my object needs only item or header table.
    thanks in advance.
    maaya

    Hi
    Header will be always a single time data in a transaction
    where as Item data is Multiple lines of data
    Item data in most of the times consists of more number of lines.
    see the header and Item related tables for some Tcodes
    Tcode      Header   Item
    VA01       VBAK    VBAP  Sales order
    VL01N     LIKP       LIPS    Delivery
    VF01       VBRk      VBRP   Invoice/Billing Doc
    ME21N    EKKO     EKPO   Pur order
    Regards
    Anji

  • Header and Item table - Form Design Question

    Hi All,
    I have a header table and Item table. For every record in the header table I have multiple records in the item table. I want to have a adobe form in the following way
    1. A new page starts for every record in the header table and Items in the item table for this header record can span multiple pages with the same header information.
    2. When all the items are displayed for that particular header record, a new page should start for the next header record.
    I created one internal table in the following way
    Header_field1 Header_field2 Item_table(with all the items for this header record)
    Header_field1 Header_field2 Item_table(with all the items for this header record)
    I am not sure how to use a table for this scenario (Should It be a nested table?).
    Please provide me some ideas.
    Thanks,
    Ganesh.

    Hi Balasubramani,
    I made some changes and have the following now. Can you please let me know how I can achieve page break for every BP_NUMBER.
    I have a nested table like the one below.
    Main table u2013 Has header and Items information. Every header record has some header information like BP number, name and all line items for that BP in a nested table .
    IT_HEADER:
    BP_NUMBER     BP_NAME           IT_ITEMS(Items table)
    BP_NUMBER     BP_NAME           IT_ITEMS
    BP_NUMBER     BP_NAME           IT_ITEMS
    To display this information I created the following
    Subform1 u2013 overflow u2013bound to $record.IT_HEADER.DATA[*] u2013 (Repeat sub form for
    |                                             each data item)
    |->Header sub form u2013 Positioned
    |     |
    |     |-> Text Field u2013 bound to BP_NUMBER
    |
    |
    |->Item sub form -
         |     
         |->Item Table u2013 bound to IT_ITEMS
              |
              |->Data u2013 bound to IT_ITEMS.DATA[*] u2013(Repeat row for each data item)
    In the output BP number in the first record of IT_HEADER gets displayed and then all the Item records in IT_ITEMS for that BP get displayed. This is repeated all the records in IT_HEADER which is perfectly fine.
    Please provide me some suggestions to solve the following issues I am having
    1.     I need a page break between records of IT_HEADER. I want the new subform1 for the next header record to start in a new page. I tried conditional break option, on the only field BP number in header sub form. I have two master pages and two body pages. All the above information is in master page 2 and body page 2.  I am also not sure what to select in the TO section of the conditional break screen.
    2.     When there is an overflow in IT_ITEMS I need the Header sub form to be shown in the next page too.
    Thanks,
    Ganesh.

  • Master and Details Tables Data

    Hi all
    I have two tables one is Master table and other one is Details table.
    How to write a query to get Master as well as Details table data.
    Detail table contain more than one record for particular Master Record.
    Pls Help me.

    My version is Oracle 9i
    My Tables structures are :
    SQL> desc TFMS_CONTRACT_PRICES
    Name Null? Type
    ITEMNUMBER NOT NULL VARCHAR2(30)
    ITEMDESCR VARCHAR2(2000)
    PRICE NOT NULL NUMBER
    UOM VARCHAR2(30)
    UNITSAWARDED NUMBER
    DELIVERYPERIOD NUMBER
    COMMENTSREASON VARCHAR2(15)
    TOTALPOINTSSCORED NUMBER
    FREEDELIVERY VARCHAR2(250)
    YEAR VARCHAR2(15)
    UPDATEDBY NOT NULL NUMBER
    UPDATEDON NOT NULL TIMESTAMP(6)
    BRANDID NOT NULL NUMBER
    CONTRACTORID NOT NULL NUMBER
    ISPRICEESCALATED NOT NULL CHAR(3)
    SQL> desc TFMS_ACCESSORIES_MASTER
    Name Null? Type
    ACCESSORYID NOT NULL NUMBER
    ACCESSORYNAME NOT NULL VARCHAR2(150)
    DESCR VARCHAR2(250)
    ISDELETED NOT NULL CHAR(1)
    UPDATEDBY NOT NULL NUMBER
    UPDATEDON TIMESTAMP(6)
    CONTRACTORID NOT NULL NUMBER
    Sample Out put:
    ITEMNUMBER ACCESSORYNAME
    RT57-01-13-01 Truck ToolBoxes,Riding Sun Glass
    RT57-01-13-02 Door Guard,Maruthis
    For one item number there may be one accessory name or more than one accessory name.i need to display accessory names with delimeter(,).
    Pls help me.
    Thanks in Advance.

Maybe you are looking for

  • HT4623 my messages wont send

    ok so on my ipodtouch i click the "messages" app and i try to send my message but it will never send. The send button always stays grey and not blue.Somebody please help me. Thank you.

  • Mail Memory Storage

    How can I find out how much memory my mail accounts are using so I can adjust my mobileme idisk/mail storage amounts?

  • Couldn't Find getCurrent() in BindingContext

    Hi every body .. DCBindingContainer bb = (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry(); getCurrent NOTFOUND Jdeveloper 11g Windows 7 DB is 11g Express Thanks in Advance

  • Launching Photoshop Launches Quicken installer

    I recently installed the CS2 upgrade. After a week or so, when I click to open it, for some reason a Quicken installer opens too. Not only that, but under file>automate, all the selections are duplicated and do not work properly (I needed photomerge

  • Initial startup

    I am novice here. I just installed oracle designer and when I try to open it, a dialoague box appears asking me the user name , password and connect string. For the username, password I entered "scott", "tiger" which I believe is universal across all