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: 

Call Transaction 'SM37'

Former Member
0 Kudos

Hi,

Can anyone please tell me how to pass the Jobname to SM37 from another ABAP program? I tried call transaction 'SE37' ,but i unable to pass the jobname to sm37.

Requirement

I have to pass scheduled Jobname to SM37 from ABC program and show the job list as output.

Regards

Raj

3 REPLIES 3

Former Member
0 Kudos

Try like this

SET PARAMETER ID '<PID>' FIELD <JOBNAME>.

CALL TRANSACTION 'SM37' AND SKIP FIRST SCREEN.

ThomasZloch
Active Contributor
0 Kudos

There is no parameter ID attached to the jobname screen field in SM37.

I used to call functions BP_JOB_SELECT and then BP_JOBLIST_PROCESSOR_SM37B to get this done.

Thomas

0 Kudos

Hi,

To create a job in a program, use the function modules JOB_OPEN, JOB_SUBMIT, JOB_CLOSE . . .

Best Regards,

Venkata Ganesh babu