on 11-14-2007 7:51 AM
Hi All,
Here is the Scenario, In Data Source I have Fields wit data is as follows
CustNo CustName Status
1 xyz A
2 abc I
3 san C
But in Dso I want The Data to be in Below Format
CustNo CustName Status
1 xyz Active
2 abc Inactive
3 san Cancle
Please Provide the Code For This Transformation Routine.
Regards,
santosh.
Santhosh,
The code is at your object level. It will be something like the following:
IF SOURCE_FIELDS-STATUS EQ 'A'.
RESULT = 'Active'.
ELSEIF SOURCE_FIELDS-STATUS EQ 'I'.
RESULT = 'Inactive'.
ELSEIF SOURCE_FIELDS-STATUS EQ 'C'.
RESULT = 'Cancel'.
ENDIF.
Hope this helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can very well write transformation for this but ideal way would be populate the Text data for "Status" InfoObject & display the text at the report level.
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 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.