SAP HRDSYS_GET_ATTRIB_FROM_LOIO_ID Function Module for









HRDSYS_GET_ATTRIB_FROM_LOIO_ID is a standard hrdsys get attrib from loio id 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 hrdsys get attrib from loio id FM, simply by entering the name HRDSYS_GET_ATTRIB_FROM_LOIO_ID into the relevant SAP transaction such as SE37 or SE38.

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



Function HRDSYS_GET_ATTRIB_FROM_LOIO_ID 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 'HRDSYS_GET_ATTRIB_FROM_LOIO_ID'"
EXPORTING
* MANDT = SY-MANDT "
LOIO_ID = "

IMPORTING
CREATED_AT = "
LAST_CHANGED_BY = "
CREATED_BY = "
HRDSYS_MOLGA = "
HRDSYS_ONAME = "
HRDSYS_OTYPE = "
ORIGINAL_LANGUAGE = "
DESCRIPTION = "
HRDSYS_SYSTEM = "
LAST_CHANGED_AT = "

EXCEPTIONS
LOIO_NOT_FOUND = 1 ERROR_FINDING_ATTRIBUTES = 2
.



IMPORTING Parameters details for HRDSYS_GET_ATTRIB_FROM_LOIO_ID

MANDT -

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

LOIO_ID -

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

EXPORTING Parameters details for HRDSYS_GET_ATTRIB_FROM_LOIO_ID

CREATED_AT -

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

LAST_CHANGED_BY -

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

CREATED_BY -

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

HRDSYS_MOLGA -

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

HRDSYS_ONAME -

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

HRDSYS_OTYPE -

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

ORIGINAL_LANGUAGE -

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

DESCRIPTION -

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

HRDSYS_SYSTEM -

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

LAST_CHANGED_AT -

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

EXCEPTIONS details

LOIO_NOT_FOUND -

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

ERROR_FINDING_ATTRIBUTES -

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

Copy and paste ABAP code example for HRDSYS_GET_ATTRIB_FROM_LOIO_ID 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_mandt  TYPE SY-MANDT, "   SY-MANDT
lv_created_at  TYPE ANY, "   
lv_loio_not_found  TYPE ANY, "   
lv_last_changed_by  TYPE ANY, "   
lv_loio_id  TYPE SDOKOBJECT, "   
lv_created_by  TYPE ANY, "   
lv_error_finding_attributes  TYPE ANY, "   
lv_hrdsys_molga  TYPE ANY, "   
lv_hrdsys_oname  TYPE ANY, "   
lv_hrdsys_otype  TYPE ANY, "   
lv_original_language  TYPE SY-LANGU, "   
lv_description  TYPE ANY, "   
lv_hrdsys_system  TYPE ANY, "   
lv_last_changed_at  TYPE ANY. "   

  CALL FUNCTION 'HRDSYS_GET_ATTRIB_FROM_LOIO_ID'  "
    EXPORTING
         MANDT = lv_mandt
         LOIO_ID = lv_loio_id
    IMPORTING
         CREATED_AT = lv_created_at
         LAST_CHANGED_BY = lv_last_changed_by
         CREATED_BY = lv_created_by
         HRDSYS_MOLGA = lv_hrdsys_molga
         HRDSYS_ONAME = lv_hrdsys_oname
         HRDSYS_OTYPE = lv_hrdsys_otype
         ORIGINAL_LANGUAGE = lv_original_language
         DESCRIPTION = lv_description
         HRDSYS_SYSTEM = lv_hrdsys_system
         LAST_CHANGED_AT = lv_last_changed_at
    EXCEPTIONS
        LOIO_NOT_FOUND = 1
        ERROR_FINDING_ATTRIBUTES = 2
. " HRDSYS_GET_ATTRIB_FROM_LOIO_ID




ABAP code using 7.40 inline data declarations to call FM HRDSYS_GET_ATTRIB_FROM_LOIO_ID

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 MANDT FROM SY INTO @DATA(ld_mandt).
DATA(ld_mandt) = SY-MANDT.
 
 
 
 
 
 
 
 
 
 
"SELECT single LANGU FROM SY INTO @DATA(ld_original_language).
 
 
 
 


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!