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

Problem with Submit statement

Former Member
0 Likes
437

Hi All,

I have a problem with the usage of the submit statement.

I have a report program, say report 'A'.

In the report program 'A', I have a custom screen with number '9001'.

In the screen 9001, of program A, there is a button to display ALV.

In the PAI event, under module Module call_report, i am calling another report program say B, using the statement Submit B and return, when the button is clicked.

In the report program B i have a select options. and a docking alv container in it.

Flow of the program is:

1. Run the program A.

2. Select the button on screen 9001.

3. Call the report program B.

4. Enter a value in the select option and run the program B.

5. Go back to program A by selecting back button.

The problem is as at step 4.:

Now, when i press Intervals button ( Arrow mark ) present beside the select option, my program B is getting executed and the list output is being shown.

Kindly let me know what is the problem.

3 REPLIES 3
Read only

Former Member
0 Likes
410

use the submit via selection-screen stmt

Read only

Former Member
0 Likes
410

Use

submit <program> via SELECTION-SCREEN

and return.

Read only

Former Member
0 Likes
410

you can very well use the submit procedure as suggested above or you also can do "leave to screen '9001' " for the back button.