on 08-01-2006 2:05 PM
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!!
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks a lot !
your answers came so fast - I'm impressed! and they where very helpful!
thanks again
christine
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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 !
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.