Skip to Content
0

How to convert week to Period

Jan 05 at 06:08 AM

48

avatar image
Former Member

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.

Ex:

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.

Regards,

DRKR.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Raymond Giuseppi
Jan 05 at 06:40 AM
0

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.

Share
10 |10000 characters needed characters left characters exceeded