SAP SUPRN_MAINTAIN_VALUES Function Module for









SUPRN_MAINTAIN_VALUES is a standard suprn maintain values 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 suprn maintain values FM, simply by entering the name SUPRN_MAINTAIN_VALUES into the relevant SAP transaction such as SE37 or SE38.

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



Function SUPRN_MAINTAIN_VALUES 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 'SUPRN_MAINTAIN_VALUES'"
EXPORTING
OBJECT = "Authorization Object
* AUTH_FOR_S_TABU_LIN = ' ' "
* AUTH_CALL_MODE_S_TABU_LIN = ' ' "
* MODIFIED = ' ' "Object status
FIELD = "
* SHOW_ONLY = "Display mode
* WITH_VARIABLES = "
* CHECK_MODE = "
* AUTHORITY_CHECK_TCODE = ' ' "
* CONVERT_IF_ALLOWED = 'X' "
* SHOW_ALL_ACTIVITIES = ' ' "
* NO_COMPLETE_AUTHORITY = ' ' "

IMPORTING
SAVE = "

TABLES
F_VALUES = "
* FULL_VALUE_TAB = "
.



IMPORTING Parameters details for SUPRN_MAINTAIN_VALUES

OBJECT - Authorization Object

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

AUTH_FOR_S_TABU_LIN -

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

AUTH_CALL_MODE_S_TABU_LIN -

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

MODIFIED - Object status

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

FIELD -

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

SHOW_ONLY - Display mode

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

WITH_VARIABLES -

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

CHECK_MODE -

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

AUTHORITY_CHECK_TCODE -

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

CONVERT_IF_ALLOWED -

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

SHOW_ALL_ACTIVITIES -

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

NO_COMPLETE_AUTHORITY -

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

EXPORTING Parameters details for SUPRN_MAINTAIN_VALUES

SAVE -

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

TABLES Parameters details for SUPRN_MAINTAIN_VALUES

F_VALUES -

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

FULL_VALUE_TAB -

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

Copy and paste ABAP code example for SUPRN_MAINTAIN_VALUES 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_save  TYPE STRING, "   
lv_object  TYPE TOBJ-OBJCT, "   
lt_f_values  TYPE STANDARD TABLE OF TPR01, "   
lv_auth_for_s_tabu_lin  TYPE AGR_1251-AUTH, "   SPACE
lv_auth_call_mode_s_tabu_lin  TYPE SMENSAPNEW-CUSTOMIZED, "   SPACE
lv_modified  TYPE AGR_1251-MODIFIED, "   SPACE
lv_field  TYPE TOBJ-FIEL1, "   
lt_full_value_tab  TYPE STANDARD TABLE OF TPR01, "   
lv_show_only  TYPE TPR01, "   
lv_with_variables  TYPE TPR01, "   
lv_check_mode  TYPE TPR01, "   
lv_authority_check_tcode  TYPE SMENSAPNEW-CUSTOMIZED, "   SPACE
lv_convert_if_allowed  TYPE SMENSAPNEW-CUSTOMIZED, "   'X'
lv_show_all_activities  TYPE SMENSAPNEW-CUSTOMIZED, "   SPACE
lv_no_complete_authority  TYPE SMENSAPNEW-CUSTOMIZED. "   SPACE

  CALL FUNCTION 'SUPRN_MAINTAIN_VALUES'  "
    EXPORTING
         OBJECT = lv_object
         AUTH_FOR_S_TABU_LIN = lv_auth_for_s_tabu_lin
         AUTH_CALL_MODE_S_TABU_LIN = lv_auth_call_mode_s_tabu_lin
         MODIFIED = lv_modified
         FIELD = lv_field
         SHOW_ONLY = lv_show_only
         WITH_VARIABLES = lv_with_variables
         CHECK_MODE = lv_check_mode
         AUTHORITY_CHECK_TCODE = lv_authority_check_tcode
         CONVERT_IF_ALLOWED = lv_convert_if_allowed
         SHOW_ALL_ACTIVITIES = lv_show_all_activities
         NO_COMPLETE_AUTHORITY = lv_no_complete_authority
    IMPORTING
         SAVE = lv_save
    TABLES
         F_VALUES = lt_f_values
         FULL_VALUE_TAB = lt_full_value_tab
. " SUPRN_MAINTAIN_VALUES




ABAP code using 7.40 inline data declarations to call FM SUPRN_MAINTAIN_VALUES

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 OBJCT FROM TOBJ INTO @DATA(ld_object).
 
 
"SELECT single AUTH FROM AGR_1251 INTO @DATA(ld_auth_for_s_tabu_lin).
DATA(ld_auth_for_s_tabu_lin) = ' '.
 
"SELECT single CUSTOMIZED FROM SMENSAPNEW INTO @DATA(ld_auth_call_mode_s_tabu_lin).
DATA(ld_auth_call_mode_s_tabu_lin) = ' '.
 
"SELECT single MODIFIED FROM AGR_1251 INTO @DATA(ld_modified).
DATA(ld_modified) = ' '.
 
"SELECT single FIEL1 FROM TOBJ INTO @DATA(ld_field).
 
 
 
 
 
"SELECT single CUSTOMIZED FROM SMENSAPNEW INTO @DATA(ld_authority_check_tcode).
DATA(ld_authority_check_tcode) = ' '.
 
"SELECT single CUSTOMIZED FROM SMENSAPNEW INTO @DATA(ld_convert_if_allowed).
DATA(ld_convert_if_allowed) = 'X'.
 
"SELECT single CUSTOMIZED FROM SMENSAPNEW INTO @DATA(ld_show_all_activities).
DATA(ld_show_all_activities) = ' '.
 
"SELECT single CUSTOMIZED FROM SMENSAPNEW INTO @DATA(ld_no_complete_authority).
DATA(ld_no_complete_authority) = ' '.
 


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!