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

Submit a executible program which uses Call Screen statement.

Former Member
0 Likes
1,910

Hello Everyone,

I have a query related to the submit instruction....

I am developing a FM in solution manager system.

This FM needs to call one report in Solution manager (RS_SOLAR_EVAL_ALLIN1_BLUE) for getting the appropriate data.

Now in this case I am using the Submit statement for this purpose.

I am filling up the selection table rspar with all the selection criteria/parameters and passing it to the submit statement. I do not want the selection screen to be displayed , hence I am not using the addition

"Via selection screen".....

This report program RS_SOLAR_EVAL_ALLIN1_BLUE which I am mentioning in the submit statement

does not have a normal selection screen....

In this standard SAP prog, SAP has called the selection screen using "Call Screen 100" Statement..

So whatever addition I use for the Submit statement everytime the selection screen is displayed.

I beleive that since the "call screen" statement is used in this standard SAP program to call the selection screen, everytime the selection screen is displayed irrespective of whatever addition i use for the Submit statement.....

Is there anything I can do so that the selection screen is not displayed while submitting the program....

Remember I have not used the addition "Via selection screen" so that selection screen is not displayed...

regards

Ramesh

4 REPLIES 4
Read only

Former Member
0 Likes
935

Hello!

I think you are using the wrong method to access the report. A better option would be to use call transaction. In submit you will have to use the std selection screen 1000. For your case it would be better to use CALL TRANSACTION.

Cheers!

Read only

0 Likes
935

Hi,

Thanks for the reply.

This standard report that I have mentioned is not associated with a Tcode..

I have checked that too....Hence i am not able to use call Transaction.

regards

Ramesh

Read only

former_member195383
Active Contributor
0 Likes
935

try running it in background.Hope that will help u out

Read only

Former Member
0 Likes
935

Try this

SUBMIT report1 USING SELECTION-SCREEN '1100' 
               WITH SELECTION-TABLE rspar_tab 
               WITH selcrit2 BETWEEN 'H' AND 'K' 
               WITH selcrit2 IN range_tab 
               AND RETURN.