SAP AIPA_AUTHORITY_CHECK_IQ Function Module for
AIPA_AUTHORITY_CHECK_IQ is a standard aipa authority check iq 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 aipa authority check iq FM, simply by entering the name AIPA_AUTHORITY_CHECK_IQ into the relevant SAP transaction such as SE37 or SE38.
Function Group: AIPA_AUTH_CHECK
Program Name: SAPLAIPA_AUTH_CHECK
Main Program: SAPLAIPA_AUTH_CHECK
Appliation area: A
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function AIPA_AUTHORITY_CHECK_IQ 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 'AIPA_AUTHORITY_CHECK_IQ'".
EXPORTING
* I_AUTH_OBJECT = "
* I_IMAK = "
I_ACTVT = "
* I_MESSAGE = 'E' "
* I_FLG_RAISE_EXCEPTION = ' ' "
* I_MESSAGE_HANDLER_ON = "
IMPORTING
E_SUBRC = "
E_AUTH_OBJECT = "
TABLES
* IT_IMAKPGES = "
EXCEPTIONS
MISSING_AUTHORITY = 1 MESSAGE_HANDLER_NOT_ACTIVE = 2
IMPORTING Parameters details for AIPA_AUTHORITY_CHECK_IQ
I_AUTH_OBJECT -
Data type:Optional: Yes
Call by Reference: No ( called with pass by value option)
I_IMAK -
Data type: IMAKOptional: Yes
Call by Reference: No ( called with pass by value option)
I_ACTVT -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
I_MESSAGE -
Data type:Default: 'E'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_FLG_RAISE_EXCEPTION -
Data type:Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_MESSAGE_HANDLER_ON -
Data type:Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for AIPA_AUTHORITY_CHECK_IQ
E_SUBRC -
Data type: SY-SUBRCOptional: No
Call by Reference: No ( called with pass by value option)
E_AUTH_OBJECT -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for AIPA_AUTHORITY_CHECK_IQ
IT_IMAKPGES -
Data type: RIMAKPGESOptional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
MISSING_AUTHORITY -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
MESSAGE_HANDLER_NOT_ACTIVE -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for AIPA_AUTHORITY_CHECK_IQ 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_e_subrc | TYPE SY-SUBRC, " | |||
| lt_it_imakpges | TYPE STANDARD TABLE OF RIMAKPGES, " | |||
| lv_i_auth_object | TYPE RIMAKPGES, " | |||
| lv_missing_authority | TYPE RIMAKPGES, " | |||
| lv_i_imak | TYPE IMAK, " | |||
| lv_e_auth_object | TYPE IMAK, " | |||
| lv_message_handler_not_active | TYPE IMAK, " | |||
| lv_i_actvt | TYPE IMAK, " | |||
| lv_i_message | TYPE IMAK, " 'E' | |||
| lv_i_flg_raise_exception | TYPE IMAK, " ' ' | |||
| lv_i_message_handler_on | TYPE IMAK. " |
|   CALL FUNCTION 'AIPA_AUTHORITY_CHECK_IQ' " |
| EXPORTING | ||
| I_AUTH_OBJECT | = lv_i_auth_object | |
| I_IMAK | = lv_i_imak | |
| I_ACTVT | = lv_i_actvt | |
| I_MESSAGE | = lv_i_message | |
| I_FLG_RAISE_EXCEPTION | = lv_i_flg_raise_exception | |
| I_MESSAGE_HANDLER_ON | = lv_i_message_handler_on | |
| IMPORTING | ||
| E_SUBRC | = lv_e_subrc | |
| E_AUTH_OBJECT | = lv_e_auth_object | |
| TABLES | ||
| IT_IMAKPGES | = lt_it_imakpges | |
| EXCEPTIONS | ||
| MISSING_AUTHORITY = 1 | ||
| MESSAGE_HANDLER_NOT_ACTIVE = 2 | ||
| . " AIPA_AUTHORITY_CHECK_IQ | ||
ABAP code using 7.40 inline data declarations to call FM AIPA_AUTHORITY_CHECK_IQ
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 SUBRC FROM SY INTO @DATA(ld_e_subrc). | ||||
| DATA(ld_i_message) | = 'E'. | |||
| DATA(ld_i_flg_raise_exception) | = ' '. | |||
Search for further information about these or an SAP related objects