on 2007 Jun 11 5:32 PM
Hi,
I am not good in ABAP, could any one give me the Routine - syntax to populate the right values.....
Field in PSA:
DATE --> MMDDYYYY
Tranformation Routine:
1) 0CALQUART1:
1 --> If MM = 1 or 2 or 3
2 --> If MM = 4 or 5 or 6
3 --> If MM = 7 or 8 or 9
4 --> If MM = 10 or 11 or 12
2) 0CALQUARTER:
YYYY1 --> If MM = 1 or 2 or 3
YYYY2 --> If MM = 4 or 5 or 6
YYYY3 --> If MM = 7 or 8 or 9
YYYY4 --> If MM = 10 or 11 or 12
Please provide me the ABAP code for this.
Thanks,
Hi,
Just assign DATE to 0CALQUART1 and 0CALQUARTER directly, system will take care.
Best Regards,
Rajani
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Convert ur date to normal format (internal representation is yyyymmdd)Just map the date directly to 0Calquarter it will calculate on its own.similarly for 0CALQUART1 also. Check it out
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
70 | |
10 | |
10 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.