Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
Showing results for 
Search instead for 
Did you mean: 

How to convert week to Period

0 Kudos

Hello All,

I have a requirement in BW to convert the value into 0FISCPER, 0FISCYEAR and 0FISCPER3, do we have any standard FM to meet that requirement.


Source data: Week 52 FY18, this we have to convert and get 0FISCPER, 0FISCYEAR and 0FISCPER3.

Please provide your suggestions and thanks in advance for your help.




Active Contributor
0 Kudos

Remember that the result of this conversion depends on Customizing (company code or CO area calendar) in some case a week can belong to two periods. You MUST also provide 0FISCVARNT to your transformation and use a rule of type TIME.

Hint: If for some shady reason you want to code it in Abap, look for methods like GET_FIRST_DATE_OF_WEEK and GET_FISCPER_FROM_DATE of class CL_RS_TIME_SERVICE.