SAP Database - The Unofficial SAP Knowledge Base

Free Business and Tech Magazines and eBooks

ABAP Program: Dynamic external perform (call back form)

Print This Post Email This Post Written by admin on Jan 27th, 2008 | Filed under: ABAP Programs

Here the two programs which are calling dynamically.

REPORT ZSOURCE2309.
PERFORM EXTFORM IN PROGRAM ZSOURCE2310
USING 'CALL_BACK_FORM'
SY-CPROG.
FORM CALL_BACK_FORM.
WRITE / 'I am the call back form in ZSOURCE2309.'.
ENDFORM.

REPORT ZSOURCE2310.
FORM EXTFORM
USING F_CALL_BACK_FORM
F_PROGRAM.
PERFORM (F_CALL_BACK_FORM) IN PROGRAM (F_PROGRAM).
WRITE / 'I am the form in ZSOURCE2310.'.
ENDFORM.

If you like this post, you may as well like these too:

  1. ABAP Programs:External perform call This is the simple code which will show you as to how you can call the external routine from the current program. Program 1 REPORT ZSOURCE2307. * List of the...
  2. Call an ABAP program from a BSP Call an ABAP program from a BSP is somehow impossible due to memory context handling for a web transaction like a BSP. If you try, it would lead to an...
  3. ABAP Program to Send External Mail from SAP Here is a ABAP program which would allow you to send mail to any external system from SAP. Ensure that you have all the required configurations done by the basis...
  4. ABAP Programs: Simple Form REPORT ZSOURCE1001. * Global field of the programDATA FLAG VALUE ‘G’.* Displaying the global fieldWRITE FLAG.* Calling a formPERFORM SET_FLAG.* Displaying the global field againWRITE FLAG.* Defining a formFORM SET_FLAG.*...
  5. EDITOR-CALL : ABAP keyword a day EDITOR-CALL Call editor for internal tables - EDITOR-CALL FOR itab. Call editor for ABAP/4 programs - EDITOR-CALL FOR REPORT prog. EDITOR-CALL – call editor for internal tables Basic form EDITOR-CALL...



This website uses IntenseDebate comments, but they are not currently loaded because either your browser doesn't support JavaScript, or they didn't load fast enough.

Leave a Reply

  • Subscribe to RSS

  • Free Ebooks