SAP Function Modules

EIS_REPORT_TRACE_IMPORT SAP Function module







EIS_REPORT_TRACE_IMPORT 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 EIS_REPORT_TRACE_IMPORT into the relevant SAP transaction such as SE37 or SE80.

Associated Function Group: KYPF
Released Date: Not Released
Processing type: Normal fucntion module
Normal function module settings


Pattern for FM EIS_REPORT_TRACE_IMPORT - EIS REPORT TRACE IMPORT





CALL FUNCTION 'EIS_REPORT_TRACE_IMPORT' "
  IMPORTING
    fienm =                     " eis_char-fienm
  TABLES
    er_requestb_tab =           " eis_requeb
    er_request_tab =            " eis_reque
    er_variables =              " eis_var_b
    p_datatx_tab =              " eis_datatx
    er_seloption =              " eis_selopt
    .  "  EIS_REPORT_TRACE_IMPORT

ABAP code example for Function Module EIS_REPORT_TRACE_IMPORT





The ABAP code below is a full code listing to execute function module EIS_REPORT_TRACE_IMPORT 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).

DATA:
ld_fienm  TYPE EIS_CHAR-FIENM ,
it_er_requestb_tab  TYPE STANDARD TABLE OF EIS_REQUEB,"TABLES PARAM
wa_er_requestb_tab  LIKE LINE OF it_er_requestb_tab ,
it_er_request_tab  TYPE STANDARD TABLE OF EIS_REQUE,"TABLES PARAM
wa_er_request_tab  LIKE LINE OF it_er_request_tab ,
it_er_variables  TYPE STANDARD TABLE OF EIS_VAR_B,"TABLES PARAM
wa_er_variables  LIKE LINE OF it_er_variables ,
it_p_datatx_tab  TYPE STANDARD TABLE OF EIS_DATATX,"TABLES PARAM
wa_p_datatx_tab  LIKE LINE OF it_p_datatx_tab ,
it_er_seloption  TYPE STANDARD TABLE OF EIS_SELOPT,"TABLES PARAM
wa_er_seloption  LIKE LINE OF it_er_seloption .


"populate fields of struture and append to itab
append wa_er_requestb_tab to it_er_requestb_tab.

"populate fields of struture and append to itab
append wa_er_request_tab to it_er_request_tab.

"populate fields of struture and append to itab
append wa_er_variables to it_er_variables.

"populate fields of struture and append to itab
append wa_p_datatx_tab to it_p_datatx_tab.

"populate fields of struture and append to itab
append wa_er_seloption to it_er_seloption. . CALL FUNCTION 'EIS_REPORT_TRACE_IMPORT' IMPORTING fienm = ld_fienm TABLES er_requestb_tab = it_er_requestb_tab er_request_tab = it_er_request_tab er_variables = it_er_variables p_datatx_tab = it_p_datatx_tab er_seloption = it_er_seloption . " EIS_REPORT_TRACE_IMPORT
IF SY-SUBRC EQ 0. "All OK ENDIF.







ABAP code to compare 7.40 inline data declaration with original syntax

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_fienm  TYPE EIS_CHAR-FIENM ,
it_er_requestb_tab  TYPE STANDARD TABLE OF EIS_REQUEB ,
wa_er_requestb_tab  LIKE LINE OF it_er_requestb_tab,
it_er_request_tab  TYPE STANDARD TABLE OF EIS_REQUE ,
wa_er_request_tab  LIKE LINE OF it_er_request_tab,
it_er_variables  TYPE STANDARD TABLE OF EIS_VAR_B ,
wa_er_variables  LIKE LINE OF it_er_variables,
it_p_datatx_tab  TYPE STANDARD TABLE OF EIS_DATATX ,
wa_p_datatx_tab  LIKE LINE OF it_p_datatx_tab,
it_er_seloption  TYPE STANDARD TABLE OF EIS_SELOPT ,
wa_er_seloption  LIKE LINE OF it_er_seloption.


"populate fields of struture and append to itab
append wa_er_requestb_tab to it_er_requestb_tab.

"populate fields of struture and append to itab
append wa_er_request_tab to it_er_request_tab.

"populate fields of struture and append to itab
append wa_er_variables to it_er_variables.

"populate fields of struture and append to itab
append wa_p_datatx_tab to it_p_datatx_tab.

"populate fields of struture and append to itab
append wa_er_seloption to it_er_seloption.

Contribute (Add Comments)

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 EIS_REPORT_TRACE_IMPORT or its description.