EFG_LOAD_FORM is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name EFG_LOAD_FORM into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
EFGSAPSCRIPT2
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'EFG_LOAD_FORM' "
EXPORTING
client = " efg_dte_srcclient Source Client for Accessing Other Clients
* form = 'SYSTEM' " itcta-tdform Form Name
* language = SY-LANGU " thead-tdspras Language Key
printer = " itcta-tdprinter Spool: Device type name
IMPORTING
form_header = " itcta Form Attributes
header = " thead SAPscript: Text Header
language = " thead-tdspras Language Key
result = " itcrs STXD result of check
* TABLES
* elements = " itcce
* fonts = " itcfg
* form_lines = " tline
* pages = " itctg
* page_windows = " itcth
* paragraphs = " itcdp
* strings = " itcds
* tabs = " itcdq
* windows = " itctw
. " EFG_LOAD_FORM
The ABAP code below is a full code listing to execute function module EFG_LOAD_FORM including all data declarations. The code uses the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the original method of declaring data variables up front. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8).
| ld_form_header | TYPE ITCTA , |
| ld_header | TYPE THEAD , |
| ld_language | TYPE THEAD-TDSPRAS , |
| ld_result | TYPE ITCRS , |
| it_elements | TYPE STANDARD TABLE OF ITCCE,"TABLES PARAM |
| wa_elements | LIKE LINE OF it_elements , |
| it_fonts | TYPE STANDARD TABLE OF ITCFG,"TABLES PARAM |
| wa_fonts | LIKE LINE OF it_fonts , |
| it_form_lines | TYPE STANDARD TABLE OF TLINE,"TABLES PARAM |
| wa_form_lines | LIKE LINE OF it_form_lines , |
| it_pages | TYPE STANDARD TABLE OF ITCTG,"TABLES PARAM |
| wa_pages | LIKE LINE OF it_pages , |
| it_page_windows | TYPE STANDARD TABLE OF ITCTH,"TABLES PARAM |
| wa_page_windows | LIKE LINE OF it_page_windows , |
| it_paragraphs | TYPE STANDARD TABLE OF ITCDP,"TABLES PARAM |
| wa_paragraphs | LIKE LINE OF it_paragraphs , |
| it_strings | TYPE STANDARD TABLE OF ITCDS,"TABLES PARAM |
| wa_strings | LIKE LINE OF it_strings , |
| it_tabs | TYPE STANDARD TABLE OF ITCDQ,"TABLES PARAM |
| wa_tabs | LIKE LINE OF it_tabs , |
| it_windows | TYPE STANDARD TABLE OF ITCTW,"TABLES PARAM |
| wa_windows | LIKE LINE OF it_windows . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_form_header | TYPE ITCTA , |
| ld_client | TYPE EFG_DTE_SRCCLIENT , |
| it_elements | TYPE STANDARD TABLE OF ITCCE , |
| wa_elements | LIKE LINE OF it_elements, |
| ld_header | TYPE THEAD , |
| ld_form | TYPE ITCTA-TDFORM , |
| it_fonts | TYPE STANDARD TABLE OF ITCFG , |
| wa_fonts | LIKE LINE OF it_fonts, |
| ld_language | TYPE THEAD-TDSPRAS , |
| ld_language | TYPE THEAD-TDSPRAS , |
| it_form_lines | TYPE STANDARD TABLE OF TLINE , |
| wa_form_lines | LIKE LINE OF it_form_lines, |
| ld_result | TYPE ITCRS , |
| ld_printer | TYPE ITCTA-TDPRINTER , |
| it_pages | TYPE STANDARD TABLE OF ITCTG , |
| wa_pages | LIKE LINE OF it_pages, |
| it_page_windows | TYPE STANDARD TABLE OF ITCTH , |
| wa_page_windows | LIKE LINE OF it_page_windows, |
| it_paragraphs | TYPE STANDARD TABLE OF ITCDP , |
| wa_paragraphs | LIKE LINE OF it_paragraphs, |
| it_strings | TYPE STANDARD TABLE OF ITCDS , |
| wa_strings | LIKE LINE OF it_strings, |
| it_tabs | TYPE STANDARD TABLE OF ITCDQ , |
| wa_tabs | LIKE LINE OF it_tabs, |
| it_windows | TYPE STANDARD TABLE OF ITCTW , |
| wa_windows | LIKE LINE OF it_windows. |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name EFG_LOAD_FORM or its description.