cancel
Showing results for 
Search instead for 
Did you mean: 

Schedule Infopackage for last day of a fiscal period

Former Member
0 Kudos

Hi,

I want to schedule a Infopackage for every last day of a fiscal period.

Does anyone know if there are standard exits for this and how I could use them? Or do I have to go via chains and ABAP routines.

Thanks a lot!!

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Fris,

You can do this using a process chain and ABAP program.

1. Create one process chain and create abap program, include in it. Scedule this chain every day.

Write a code in this ABAP program to check last day of fiscal period and to raise an event to execute 2 process chain or infopackge.

From system date find currect period

(Use FM : DATE_TO_PERIOD_CONVERT).

Find last day of period(Use FM : LAST_DAY_IN_PERIOD_GET)

Check system date(sy-datum) is equal to last day of period then you can raise an event(Use FM : BP_RAISE_EVENT).

Use this event to schedule 2nd chains(contains infopackage) or direct scheduling of infopackage.

You can create event at : SM62.

Hope it Helps

Srini

Answers (4)

Answers (4)

Former Member
0 Kudos

Thanks a lot !

your answers came so fast - I'm impressed! and they where very helpful!

thanks again

christine

stevenm_wilson
Active Participant
0 Kudos

You have many options.

(1) Create or use an existing OLAP variable in the package.

(2) Write an ABAP routine in the package.

(3) Schedule the infopackage for each day of the last fiscal period (each month). (Manual effort)

(4) Schedule a process chain for each day of the last fiscal period (each month). (Manual effort)

(5) Use an external tool to schedule it.

(6) Trigger an event on the last day of each period, and add your infopackage to an infopackage group.

Hope this helps!

/smw

Former Member
0 Kudos

Hi,

guess you must do it with pchain and an abap who reads table T009B and schedules and event on last day of a period.

/manfred

Former Member
0 Kudos

Hi dear and welcome on board!

I think you can build a little ABAP pgm in which you can raise an event if the result of LAST_DAY_IN_PERIOD_GET function module is equal to sy-datum (or something similar), then put everything in a PC that you have to schedule everyday...

Hope it helps!

Bye,

Roberto

...and please don't forget to reward the answers...it's THE way to say thanks here !