Application Development and Automation 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: 
Read only

3rd Screen from SM37

Former Member
0 Likes
1,185

Hi,

Plz help on this.

If i click a button on my screen, i want to display the 3rd screen with job details of 1st screen.

( SM37 >cleick on execute button> double click on jobname-->3rd screen.)

Regards,

Hi,

Plz help on this.

If i click a button on my screen, i want to display the 3rd screen with job details of 1st screen.

( SM37 >cleick on execute button> double click on jobname-->3rd screen.)

Regards,

9 REPLIES 9
Read only

Former Member
0 Likes
1,158

Hi,

Could you please explain it clearly...I am confused with your statement.

Thanks,

Babu Kilari

Read only

Former Member
0 Likes
1,158

hi,

u hve to first create a transaction with a variant.

u need to first acquire the pgm name for the transaction se37. create a transaction for that pgm

now u need to create a variant n put the value for ur field or if u dont want to enter any value for any field then create a normal transaction.

now while defining the attr of transaction select the screen no. eg. skip screen option is thr - it will skip the first screen. then screen no is thr where the scr specified will take u to that screen !!!!

to get the screen u can get it from the program. use se80 u can get all d prgm components then navigate to the screen folder there u will get all the screen with their resp no.

hope this will help you!!!

Thanks & Regards,

Punit Raval.

Read only

0 Likes
1,158

Hi, Thanx all for response.

Requirments is, In my screen one Input field for Jobname & display push button for displaying job details. If i click on display button then it should display job details like Jobname, class, status, date, time & etc.

Normally we can get this screen from SM37 (enter jobname and userid then "F8"--> double click on a job----> then job details screen ). I want get this screen when i click on display button.

plz provide if any standard FM or other process to get this screen

Regards,

Read only

0 Likes
1,158

Hi,

As suggested, try making a call transaction to SM37 with BDCDATA.

Regards,

Ankur Parab

Read only

0 Likes
1,158

Hi Sandya,

I could understand your problem now. Basically, you wanted to skip a screen which comes in the middle.

So, I am not sure how to achieve that, but basically this can be done with a small work around.

Actually all the details that you required will be stored in a table called TBTCO/TBTCS.

Develop a small module pool program and take the job name as input.

Ge the details from the above mentioned tables and get the details on the screen.

This is the shortest way I am thinking of.

Any other way if you find it good please post it here

Thanks,

Babu Kilari

Read only

Former Member
0 Likes
1,158

Are you talking about external program (3rd button)?

Read only

Former Member
0 Likes
1,158

Hi,

Try making a call transaction to SM37 with BDCDATA.

Regards,

Ankur Parab

Read only

ThomasZloch
Active Contributor
0 Likes
1,158

This is how I solved it for a similar requirement:


data: lt_joblist type table of tbtcjob.
perform show_job_sm37b(saplbtch) tables lt_joblist
                                 using <your field with the jobname>
                                       <your field with the jobcount>.

Thomas

Read only

0 Likes
1,158

Hey Thomas,

Great..... i got it. Thanks......

Regards.