on 12-14-2015 5:59 AM
Hi Experts,
need your advise on my issue. here is the background:
i have a NON-SAP source that is sending data to PI (SOAP via XML format). In PI the receiver is structured to use existing iDOC structure. the original design was, source will be sending transaction and PI to generate single iDOC. now the requirement have changed. the source, will now be sending multiple transaction (on the same XML file) identified by the header segment E1WVINH
If you noticed i have changed the occurrence to 1,unbounded to parse multiple header. here is my Message mapping:
when i test using the payload with multiple header segment:
the result did not generate as expected as it seems to be generating single iDOC still:
can you please help me and let me know what have i done wrong with this? thanks a lot!
Hi Expert,
this is what i have done today, i redesign the message mapping to use the actual iDOC as is (so that i can modify the occurrence value from signature..juts found out the external define object does not allow to change the occurrence)
from here when i test using the current payload to pass on 2 Header segment, was able to see below:
when i tried to run the test on RWB, i got this error:
can you help me with above error? did i miss something?
jyst an update, i was able to figure out the problem with the payload.now i got successful test. but i was expecting of 2 idoc nmber. the result generate 1 idoc with hjust a subtree. .. am i doing it wrong ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jun,
Jun Rey Magbanua wrote:
Hi Experts,
need your advise on my issue. here is the background:
i have a NON-SAP source that is sending data to PI (SOAP via XML format). In PI the receiver is structured to use existing iDOC structure. the original design was, source will be sending transaction and PI to generate single iDOC. now the requirement have changed. the source, will now be sending multiple transaction (on the same XML file) identified by the header segment E1WVINH
Map E1WVINH -> removeContext -> Idoc. In your previous screenshot, Idoc is mapped to Idoc.
Regards,
Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jun,
tried your, but been getting error . it seems to have problem with "required" segments. should i still proceed with the original mapping after mapping the header (source) to iDoc segment (target) ?
thansk!
This is the tricky part, changing 1..1 to 1..unbounded would always require context manipulation. As with best practice, first disable all nodes (with mapping only) on the same level as EDI_DC40 and then start working downwards e.g after finishing all fields in EDC_DC40 , test via test tab. If okay, then enable E1WVINH, disable all children (with mapping), rewrite mapping logic -> test. If okay, enable one child and so on etc
Regards,
Mark
Hello Jun,
In signature tab of your message mapping, please make the occurrence of target to 1..unbounded. It should work then.
Regards,
Souvik
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
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.