01-25-2006 9:15 AM
Hi All,
I have created a session say SES1 .
Is it possible to trigger a custom program after the SES1 gets successfully processed?
Can anyone help me on this issue.
Thanks for your precious time.
01-25-2006 11:05 AM
In this scenario dont process the session SEC1 using SM35.
Create the background job with followed steps:
Step 1 : use the program : RSBDCSUB for submiting the session "SEC1" .
Step 2 : Custome tool ( Write a program for checking the session ststus , vased on the ststus we can wait till the session processed )
or we can write the same logic in your cusome program.
Step 3 : Call your custome program.
Hope this will be helpful.
01-25-2006 9:17 AM
01-25-2006 9:17 AM
hi
YES, YOU CAN DO THIS USING SUBMIT
You can call executable programs from other ABAP programs using the following statement:
SUBMIT <rep>|(<field>) [AND RETURN] [<options>].
You can either specify the name of the program you want to call statically by entering the program name in the code of the calling program, or dynamically by specifying the name of a field (in parentheses) containing the name of the program.
Message was edited by: Harikishore Sreenivasulu
01-25-2006 9:28 AM
HI ,
I want to automatically trigger the custom program after I process the created session(SES1) thro' the transaction SM35 in either foreground or background.
01-25-2006 9:38 AM
Siva,
Hope its not possible to call after u process the session in SM35. But u can write a program where u can check the status of a session.
Based on the session u can try to trigger the custom program what u are looking exactly.
Thanks
Eswar
01-25-2006 9:38 AM
May be you can check the status of your session in your code and then run the program if it is successful using SUBMIT.
01-25-2006 9:40 AM
hi
Check the status of the session in the program itself.
if it is successful then call the custom program using SUBMIT
01-25-2006 11:05 AM
In this scenario dont process the session SEC1 using SM35.
Create the background job with followed steps:
Step 1 : use the program : RSBDCSUB for submiting the session "SEC1" .
Step 2 : Custome tool ( Write a program for checking the session ststus , vased on the ststus we can wait till the session processed )
or we can write the same logic in your cusome program.
Step 3 : Call your custome program.
Hope this will be helpful.