SAP HR_INDVAL_CALL_MODULE Function Module for









HR_INDVAL_CALL_MODULE is a standard hr indval call module 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 hr indval call module FM, simply by entering the name HR_INDVAL_CALL_MODULE into the relevant SAP transaction such as SE37 or SE38.

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



Function HR_INDVAL_CALL_MODULE 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 'HR_INDVAL_CALL_MODULE'"
EXPORTING
* MODULE = "
VALUATION_INPUT = "
* VALUES_TAB = "
* MODULE_SPEC = "
* MOLGA = "
BEGDA = "
* TCLAS = 'A' "
PERNR = "
INFTY = "
LGART = "
* LGART_TAB = "

IMPORTING
VALUATION_OUTPUT = "
SUBRC = "

CHANGING
ENDDA = "

TABLES
* PNNNN_TAB = "
* TEMPORARY_VALUES = "
.



IMPORTING Parameters details for HR_INDVAL_CALL_MODULE

MODULE -

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

VALUATION_INPUT -

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

VALUES_TAB -

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

MODULE_SPEC -

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

MOLGA -

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

BEGDA -

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

TCLAS -

Data type: TCLAS
Default: 'A'
Optional: Yes
Call by Reference: Yes

PERNR -

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

INFTY -

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

LGART -

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

LGART_TAB -

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

EXPORTING Parameters details for HR_INDVAL_CALL_MODULE

VALUATION_OUTPUT -

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

SUBRC -

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

CHANGING Parameters details for HR_INDVAL_CALL_MODULE

ENDDA -

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

TABLES Parameters details for HR_INDVAL_CALL_MODULE

PNNNN_TAB -

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

TEMPORARY_VALUES -

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

Copy and paste ABAP code example for HR_INDVAL_CALL_MODULE 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_endda  TYPE ENDDA, "   
lv_module  TYPE PADIV_MODULE, "   
lt_pnnnn_tab  TYPE STANDARD TABLE OF PRELP_TAB, "   
lv_valuation_output  TYPE PADIV_VALUATION_STRCT, "   
lv_valuation_input  TYPE PADIV_VALUATION_STRCT, "   
lv_values_tab  TYPE PADIV_VALUES_TAB, "   
lv_subrc  TYPE SYSUBRC, "   
lv_module_spec  TYPE PADIV_MODULE_SPEC, "   
lt_temporary_values  TYPE STANDARD TABLE OF PINIT, "   
lv_molga  TYPE MOLGA, "   
lv_begda  TYPE BEGDA, "   
lv_tclas  TYPE TCLAS, "   'A'
lv_pernr  TYPE PERNR_D, "   
lv_infty  TYPE INFTY, "   
lv_lgart  TYPE LGART, "   
lv_lgart_tab  TYPE PADIV_LGART_TAB. "   

  CALL FUNCTION 'HR_INDVAL_CALL_MODULE'  "
    EXPORTING
         MODULE = lv_module
         VALUATION_INPUT = lv_valuation_input
         VALUES_TAB = lv_values_tab
         MODULE_SPEC = lv_module_spec
         MOLGA = lv_molga
         BEGDA = lv_begda
         TCLAS = lv_tclas
         PERNR = lv_pernr
         INFTY = lv_infty
         LGART = lv_lgart
         LGART_TAB = lv_lgart_tab
    IMPORTING
         VALUATION_OUTPUT = lv_valuation_output
         SUBRC = lv_subrc
    CHANGING
         ENDDA = lv_endda
    TABLES
         PNNNN_TAB = lt_pnnnn_tab
         TEMPORARY_VALUES = lt_temporary_values
. " HR_INDVAL_CALL_MODULE




ABAP code using 7.40 inline data declarations to call FM HR_INDVAL_CALL_MODULE

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_tclas) = 'A'.
 
 
 
 
 


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!