cancel
Showing results for 
Search instead for 
Did you mean: 

how to add a program in an existing process chain-URGENT

Former Member
0 Kudos

Hi,

I need to include a program(which deletes the entries in a table) in a process chain(has the 2nd step delete PSA request).

Please guide me through as i have to this today development system b4 moving it to production soon. also please let mw know if you need more details from me.

Thanks a lot

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

You just need to use the Process type 'ABAP program' in your process chain. It can be found under General Services process types. Drag it in and fill in the required paramters.

Former Member
0 Kudos

under 'program to call ' should i create my own process variant?

Former Member
0 Kudos

Hi Ramya,

Yes, create your own variant for your abap program and include it in existing process chain.

save and activate the chain.

Regards,

Venkatesh

Former Member
0 Kudos

I have created the variant with these attributes below

synchronous

local

PROGRAM TO CALL --->

prog name - gave the abap program name which has to be excuted

variant - same variant.

saved and inserted in the process chain.

SHAL I ACTIVATE IT NOW? AFTER ACTIVATIONG HOW DO I TEST THIS?

Former Member
0 Kudos

after activation should i go the table in se16 and see if the entries are cleared or not?

or is there anything(any step to be carried out ) i do after activating the PC and b4 checking the tables?

pls suggest as im new to bi

anindya_bose
Active Contributor
0 Kudos

Ramya

Not after activation...After activation schedule the process chain.

Activation Steps-->Activate the Process Chain ( also tells you if there is some error or warning)

Now Schedule the chain ( Do immediate scheduling now)

Once that is scheduled go to Log View. Once the chain successfully pass the ABAP Process you entered in the chain, check if your PSA table data got deleted .

Regards

Anindya

Edited by: Anindya Bose on Feb 9, 2012 2:00 AM

Former Member
0 Kudos

Hi Ramya,

if you want to see the result it should run first.

after adding abap program to process chain, activate it.

now right click on process chain start --> display variant --> change selection.

check what is the start condition, if it is nto in immediate then comback

click on edit --> change selection

select immediate --> unchek the periodic values. and save. come back

again click on save. come back.

now schedule your process chain by clikc on clock symbol.

after successfull completion of your process chain you can check in SE16

Regards,

Venkatesh

Former Member
0 Kudos

Hi Ramya,

Scheduling the PC includes activation also. So you need not activate it separately. If you want to check the entries in the table, you have to run the PC once.

1. Goto Planning View of the PC > Right Click on Start Variant > Display Variant > Change Selections > Immediate > Uncheck the Periodic job > Save

2. Now click on Schedule button (F8) from the Planning View of your PC. Let the Application Server and job Priority be the default values.

3. Once your PC completes successfully check the required entries in the table.

Hope this helps.

Regards

Sai

Answers (1)

Answers (1)

Former Member
0 Kudos

it is an ABAP Program which needs to be included. Process chain has 2 steps - start variant and the second step is DELETE PSA REQUEST process type.