SAP AUTHORITY_CHECK_IFLO Function Module for NOTRANSL: Alle Berechtigungsprüfungen für Objekt IFLO = Technischer Platz
AUTHORITY_CHECK_IFLO is a standard authority check iflo SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: Alle Berechtigungsprüfungen für Objekt IFLO = Technischer Platz 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 authority check iflo FM, simply by entering the name AUTHORITY_CHECK_IFLO into the relevant SAP transaction such as SE37 or SE38.
Function Group: ILO1
Program Name: SAPLILO1
Main Program: SAPLILO1
Appliation area: I
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function AUTHORITY_CHECK_IFLO 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 'AUTHORITY_CHECK_IFLO'"NOTRANSL: Alle Berechtigungsprüfungen für Objekt IFLO = Technischer Platz.
EXPORTING
IFLO_WA = "Work area for functional location
* TCODE = SY-TCODE "Transaction Code
* I_TCODE_CHECK = 'X' "X = Check also authorization transaction
* I_CALL_BADI = 'X' "
EXCEPTIONS
NO_AUTHORITY_TCODE = 1 NO_AUTHORITY_BEGRP = 2 NO_AUTHORITY_IWERK = 3 NO_AUTHORITY_INGRP = 4 NO_AUTHORITY_SWERK = 5 NO_AUTHORITY_KOSTL = 6 NO_PROFILE_IN_USER_MASTER_DATA = 7 ERROR_IN_USER_MASTER_DATA = 8 NO_AUTHORITY_BADI = 9
IMPORTING Parameters details for AUTHORITY_CHECK_IFLO
IFLO_WA - Work area for functional location
Data type: IFLOOptional: No
Call by Reference: No ( called with pass by value option)
TCODE - Transaction Code
Data type: SY-TCODEDefault: SY-TCODE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_TCODE_CHECK - X = Check also authorization transaction
Data type: IREF-IINDDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_CALL_BADI -
Data type: IREF-IINDDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
NO_AUTHORITY_TCODE - No authorization for transaction code
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_AUTHORITY_BEGRP - No authorization for authorization group
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_AUTHORITY_IWERK - No authorization for PM planning plant
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_AUTHORITY_INGRP - No authorization for PM planner group
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_AUTHORITY_SWERK - No authorization for maintenance plant
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_AUTHORITY_KOSTL - No authorization for cost center
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_PROFILE_IN_USER_MASTER_DATA - No profile in user master record
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
ERROR_IN_USER_MASTER_DATA - Error in user master record
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_AUTHORITY_BADI -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for AUTHORITY_CHECK_IFLO 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_iflo_wa | TYPE IFLO, " | |||
| lv_no_authority_tcode | TYPE IFLO, " | |||
| lv_tcode | TYPE SY-TCODE, " SY-TCODE | |||
| lv_no_authority_begrp | TYPE SY, " | |||
| lv_i_tcode_check | TYPE IREF-IIND, " 'X' | |||
| lv_no_authority_iwerk | TYPE IREF, " | |||
| lv_i_call_badi | TYPE IREF-IIND, " 'X' | |||
| lv_no_authority_ingrp | TYPE IREF, " | |||
| lv_no_authority_swerk | TYPE IREF, " | |||
| lv_no_authority_kostl | TYPE IREF, " | |||
| lv_no_profile_in_user_master_data | TYPE IREF, " | |||
| lv_error_in_user_master_data | TYPE IREF, " | |||
| lv_no_authority_badi | TYPE IREF. " |
|   CALL FUNCTION 'AUTHORITY_CHECK_IFLO' "NOTRANSL: Alle Berechtigungsprüfungen für Objekt IFLO = Technischer Platz |
| EXPORTING | ||
| IFLO_WA | = lv_iflo_wa | |
| TCODE | = lv_tcode | |
| I_TCODE_CHECK | = lv_i_tcode_check | |
| I_CALL_BADI | = lv_i_call_badi | |
| EXCEPTIONS | ||
| NO_AUTHORITY_TCODE = 1 | ||
| NO_AUTHORITY_BEGRP = 2 | ||
| NO_AUTHORITY_IWERK = 3 | ||
| NO_AUTHORITY_INGRP = 4 | ||
| NO_AUTHORITY_SWERK = 5 | ||
| NO_AUTHORITY_KOSTL = 6 | ||
| NO_PROFILE_IN_USER_MASTER_DATA = 7 | ||
| ERROR_IN_USER_MASTER_DATA = 8 | ||
| NO_AUTHORITY_BADI = 9 | ||
| . " AUTHORITY_CHECK_IFLO | ||
ABAP code using 7.40 inline data declarations to call FM AUTHORITY_CHECK_IFLO
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 TCODE FROM SY INTO @DATA(ld_tcode). | ||||
| DATA(ld_tcode) | = SY-TCODE. | |||
| "SELECT single IIND FROM IREF INTO @DATA(ld_i_tcode_check). | ||||
| DATA(ld_i_tcode_check) | = 'X'. | |||
| "SELECT single IIND FROM IREF INTO @DATA(ld_i_call_badi). | ||||
| DATA(ld_i_call_badi) | = 'X'. | |||
Search for further information about these or an SAP related objects