SAP Database - The Unofficial SAP Knowledge Base

Hi Guest!
You can contribute to SAP Database on any topic. SAP Database might be the right place for your Ideas/Opinions to reach a larger audience.

SAP Forums

New to SAP Database? Register Now
Already a member? Login
Social Bookmarks:

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: Form parameters with generic types REPORT ZSOURCE1009.* Varia
  2. ABAP Programs:External perform call This is the simple code wh
  3. ABAP Program : Working with Temporary Programs Ever had a need to create
  4. ABAP Program: Sample program for OLE Automation REPORT ZSOURCE2801. * Inc
  5. Call an ABAP program from a BSP Call an ABAP program from



Leave a Reply