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: 

Regarding for Submit statement

Former Member
0 Kudos

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

Former Member
0 Kudos

This message was moderated.

Former Member
0 Kudos

Hi,

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

Regards

Karthik D

Former Member

Former Member
0 Kudos

Did u try adding AND RETURN to ur SUBMIT syntax?

Former Member
0 Kudos

Hi,

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

Thanks,

Srilakshmi.

venkat_o
Active Contributor
0 Kudos

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

Former Member
0 Kudos

self answered