SAP EDI_DISPLAY_STATISTIC_TEST Function Module for









EDI_DISPLAY_STATISTIC_TEST is a standard edi display statistic test SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.


See here to view full function module documentation and code listing for edi display statistic test FM, simply by entering the name EDI_DISPLAY_STATISTIC_TEST into the relevant SAP transaction such as SE37 or SE38.

Function Group: EDIS
Program Name: SAPLEDIS
Main Program: SAPLEDIS
Appliation area: S
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function EDI_DISPLAY_STATISTIC_TEST pattern details

In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.
CALL FUNCTION 'EDI_DISPLAY_STATISTIC_TEST'"
EXPORTING
FB_ITAB_LINES = "Number of lines
* FB_EDI_M1 = "
FB_BASIS_FLAG = "

CHANGING
REFRESH_ON_FLAG = "

TABLES
FB_INTAB_EDI_M2PAR = "
* FB_DOCNUMS_IN_BOOKED = "
* FB_DOCNUMS_OUT_ERR_INTERFACE = "
* FB_DOCNUMS_IN_ERR_INTERFACE = "
* FB_DOCNUMS_OUT_ERR_EXT_SYS = "
* FB_DOCNUMS_IN_ERR_APPLICATION = "
* FB_DOCNUMS_OUT_DELETE_SIGN = "
* FB_DOCNUMS_IN_DELETE_SIGN = "
* FB_DOCNUMS_ALL = "
* FB_DOCNUMS_OUTPUT = "
* FB_DOCNUMS_INPUT = "
* FB_DOCNUMS_OUT_PROD = "
* FB_DOCNUMS_OTHERS = "
* FB_DOCNUMS_IN_PROD = "
* FB_DOCNUMS_OUT_RDY_TO_SEND = "
* FB_DOCNUMS_IN_TO_APPL = "
* FB_DOCNUMS_OUT_TO_EXT_SYS = "
* FB_DOCNUMS_IN_TO_DIALOG = "
* FB_DOCNUMS_OUT_SENT = "
* FB_DOCNUMS_OUT_DEST = "
.



IMPORTING Parameters details for EDI_DISPLAY_STATISTIC_TEST

FB_ITAB_LINES - Number of lines

Data type: SY-TABIX
Optional: No
Call by Reference: No ( called with pass by value option)

FB_EDI_M1 -

Data type: EDI_M1
Optional: Yes
Call by Reference: No ( called with pass by value option)

FB_BASIS_FLAG -

Data type: TCESYST-DEVTYPE
Optional: No
Call by Reference: No ( called with pass by value option)

CHANGING Parameters details for EDI_DISPLAY_STATISTIC_TEST

REFRESH_ON_FLAG -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for EDI_DISPLAY_STATISTIC_TEST

FB_INTAB_EDI_M2PAR -

Data type: EDI_M2
Optional: No
Call by Reference: No ( called with pass by value option)

FB_DOCNUMS_IN_BOOKED -

Data type: IDOC0_DOC_LIST_RANGE
Optional: Yes
Call by Reference: No ( called with pass by value option)

FB_DOCNUMS_OUT_ERR_INTERFACE -

Data type: IDOC0_DOC_LIST_RANGE
Optional: Yes
Call by Reference: No ( called with pass by value option)

FB_DOCNUMS_IN_ERR_INTERFACE -

Data type: IDOC0_DOC_LIST_RANGE
Optional: Yes
Call by Reference: No ( called with pass by value option)

FB_DOCNUMS_OUT_ERR_EXT_SYS -

Data type: IDOC0_DOC_LIST_RANGE
Optional: Yes
Call by Reference: No ( called with pass by value option)

FB_DOCNUMS_IN_ERR_APPLICATION -

Data type: IDOC0_DOC_LIST_RANGE
Optional: Yes
Call by Reference: No ( called with pass by value option)

FB_DOCNUMS_OUT_DELETE_SIGN -

Data type: IDOC0_DOC_LIST_RANGE
Optional: Yes
Call by Reference: No ( called with pass by value option)

FB_DOCNUMS_IN_DELETE_SIGN -

Data type: IDOC0_DOC_LIST_RANGE
Optional: Yes
Call by Reference: No ( called with pass by value option)

FB_DOCNUMS_ALL -

Data type: IDOC0_DOC_LIST_RANGE
Optional: Yes
Call by Reference: No ( called with pass by value option)

FB_DOCNUMS_OUTPUT -

Data type: IDOC0_DOC_LIST_RANGE
Optional: Yes
Call by Reference: No ( called with pass by value option)

FB_DOCNUMS_INPUT -

Data type: IDOC0_DOC_LIST_RANGE
Optional: Yes
Call by Reference: No ( called with pass by value option)

FB_DOCNUMS_OUT_PROD -

Data type: IDOC0_DOC_LIST_RANGE
Optional: Yes
Call by Reference: No ( called with pass by value option)

FB_DOCNUMS_OTHERS -

Data type: IDOC0_DOC_LIST_RANGE
Optional: Yes
Call by Reference: No ( called with pass by value option)

FB_DOCNUMS_IN_PROD -

Data type: IDOC0_DOC_LIST_RANGE
Optional: Yes
Call by Reference: No ( called with pass by value option)

FB_DOCNUMS_OUT_RDY_TO_SEND -

Data type: IDOC0_DOC_LIST_RANGE
Optional: Yes
Call by Reference: No ( called with pass by value option)

FB_DOCNUMS_IN_TO_APPL -

Data type: IDOC0_DOC_LIST_RANGE
Optional: Yes
Call by Reference: No ( called with pass by value option)

FB_DOCNUMS_OUT_TO_EXT_SYS -

Data type: IDOC0_DOC_LIST_RANGE
Optional: Yes
Call by Reference: No ( called with pass by value option)

FB_DOCNUMS_IN_TO_DIALOG -

Data type: IDOC0_DOC_LIST_RANGE
Optional: Yes
Call by Reference: No ( called with pass by value option)

FB_DOCNUMS_OUT_SENT -

Data type: IDOC0_DOC_LIST_RANGE
Optional: Yes
Call by Reference: No ( called with pass by value option)

FB_DOCNUMS_OUT_DEST -

Data type: IDOC0_DOC_LIST_RANGE
Optional: Yes
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for EDI_DISPLAY_STATISTIC_TEST Function Module

The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than 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 newer method of declaring data variables on the fly. 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), which i why i have stuck to the origianl for this example.

DATA:
lv_fb_itab_lines  TYPE SY-TABIX, "   
lv_refresh_on_flag  TYPE SY, "   
lt_fb_intab_edi_m2par  TYPE STANDARD TABLE OF EDI_M2, "   
lt_fb_docnums_in_booked  TYPE STANDARD TABLE OF IDOC0_DOC_LIST_RANGE, "   
lt_fb_docnums_out_err_interface  TYPE STANDARD TABLE OF IDOC0_DOC_LIST_RANGE, "   
lt_fb_docnums_in_err_interface  TYPE STANDARD TABLE OF IDOC0_DOC_LIST_RANGE, "   
lt_fb_docnums_out_err_ext_sys  TYPE STANDARD TABLE OF IDOC0_DOC_LIST_RANGE, "   
lt_fb_docnums_in_err_application  TYPE STANDARD TABLE OF IDOC0_DOC_LIST_RANGE, "   
lt_fb_docnums_out_delete_sign  TYPE STANDARD TABLE OF IDOC0_DOC_LIST_RANGE, "   
lt_fb_docnums_in_delete_sign  TYPE STANDARD TABLE OF IDOC0_DOC_LIST_RANGE, "   
lt_fb_docnums_all  TYPE STANDARD TABLE OF IDOC0_DOC_LIST_RANGE, "   
lt_fb_docnums_output  TYPE STANDARD TABLE OF IDOC0_DOC_LIST_RANGE, "   
lt_fb_docnums_input  TYPE STANDARD TABLE OF IDOC0_DOC_LIST_RANGE, "   
lv_fb_edi_m1  TYPE EDI_M1, "   
lt_fb_docnums_out_prod  TYPE STANDARD TABLE OF IDOC0_DOC_LIST_RANGE, "   
lt_fb_docnums_others  TYPE STANDARD TABLE OF IDOC0_DOC_LIST_RANGE, "   
lv_fb_basis_flag  TYPE TCESYST-DEVTYPE, "   
lt_fb_docnums_in_prod  TYPE STANDARD TABLE OF IDOC0_DOC_LIST_RANGE, "   
lt_fb_docnums_out_rdy_to_send  TYPE STANDARD TABLE OF IDOC0_DOC_LIST_RANGE, "   
lt_fb_docnums_in_to_appl  TYPE STANDARD TABLE OF IDOC0_DOC_LIST_RANGE, "   
lt_fb_docnums_out_to_ext_sys  TYPE STANDARD TABLE OF IDOC0_DOC_LIST_RANGE, "   
lt_fb_docnums_in_to_dialog  TYPE STANDARD TABLE OF IDOC0_DOC_LIST_RANGE, "   
lt_fb_docnums_out_sent  TYPE STANDARD TABLE OF IDOC0_DOC_LIST_RANGE, "   
lt_fb_docnums_out_dest  TYPE STANDARD TABLE OF IDOC0_DOC_LIST_RANGE. "   

  CALL FUNCTION 'EDI_DISPLAY_STATISTIC_TEST'  "
    EXPORTING
         FB_ITAB_LINES = lv_fb_itab_lines
         FB_EDI_M1 = lv_fb_edi_m1
         FB_BASIS_FLAG = lv_fb_basis_flag
    CHANGING
         REFRESH_ON_FLAG = lv_refresh_on_flag
    TABLES
         FB_INTAB_EDI_M2PAR = lt_fb_intab_edi_m2par
         FB_DOCNUMS_IN_BOOKED = lt_fb_docnums_in_booked
         FB_DOCNUMS_OUT_ERR_INTERFACE = lt_fb_docnums_out_err_interface
         FB_DOCNUMS_IN_ERR_INTERFACE = lt_fb_docnums_in_err_interface
         FB_DOCNUMS_OUT_ERR_EXT_SYS = lt_fb_docnums_out_err_ext_sys
         FB_DOCNUMS_IN_ERR_APPLICATION = lt_fb_docnums_in_err_application
         FB_DOCNUMS_OUT_DELETE_SIGN = lt_fb_docnums_out_delete_sign
         FB_DOCNUMS_IN_DELETE_SIGN = lt_fb_docnums_in_delete_sign
         FB_DOCNUMS_ALL = lt_fb_docnums_all
         FB_DOCNUMS_OUTPUT = lt_fb_docnums_output
         FB_DOCNUMS_INPUT = lt_fb_docnums_input
         FB_DOCNUMS_OUT_PROD = lt_fb_docnums_out_prod
         FB_DOCNUMS_OTHERS = lt_fb_docnums_others
         FB_DOCNUMS_IN_PROD = lt_fb_docnums_in_prod
         FB_DOCNUMS_OUT_RDY_TO_SEND = lt_fb_docnums_out_rdy_to_send
         FB_DOCNUMS_IN_TO_APPL = lt_fb_docnums_in_to_appl
         FB_DOCNUMS_OUT_TO_EXT_SYS = lt_fb_docnums_out_to_ext_sys
         FB_DOCNUMS_IN_TO_DIALOG = lt_fb_docnums_in_to_dialog
         FB_DOCNUMS_OUT_SENT = lt_fb_docnums_out_sent
         FB_DOCNUMS_OUT_DEST = lt_fb_docnums_out_dest
. " EDI_DISPLAY_STATISTIC_TEST




ABAP code using 7.40 inline data declarations to call FM EDI_DISPLAY_STATISTIC_TEST

The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.

"SELECT single TABIX FROM SY INTO @DATA(ld_fb_itab_lines).
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
"SELECT single DEVTYPE FROM TCESYST INTO @DATA(ld_fb_basis_flag).
 
 
 
 
 
 
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!