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.
cancel
Showing results for 
Search instead for 
Did you mean: 

Needs Released FM for determining last day in fiscal period

Former Member
0 Kudos
398

Dear All,

I have a requirement where we need to get the last day in the fiscal period. This can be achieved by using the below FM's:

1. PERIOD_DAY_DETERMINE

2. LAST_DAY_IN_PERIOD_GET

Here the problem is these FM's are not released. Any other FM which does the similar functionality and the FM is released by SAP.

Appreciate your help!

Regards,

Shashi

14 REPLIES 14

Former Member
0 Kudos
319

Hi Shashi,

You can try below bapi

BAPI_CCODE_GET_LASTDAY_FYEAR

Hope this solve u r problem,

Regards,

Rahul

0 Kudos
319

Hi Rahul,

This FM is not released, and this can be found in Attributes of the FM.

Thanks for your response.

Regards,

Shashi

0 Kudos
319

Hi Shashi,

The below FM is internally released.

FIRST_AND_LAST_DAY_IN_YEAR_GET

Regards,

Rahul

0 Kudos
319

Hi Rahul,

No this FM is not internally released.

If it is internally released it will be mentioned as 'Internally Released on: " with date under attributes of the FM.

Like the FM: F4IF_INT_TABLE_VALUE_REQUEST

Thanks for the response.

Regards,

Shashi

0 Kudos
319

If you dont want the Not released function modules, why can't you copy the function module to Z and use it ?

0 Kudos
319

Hi Gautham,

The intiial requirement is to find out a released FM. As a part of the guidelines we are not supposed to any of the unreleased FMs in any of the custom developments.

Thanks for the reply.

Regards,

Shashi.

0 Kudos
319

Hi Shashi,

Can you try /SOMO/LAST_DAY_IN_PERIOD_GET I think this may help you.

Regards,

Ganesh.

0 Kudos
319

Hi Ganesh,

Thanks for the response.

Even this FM is not released.

Regards,

Shashi

0 Kudos
319

Hi,

Use 'BAPI_CONTROLLINGAREA_GETPERIOD'

0 Kudos
319

Hi ,

Use BAPI_CONTROLLINGAREA_GETPERIOD and 'BAPI_COAREA_GETPERIODLIMITS' for your requirement

koolspy_ultimate
Active Contributor
0 Kudos
319

HI, Check these [bapi's|;

BAPI_CCODE_GET_LASTDAY_FYEAR

it will give you the last day of a fiscal year for a company code, but if you start with previous year, than you add 1 to the result, than you get first day of current fiscal year.

FIRST_AND_LAST_DAY_IN_YEAR_GET

it will give you back the first and the last dates of a given year, but you'll need the period version as well.

Regards,

koolspy.

0 Kudos
319

Hi KoolSPy,

The BAPI and FM listed here are not released. The release attirbute can be found under Attributes tab of FM.

Thanks for your repsonse.

Regards,

Shashi

0 Kudos
319

Hi atleast try these fm's

ISB_GET_FIRST_DAY

/IBS/RB_FIRST_LAST_DAY_FYEAR

AISCO_CALCULATE_FIRST_DAY

Regards,

koolspy.

0 Kudos
319

Hi Koolspy,

Thanks for the list of FMs. All these are unreleased FM's.

Thanks for the response.

Regards,

Shashi