SAP HRSP_UPDATE_INFOCOLUMNS Function Module for









HRSP_UPDATE_INFOCOLUMNS is a standard hrsp update infocolumns 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 hrsp update infocolumns FM, simply by entering the name HRSP_UPDATE_INFOCOLUMNS into the relevant SAP transaction such as SE37 or SE38.

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



Function HRSP_UPDATE_INFOCOLUMNS 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 'HRSP_UPDATE_INFOCOLUMNS'"
EXPORTING
* BEGIN_DATE = SY-DATUM "
* END_DATE = SY-DATUM "
* BNAME = SY-UNAME "
* G_PEINS_PSDCI = "
* IM_SELECTED_PERNR = "

CHANGING
INFO_COLUMNS = "
* G_IMPORT_B2_PP_DONE = "
* G_IMPORT_B2_DONE = "

TABLES
* BUFFER_SALDO = "
* PREV_SALDO = "
* BUFFER_ZL = "
* PREV_ZL = "
* FEHLER_PS = "

EXCEPTIONS
INFOCOL_ERROR = 1
.



IMPORTING Parameters details for HRSP_UPDATE_INFOCOLUMNS

BEGIN_DATE -

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

END_DATE -

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

BNAME -

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

G_PEINS_PSDCI -

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

IM_SELECTED_PERNR -

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

CHANGING Parameters details for HRSP_UPDATE_INFOCOLUMNS

INFO_COLUMNS -

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

G_IMPORT_B2_PP_DONE -

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

G_IMPORT_B2_DONE -

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

TABLES Parameters details for HRSP_UPDATE_INFOCOLUMNS

BUFFER_SALDO -

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

PREV_SALDO -

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

BUFFER_ZL -

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

PREV_ZL -

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

FEHLER_PS -

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

EXCEPTIONS details

INFOCOL_ERROR -

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

Copy and paste ABAP code example for HRSP_UPDATE_INFOCOLUMNS 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_begin_date  TYPE PFEDY-BEGDA, "   SY-DATUM
lt_buffer_saldo  TYPE STANDARD TABLE OF HRSP_BUFFER_SALDO, "   
lv_info_columns  TYPE HRSP_INFOCOLUMNS_TABLE, "   
lv_infocol_error  TYPE HRSP_INFOCOLUMNS_TABLE, "   
lv_end_date  TYPE PFEDY-ENDDA, "   SY-DATUM
lt_prev_saldo  TYPE STANDARD TABLE OF HRSP_PREV_SALDO, "   
lv_g_import_b2_pp_done  TYPE CHAR1, "   
lv_bname  TYPE SY-UNAME, "   SY-UNAME
lt_buffer_zl  TYPE STANDARD TABLE OF HRSP_BUFFER_ZL, "   
lv_g_import_b2_done  TYPE CHAR1, "   
lt_prev_zl  TYPE STANDARD TABLE OF HRSP_PREV_ZL, "   
lv_g_peins_psdci  TYPE CHAR1, "   
lt_fehler_ps  TYPE STANDARD TABLE OF HRSP_FEHLER, "   
lv_im_selected_pernr  TYPE HRSP_T_PERNR. "   

  CALL FUNCTION 'HRSP_UPDATE_INFOCOLUMNS'  "
    EXPORTING
         BEGIN_DATE = lv_begin_date
         END_DATE = lv_end_date
         BNAME = lv_bname
         G_PEINS_PSDCI = lv_g_peins_psdci
         IM_SELECTED_PERNR = lv_im_selected_pernr
    CHANGING
         INFO_COLUMNS = lv_info_columns
         G_IMPORT_B2_PP_DONE = lv_g_import_b2_pp_done
         G_IMPORT_B2_DONE = lv_g_import_b2_done
    TABLES
         BUFFER_SALDO = lt_buffer_saldo
         PREV_SALDO = lt_prev_saldo
         BUFFER_ZL = lt_buffer_zl
         PREV_ZL = lt_prev_zl
         FEHLER_PS = lt_fehler_ps
    EXCEPTIONS
        INFOCOL_ERROR = 1
. " HRSP_UPDATE_INFOCOLUMNS




ABAP code using 7.40 inline data declarations to call FM HRSP_UPDATE_INFOCOLUMNS

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 BEGDA FROM PFEDY INTO @DATA(ld_begin_date).
DATA(ld_begin_date) = SY-DATUM.
 
 
 
 
"SELECT single ENDDA FROM PFEDY INTO @DATA(ld_end_date).
DATA(ld_end_date) = SY-DATUM.
 
 
 
"SELECT single UNAME FROM SY INTO @DATA(ld_bname).
DATA(ld_bname) = SY-UNAME.
 
 
 
 
 
 
 


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!