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

possible

Can we call one program(not include) from another program

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 Jan 10, 2008 at 12:44 PM

    hi,

    ya u can do this by SUBMIT

    SUBMIT {rep|(name)} [selscreen_options]

    [ list_options ]

    [ job_options]

    [AND RETURN].

    reward if useful...

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 10, 2008 at 12:45 PM

    YES.

    Use SUBMIT statement to call one program from another.

    Cheers

    Shakir

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 10, 2008 at 12:45 PM

    hi

    yes we can do.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 10, 2008 at 12:45 PM

    Yes, you can call if it is a report Program using SUBMIT statement.

    If it is include you can specify that include with in your program as INCLUDE <Program Name>.

    Regards,

    Satish

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 10, 2008 at 12:45 PM

    Hi,

    use SUBMIT report.statement to call the executable program.

    rgds,

    bharat.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 10, 2008 at 12:48 PM

    Hello,

    You can use SUBMIT statement to achieve it.

    I hope it will help you.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 10, 2008 at 12:50 PM

    Hi,

    You can call another program by using the satatement SUBMIT.

    Addition

    ... AND RETURN

    Effect

    The AND RETURN addition determines the object accessed by the runtime environment after program access is completed:

    Without the AND RETURN addition, the internal session of the program accessed replaces the internal session of the calling program in the same position in the call sequence. Once program access is completed, the system returns to before the position from which the calling program was started.

    As of Release 6.10, the content of the system field sy-calld at SUBMIT is copied by the calling program without AND RETURN. Before 6.10, the system entered the value "X", which was incorrect when the program was accessed from the first program in a call sequence.

    The addition AND RETURN starts the executable program in a new internal session. The session for the calling program is retained. Once program access is completed, program execution for the calling program continues after the SUBMIT statement.

    Note

    When the SUBMIT statement is executed, the system runs an authorization check for the authorization group specified in the program attributes.

    Regards,

    Renjith Michael.

    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.