SAP AIPA_AUTHORITY_CHECK_IP Function Module for
AIPA_AUTHORITY_CHECK_IP is a standard aipa authority check ip 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 ip FM, simply by entering the name AIPA_AUTHORITY_CHECK_IP 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_IP 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_IP'".
EXPORTING
I_OBTYP = "
* I_AUTH_OBJECT = "
* I_IMPR = "
* I_IMTP = "
I_ACTVT = "
* I_APPST = "
* I_MESSAGE = 'E' "
* I_FLG_RAISE_EXCEPTION = ' ' "
IMPORTING
E_SUBRC = "
E_AUTH_OBJECT = "
EXCEPTIONS
MISSING_AUTHORITY = 1
IMPORTING Parameters details for AIPA_AUTHORITY_CHECK_IP
I_OBTYP -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
I_AUTH_OBJECT -
Data type:Optional: Yes
Call by Reference: No ( called with pass by value option)
I_IMPR -
Data type: IMPROptional: Yes
Call by Reference: No ( called with pass by value option)
I_IMTP -
Data type: IMTPOptional: 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_APPST -
Data type: TAIF2-APPSTOptional: Yes
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)
EXPORTING Parameters details for AIPA_AUTHORITY_CHECK_IP
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)
EXCEPTIONS details
MISSING_AUTHORITY -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for AIPA_AUTHORITY_CHECK_IP 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, " | |||
| lv_i_obtyp | TYPE SY, " | |||
| lv_missing_authority | TYPE SY, " | |||
| lv_e_auth_object | TYPE SY, " | |||
| lv_i_auth_object | TYPE SY, " | |||
| lv_i_impr | TYPE IMPR, " | |||
| lv_i_imtp | TYPE IMTP, " | |||
| lv_i_actvt | TYPE IMTP, " | |||
| lv_i_appst | TYPE TAIF2-APPST, " | |||
| lv_i_message | TYPE TAIF2, " 'E' | |||
| lv_i_flg_raise_exception | TYPE TAIF2. " ' ' |
|   CALL FUNCTION 'AIPA_AUTHORITY_CHECK_IP' " |
| EXPORTING | ||
| I_OBTYP | = lv_i_obtyp | |
| I_AUTH_OBJECT | = lv_i_auth_object | |
| I_IMPR | = lv_i_impr | |
| I_IMTP | = lv_i_imtp | |
| I_ACTVT | = lv_i_actvt | |
| I_APPST | = lv_i_appst | |
| I_MESSAGE | = lv_i_message | |
| I_FLG_RAISE_EXCEPTION | = lv_i_flg_raise_exception | |
| IMPORTING | ||
| E_SUBRC | = lv_e_subrc | |
| E_AUTH_OBJECT | = lv_e_auth_object | |
| EXCEPTIONS | ||
| MISSING_AUTHORITY = 1 | ||
| . " AIPA_AUTHORITY_CHECK_IP | ||
ABAP code using 7.40 inline data declarations to call FM AIPA_AUTHORITY_CHECK_IP
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). | ||||
| "SELECT single APPST FROM TAIF2 INTO @DATA(ld_i_appst). | ||||
| DATA(ld_i_message) | = 'E'. | |||
| DATA(ld_i_flg_raise_exception) | = ' '. | |||
Search for further information about these or an SAP related objects