SAP BKK_COND_MAINTAIN_CTL Function Module for Display List of Conditions and Call Condition Editing









BKK_COND_MAINTAIN_CTL is a standard bkk cond maintain ctl SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Display List of Conditions and Call Condition Editing 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 bkk cond maintain ctl FM, simply by entering the name BKK_COND_MAINTAIN_CTL into the relevant SAP transaction such as SE37 or SE38.

Function Group: FB82
Program Name: SAPLFB82
Main Program: SAPLFB82
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function BKK_COND_MAINTAIN_CTL 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 'BKK_COND_MAINTAIN_CTL'"Display List of Conditions and Call Condition Editing
EXPORTING
I_MODUS = "Condition Origin
I_STORE_TYPE = "One-Character Indicator
* I_DISPLAY = 'X' "Indicator: Display Only
* I_RELEASE = ' ' "One-Character Indicator
I_GROUP_CAT = "
I_HEADER = "

TABLES
T_CATEGORY = "
T_CONDITION = "
T_POSITION = "

EXCEPTIONS
MODUS_UNKNOWN = 1 STORE_TYPE_UNKNOWN = 2
.



IMPORTING Parameters details for BKK_COND_MAINTAIN_CTL

I_MODUS - Condition Origin

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

I_STORE_TYPE - One-Character Indicator

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

I_DISPLAY - Indicator: Display Only

Data type: CHAR1
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_RELEASE - One-Character Indicator

Data type: CHAR1
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_GROUP_CAT -

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

I_HEADER -

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

TABLES Parameters details for BKK_COND_MAINTAIN_CTL

T_CATEGORY -

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

T_CONDITION -

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

T_POSITION -

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

EXCEPTIONS details

MODUS_UNKNOWN -

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

STORE_TYPE_UNKNOWN -

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

Copy and paste ABAP code example for BKK_COND_MAINTAIN_CTL 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_modus  TYPE CHAR1, "   
lt_t_category  TYPE STANDARD TABLE OF IBKK90, "   
lv_modus_unknown  TYPE IBKK90, "   
lt_t_condition  TYPE STANDARD TABLE OF IBKK91, "   
lv_i_store_type  TYPE CHAR1, "   
lv_store_type_unknown  TYPE CHAR1, "   
lv_i_display  TYPE CHAR1, "   'X'
lt_t_position  TYPE STANDARD TABLE OF IBKK92, "   
lv_i_release  TYPE CHAR1, "   ' '
lv_i_group_cat  TYPE TBKK85-CONDGR_CAT, "   
lv_i_header  TYPE IBKK99. "   

  CALL FUNCTION 'BKK_COND_MAINTAIN_CTL'  "Display List of Conditions and Call Condition Editing
    EXPORTING
         I_MODUS = lv_i_modus
         I_STORE_TYPE = lv_i_store_type
         I_DISPLAY = lv_i_display
         I_RELEASE = lv_i_release
         I_GROUP_CAT = lv_i_group_cat
         I_HEADER = lv_i_header
    TABLES
         T_CATEGORY = lt_t_category
         T_CONDITION = lt_t_condition
         T_POSITION = lt_t_position
    EXCEPTIONS
        MODUS_UNKNOWN = 1
        STORE_TYPE_UNKNOWN = 2
. " BKK_COND_MAINTAIN_CTL




ABAP code using 7.40 inline data declarations to call FM BKK_COND_MAINTAIN_CTL

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.

 
 
 
 
 
 
DATA(ld_i_display) = 'X'.
 
 
DATA(ld_i_release) = ' '.
 
"SELECT single CONDGR_CAT FROM TBKK85 INTO @DATA(ld_i_group_cat).
 
 


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!