on 05-03-2006 6:50 PM
Hi all,
I am mapping 0FISCYEAR to 0FISCPER so that the data for fisyear can be populated based on 0FISCPER. Right now the value that i have in 0FISCPER is 2006012 and the value getting populated in 0FISCYEAR is 6012 rather than "2006". So I tried writing a routine in transofrmation
Result = Source_fileds-FISCPER(4)
and then when I check it through the display generated program by putting break points I can see that the code is working fine and giving desired results (2006). But just after the routine is done then it goes thorugh what it calls
Step ID: '2' Type: 'Time'
currrule-stepid = '2'.
G1-FISCYEAR = <_ys_SC_1>-FISCPER.
ENDIF. "suppressed RULE
and there the FISCYEAR is reverted back to original (6012).
How can i skip that step of step id 2 where its overwriting the routine,
If any has gone through this please suggest something.
thanks a lot,
Kiran
Hi Kiran,
Try using a formula instead of a routine:
LEFT(0FISCPER,4)
John
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
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.