SAP SO_DLI_SPECIFIC_AUTHORIZATIONS Function Module for









SO_DLI_SPECIFIC_AUTHORIZATIONS is a standard so dli specific authorizations 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 so dli specific authorizations FM, simply by entering the name SO_DLI_SPECIFIC_AUTHORIZATIONS into the relevant SAP transaction such as SE37 or SE38.

Function Group: SOA6
Program Name: SAPLSOA6
Main Program: SAPLSOA6
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function SO_DLI_SPECIFIC_AUTHORIZATIONS 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 'SO_DLI_SPECIFIC_AUTHORIZATIONS'"
EXPORTING
* DLI_FREE = ' ' "
FOLDER_ID = "
* FUNCTION = ' ' "
* SYSTEM_DLI = ' ' "
USER_RESPON = "

IMPORTING
DLI_MAINTAIN = "
DLI_OPEN = "
USER_RESPON_DATA = "
USER_RESPON_ID = "

EXCEPTIONS
COMMUNICATION_FAILURE = 1 OPERATION_NO_AUTHORIZATION = 2 SYSTEM_FAILURE = 3
.



IMPORTING Parameters details for SO_DLI_SPECIFIC_AUTHORIZATIONS

DLI_FREE -

Data type: SONV-FLAG
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

FOLDER_ID -

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

FUNCTION -

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

SYSTEM_DLI -

Data type: SONV-FLAG
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

USER_RESPON -

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

EXPORTING Parameters details for SO_DLI_SPECIFIC_AUTHORIZATIONS

DLI_MAINTAIN -

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

DLI_OPEN -

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

USER_RESPON_DATA -

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

USER_RESPON_ID -

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

EXCEPTIONS details

COMMUNICATION_FAILURE -

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

OPERATION_NO_AUTHORIZATION -

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

SYSTEM_FAILURE -

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

Copy and paste ABAP code example for SO_DLI_SPECIFIC_AUTHORIZATIONS 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_dli_free  TYPE SONV-FLAG, "   SPACE
lv_dli_maintain  TYPE SONV-FLAG, "   
lv_communication_failure  TYPE SONV, "   
lv_dli_open  TYPE SONV-FLAG, "   
lv_folder_id  TYPE SOODK, "   
lv_operation_no_authorization  TYPE SOODK, "   
lv_function  TYPE SY-UCOMM, "   SPACE
lv_system_failure  TYPE SY, "   
lv_user_respon_data  TYPE SOUDD, "   
lv_system_dli  TYPE SONV-FLAG, "   SPACE
lv_user_respon_id  TYPE SOUDK, "   
lv_user_respon  TYPE SOUD-USRNAM. "   

  CALL FUNCTION 'SO_DLI_SPECIFIC_AUTHORIZATIONS'  "
    EXPORTING
         DLI_FREE = lv_dli_free
         FOLDER_ID = lv_folder_id
         FUNCTION = lv_function
         SYSTEM_DLI = lv_system_dli
         USER_RESPON = lv_user_respon
    IMPORTING
         DLI_MAINTAIN = lv_dli_maintain
         DLI_OPEN = lv_dli_open
         USER_RESPON_DATA = lv_user_respon_data
         USER_RESPON_ID = lv_user_respon_id
    EXCEPTIONS
        COMMUNICATION_FAILURE = 1
        OPERATION_NO_AUTHORIZATION = 2
        SYSTEM_FAILURE = 3
. " SO_DLI_SPECIFIC_AUTHORIZATIONS




ABAP code using 7.40 inline data declarations to call FM SO_DLI_SPECIFIC_AUTHORIZATIONS

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 FLAG FROM SONV INTO @DATA(ld_dli_free).
DATA(ld_dli_free) = ' '.
 
"SELECT single FLAG FROM SONV INTO @DATA(ld_dli_maintain).
 
 
"SELECT single FLAG FROM SONV INTO @DATA(ld_dli_open).
 
 
 
"SELECT single UCOMM FROM SY INTO @DATA(ld_function).
DATA(ld_function) = ' '.
 
 
 
"SELECT single FLAG FROM SONV INTO @DATA(ld_system_dli).
DATA(ld_system_dli) = ' '.
 
 
"SELECT single USRNAM FROM SOUD INTO @DATA(ld_user_respon).
 


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!