10-14-2022 03:31 AM
Hello Team,
I am facing a strange situation where I am trying to map a value to a variable but it is getting over-written with another value that I haven’t mapped it . Please find the below steps.
Here is the mapper, where “” value and X are getting mapped to “$BAPI_PO_CHANGE.POITEM.item[].NO_MORE_GR" and "$BAPI_PO_CHANGE.POITEMX.item[].NO_MORE_GR”, explicitly.
The output that is being received is “X” being mapped to both “$BAPI_PO_CHANGE.POITEM.item[].NO_MORE_GR" and "$BAPI_PO_CHANGE.POITEMX.item[].NO_MORE_GR”
Expectation : $BAPI_PO_CHANGE.POITEM.item[].NO_MORE_GR to contain value “”
$BAPI_PO_CHANGE.POITEMX.item[].NO_MORE_GR to contain value X.
Can someone please quickly help?
Thanks in advance.
Neeraj.
Solved! Go to Solution.
10-18-2022 02:59 AM
10-14-2022 05:26 AM
I can see that you are mapping the “POITEM” object to both places(“POITEM, POITEMX”):
And, I believe that is causing the result to be mapped on both places although you do re-mapping again below. You can try to add that re-mapping in separate mapper.
BR,
Spiro Taleski
10-15-2022 09:07 AM
Hello @Spiro_Taleski ,
Thank you so much the reply!
As per your suggestion, I did try to map the targets in different mappers, yet I am not receiving the desired output.
Could you please let me know if you think I should consider another approach, maybe try some script?
To let you know a little more, I also tried to drop the BAPI_PO_CHANGE.POITEM.item[*].NO_MORE_GR in the succeeding mapper after doing the mappings in the first mapper, yet no luck.
Your inputs are highly appreciated.
Thanks again.
-NJ
10-17-2022 07:41 AM
Can you please attach here the sample pipeline that you are working on? Please remove any sensitive data if you have.
BR,
Spiro Taleski
10-17-2022 09:06 PM
Hello @Spiro_Taleski ,
Please find the attached sample pipeline, that i initially started off with, which do not have any other snaps, apart from the mapper with 1-to-1 mapping.
Please let me know if you need any more information.
Test for array_2022_10_18.slp (4.3 KB)
Thanks,
NJ