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

Call Program from another Program using varient via Selection Screen

Former Member
0 Likes
1,756

I am calling a standard report from my Z Program via Selection screen.

Is there any way to hide the Execute button that is seen when we see the called program selection screen?

8 REPLIES 8
Read only

Former Member
0 Likes
1,091

Hi Suruchi,

You could bypass the selection screen altogether (and not just hide execute button) of the called standard report using

SUBMIT <Std_Repname> using selection-screen 100

....pass all the required parameters / select options

AND RETURN (if you want the control to come back to the calling program)

Regards,

Shyam

Read only

Former Member
0 Likes
1,091

Hi Shyam,

Thanks for the quick reply.

But my requirement is to show the selection screen of called program as i need to make some values changes in the selection Screen.

However, the user can accidently click the execute button which i dont want thats why i need to hide the execute button.

My aim is to change values of selection screen but nto execute it.

Is it possible?

Read only

Former Member
0 Likes
1,091

I think it might not be possible for the standard report (I've never tried though). I wonder what could be your requirement to show the selection screen, change the parameters and not execute it...

Regards,

Shyam.

Read only

0 Likes
1,091

Hi,

I have a suggestion. Create a copy of the standard program's selection screen in a custom program.

From your first program, you can call this second custom program which will show thw selection scree. (Here you can hide the execute button too). Then from there, you can easily call the standard program. The user will never know whether they are seeing a custom program or a standard one.

Read only

Former Member
0 Likes
1,091

Ok.

Please do let me know if you have any solution for this problem

Read only

Former Member
0 Likes
1,091

No I cant do this.

Because, based on certain criteria in my sel_screen, i am calling multiple standard reports.

Read only

Former Member
0 Likes
1,091

I did it by my own.

Read only

0 Likes
1,091

It s nice that you figured out the solution yourself. But it would be immensely helpful to others in the community if you told us how you solved the problem as well!

Not just for this post but for the preceding posts as well ...

Regards,

Arun