Skip to Content
avatar image
Former Member

How to convert week to Period

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Jan 05 at 06:40 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded