How to upload header and corresponding item details to application server?

Hi all,
  How to upload control data , header data and the corresponding data in the application server based on the company code.
If the user selects multiple company codes like US, GE,IN....3 files need to placed in the application server with the corresponding header and item details. The control data is unique per file.
Thanks,
Charan

For Header and Item data you create separate structure as below...
Header
|----Link
|----
|----
!-----Item
            |-----link
            |-------
(Note the hierarchy- Header str>LINK--> Its fields->ITEM str > LINK under ITEM str->ITEM's fields under ITEM's fields.)
Header part will have all header fields. Item will come under Header and all ITEM's fields will come under Item.
Both HEADER and ITEM will have field LINK -- Char 003 which will allow all ITEMs for a HEADER to fall under proper Header data..
Header and Item Structure will have different files as per the sequence of the fileds..
Map the fields properly..
It will work...
If its helpful to you don't forget to reward the pts..
Edited by: sumesh on May 19, 2008 4:28 PM

Similar Messages

  • How to set Forms and Reports on an Oracle Application Server

    Hi All,
    Can anyone tell me how can i implement my all forms and reports on an Application Server. Please tell me in details cause i don't have enough knowledge abt AS.
    Thanks in Advance
    Arif

    Hi Arif,
    You can install AS Forms and Reports Standalone if you do not need infrastructure services like OID and SSO
    It is available for download from OTN search for Standalone on AS 10g R2 download page, then deploy your Forms and Reports there.
    I hope this helps.
    Thanks,
    Ahmed

  • How to include header name for the fields in application server

    Hiiii Experts,
                          LOOP AT fp_i_wwcmp INTO fp_wa_wwcmp.
          CONCATENATE  fp_wa_wwcmp-pernr
                       fp_wa_wwcmp-etype
                       fp_wa_wwcmp-maxbt
                       fp_wa_wwcmp-epayperiod
                       fp_wa_wwcmp-currencyid
                       INTO l_v_data SEPARATED BY l_v_char_tab.
    i need to insert header names for etype,maxbt,epayperiod,currencyid which are needed to be transfer to  application server.
    regards,
    kasyap
    Edited by: Harish Kasyap on Sep 18, 2009 2:49 PM

    hiiiii clemens thanks a lot for ur reply,
                                                               this is not an alv report,the output is directly transfered into application server AL11.
    and i have used this statement
    CONCATENATE 'ID'
                    'EpayType'
                    'EpayAmount'
                    'EpayPeriod'
                    'CurrencyID'
                       INTO l_v_data SEPARATED BY l_v_char_tab.
    transfer l_V_data.
    is this the rite one
    regards,
    kasyap

  • How to split path and filename (file is on application server)

    Searching this forum I found a couple of FM's that apparently only worked for PC files.  Is there a parser function for files w/ the Unix naming convention?

    You could parse it yourself...
    DATA: filepath TYPE char255 VALUE '/usr/<sys_id>/sap/tmp/filename.txt'.
    DATA: path TYPE char255.
    DATA: file TYPE char255.
    DEFINE macro_reverse_string.
      call function 'STRING_REVERSE'
        exporting
          string  = &1
          lang    = sy-langu
        importing
          rstring = &1.
    END-OF-DEFINITION.
    macro_reverse_string filepath.
    SPLIT filepath AT '/' INTO file path.
    macro_reverse_string filepath.
    macro_reverse_string file.
    shift path right by 1 places. path(1) = '/'.
    macro_reverse_string path.
    WRITE:/ filepath.
    WRITE:/ path.
    WRITE:/ file.
    Regards,
    Rich Heilman

  • Displaying header and line items

    Hi,
    i) i have a fieldname i.e text and its value to display in the bodypage  (body)..
    i want to display the text and its value only if the value is there.. otherwise it should not be displayed and a blank line also should not appear
    in smartforms we can handle that in conditions in the corresponding node, how we do the same in adobe forms?
    ii) suppose i have header and line items and for each header item i want to display the line items, both r in 2 tables how can we handle this
    Thanks

    Hi Shekar,
    The following solutions useful if you are using printbased forms.
    1. To display the field if the value is there.
    ->In the Context you can define the condtion on the filed.
    ->You can write a script on the subform superior to the field
    [code]      if ( $.field.rawValue == <value> ) then
                $.field.presence = “hidden”
          endif [/code]
    2. Header and item table
    In the SFP context drag the header table from interface.drag the item table from interface on the DATA in the header table. it will placed at the end of the header table. Now select the item table select where clause in the properties ( at the bottom of the screen ).there you create a line for condition using create button. drag the field from header table field ( say header-matnr ) on the right side and then drag the same field from the item table ( say item-matnr) in the left side.This will filter the item records relevent for header record.
    refer the message
    Re: Adobe IF Attachments

  • Header and Footer Items in Adobe Muse? Also Menu text being cut off half way.

    How can I make the header and footer items load faster in Adobe Muse? I am hosting with Business Catalyst. Everything else loads almost immediatly on my web page, but my Header and Footer graphic- wood grain picture- take almost 10 seconds to load, and almost a minute to load on mobile devices.
    As well, my menu's are not loading correctly on other peoples devices. On my lap top everything looks fine, but on other peoples devices the text in my menus is only loading half way? -only shows half the text.
    Still working on my site, but to see what I am talking about you can visit the web page I am in the middle of building at www.bkskin.com
    Please give me some advice if any of you have some, thank you.
    Megan Burnett

    Hello,
    It seems to be an issue with the Font that you have used.
    You have used Bubble-one font and if you check this font in Google Chrome it is cut off and if you check in Firefox, it comes up fine.
    Please have a look at this link in Google Chrome and Firefox and you will see the difference : http://www.google.com/fonts/specimen/Bubbler+One
    I would suggest you to use some other font in order to fix it.
    Regards,
    Sachin

  • Header and Line Item reporting (MultiProvider)

    Hello All,
    We have data coming in from a LO Extractor.  There are 2 extractors.  1 for line item the other for Header.  The line item extractor has all the fields for both so we decided to use this extractor (the line item).
    Question is, when extracting this data multiple records come over.  Let's say the order has 2 line items.  It brings over a header record and then 2 line item records.  We have it going to an ODS and then Cube.  The ODS key is order number and item.  Well the header record comes over with item number #, so 3 records hit the ODS.
    How do you handle this?  We saw something about denormalization and make this header record item number a 0.
    Can someone explain to us how to handle this?  We also read about a Constant selection and loading the header record and line item as we are to both the InfoCube, but we just don't understand this solution.
    Please help, Thank you

    Item level will have all fields those are in Header level.Header level data will be a subset of Item level data.Load only Item level and when you require header data remove Item number in that relevant DSO and you can see all the data summarized to header level in overwrite mode.
    This will not be good option if you require some fields that may have different records in the header and the item.
    One better option is create a secondary staging DSO that updated by header, item and schedule line level and you can choose your own data fields and key fields. You can update them in overwrite mode to have summarized records that avoids duplication of records from header and item for same document.
    Constant selection wil be helpful in the report level not during load process.
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/e7/5f983c1a356858e10000000a114084/frameset.htm
    This will ensure total displayed is constant even after navigation. So it hides repetitive records displaying after drilldown.

  • Need information about FI document  with header and no items

    Hello Experts!
    I need your help for understanding the following subject :
    How is it possible when using F.13 to obtain a fi document with header without items sometimes,
    and fi document with header and items anothers times?
    We didn't saw/found customizing topics about that ( to enable or not header without items) Some exists?
    The only difference in the two cases are the document's type involded which are not the same.
    Regards,
    Josiane

    Hi,
    We verify  and compare everything.  it's the same everywhere except the document type of the invoice
    first case, F.13 create conciliation fi document with header and no items
    invoice ( doc. type YB )
    payment ( doc type ZT)
    conciliation ( doc type XZ )
    2th case, F.13 create conciliation fi document with header   and none items
    invoice ( doc. type YT )
    payment ( doc type ZT )
    conciliation ( doc type XZ )
    We match / compare  every fields and value  between invoice of 1st and 2tch case,  every fields and value between payment  of 1st and 2th case.
    ( we create  tests case in own integration system for reproduce  )
    We alse match / compare customizing of invoice type document YB and YT and  they seems identical...
    The procedure is the same with F.13 to do conciliation in both cases.
    we got same amount, same currency etc etc.
    We still didn't understand why with invoice type YT the conciliation document created is not the same as invoice type YB ...
    Nobody have idea ?

  • ALV for one header and multiple item table

    Hello All,
    I have a requirement to display records from one header and three item table using ALV.
    The output should be such that
         1-line - record from header table
         followed by - records from the 1st item table(can have multiple entries corresponding to a header record and each should be displayed on separate line)
         followed by - records from 2nd item table(can have multiple entries corresponding to a header record and each should be displayed on separate line)
         followed by - record from 3rd item table(can have multiple entries corresponding to a header record and each should be displayed on separate line)
    Can you help me out.
    Thanks and regards,
    Subramanian.

    hi
    data population is same for alv or normal reporting.
    First you select the data from header
              select from item data using for all entries in it_header where....
              select item 2
              selct item 3
    loop a it_header
    read item1
    read item2
    read item3
    check sy-subrc
    move to i_final
    then build fieldcatalog and display..
    look the example
    SELECT   PERNR
               STELL
               WERKS
               ABKRS
               ENAME
               ENDDA
               BEGDA
               ORGEH
               PERSG
               PERSK
               KOSTL
          FROM PA0001
          INTO TABLE I_PA0001
         WHERE PERNR IN S_PERNR
           AND ABKRS IN S_ABKRS
           AND PERSG IN S_PERSG.
    SELECT  SPRSL
                STELL
                ENDDA
                STLTX
                FROM T513S
                INTO TABLE I_T513S
                FOR ALL ENTRIES IN I_PA0001
                WHERE STELL = I_PA0001-STELL AND SPRSL = 'EN'.
        SELECT  PERSA
                NAME1
             FROM T500P
             INTO TABLE I_T500P
             FOR ALL ENTRIES IN I_PA0001
            WHERE PERSA EQ I_PA0001-WERKS.
      LOOP AT I_PA0001 .
    READ TABLE I_T513S INTO WA_T513S WITH KEY STELL = WA_PA0001-STELL
                                                  SPRSL = 'EN'
                                                  ENDDA = WA_PA0001-ENDDA.
        IF SY-SUBRC IS INITIAL.
          MOVE WA_T513S-STLTX TO WA_FINAL-STLTX.
        ENDIF.
        V_SNO = V_SNO + 1.
    Read Value For Personal area Text.
        READ TABLE I_T500P INTO WA_T500P WITH KEY
                                PERSA = WA_PA0001-WERKS.
        IF SY-SUBRC EQ 0.
          MOVE WA_T500P-NAME1 TO WA_FINAL-NAME1.
        ENDIF.
    FORM DISPLAY_DATA .
    --BUILDING FIELD CATALOG--
      CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
       EXPORTING
         I_PROGRAM_NAME               = V_REPID
         I_INTERNAL_TABNAME           = 'I_FINAL'
      I_STRUCTURE_NAME             =
      I_CLIENT_NEVER_DISPLAY       = 'X'
         I_INCLNAME                   = V_REPID
      I_BYPASSING_BUFFER           =
      I_BUFFER_ACTIVE              =
        CHANGING
          CT_FIELDCAT                  = I_FCAT[]
       EXCEPTIONS
         INCONSISTENT_INTERFACE       = 1
         PROGRAM_ERROR                = 2
         OTHERS                       = 3
      IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    *--Modifying titles of Field Catalog--
      READ TABLE I_FCAT INTO WA_FCAT WITH KEY FIELDNAME = 'S_NO'.
      IF SY-SUBRC EQ 0.
        WA_FCAT-REPTEXT_DDIC = 'X'.
        WA_FCAT-SELTEXT_S = TEXT-041.
        WA_FCAT-SELTEXT_M = TEXT-041.
        WA_FCAT-SELTEXT_L = TEXT-041.
        WA_FCAT-OUTPUTLEN = 3.
        WA_FCAT-JUST = 'L'.
        MODIFY  I_FCAT FROM WA_FCAT INDEX SY-TABIX.
        CLEAR WA_FCAT.
      ENDIF.
    do for all the fields u want to display..
    Award points if useful.

  • How to change header and footer in login page in oracle apps r12

    Hi all,
    how to change header and footer in login page in oracle apps r12 and login button background color, please help me
    thanks
    saran

    how to change header and footer in login page in oracle apps r12 and login button background color, please help meTips For Personalizing The E-Business Suite R12 Login Page (MainLoginPG) [ID 741459.1]
    How to Personalize Login page in R12? [ID 579917.1]
    R12 Login Page: How to Personalize the Logo ? [ID 849752.1]
    Thanks,
    Hussein

  • How to place header and footer  in OO-ALV program using class

    How to place header and footer  in OO-ALV program using class tell me wat r the class we shold use and their attributes as well

    Hi Venkatesh,
    Take a look at this how to [ABAP Objects - ALV Model - Using Header and Footer|https://wiki.sdn.sap.com/wiki/x/xdw]
    it's explaining how to define the classes and use it for display an ALV with Header and Footer.
    Regards,
    Marcelo Ramos

  • How to print header and footer in SET_TABLE_FOR_FIRST_DISPLAY

    Hello Experts,
             How to print header and footer while using the method SET_TABLE_FOR_FIRST_DISPLAY, any tips from the experts will be appreciated.
    Regards,
    Babu

    Hi,
    there are four events for printing: print_end_of_list, print_top_of_list, print_end_of_page and print_top_of_page. More information about implementing these events is in this bible for ALV:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e8a1d690-0201-0010-b7ad-d9719a415907
    Cheers

  • Custom fields added on PO header and PO item in ME21n

    hi everybody
    I have added 2 fields on PO header and PO item level in ME21N screen, everything is working fine
    but the issue is that if the Customer Data tab page is not opened at the Header Level, the additional fields in Customer Data tab page at Item Level are not displayed as well
    Does anybody knws why this happens?

    May be i wrongly explained, all the data are getting populated on the screen and in the database tables.
    Its just that if the Customer tab on PO header is not opened, the fields in the Customer tab in PO item level are not getting displayed
    As such, the data are being saved in the tables.
    Its only if the customer tab on header is not opened, the fields in Customer tab in PO item are not displayed.
    Otherwise if PO header customer tab is opened, everything is ok

  • How to use lsmw and load cin details of the customer

    hi,
    how to use lsmw and load CIN details of the customer master data as the CIN DETAILS are not visible under XD01.
    thanx in advance
    regards,
    balajit

    i got the solution

  • Content Conversion: One row with one header and multiple item structures. Possible?

    Dear all,
    I have a input that looks like this:
    HeaderKeySomeHeaderInformationItemKeySomeItemInformationItemKeySomeItemInformation...
    Here's the actual input
    TEHGMESS0026000000288S0001TEI2____026200006112410400000000           18010000000000                                                      00126000000000126000120600000000002000000000                                    000WESTMONOBERTBE2014052309422408120003 000000000000000000000000000000JTEI2____026200006112410400000000           19010000000000                                                      00126000000000126000120600000000002000000000                                    000WESTMONOBERTBE2014052309422408120003 000000000000000000000000000000J
    HeaderKey = TEHGMESS
    ItemKey = TEI2____
    Is it possible to process this via MessageTransformBean (my actual scenario is JMS to IDoc)? I already tried but I only succeeded when having new lines in my input to separate between Header and (multiple) Items.
    So when the input and my configuration looks like below it works, but when I only have a single row input it doesn't work, even when specifying xml.recordHeader.endSeparator = '0' / xml.recordItem.endSeparator = '0'. I even tried xml.endSeparator = '0' but no luck.
    Input that works
    TEHGMESS0026000000288S0001
    TEI2____026200006112410400000000           18010000000000                                                      00126000000000126000120600000000002000000000                                    000WESTMONOBERTBE2014052309422408120003 000000000000000000000000000000J
    TEI2____026200006112410400000000           19010000000000                                                      00126000000000126000120600000000002000000000                                    000WESTMONOBERTBE2014052309422408120003 000000000000000000000000000000J
    Matching configuration that works for input which structures are delimited by new line.
    Paramentername
    Parametervalue
    Transform.Class
    com.sap.aii.messaging.adapter.Conversion
    Transform.ContentType
    text/xml;charset=utf-8
    xml.conversionType
    StructPlain2XML
    xml.documentName
    MT_TEI2Split
    xml.documentNamespace
    http://hansgrohe.com/pi/MQ/TEI2/10
    xml.keyFieldName
    SATZARTKey
    xml.keyFieldType
    CaseSensitiveString
    xml.processFieldNames
    fromConfiguration
    xml.recordHeader.fieldFixedLengths
    8,4,9,1,4
    xml.recordHeader.fieldNames
    SATZARTKey,SATZLENHG,NUTZLEN,MESSAE,MESSNR
    xml.recordHeader.keyFieldValue
    TEHGMESS
    xml.recordItem.fieldFixedLengths
    8,4,2,10,8,19,3,3,2,10,6,2,10,6,2,10,6,6,6,6,6,11,9,2,10,6,2,10,6,3,4,3,7,14,8,1,31
    xml.recordItem.fieldNames
    SATZARTKey,SATZLEN,BUCHART,TRNR,ANDGNR,MITEM,TEIVARI,BSTSTATU,REFTYP,ORNO,POS,REFTYP1,ORNO1,POS1,CHATYP,CHARGE,CHAPOS,ABBVONL,ABBNACH,ZUBVONL,ZUBNACH,I2MENG,I2BUNR,REFTYPN,ORNON,POSN,REFTYP1N,ORNO1N,POS1N,BSTSTATN,ABUSERAB,ABUSERFN,ABUSERNA,I2TIME,I2LIDNR,I2FMCODE,FILLER
    xml.recordItem.keyFieldValue
    TEI2____
    xml.recordsetName
    records
    xml.recordsetStructure
    recordHeader,1,recordItem,*
    Any clues on this? Is it even possible to have multiple structures in one row? Many thanks in advance
    Jens

    SAP came back to me with this answer:
    First, I would like to point the documentation for Message Transform
    Bean (MTB) in 7.4:
    http://help.sap.com/saphelp_nw74/helpdata/en/57/0b2c4142aef623e10000000a155106/content.htm?frameset=/en/57/0b2c4142aef623e10000000a155106/frameset.htm&current_toc=/en/45/0ea2de423c2d6be10000000a11466f/plain.htm&node_id=18
    As it is written at the beginning of this document, MTB is used to
    call classes written for the Plain Adapter Engine. So you may find
    additional documentation about the parameters for convertion in the
    documentation of the Plain Adapter Engine
    (http://help.sap.com/saphelp_nw74/helpdata/en/0d/00453c91f37151e10000000a11402f/content.htm?frameset=/en/1b/d5ef3b1ad56d4fe10000000a114084/frameset.htm&current_toc=/en/75/246b3de666930fe10000000a114084/plain.htm&node_id=11).There it is written that the structures by default are
    arranged line-by-line. The endSeparator just adds additional character
    string as a separator after the last column in a row.
    I hope that this answers your question. MTB expects the data to be
    structured line by line.
    You may add a custom module, which transforms the message in the
    expected format.
    If you have a look at the second link there's even a more precise wording that multiple structures within one line are not supported:
    xml.NameA.endSeparator
    Even if no specification is made here, a line break must follow since substructures are always expected as a line of the document.
    Bottom line is that it's not supported by now and verfied by me with PI 7.4 SP5
    Many thanks to Ambrish, Amit and Hareesh for the valuable input. Will probably try to work things out for now following Ambrish's / Hareesh's suggestion as this seems easier to implement. Amit's proposal with a dedicated module however would probably be the more polished solution.
    Cheers
    Jens

Maybe you are looking for