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

Former Member
0 Likes
593

Hi All,

I want to omit the events of the calling program.

For example: Consider x program has at-selection screen event .

when i execute the x program through submit statment.It should not call the

at-selection screen event instead of that it should directly call the start of selection event.

Please let me know,if u need further info.

Thanks & best Regards,

Vinoth

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
523

Hi Vinoth,

Submit your program like this......



SUBMIT program
        with p_field1 = a_parameter
        with p_field2 = b_parameter
        with s_field3 in c_select_Option
               and return.




Here you are passing values from varialble to the selection-screen fields, lets say they are P_FIELD1 and P_FIELD2. Using the WITH statement allows you to pass parameters as well as select-options. It will skip the selection screen and continue processing with the passed selection-screen values.

Regards

Naresh

4 REPLIES 4
Read only

suresh_datti
Active Contributor
0 Likes
523

Use submit <report> and return.

ie drop the via selection-screen option of the SUBMIT statement.

~Suresh

Read only

Former Member
0 Likes
523

if there is no code written under the at selection screen event there is nothing that gets triggered. if there are no events in the program and directly start-of-selection is there it will only trigger that.

is this what you are looking ?

award points if it helps.

Read only

Former Member
0 Likes
524

Hi Vinoth,

Submit your program like this......



SUBMIT program
        with p_field1 = a_parameter
        with p_field2 = b_parameter
        with s_field3 in c_select_Option
               and return.




Here you are passing values from varialble to the selection-screen fields, lets say they are P_FIELD1 and P_FIELD2. Using the WITH statement allows you to pass parameters as well as select-options. It will skip the selection screen and continue processing with the passed selection-screen values.

Regards

Naresh

Read only

Former Member
0 Likes
523

Hi Vinoth,

We do not have an option to omit some of the events using the SUBMIT Statment., please look at the below link for SUBMIT options

http://www.sapdevelopment.co.uk/reporting/rep_submit.htm

Regards

Sudheer