EFG_FORM_AS_CODING is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.
If you would like to execute this report or see the full code listing simply enter EFG_FORM_AS_CODING into the relevant SAP transactions such as SE38 or SE80
This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.
Title: INTERNAL: Create Sample Code for an Application Form Hierarchy
Text Symbol: 100 = Form Class Library
Text Symbol: 102 = &1 does not exist
Text Symbol: 103 = Do you want to create it?
Text Symbol: 104 = Create Library
Text Symbol: 300 = Defined Locally
Text Symbol: 400 = Routine &1
Text Symbol: 402 = does not exist. Create?
Text Symbol: 404 = Create Form Routine
Text Symbol: 450 = Form &1 Created
Text Symbol: 499 = * Includes
Text Symbol: 500 = Sample Code for Form Class
Text Symbol: 502 = * Data Definitions
Text Symbol: 504 = * Global Work Areas
Text Symbol: 506 = * Global and Local Tables
Text Symbol: 508 = * Data Procurement
Text Symbol: 510 = * Loop Over Levels
Text Symbol: 600 = Yes
Text Symbol: 601 = No
Text Symbol: 700 = Sample Code for Application Form
Text Symbol: 800 = Include &1 does not exist.
Text Symbol: 802 = Do you want to create it?
Text Symbol: T50 = Create User Exit Include
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
EFG_CHECK_INCLUDE_EXISTENCE CALL FUNCTION 'EFG_CHECK_INCLUDE_EXISTENCE' EXPORTING x_name = x_fcl-efcl-lib_prog EXCEPTIONS not_found = 1 not_qualified = 2 OTHERS = 3.
EFG_CHECK_ROUTINE_EXISTENCE CALL FUNCTION 'EFG_CHECK_ROUTINE_EXISTENCE' EXPORTING x_prog = x_fcl-efcl-lib_prog x_routine = g_routine IMPORTING y_position = l_position EXCEPTIONS routine_not_found = 1 prog_not_found = 2 failed = 3 not_qualified = 4 OTHERS = 99.
EFG_EDITOR_PROGRAM CALL FUNCTION 'EFG_EDITOR_PROGRAM' EXPORTING x_name = x_fcl-efcl-lib_prog x_varied = space x_position = l_position x_display = 'X' EXCEPTIONS not_qualified = 1 cancelled = 2 not_found = 3 OTHERS = 99.
EFG_CHECK_ROUTINE_EXISTENCE CALL FUNCTION 'EFG_CHECK_ROUTINE_EXISTENCE' EXPORTING x_prog = x_include x_routine = l_routine EXCEPTIONS routine_not_found = 1 prog_not_found = 2 failed = 3 not_qualified = 4 OTHERS = 99.
EFG_CHECK_INCLUDE_EXISTENCE CALL FUNCTION 'EFG_CHECK_INCLUDE_EXISTENCE' EXPORTING x_name = x_form-efrm-exit_bibl EXCEPTIONS not_found = 1 not_qualified = 2 OTHERS = 3.
EFG_CHECK_ROUTINE_EXISTENCE CALL FUNCTION 'EFG_CHECK_ROUTINE_EXISTENCE' EXPORTING x_prog = x_form-efrm-exit_bibl x_routine = x_routine IMPORTING y_position = l_position * TABLES * yt_source = lt_old_source EXCEPTIONS prog_not_found = 1 routine_not_found = 2 failed = 3 not_qualified = 4 OTHERS = 99.
EFG_EDITOR_PROGRAM CALL FUNCTION 'EFG_EDITOR_PROGRAM' EXPORTING x_name = x_form-efrm-exit_bibl * x_varied = l_varied x_position = l_position x_display = g_display * TABLES * xt_old_source = lt_old_source EXCEPTIONS not_qualified = 1 cancelled = 2 not_found = 3 OTHERS = 4.
EFG_S_FORM_PART_OBJ CALL FUNCTION 'EFG_S_FORM_PART_OBJ' EXPORTING x_formkey = x_form-efrm-formkey x_part_obj = co_usex x_wmode = x_contr-wmode EXCEPTIONS not_qualified = 1 not_found = 2 part_obj_not_found = 3 failed = 4 cancelled = 5 not_authorized = 6 foreign_lock = 7 OTHERS = 99.
EFG_S_FORM_PART_OBJ CALL FUNCTION 'EFG_S_FORM_PART_OBJ' EXPORTING x_formkey = x_form-efrm-formkey x_part_obj = co_usto x_wmode = x_contr-wmode EXCEPTIONS not_qualified = 1 not_found = 2 part_obj_not_found = 3 failed = 4 cancelled = 5 not_authorized = 6 foreign_lock = 7 OTHERS = 99.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
EFG_FORM_AS_CODING - INTERNAL: Create Sample Code for an Application Form Hierarchy EFG_FORM_AS_CODING - INTERNAL: Create Sample Code for an Application Form Hierarchy EFG_FORM_ACTIVATION - Print Workbench: Activate Application Forms EFG_FORM_ACTIVATION - Print Workbench: Activate Application Forms EFG_FORMCLASS_MASSCHANGE - EFGFORMCLASSMASSCHANGE EFG_FORMCLASS_MASSCHANGE - EFGFORMCLASSMASSCHANGE