2011 Oct 05 9:56 AM
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
2011 Oct 05 10:00 AM
Hi Shashi,
You can try below bapi
BAPI_CCODE_GET_LASTDAY_FYEAR
Hope this solve u r problem,
Regards,
Rahul
2011 Oct 05 10:21 AM
Hi Rahul,
This FM is not released, and this can be found in Attributes of the FM.
Thanks for your response.
Regards,
Shashi
2011 Oct 05 10:27 AM
Hi Shashi,
The below FM is internally released.
FIRST_AND_LAST_DAY_IN_YEAR_GET
Regards,
Rahul
2011 Oct 05 10:30 AM
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
2011 Oct 05 10:33 AM
If you dont want the Not released function modules, why can't you copy the function module to Z and use it ?
2011 Oct 05 10:41 AM
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.
2011 Oct 05 12:46 PM
Hi Shashi,
Can you try /SOMO/LAST_DAY_IN_PERIOD_GET I think this may help you.
Regards,
Ganesh.
2011 Oct 07 3:56 AM
Hi Ganesh,
Thanks for the response.
Even this FM is not released.
Regards,
Shashi
2011 Oct 07 6:38 AM
2011 Oct 07 6:39 AM
Hi ,
Use BAPI_CONTROLLINGAREA_GETPERIOD and 'BAPI_COAREA_GETPERIODLIMITS' for your requirement
2011 Oct 05 10:10 AM
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.
2011 Oct 05 10:22 AM
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
2011 Oct 05 10:28 AM
Hi atleast try these fm's
ISB_GET_FIRST_DAY
/IBS/RB_FIRST_LAST_DAY_FYEAR
AISCO_CALCULATE_FIRST_DAY
Regards,
koolspy.
2011 Oct 05 10:35 AM
Hi Koolspy,
Thanks for the list of FMs. All these are unreleased FM's.
Thanks for the response.
Regards,
Shashi