Posting an Idoc with Multiple Headers and Multiple Lines

Hi all,
I have a scenario like this fileXIIdoc
Invoice file comes in text file with multiple header and multiple lines like this
111               aaa     13214234    US   (header)
09082010     ABC    9999            A     (Line)
222               ccc     43454543    US   (header)
09082010     XYZ    7777            B     (Line)
09082010     PQR    8888            C     (Line)
I need to post single Idoc with all the headers and lines
we are planning to use Custom Idoc,Is this possible by having the header segment as unbounded??
Regards
Edited by: Vamsi Krishna on Sep 8, 2010 8:05 PM

hi,
lets go again.
you have to edit the custom IDoc and change the ocurrance on the header segment. also modify the details segment adding an addtional field that identify which header that this detail belong.
for this case you cannot change the occurrance in SAP PI because you wont identify what i have told you before.  in PI apply to change the occurrance if you could send ONE Idoc Per Header.
now is better clear???
Let us know.
Thanks
Rodrigo P-.

Similar Messages

  • Integrtion Scenario using BPM with two sender and multiple receiver

    integrtion Scenario using BPM with two sender and multiple receiver
    How many Application Components are required?

    Hi Vinod,
    1) In integration repository you can have one or many software components it depends on your landscape orchestration
    2) In integration direcory you need at least one service for bpm and one or many for each system in your bpm
    also each connection between systems and bpm must have receiver determination and so on.
    Advice: Please treat BPM as a separate system.
    best,
    Wojciech

  • Recommended configuration for load balanced Portal with load balancer, multiple gateways and multiple servers.

    Does anyone have a recommended network, hardware and software configuration guide for a Portal installation running with multiple gateways load balanced (ie one URL) that talk to multiple servers?

    David,
    We've used Resonate (software) to load balance the gateways. It allows
    you to group all the gateways under 1 virtual URL and load balance the
    incoming connections over each gateway depending on the rules that you
    define in Resonate. Look in the SUN portal whitepapers there is one that
    talks about it specifically.
    As far as load balancing the calls to the portals, the gateways will
    automatically load balance across all the portals that they know about
    using a simple round-robin rotation. You may be able to use Resonate in
    front of the portals but you may need to activate persistance within
    Resonate to ensure that the user always ends up on the portal that he
    established his initial connection on (if you want that), check with Sun
    on this one.
    David Broeren wrote:
    Recommended configuration for load balanced Portal with load balancer,
    multiple gateways and multiple servers.
    Does anyone have a recommended network, hardware and software
    configuration guide for a Portal installation running with multiple
    gateways load balanced (ie one URL) that talk to multiple servers?
    Try our New Web Based Forum at http://softwareforum.sun.com
    Includes Access to our Product Knowledge Base!

  • LOV with auto suggest and multiple check boxes

    Is it possible to implement LOV with auto suggest and multiple check boxes using ADF faces components?. Any alternative implementation/pointers are appreciated.
    Regards,
    Surya

    Hi,
    build it yourself as a task flow opened in a popup. see: http://www.oracle.com/technetwork/developer-tools/adf/learnmore/69-custom-lov-with-btf-276178.pdf
    Frank

  • Partial-credit scoring in multiple response and multiple hot-spot questions

    Hello everyone,
    I'm calling on your generosity in the spirit of the holidays to help out a noob.  I would like to create matching, multiple-response and multiple-hot spot questions where the user receives credit based on the number of correct answers within the question. For example, in a matching question where there are four items; if the user gets 2 out of the four items matched correctly, I would like for him to receive 2 out of 4 points.
    I understand that Captivate doesn't support partial-credit scoring of this type, but a few posts have implied that it can be done with variables. Is there anyone who can walk me through this process, or send me to a link that will walk me through it? (I've scoured these forums and tried the Cp tutorials, to no avail.) And if it's not asking too much, please make it understandable to someone who has very little experience with variables.
    Thanks, and Merry Christmas.
    JR
    (Running CP 5 on Windows Vista)

    Hello,
    I did publish an article more specific on partial scoring, perhaps this could help you:
    Partial scores and customized feedback
    And since you are asking for more basic information, on my blog I point to some other articles to explain the meaning of variables with/without advanced actions. Feel free to have a look (there are more postings about advanced actions and links to articles over there):
    Curious about variables ?
    Unleash the power of variables with advanced actions
    Lilybiri

  • Planning for  product using multiple bom and multiple recipe involving SOP

    Hi friends,
    The problem. Currently we have maintained single BOM and single recipe (The BOM and Recipe used for MRP) for long term planning run. The FMCG sector of Client requested to have multiple BOMs and multiple recipes in the long term planning run. I.e. The planning is done quarterly and they wanted to use different BOMs and Different recipes for each quarter. But since the existing system has configured to use a single BOM and a single recipe we have a problem to use the long term planning run with the current setups.The problem we have is in this ‘001’ planning scenario.
    appreciate if you can help me how to accommodate multiple BOMs and recepis in the long term planning run.
    thanks and regards
    om

    HI Mr. Ready,
    We create PIR though a submit Job and in this case how to mention the production version while creating PIRs . Also if I am creating PIR through MD61 how to record the version.
    Please advice.
    Thanks and Regards,
    Om

  • Diff between Multiple Threading and Multiple instance.

    Hi ,
    what is the main diff between Multiple Threading and Multiple instance?
    Please give me the answer

    Satti4Java wrote:
    Hi ,
    what is the main diff between Multiple Threading and Multiple instance?The main difference (not "diff") is that the first one ends with the word "Threading" and the second one ends with the word "instance".
    Really. Seriously. Now if you had some industry standard phrases you were comparing, there might be a useful discussion. But those are just words strung together. If that's a homework question, I recommend you find a different teacher.

  • Oracle HR restrictions based on multiple assignments and multiple GRE's.

    In oracle HR, with multiple assignments and multiple GRE. How can we restrict to having 1 assignment per GRE. I do not want more than 1 assignments per GRE. Has anyone done this before?

    Hi,
    If the requirement is to prevent the creation of multiple assignments, you can achieve that by personalizing the assignment form.
    Thanks
    Satheesh

  • Multiple rows and multiple cols inone report

    Hi
    All
    I have a req where i need to build a report with multiple rows and multiple columns
    .... .......................  2009 jan ,        2009 feb ,      2009 march ,   2009 april...........................
    ............................ dim3 mem1 ,    dim3 mem1 ,  dim3 mem1,     dim3 mem1..........................
    dim1 mem1
    dim2 mem1
    calc value
    dim1 mem2
    dim2 mem1
    calc value
    dim1 mem3
    dim2 mem1
    calc value
    please advice if i can use the colkey range and rowkeyranges for this type of expansion and how?
    thanks
    Edited by: bpc_now on Oct 21, 2010 6:40 AM

    Hi,
    If you need multiple dimensions, then the first thing is to specify EVDRE("mXn")
    where m = number of dimensions in column
    n = number of dimensions in the row.
    If the EVDRE has already been built and you wnat to change it, then you need to change the rowkeyrange and colkeyrange. And accordingly, you should have 4 expansions - 2 for rows and 2 for columns.
    Hope it helps.

  • Can I use one itunes account for multiple users and multiple devices

    Can I use one itunes account for multiple users and multiple devices?

    The iTunes EULA, as I understand it (I'm not an attorney )for Apps is basically that one person can use an App multiple devices, or multiple people can use an App one device..so one to many or many to one, but not many to many....

  • Multiple sizes and multiple quantities of an item

    How do I create a shirt order form where someone can order multiple sizes and multiple quantities of an item?

    Hi,
    There’re some order templates, Shirt(Clothing) Order Form,  that might be meet your request. Or you can design a custom form according your requirement if you’re a form author or coauthor. For your case, when you design the form, you can choose the multiple choices, single choice, or other fields, etc.  And you have to enable the payment under options tab, and assign fields as a purchase fields. At the same time, you can share the web form to the form filler to make an order.
    Thanks,
    Guanshuai

  • I tried to install the new iOs 7 on my iphone5 and itunes shut down before it completed and now my phone is stuck on with the apple and a line under it.

    I tried to install the new iOs 7 on my iphone5 and itunes shut down before it completed and now my phone is stuck on with the apple and a line under it.

    Hello roch23
    Check out the article below to get you back up in running.
    iOS: Unable to update or restore
    http://support.apple.com/kb/HT1808
    Thanks for using Apple Support Communities.
    Regards,
    -Norm G.

  • MacBook Pro continues to reboot then shows main screen with flickering green and white lines then restarts again what the heck is wrong with it?!

    MacBook Pro continues to reboot then shows main screen with flickering green and white lines then restarts again what the heck is wrong with it?!

    Sorry we can't assist with that, you'll have to take it to Apple.
    If it's not worth fixing then you may be interested in this User tip
    My computer is not working, is my personal data lost?

  • When printing from Preview, the document prints with large print and many lines added and pages added

    When printing from Preview, the document prints with large print and many lines added and pages added. Why does this happen?

    Thank you!!! That was the problem--scale was set at 200% (don't know why)--when I reduced it to 100% it printed perfectly.
    Thanks again for helping me resolve this problem.

  • 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

  • How to configure SOA Suite 11g Worklist with LDAP Identity Store

    Hi Im trying to configure the worklistapp to use an ldap identity store (SOA Suite 11g) The ldap is a open source ldap (Open DS in this case), is NOT : OID, OVD, Active Directory, WLS OVD, IPlanet. for doing so, i did the next configurations: workflo

  • Can I generate separate Word docs and retain cross-references?

    I've poked around the forum and am seeing an answer to this, so forgive me if it's already been answered. I'd like to generate separate Word documents from within RH8 (as opposed to a single Word doc of the entire help system) and yet retain the func

  • Keyboard won't reconnect to iMac after battery change. Bajer44

    Bluetooth key board working perfectly with iPad after a change of batteries, but will not re-pair with my iMac. Help!! Bajer44

  • Problem in displaying detail along with Aggregate data.

    Hi I am new to BIP and I am facing problem to display detail as well as aggregate values at a time. My data is like below Security Value S1 10      S2 20      S3 30      S3 40      S4 50      S5 60      S5 70      I want to display data in report as

  • I have just graduated from PSE 2.0 to PSE 8.

    Yes quite a jump, but that's reality. However, I may regret this last upgrade.  In Element 2 I could modify / add to photos things such as text and custom shape tools.  I have yet (just a few hours on this new product) to find these features.  HELP