on 09-04-2008 3:54 PM
Hi,
I have one Idoc segment: E1WPP01 (example) this is sender in my message mapping
we have one field MATNR under that E1WPP01
sender occurence: 1 (SAP)
receiver occurence: 0 to unbounded (file type)
my receiver field which i map with DT_receiversub1
when ever E1WPP01 occurence is there DT_receiversub1 has to be generated.
one condition: when MATNR is empty DT_DT_receiversub1 field should not get generated
Thanks
Hi
Use a createif and check if matnr is empty using node functions
so ur target node will be created only if matnr is not empty.
Thanks
Saiyog
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
It is static structure we can't hide at run time, if source structure MATNR have value based on mapping it will pass to receiver structure else no value will found and receiver structure as blank, but we can't terminate field from structure. If receiver is file better to check with ABAP/JAVA mapping.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey got the solution???
if not try this
1)E1WPP01--->exists
2)Matnr-------------->
equalsS(text function)----not----Removecontext
Constant[]---------->
3) 1----->
and---->createif--->dt_reciver
2------>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi raja,
while mapping use from Node function category-> exists function while u mapping to the source field.
this will react as u told.
Regards,
sasi.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I made a sample mapping as per your requirement and it is working.
Following includes screen shot of mapping.
http://farm4.static.flickr.com/3210/2829074012_dcccf28b0d_o.jpg
http://farm4.static.flickr.com/3219/2829039950_ff65ae2574_b.jpg
It would work as below:
if E1WPP01 exists and if MATNR do not exist, it will not generate target structure. [ Hope thats your requirement ]
Let me know if it works.
regards,
Venkat.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
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.