on 10-07-2010 2:48 PM
Hi Sap All.
i have got a requirement in an Idoc to file Interface where i need to compare the sender node field with 2 values and based on the result i need to map to target field.
for example :
If ZCOLLAB = 'X', then set 'NEW'. If ZCOLLAB = space, then set 'ACKNWL' to the target field.
so how i can achieve this .
will be waiting for any best answer.
regards.
Varma.
Hi Varma,
First use If with Else function and second if should be If without else.
If ZCOLLAB = 'X'
then send "NEW" as constant
Else Check if ZCOLLAB = space
then send "ACKNWL" as constant
Thanks,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can use fixValue but I won't recommend using it just for couple of entries. If you had 3 or more "if" statements, then using fixValue or UDF would have been better ... in your present situation, simply use graphical "if" twice.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Varma,
in that case I recommend to use a Java Mapping instead of a graphical mapping:
http://help.sap.com/saphelp_nwpi711/helpdata/en/e2/e13fcd80fe47768df001a558ed10b6/frameset.htm
Kind Regards,
Gábor
Hi,
Use FixValues function, in this put X & space in key column and value column entry will be NEW and ACKNWL respectively .
So, your mapping will be :
Source --> FixValues -
> Target
I hope this will certainly solve your query.
Regards, Gaurav.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
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.