on 10-26-2010 2:42 PM
Hi Guys,
I am working on IDOC to file sceanrio where in i am getting value for ORDER TYPE from SAP which they dont want to use directly at the target and hence they would generate a new ORDER TYPE by combining a REASON CODE value and thereby generates a new value for ORDER TYPE at target.
Ex: ZPTO(SAP ORDER TYPE) + ZS7( REASON CODE) == S99( TARGET ORDER TYPE).
i have been given a table with set of values like above.
How do i implement this in PI?.Need your valuable inputs.
Reply is very much appreciated.
Sahil
Hi Sahil.
You can use the FixValue Standard Function.
Follow a link about it:
(Function Category: Conversions)
http://help.sap.com/saphelp_nwpi71/helpdata/EN/ef/df564b6aa24fc9ab0d685460747de5/frameset.htm
Best Regards.
Bruno
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sahil.
You can concatenate 2 inputs after you compare the result with the FixValue function. What do you think?
Ex.:
Concatenate ZPTO(SAP ORDER TYPE) + ZS7( REASON CODE) == ZPTOZS7
ZPTO(SAP ORDER TYPE) + ZS8( REASON CODE) == ZPTOZS8
After in the FixValue:
ZPTOZS7 -
> S99( TARGET ORDER TYPE).
ZPTOZS8 -
> S00( TARGET ORDER TYPE).
The result will be S99 .
I hope that this example helps you.
Best Regads.
Bruno
Hi Sahil -
Use value mapping. Refer to the llink below -
Regards,
TK
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 | |
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.