cancel
Showing results for 
Search instead for 
Did you mean: 

Triggering the Infopackage by Process chain

Former Member
0 Kudos

hello All

One issue is there like,having a process chain(PC1) and infopackage(IP1)(but this infopackage is not in process chain),this process chain should trigger this infopackage.

I mean,first the process chain should run and after this IP1 should trigger?

Is it possible?

regards

balaji

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi Balaji,

1. Create an user-defined event in sm62.

2. Create an ABAP program which would have the fn module BP_EVENT_RAISE or RSSM_EVENT_RAISE.

3. Create a variant for your program using the event name.

4. Include the ABAP program in your process chain.

5. Use the event as the "after-event" step in your Info-package.

Bye

Dinesh

Former Member
0 Kudos

Hi Balaji,

Is your requirement to run the infopackage after the process chain gets completed if so, then it is better to include the infopackage in the process chain as the last step.

If your requirement is that the infopackage should get executed at the same time as the start process of the process chain then use an event and start the infopackage and process chain as "after-event" jobs.

Bye

Dinesh

Former Member
0 Kudos

Sure,

it's enough to rease a specific event (if you want to use a specific one via RSSM_EVENT_RAISE function module) at the end of your process chain and to schedule your infopackage in order to start after this event (last tab, schedule, options, after event..)

Hope it helps!

Bye,

Roberto

Former Member
0 Kudos

Hi

Roberto

from ur words,I think its possible.But iam not clear with your words like how to do it.Will u expalin in detail?

should v use after event or after job?

(the PC1 should trigger IP1,but IP1 is not a load process in PC1)

regards

balaji

Former Member
0 Kudos

If at the end of your process chain you include a little ABAP pgm in which, after some check you can do it, you raise the event (with the FM I suggested), it's enough to schedule an infopackage (a single IP outside your PC!) with the option 'after event' and it will start automatically when your PC will trigger that event !

Hope now is clearer...

Bye,

Roberto

Former Member
0 Kudos

Hi Balaji,

Create an info package event type of Load Process and prost processing at process chain by using the T.code RSPC. After that assign this Info package event to process chain according your sequence of data loading or your business requirements....

Regards,

PRK

Former Member
0 Kudos

I understood Infopackage IP1 is not included in the process chain PC1, If so how process chain will trigger infopackage?

You first include your infopackage in the process chain.