Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Create a Job for a transaction dynamically through ABAP program.

Former Member
0 Kudos

Hello Experts,

Can a job be created for a transaction dynamically, say for example i have a parameter on selection screen which will take the name of the transaction and then i have to create a job to run that transcation.

Plz provide sample code.

Regards,

Mansi.

3 REPLIES 3

former_member188685
Active Contributor
0 Kudos

If the Transaction belongs to report program then you can use the SUBMIT and you can create a background job for that transaction.

Check there is a addition for SUBMIT for Background job.

0 Kudos

Hi Vijay,

I cannot use the submit stmt coz the user will provide the transaction name and not the report name.

Former Member
0 Kudos

hiii

yes you can call transaction like that..take tcode in that parameter then you can use it in your program with statement like

call transaction (variable)..in background process.

regards

twinkal