Skip to Content
avatar image
Former Member

Flat file to RFC need help

Hello , i have a flat file scenario : XML to RFC and response back to xml , in which case i have a more complex scenario.

Instead of calling RFC multiple times i need to call RFC multiple times through a BPM loop through one xml with duplicated strcutures how is it possible please help me

Krishna

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Best Answer
    avatar image
    Former Member
    Mar 23, 2006 at 04:44 PM

    Hi

    To know more about Par For Each Loop in BPM - go thru following Flight Example-

    http://help.sap.com/saphelp_nw2004s/helpdata/en/3c/831620a4f1044dba38b370f77835cc/frameset.htm

    Hope this helps..

    Regards,

    Moorthy

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 21, 2006 at 06:34 PM

    hi,

    >>>> i need to call RFC multiple times through a BPM loop through one xml with duplicated s

    1. create a multimapping that will create as many xml messages

    as calls that you need

    2.add those messages to a multiline container

    3. use a block step with foreach on this multiline

    container and the send step will execute

    the rfc at each new message occurance

    Regards,

    michal

    -


    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions">XI FAQ - Frequently Asked Questions</a>

    Add comment
    10|10000 characters needed characters exceeded

    • hi,

      no loop

      1. use a message mapping 1:N

      that will create as many messages as calls

      2. put it in the transformation step in BPM

      3. use block and a send step inside

      and in block specify the use of foreach

      on the multiline container that you will fill

      inside the transformation step

      Regards,

      michal

  • avatar image
    Former Member
    Mar 21, 2006 at 09:36 PM

    If you are on SP14+, you can accomplish the same using the extended configuration in Interface Determination using the same multi-mapping you developed for BPM.

    This will not require BPM and, therefore, less resources.

    Regards,

    Bill

    Add comment
    10|10000 characters needed characters exceeded

    • hi Krishna,

      To convert your flat file, into XML, you will have to perform content conversion on your Sender File Adapter.

      Refer this blog for the same,

      /people/venkat.donela/blog/2005/06/08/how-to-send-a-flat-file-with-various-field-lengths-and-variable-substructures-to-xi-30

      To call an RFC in a BPM,

      /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit

      Regards,

      Bhavesh

  • Mar 28, 2006 at 04:50 PM

    Hi,

    This link should help you understand multimappings better:

    http://help.sap.com/saphelp_nw04/helpdata/en/21/6faf35c2d74295a3cb97f6f3ccf43c/content.htm

    Chandra

    Add comment
    10|10000 characters needed characters exceeded