SAP AC_CHECK_FUNC_AREA_VISIBLE Function Module for
AC_CHECK_FUNC_AREA_VISIBLE is a standard ac check func area visible 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 ac check func area visible FM, simply by entering the name AC_CHECK_FUNC_AREA_VISIBLE into the relevant SAP transaction such as SE37 or SE38.
Function Group: AC_FAREA_IN_MASTER_DATA
Program Name: SAPLAC_FAREA_IN_MASTER_DATA
Main Program:
Appliation area: K
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function AC_CHECK_FUNC_AREA_VISIBLE 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 'AC_CHECK_FUNC_AREA_VISIBLE'".
EXPORTING
* I_MANDT = SY-MANDT "
* I_KTOPL = "
* I_KOKRS = "
* I_BUKRS = "
I_DISPLAY_MODE = "
IMPORTING
E_SCREEN_ACTIVE = "
E_SCREEN_INPUT = "
IMPORTING Parameters details for AC_CHECK_FUNC_AREA_VISIBLE
I_MANDT -
Data type: SY-MANDTDefault: SY-MANDT
Optional: Yes
Call by Reference: Yes
I_KTOPL -
Data type: T001-KTOPLOptional: Yes
Call by Reference: Yes
I_KOKRS -
Data type: TKA01-KOKRSOptional: Yes
Call by Reference: Yes
I_BUKRS -
Data type: T001-BUKRSOptional: Yes
Call by Reference: Yes
I_DISPLAY_MODE -
Data type: BOOLE-BOOLEOptional: No
Call by Reference: Yes
EXPORTING Parameters details for AC_CHECK_FUNC_AREA_VISIBLE
E_SCREEN_ACTIVE -
Data type: CHAR1Optional: No
Call by Reference: Yes
E_SCREEN_INPUT -
Data type: CHAR1Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for AC_CHECK_FUNC_AREA_VISIBLE 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_i_mandt | TYPE SY-MANDT, " SY-MANDT | |||
| lv_e_screen_active | TYPE CHAR1, " | |||
| lv_i_ktopl | TYPE T001-KTOPL, " | |||
| lv_e_screen_input | TYPE CHAR1, " | |||
| lv_i_kokrs | TYPE TKA01-KOKRS, " | |||
| lv_i_bukrs | TYPE T001-BUKRS, " | |||
| lv_i_display_mode | TYPE BOOLE-BOOLE. " |
|   CALL FUNCTION 'AC_CHECK_FUNC_AREA_VISIBLE' " |
| EXPORTING | ||
| I_MANDT | = lv_i_mandt | |
| I_KTOPL | = lv_i_ktopl | |
| I_KOKRS | = lv_i_kokrs | |
| I_BUKRS | = lv_i_bukrs | |
| I_DISPLAY_MODE | = lv_i_display_mode | |
| IMPORTING | ||
| E_SCREEN_ACTIVE | = lv_e_screen_active | |
| E_SCREEN_INPUT | = lv_e_screen_input | |
| . " AC_CHECK_FUNC_AREA_VISIBLE | ||
ABAP code using 7.40 inline data declarations to call FM AC_CHECK_FUNC_AREA_VISIBLE
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_i_mandt). | ||||
| DATA(ld_i_mandt) | = SY-MANDT. | |||
| "SELECT single KTOPL FROM T001 INTO @DATA(ld_i_ktopl). | ||||
| "SELECT single KOKRS FROM TKA01 INTO @DATA(ld_i_kokrs). | ||||
| "SELECT single BUKRS FROM T001 INTO @DATA(ld_i_bukrs). | ||||
| "SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_display_mode). | ||||
Search for further information about these or an SAP related objects