Application Development 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: 

Submit

Former Member
0 Kudos

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

Former Member
0 Kudos

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

suresh_datti
Active Contributor
0 Kudos

Use submit <report> and return.

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

~Suresh

former_member191977
Contributor
0 Kudos

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.

Former Member
0 Kudos

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

Former Member
0 Kudos

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