Skip to Content
author's profile photo Former Member
Former Member

Schedule Infopackage for last day of a fiscal period

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!!

Add comment
10|10000 characters needed characters exceeded

5 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Aug 01, 2006 at 01:18 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 01, 2006 at 01:14 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 01, 2006 at 01:13 PM

    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 !

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 01, 2006 at 01:13 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 01, 2006 at 02:05 PM

    Thanks a lot !

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

    thanks again

    christine

    Add comment
    10|10000 characters needed characters exceeded