Skip to Content
author's profile photo Former Member
Former Member

Regarding for Submit statement

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 .

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

7 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Sep 16, 2009 at 06:48 AM

    This message was moderated.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 16, 2009 at 08:32 AM

    Hi,

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

    Regards

    Karthik D

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 16, 2009 at 11:55 AM
    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 16, 2009 at 12:07 PM

    Did u try adding AND RETURN to ur SUBMIT syntax?

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 17, 2009 at 05:02 AM

    Hi,

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

    Thanks,

    Srilakshmi.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 17, 2009 at 05:28 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 18, 2009 at 12:10 PM

    self answered

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.