SAP SHOW_USERX_HISTORY Function Module for









SHOW_USERX_HISTORY is a standard show userx history 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 show userx history FM, simply by entering the name SHOW_USERX_HISTORY into the relevant SAP transaction such as SE37 or SE38.

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



Function SHOW_USERX_HISTORY 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 'SHOW_USERX_HISTORY'"
EXPORTING
* AUTHORITY = 'X' "
* PASS_CHG_FLAG = ' ' "
* ADD_USR_FLAG = ' ' "
* DEL_USR_FLAG = ' ' "
* NAVIGATION = ' ' "
* HEADER = ' ' "
* SCHEINMODIFIKATIONEN = ' ' "
* VON_DATUM = "
* BIS_DATUM = SY-DATUM "
* ENQ_ADM_FLAG = ' ' "
* ENQ_LOG_FLAG = ' ' "
* DEQ_ADM_FLAG = ' ' "
* DEQ_LOG_FLAG = ' ' "

TABLES
* USER_TABLE = "
* MOD_TABLE = "
* ADD_PROF_TABLE = "
* DEL_PROF_TABLE = "

EXCEPTIONS
NO_MODBE_SELECTION = 1
.



IMPORTING Parameters details for SHOW_USERX_HISTORY

AUTHORITY -

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

PASS_CHG_FLAG -

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

ADD_USR_FLAG -

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

DEL_USR_FLAG -

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

NAVIGATION -

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

HEADER -

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

SCHEINMODIFIKATIONEN -

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

VON_DATUM -

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

BIS_DATUM -

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

ENQ_ADM_FLAG -

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

ENQ_LOG_FLAG -

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

DEQ_ADM_FLAG -

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

DEQ_LOG_FLAG -

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

TABLES Parameters details for SHOW_USERX_HISTORY

USER_TABLE -

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

MOD_TABLE -

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

ADD_PROF_TABLE -

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

DEL_PROF_TABLE -

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

EXCEPTIONS details

NO_MODBE_SELECTION -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for SHOW_USERX_HISTORY 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_authority  TYPE STRING, "   'X'
lt_user_table  TYPE STANDARD TABLE OF STRING, "   
lv_no_modbe_selection  TYPE STRING, "   
lv_pass_chg_flag  TYPE STRING, "   SPACE
lv_add_usr_flag  TYPE STRING, "   SPACE
lv_del_usr_flag  TYPE STRING, "   SPACE
lv_navigation  TYPE STRING, "   SPACE
lv_header  TYPE STRING, "   SPACE
lt_mod_table  TYPE STANDARD TABLE OF STRING, "   
lt_add_prof_table  TYPE STANDARD TABLE OF STRING, "   
lv_scheinmodifikationen  TYPE STRING, "   SPACE
lv_von_datum  TYPE SY-DATUM, "   
lt_del_prof_table  TYPE STANDARD TABLE OF SY, "   
lv_bis_datum  TYPE SY-DATUM, "   SY-DATUM
lv_enq_adm_flag  TYPE SY, "   SPACE
lv_enq_log_flag  TYPE SY, "   SPACE
lv_deq_adm_flag  TYPE SY, "   SPACE
lv_deq_log_flag  TYPE SY. "   SPACE

  CALL FUNCTION 'SHOW_USERX_HISTORY'  "
    EXPORTING
         AUTHORITY = lv_authority
         PASS_CHG_FLAG = lv_pass_chg_flag
         ADD_USR_FLAG = lv_add_usr_flag
         DEL_USR_FLAG = lv_del_usr_flag
         NAVIGATION = lv_navigation
         HEADER = lv_header
         SCHEINMODIFIKATIONEN = lv_scheinmodifikationen
         VON_DATUM = lv_von_datum
         BIS_DATUM = lv_bis_datum
         ENQ_ADM_FLAG = lv_enq_adm_flag
         ENQ_LOG_FLAG = lv_enq_log_flag
         DEQ_ADM_FLAG = lv_deq_adm_flag
         DEQ_LOG_FLAG = lv_deq_log_flag
    TABLES
         USER_TABLE = lt_user_table
         MOD_TABLE = lt_mod_table
         ADD_PROF_TABLE = lt_add_prof_table
         DEL_PROF_TABLE = lt_del_prof_table
    EXCEPTIONS
        NO_MODBE_SELECTION = 1
. " SHOW_USERX_HISTORY




ABAP code using 7.40 inline data declarations to call FM SHOW_USERX_HISTORY

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.

DATA(ld_authority) = 'X'.
 
 
 
DATA(ld_pass_chg_flag) = ' '.
 
DATA(ld_add_usr_flag) = ' '.
 
DATA(ld_del_usr_flag) = ' '.
 
DATA(ld_navigation) = ' '.
 
DATA(ld_header) = ' '.
 
 
 
DATA(ld_scheinmodifikationen) = ' '.
 
"SELECT single DATUM FROM SY INTO @DATA(ld_von_datum).
 
 
"SELECT single DATUM FROM SY INTO @DATA(ld_bis_datum).
DATA(ld_bis_datum) = SY-DATUM.
 
DATA(ld_enq_adm_flag) = ' '.
 
DATA(ld_enq_log_flag) = ' '.
 
DATA(ld_deq_adm_flag) = ' '.
 
DATA(ld_deq_log_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!