on 09-24-2009 8:28 AM
Hi Experts,
I'm struggling with following task:
IDoc structure to IDoc structure (source and target are the same)
DELLVRY05 1
-IDOC 1 |
-E1EDL20 1-unbounded |
-E1EDL24 0-unbounded |
|-POSNR 0-1
|-CHARG 0-1
|-E1EDL410-2
E1EDL24 should NOT appear if CHARG or E1EDL41 do not exist!
Thx,
Udo
Do the mapping as
POSNR --->removeContext--> exists \ E1EDL24-----> then
--------> AND ---> IF without Else --> E1EDL24
CHARG---> removeContext--->exists /
exists: Use this function to determine whether a particular source field exists in the XML instance to be processed. If it does, exists() returns the value true, otherwise it returns the value false.
Edited by: Kubra fatima on Sep 24, 2009 10:26 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Eivind,
Try this:
CHARG (Context E1EDL24)exists--
> OR -- createIF -- E1EDL24
E1EDL41 (Context E1EDL24)CollapseContextexists/
Regards
Suraj
Edited by: S.R.Suraj on Sep 24, 2009 4:14 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
You can handle it with standard APIs in mapping.
POSNR ---> Exists _______> AND ---> IF without Else --> then Pass source side E1EDL24 to ----> E1EDL24
CHARG---> Exists
Occurance is 0--unbounded.
Thanks
Swarup
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
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.