SAP HRSPPS_SRT_VAR_SAV_UPD Function Module for









HRSPPS_SRT_VAR_SAV_UPD is a standard hrspps srt var sav upd 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 hrspps srt var sav upd FM, simply by entering the name HRSPPS_SRT_VAR_SAV_UPD into the relevant SAP transaction such as SE37 or SE38.

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



Function HRSPPS_SRT_VAR_SAV_UPD 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 'HRSPPS_SRT_VAR_SAV_UPD'"
EXPORTING
IT_PLVAR = "
IT_OTYPE = "
IT_HRSPP_SRT_VAR_WA = "

TABLES
IT_WFP_SORTOBJECT = "
* IT_SORT = "
* IT_EMP_INDEX_INFO = "

EXCEPTIONS
UPD_SAV_NOT_POSSIBLE = 1 UPD_SAV_NO_SRT_FLDS = 2 UPD_SAV_NO_EMP_LIST = 3 UPD_SAV_NO_PLVAR_OTYPE = 4 UPD_SAV_NO_OBJ_LIST = 5
.



IMPORTING Parameters details for HRSPPS_SRT_VAR_SAV_UPD

IT_PLVAR -

Data type: PLVAR
Optional: No
Call by Reference: Yes

IT_OTYPE -

Data type: OTYPE
Optional: No
Call by Reference: Yes

IT_HRSPP_SRT_VAR_WA -

Data type: HRSPP_SRT_VAR
Optional: No
Call by Reference: Yes

TABLES Parameters details for HRSPPS_SRT_VAR_SAV_UPD

IT_WFP_SORTOBJECT -

Data type: HRSP_OBJECT
Optional: No
Call by Reference: Yes

IT_SORT -

Data type: LVC_T_SORT
Optional: Yes
Call by Reference: Yes

IT_EMP_INDEX_INFO -

Data type: HRSPP_EMP_INDEX
Optional: Yes
Call by Reference: Yes

EXCEPTIONS details

UPD_SAV_NOT_POSSIBLE -

Data type:
Optional: No
Call by Reference: Yes

UPD_SAV_NO_SRT_FLDS -

Data type:
Optional: No
Call by Reference: Yes

UPD_SAV_NO_EMP_LIST -

Data type:
Optional: No
Call by Reference: Yes

UPD_SAV_NO_PLVAR_OTYPE -

Data type:
Optional: No
Call by Reference: Yes

UPD_SAV_NO_OBJ_LIST -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for HRSPPS_SRT_VAR_SAV_UPD 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_it_plvar  TYPE PLVAR, "   
lt_it_wfp_sortobject  TYPE STANDARD TABLE OF HRSP_OBJECT, "   
lv_upd_sav_not_possible  TYPE HRSP_OBJECT, "   
lt_it_sort  TYPE STANDARD TABLE OF LVC_T_SORT, "   
lv_it_otype  TYPE OTYPE, "   
lv_upd_sav_no_srt_flds  TYPE OTYPE, "   
lt_it_emp_index_info  TYPE STANDARD TABLE OF HRSPP_EMP_INDEX, "   
lv_it_hrspp_srt_var_wa  TYPE HRSPP_SRT_VAR, "   
lv_upd_sav_no_emp_list  TYPE HRSPP_SRT_VAR, "   
lv_upd_sav_no_plvar_otype  TYPE HRSPP_SRT_VAR, "   
lv_upd_sav_no_obj_list  TYPE HRSPP_SRT_VAR. "   

  CALL FUNCTION 'HRSPPS_SRT_VAR_SAV_UPD'  "
    EXPORTING
         IT_PLVAR = lv_it_plvar
         IT_OTYPE = lv_it_otype
         IT_HRSPP_SRT_VAR_WA = lv_it_hrspp_srt_var_wa
    TABLES
         IT_WFP_SORTOBJECT = lt_it_wfp_sortobject
         IT_SORT = lt_it_sort
         IT_EMP_INDEX_INFO = lt_it_emp_index_info
    EXCEPTIONS
        UPD_SAV_NOT_POSSIBLE = 1
        UPD_SAV_NO_SRT_FLDS = 2
        UPD_SAV_NO_EMP_LIST = 3
        UPD_SAV_NO_PLVAR_OTYPE = 4
        UPD_SAV_NO_OBJ_LIST = 5
. " HRSPPS_SRT_VAR_SAV_UPD




ABAP code using 7.40 inline data declarations to call FM HRSPPS_SRT_VAR_SAV_UPD

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.

 
 
 
 
 
 
 
 
 
 
 


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!