EFG_FORM_CC_EXIT_BEFORE 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_FORM_CC_EXIT_BEFORE into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
EFG_FORM_TR_AND_CC
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'EFG_FORM_CC_EXIT_BEFORE' "
* EXPORTING
* rfcdest = " rfcdest Logical Destination (Specified in Function Call)
* cc_sourceclient = " symandt R/3 System, Client Number from Logon
* test = " flag General Flag
* clii = " cccliindep Cross-Client Tables
* appl = " ccappldata Select application data also ('X')
* modus = " ccmodus Mode for client transport
* runs_in_source = " flag General Flag
* gt_e071 = " tr_objects Objects
* gt_e071k = " tr_keys Table Keys
IMPORTING
rcod = " sysubrc Return Value, Return Value After ABAP Statements
e_trkorr = " trkorr Order/Task
* TABLES
* gen_tab = " e071 Change & Transport System: Object Entries of Requests/Tasks
* e071_tab = " e071 Change & Transport System: Object Entries of Requests/Tasks
* e071k_tab = " e071k Change & Transport System: Key Entries of Requests/Tasks
. " EFG_FORM_CC_EXIT_BEFORE
The ABAP code below is a full code listing to execute function module EFG_FORM_CC_EXIT_BEFORE 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_rcod | TYPE SYSUBRC , |
| ld_e_trkorr | TYPE TRKORR , |
| it_gen_tab | TYPE STANDARD TABLE OF E071,"TABLES PARAM |
| wa_gen_tab | LIKE LINE OF it_gen_tab , |
| it_e071_tab | TYPE STANDARD TABLE OF E071,"TABLES PARAM |
| wa_e071_tab | LIKE LINE OF it_e071_tab , |
| it_e071k_tab | TYPE STANDARD TABLE OF E071K,"TABLES PARAM |
| wa_e071k_tab | LIKE LINE OF it_e071k_tab . |
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_rcod | TYPE SYSUBRC , |
| ld_rfcdest | TYPE RFCDEST , |
| it_gen_tab | TYPE STANDARD TABLE OF E071 , |
| wa_gen_tab | LIKE LINE OF it_gen_tab, |
| ld_e_trkorr | TYPE TRKORR , |
| ld_cc_sourceclient | TYPE SYMANDT , |
| it_e071_tab | TYPE STANDARD TABLE OF E071 , |
| wa_e071_tab | LIKE LINE OF it_e071_tab, |
| ld_test | TYPE FLAG , |
| it_e071k_tab | TYPE STANDARD TABLE OF E071K , |
| wa_e071k_tab | LIKE LINE OF it_e071k_tab, |
| ld_clii | TYPE CCCLIINDEP , |
| ld_appl | TYPE CCAPPLDATA , |
| ld_modus | TYPE CCMODUS , |
| ld_runs_in_source | TYPE FLAG , |
| ld_gt_e071 | TYPE TR_OBJECTS , |
| ld_gt_e071k | TYPE TR_KEYS . |
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_FORM_CC_EXIT_BEFORE or its description.