SAP Database - The Unofficial SAP Knowledge Base

Free Business and Tech Magazines and eBooks

ABAP Programs:External perform call

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

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 current program
WRITE / 'I am program ZSOURCE2307'.
* External perform
PERFORM EXTFORM IN PROGRAM ZSOURCE2308.


Program 2
REPORT ZSOURCE2308.
* Form definition
FORM EXTFORM.
WRITE / 'I am extform in program ZSOURCE2308.'.
ENDFORM.

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

  1. ABAP Program: Dynamic external perform (call back form) 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.'....
  2. ABAP Programs: External flow of control (events) REPORT ZSOURCE0901. * Display a list of customersTABLES CUSTOMERS.SELECT * FROM CUSTOMERS. WRITE / CUSTOMERS-NAME.ENDSELECT. * Event for drill downAT LINE-SELECTION. WRITE: / ‘This line appears after drill-down’. ~~~~~ end...
  3. 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...
  4. 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...
  5. 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...



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