SAP HRDSYS_XPRA_LOIO_CREATE Function Module for









HRDSYS_XPRA_LOIO_CREATE is a standard hrdsys xpra loio create 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 xpra loio create FM, simply by entering the name HRDSYS_XPRA_LOIO_CREATE into the relevant SAP transaction such as SE37 or SE38.

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



Function HRDSYS_XPRA_LOIO_CREATE 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_XPRA_LOIO_CREATE'"
EXPORTING
* MANDT = SY-MANDT "
CUST_MANDT = "
PREF_ML = "

IMPORTING
LOIOS_CREATED = "
LOIO_CREATE_ERRORS = "

EXCEPTIONS
IS_NOT_CUSTOMER_CLIENT = 1 CUST_MANDT_EQ_SAP_MANDT = 2 IS_NOT_CLIENT_SYSTEM = 3 SYSTEM_TYPE_NOT_FOUND = 4 NEW_OTYPE_INSERT_ERROR = 5
.



IMPORTING Parameters details for HRDSYS_XPRA_LOIO_CREATE

MANDT -

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

CUST_MANDT -

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

PREF_ML -

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

EXPORTING Parameters details for HRDSYS_XPRA_LOIO_CREATE

LOIOS_CREATED -

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

LOIO_CREATE_ERRORS -

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

EXCEPTIONS details

IS_NOT_CUSTOMER_CLIENT -

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

CUST_MANDT_EQ_SAP_MANDT -

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

IS_NOT_CLIENT_SYSTEM -

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

SYSTEM_TYPE_NOT_FOUND -

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

NEW_OTYPE_INSERT_ERROR -

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

Copy and paste ABAP code example for HRDSYS_XPRA_LOIO_CREATE 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_loios_created  TYPE I, "   
lv_is_not_customer_client  TYPE I, "   
lv_cust_mandt  TYPE SY-MANDT, "   
lv_loio_create_errors  TYPE I, "   
lv_cust_mandt_eq_sap_mandt  TYPE I, "   
lv_pref_ml  TYPE SPRAS, "   
lv_is_not_client_system  TYPE SPRAS, "   
lv_system_type_not_found  TYPE SPRAS, "   
lv_new_otype_insert_error  TYPE SPRAS. "   

  CALL FUNCTION 'HRDSYS_XPRA_LOIO_CREATE'  "
    EXPORTING
         MANDT = lv_mandt
         CUST_MANDT = lv_cust_mandt
         PREF_ML = lv_pref_ml
    IMPORTING
         LOIOS_CREATED = lv_loios_created
         LOIO_CREATE_ERRORS = lv_loio_create_errors
    EXCEPTIONS
        IS_NOT_CUSTOMER_CLIENT = 1
        CUST_MANDT_EQ_SAP_MANDT = 2
        IS_NOT_CLIENT_SYSTEM = 3
        SYSTEM_TYPE_NOT_FOUND = 4
        NEW_OTYPE_INSERT_ERROR = 5
. " HRDSYS_XPRA_LOIO_CREATE




ABAP code using 7.40 inline data declarations to call FM HRDSYS_XPRA_LOIO_CREATE

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 MANDT FROM SY INTO @DATA(ld_cust_mandt).
 
 
 
 
 
 
 


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!