on 06-07-2011 12:52 PM
Hi,
i try to mak graphical mapping.And i should use if then else function.The scenerio should be as follows:
if the value1 > 7 then
value1 = value2
else
not create row
i draw the following:
value1----
>
greater----
> IF -
> then value1 = value2
Constant(7)----
>
else----
>?
if the value lesser than 7,When testing i want to be in Result nothing.How should i continiue for else?Can you help me please?
Hi Nurhan,
you can use if-without-else instead of if-else.
This is available in boolean functions catagory in graphical mapping.
This should solve your problem. If the error still persists then probably your target structure has minimum field occurence zero.
Then use creatif node function to create the target field.
regards
Anupam
Edited by: anupamsap on Jun 7, 2011 2:27 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I hope that you have to use createIf node function.
value1 --> greater --> createIf -->Target node
Constant(7)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
no need to use else condition, just try with if then condition satiffies taget will have value elase supress.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
i tried without else.Then i get that error:
Cannot create target element /ns1:MT_OZET_SATIS/OZET_SATIS[2]/ZPOSSIPNO. Values missing in queue context. Target XSD requires a value for this element, but the target-field mapping does not create one. Check whether the XML instance is valid for the source XSD, and whether the target-field mapping fulfils the requirement of the target XSD com.sap.aii.mappingtool.tf7.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
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.