cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic splitting of messages

Former Member
0 Kudos

All,

We have a file input which has around 500K records. These records needs to be translated against a legacy system. The legacy system tells how many records it can accept in a single call during the handshake call and it varies from time to time.

Is there way to split the original message with 500K records into different messages with "x" records / message. x - is the number we got from the legacy system during the handshake.

How can we do this dynamic mapping?

Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

Pls go thrugh the links below

http://help.sap.com/saphelp_nw04/helpdata/en/ce/bb2c421f3fda2ce10000000a1550b0/frameset.htm

You can do this using multi-mapping and BPM. Please have a look at this:

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

/people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible

/people/sameer.shadab/blog/2005/09/23/an-interesting-usage-of-variable-substitution-in-xi

/people/sudharshan.aravamudan/blog/2005/12/01/illustration-of-multi-mapping-and-message-split-using-bpm-in-sap-exchange-infrastructure

Use node function SPLIT BY VALUE.

This link has the descrption of the same,

http://help.sap.com/saphelp_nw04/helpdata/en/21/3bb8c495125e4eb5969f0377885fe0/content.htm

Also, it is possible to create N messages without BPM. Check this blog for this,

/people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible

/people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii

pls reward if helpful

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

I dont think it is possible. If we want we can give a static number and then can read the records. But dynamically is not possible with standard.

Regards,

---Satish

Former Member
0 Kudos

How can we do the static number of records/message after the file has been read and we have one message with 500k records in one input message?

Thanks.

justin_santhanam
Active Contributor
0 Kudos

Hi,

Whats the input file format , is it Flat file ? If yes then u can use Recordset's per message, let say 20 records per message.

Best regards,

raj.