on 2021 Oct 05 9:41 PM
Hi experts! (sorry if my english is not good)
Thanks in advance for your time to reply.
I am developing a mapping whose scenario is from a PROXY to a REST service.
The REST API has a limitation of 10,000 records per post, and the proxy output can take up to 300,000 records, so I need to do a split for every 10,000 to inject them to the REST call.
What I have done so far allows me to separate by type of output message, but I am not managing to generate the "children" nodes to complement the call.
This is my way (to this moment): the signature of my mapping is one (source) and 0...unbounded (target)
This is my way to create a new message for the split:
The constant element (3 in this little examplo ), must create a MT_Request with 3 element items, and every 3 must create a new MT_Request .
But, when i run the test, i only have one element item (it is wrong), i need the row / row[1] / row[2] must be inside of the first MT_Request .
I need the first MT_Request containts the 1 , 2 and 3 elements of the source row ; then the second MT_Request, must cointant the 4, 5 and 6 elements of the source row.
What is wrong?
Request clarification before answering.
Hi Juan,
Please check the context of input field row. The data should be in one context to split.
You can also refer the below blog to solve similar problem
https://blogs.sap.com/2016/09/28/splitting-of-messages-dynamically-using-parameterize-mapping/
regards,
Harish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Harish, i will read the blog and try it.
User | Count |
---|---|
73 | |
21 | |
9 | |
8 | |
6 | |
6 | |
5 | |
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.