Skip to Content
author's profile photo Former Member
Former Member

BPM loop

Dear All,

My requirement is to get the PO details (Header in one table and Items in another table) and send it to R/3 for PO creation. Now I am doing it by taking one record from header and all it corresponding line items from item table.

But if I need to select all header records from header and corresponding item records and process it in BPM such that only one header and all its item details are sent to R/3, how can I do it? Can you pls list the steps that would be required in the BPM?

Thanks in Advance.

Thanks & Regards,

Jai Shankar.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Oct 02, 2006 at 02:17 PM


    you don't need a loop for that

    you can do it in the mapping

    take all header and combine them

    with items and then post each as one idoc

    but in the IDOC bundle


    so you only need to do it in the mapping



    Add a comment
    10|10000 characters needed characters exceeded

    • Hi,

      <i>>>>Thanks a lot for the mapping. In my case, there will be thousands of PO requirements created daily. And my target structure is not this simple. I beleive XSLT mapping has to be avoided for performace reasons</i>

      Then Java mapping would be better. You can get some example for Java mapping in SDN. I think you will need a Multi mappping in this case. So you need to take care Messages/Message1 tag while parsing it.



  • Posted on Oct 02, 2006 at 02:24 PM


    As Michal, suggested , you can achieve this with Message Mapping.

    First make the idoc occurence as 0/1..n and then map accordingly as per blog mentioned. But you may need to use some of the Builtin Mapping functions here.



    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.