on 03-10-2014 1:07 PM
Hello Experts,
I have a requirement to create multiple IDOCs based on multiple fields.
Earlier my requirement is to create IDOCs based on ShipID (i.e., for every ShipID new IDOC...I achieved this).
But now the requirement was to create IDOC based on two more fields like
Source:
ShipID1
FieldA with value1
FieldB with value1
Target :
1 IDOC to create
and If
Source:
ShipID1
FiledA with Value2
FiledB with Value2
ShipID1
FiledA with Value1
FiledB with Value2
Target:
2 IDOCs based on FiledA
Like wise IDOC should create for every change in FiledA and FieldB.
If FiledA and FiledB has no changes then create IDOC based on ShipID
please help me in achieving this as this is an urgent requirement.
Hi Prasad -
Just concat all the three fields - shipID1, FieldA and FieldB and
remove contexts
split by value (value changed)
collapse contexts
This way whenever there is a change in any of the above fields you'll have separate IDOC..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
U have one another option of using duplicateSubtree. So u can duplicate idoc node and try to create idoc for each condition.
Thanks
Amit Srivastava
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
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.