on 09-05-2014 11:56 AM
Hi
I've requirement where two columns Location ID - ( having assigned 1,2,3 coming from source system) and job type 0 and 1.
Now In Location ID column I've to assign location A to 1, B to 2 AND C to 3
In job type columns
0 to D
and 1 to N
Please can you example code how I can do in routine... should it be done in start/end or field level routine---
Pleaase give example code.
Thanks,
P
This is not ABAP training forum
Message was edited by: Pravender Kumar
Hi Pawan
if i understand correctly,
you want to replace the values with new value..
eg. if location ID = 1, then location ID = A and so on.
if so, you can write it in field routine. and make sure the target data type holds the charcater.
in field routine,
if source-fields -location = 1,
result = A.
elseif source-fields -location = 2,
result = B.
endif.
Please let us know if this is what you want.
Regards,
Sakthi.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you please reply on below if you know:
thanks in advance.
How to derive week commencing date using print date in SAP BI Routine
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
8 | |
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.