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

Regarding for Submit statement

Former Member
0 Likes
801

Hi,

am Using below statement in my called program .i should use this statement in my called program it's must. if we use this statement am not able to come back to called program.

how to returm from calling program to called program by using the below statement.

SUBMIT rqmell10 WITH FREE SELECTIONS

it_texpr .

7 REPLIES 7
Read only

Former Member
0 Likes
735

This message was moderated.

Read only

Former Member
0 Likes
735

Hi,

Hit F1 on SUBMIT and read the documentation for AND RETURN addition.

Regards

Karthik D

Read only

Former Member
Read only

Former Member
0 Likes
735

Did u try adding AND RETURN to ur SUBMIT syntax?

Read only

Former Member
0 Likes
735

Hi,

Use AND RETURN to your SUBMIT statement like SUBMIT zprogram AND RETURN.

Thanks,

Srilakshmi.

Read only

venkat_o
Active Contributor
0 Likes
735

Hi, <li>Your wording seems to be not correct. <li>Lets say we have two programs A and B. If we call program B in program A. We call A as Calling program and B as called program. <li>Try this way to use SUBMIT statement.


REPORT zcalling_program.
DATA: it_rsparams TYPE STANDARD  TABLE OF rsparams,
      wa_rsparams LIKE LINE OF it_rsparams.

wa_rsparams-selname = 'S_MATNR'. "Screen field name of called program
wa_rsparams-kind    = 'S'. "S=Select-options P=Parameters
wa_rsparams-sign    = 'I'.
wa_rsparams-option  = 'EQ'.
wa_rsparams-low     = '11010'.
wa_rsparams-high    = space.

SUBMIT zcalled_program VIA SELECTION-SCREEN WITH SELECTION-TABLE it_rsparams AND RETURN.
Thanks Venkat.O

Read only

Former Member
0 Likes
735

self answered