Skip to Content
0

Function module for first day and last day for company code

Aug 04, 2017 at 08:33 AM

64

avatar image
Former Member

Hi All,

Is there a single function module, which will return the Last day in Current period, First Day in previous period for a given company code and PERIV field.

I checked GET_CURRENT_YEAR, LAST_DAY_IN_PERIOD_GET and

FIRST_DAY_IN_PERIOD_GET. But I need a function module which will return all the these values based on BUKRS and PERIV values.

Thanks,

BK

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

3 Answers

Sathya Gunasekaran Aug 04, 2017 at 08:45 AM
0

Hi,

Can you write a z function module ( like a wrapper) for all the different function modules with required export parameters?

Sathya

Share
10 |10000 characters needed characters left characters exceeded
Raymond Giuseppi
Aug 04, 2017 at 01:30 PM
0

You could call in sequence T001_READ, T009_READ and DATE_TO_PERIOD_CONVERT in a wrapper Method or FM. Else did you perform some where used search on last FM with some luck there is a tool in your version?

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Aug 11, 2017 at 08:28 AM
0

Thanks a lot.. I used the same FM's that I mentioned and it served my purpose.

Regards,

BK

Share
10 |10000 characters needed characters left characters exceeded