SAP BKK_COND_BASIC_DATA_READ Function Module for Export Basic Settings for Conditions









BKK_COND_BASIC_DATA_READ is a standard bkk cond basic data read SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Export Basic Settings for Conditions 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 basic data read FM, simply by entering the name BKK_COND_BASIC_DATA_READ into the relevant SAP transaction such as SE37 or SE38.

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



Function BKK_COND_BASIC_DATA_READ 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_BASIC_DATA_READ'"Export Basic Settings for Conditions
IMPORTING
E_XCONDTIME1 = "
E_XCONDTIME2 = "
E_XRELEASE = "
E_WHTAX = "
E_RC = "
E_NUMPER = "Number of Settlement Periods
E_OLD_PYEAR = "Flag: Retroactive Condition Change to Old Fiscal Year Y/N
E_NEGPKOND = "Parameters for Negative Interest Markups (Markdown) Allowed
E_CONDWHTAX = "Transfer Interest Results to Capital Yield Tax
.



EXPORTING Parameters details for BKK_COND_BASIC_DATA_READ

E_XCONDTIME1 -

Data type: TBKK80BAS-XCONDTIME1
Optional: No
Call by Reference: Yes

E_XCONDTIME2 -

Data type: TBKK80BAS-XCONDTIME2
Optional: No
Call by Reference: Yes

E_XRELEASE -

Data type: TBKK80BAS-XRELEASE
Optional: No
Call by Reference: Yes

E_WHTAX -

Data type: TBKK80BAS-WHTAX
Optional: No
Call by Reference: Yes

E_RC -

Data type: SY-SUBRC
Optional: No
Call by Reference: Yes

E_NUMPER - Number of Settlement Periods

Data type: TBKK80BAS-NUMPER
Optional: No
Call by Reference: Yes

E_OLD_PYEAR - Flag: Retroactive Condition Change to Old Fiscal Year Y/N

Data type: TBKK80BAS-OLD_PYEAR
Optional: No
Call by Reference: Yes

E_NEGPKOND - Parameters for Negative Interest Markups (Markdown) Allowed

Data type: TBKK80BAS-NEGPKOND
Optional: No
Call by Reference: Yes

E_CONDWHTAX - Transfer Interest Results to Capital Yield Tax

Data type: BKK_CONDWHTAX
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for BKK_COND_BASIC_DATA_READ 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_xcondtime1  TYPE TBKK80BAS-XCONDTIME1, "   
lv_e_xcondtime2  TYPE TBKK80BAS-XCONDTIME2, "   
lv_e_xrelease  TYPE TBKK80BAS-XRELEASE, "   
lv_e_whtax  TYPE TBKK80BAS-WHTAX, "   
lv_e_rc  TYPE SY-SUBRC, "   
lv_e_numper  TYPE TBKK80BAS-NUMPER, "   
lv_e_old_pyear  TYPE TBKK80BAS-OLD_PYEAR, "   
lv_e_negpkond  TYPE TBKK80BAS-NEGPKOND, "   
lv_e_condwhtax  TYPE BKK_CONDWHTAX. "   

  CALL FUNCTION 'BKK_COND_BASIC_DATA_READ'  "Export Basic Settings for Conditions
    IMPORTING
         E_XCONDTIME1 = lv_e_xcondtime1
         E_XCONDTIME2 = lv_e_xcondtime2
         E_XRELEASE = lv_e_xrelease
         E_WHTAX = lv_e_whtax
         E_RC = lv_e_rc
         E_NUMPER = lv_e_numper
         E_OLD_PYEAR = lv_e_old_pyear
         E_NEGPKOND = lv_e_negpkond
         E_CONDWHTAX = lv_e_condwhtax
. " BKK_COND_BASIC_DATA_READ




ABAP code using 7.40 inline data declarations to call FM BKK_COND_BASIC_DATA_READ

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 XCONDTIME1 FROM TBKK80BAS INTO @DATA(ld_e_xcondtime1).
 
"SELECT single XCONDTIME2 FROM TBKK80BAS INTO @DATA(ld_e_xcondtime2).
 
"SELECT single XRELEASE FROM TBKK80BAS INTO @DATA(ld_e_xrelease).
 
"SELECT single WHTAX FROM TBKK80BAS INTO @DATA(ld_e_whtax).
 
"SELECT single SUBRC FROM SY INTO @DATA(ld_e_rc).
 
"SELECT single NUMPER FROM TBKK80BAS INTO @DATA(ld_e_numper).
 
"SELECT single OLD_PYEAR FROM TBKK80BAS INTO @DATA(ld_e_old_pyear).
 
"SELECT single NEGPKOND FROM TBKK80BAS INTO @DATA(ld_e_negpkond).
 
 


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!