sapdev logo background
sapdev logo sapdev logo
Comments

SAP ABAP PROGRAM CALL documentation, setup help and example usage



Return to SAP documentation index


ARTICLE

Calling ABAP Programs
If permitted by the package concept, each processing block of ABAP program enables you to call
  • Executable programs

  • and transactions , that is, programs associated with a transaction code .

  • . When a program is called, the calling program can be exited either temporarily or completely.


    For a temporary exit from the calling program, the called program is started in a new internal session . The internal session of the calling program is retained. The calling program and the called program represent a call sequence . Within a call sequence, the programs have shared access to the ABAP Memory (statements IMPORT FROM MEMORY and EXPORT TO MEMORY
    ). A call sequence can have a maximum of nine internal sessions. If this maximum is exceeded, the program terminates and the entire call sequence is deleted.
    When the calling program is completely exited, the called program is started in a new internal session, which replaces the internal session of the calling program.
    A program that generates an internal session when it is called, represents the main program of the
    main program group in the internal session.


    Note
    When the runtime environment loads a called program, the event LOAD-OF-PROGRAM is triggered in that program.
    Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved




    ABAP_PROCESSING_BLOCKS
    ABAP_PROGRAM_GLOSRY




    comments powered by Disqus