on 2020 Jul 21 8:39 PM
Hi experts!
I have a little time with CPI UI and im having troubles with an iflow extension.
I'm working with standard iflow "Replicate Sales Order and Sales Quote from SAP Business Suite"
I have to modify a message, when currency code is "COL", it must be replace by "COP".
In another post, someone suggest me to extend the iflow because is the correct way to not lose the updates in standard iflow.
In pre-exit I dont need to change anythig so I used standard mapping "ERP_COD_CustomerOrderReplication_Preprocessing"
that uses wsdl "COD_REPLICATE_SALES_ORDER01" in input as in ouput. as shown in attached image
Theres an error when pass to the standard mapping.
"Exception:[com.sap.aii.mappingtool.tf7.rt.BehaviorInvocationException: Too many values in second queue in function useOneAsMany. It must have over all contexts the same number of values as third queue.] in class com.sap.aii.mappingtool.flib7.NodeFunctions method useOneAsMany[[Ljava.lang.String;@660c93eb,"
So I have following doubs, hope You can help me.
Regards.
Hi Rodrigo
The message format in the Process_Post_Processing process is different, so you can't just copy the message mapping from the main process to your extension flow. Take a look at the Bundle Message step. It creates a new payload, which contains the original IDoc payload as well as the message mapping output.
So this is the format the mapping in your extension flow should expect. Since you only need to update a single element, I'd write a simple XSLT stylesheet to do so. If you post an example of the input, I'll help you write it.
Regards,
Morten
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, offcourse, here is and XML extracted from IDOC.
Just click the link to see the Example of XML from idoc generated in SAP ERP
thanks
Regards.
Rodrigo
Hi,
This looks like the issue with the payload when using with the Use one as many.
Please check this
https://blogs.sap.com/2015/02/20/useoneasmany-in-sap-pi/
Thanks and Regards,
Vijay.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
59 | |
11 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.