on 04-10-2008 6:41 PM
I need to split Source message which has multiple records into multiple Target Messages.
For Example I have to put 1000 records into each Target Message.
Source:
emp_recs
emp_data occurs 0..unbounded
emp_name 1
emp_dept 1
Target:
target-emp occurs 0..unbounded
emp_name 1
emp_dept 1
If Source message has 5000 records there should be 2 target messages with each message has 2500 records. if source has 10000 records then there will be 4 target messages.
I donot want to use BPM. Have to do this in Graphical Mapping.
I know there was a BLOG I saw couple of months ago and I'm not able to locate It. Any help will be appreciated with Points.
In Your case,
Your source message is splitted into target message containing 5000 messages:
you need following mapping
every 5000 emp_data create new message:
if (emp_data -> Index [5000, 1] -> Mod) = 0
emp_data --> Message1
You need to use UDF write Mode function.
For each message you need 5000 emp_data
if (emp_data -> Index [5000, -1] ) > 0
emp_data --> emp_data
For each emp_data , you will need pass subelements:
if (emp_name -> RemoveContext -> Index [5000, -1] ) > 0
emp_name --> emp_name
This is just idea, not tested.
Liang
Edited by: Liang Ji on Apr 10, 2008 11:34 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi
se this
I read this about Enhanced Receiver Determination in XI...
http://help.sap.com/saphelp_nw04/helpdata/en/43/a5f2066340332de10000000a11466f/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/43/a5f2066340332de10000000a11466f/frameset.htm
/people/venkataramanan.parameswaran/blog/2006/03/17/illustration-of-enhanced-receiver-determination--sp16
/people/jin.shin/blog/2007/12/11/sap-netweaver-process-integration-enhanced-receiver-determination-for-synchronous-scenarios
hope its helps
Rodrigo
Edited by: Rodrigo Pertierra on Apr 10, 2008 2:47 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Oops..wrong post
Edited by: Guru on Apr 10, 2008 12:48 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.