SAP GET_IOS_HP_VALUES Function Module for Sample Dynamic Function Module to Fetch Values









GET_IOS_HP_VALUES is a standard get ios hp values SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Sample Dynamic Function Module to Fetch Values processing and below is the pattern details for this FM, 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 get ios hp values FM, simply by entering the name GET_IOS_HP_VALUES into the relevant SAP transaction such as SE37 or SE38.

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



Function GET_IOS_HP_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 'GET_IOS_HP_VALUES'"Sample Dynamic Function Module to Fetch Values
EXPORTING
IFD_PERNR = "Personnel number
IFD_RQCAN = "Request Creation Application Number
IFD_GATYP = "Generic Application Type
IFD_TSR01 = "Trigger Screen Rendering Field
IFD_TSR02 = "Trigger Screen Rendering Field
IFD_CSFLD = "Header Line Customer Field
IFD_RQCDT = "Request Creation Date

IMPORTING
ETB_VALUE = "Table type to hold the values
EFD_DFVAL = "Default Value for Custom Field
EFD_ERRFG = "Error Flag
.



IMPORTING Parameters details for GET_IOS_HP_VALUES

IFD_PERNR - Personnel number

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

IFD_RQCAN - Request Creation Application Number

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

IFD_GATYP - Generic Application Type

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

IFD_TSR01 - Trigger Screen Rendering Field

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

IFD_TSR02 - Trigger Screen Rendering Field

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

IFD_CSFLD - Header Line Customer Field

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

IFD_RQCDT - Request Creation Date

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

EXPORTING Parameters details for GET_IOS_HP_VALUES

ETB_VALUE - Table type to hold the values

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

EFD_DFVAL - Default Value for Custom Field

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

EFD_ERRFG - Error Flag

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

Copy and paste ABAP code example for GET_IOS_HP_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_etb_value  TYPE HRESSINGAVAL_DATA, "   
lv_ifd_pernr  TYPE PERSNO, "   
lv_efd_dfval  TYPE PIN_DFVAL, "   
lv_ifd_rqcan  TYPE PIN_RQCAN, "   
lv_efd_errfg  TYPE PIN_ERRFG, "   
lv_ifd_gatyp  TYPE PIN_REIMB_TYP, "   
lv_ifd_tsr01  TYPE PIN_TRSCR, "   
lv_ifd_tsr02  TYPE PIN_TRSCR, "   
lv_ifd_csfld  TYPE PIN_HCUS_FLD, "   
lv_ifd_rqcdt  TYPE PIN_RQCDT. "   

  CALL FUNCTION 'GET_IOS_HP_VALUES'  "Sample Dynamic Function Module to Fetch Values
    EXPORTING
         IFD_PERNR = lv_ifd_pernr
         IFD_RQCAN = lv_ifd_rqcan
         IFD_GATYP = lv_ifd_gatyp
         IFD_TSR01 = lv_ifd_tsr01
         IFD_TSR02 = lv_ifd_tsr02
         IFD_CSFLD = lv_ifd_csfld
         IFD_RQCDT = lv_ifd_rqcdt
    IMPORTING
         ETB_VALUE = lv_etb_value
         EFD_DFVAL = lv_efd_dfval
         EFD_ERRFG = lv_efd_errfg
. " GET_IOS_HP_VALUES




ABAP code using 7.40 inline data declarations to call FM GET_IOS_HP_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.

 
 
 
 
 
 
 
 
 
 


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!