SAP Function Modules

BKK_COND_BASIC_DATA_READ SAP Function module - Export Basic Settings for Conditions







BKK_COND_BASIC_DATA_READ is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.

See here to view full function module documentation and code listing, simply by entering the name BKK_COND_BASIC_DATA_READ into the relevant SAP transaction such as SE37 or SE80.

Associated Function Group: FB80
Released Date: Not Released
Processing type: Normal fucntion module
Normal function module settings


Pattern for FM BKK_COND_BASIC_DATA_READ - BKK COND BASIC DATA READ





CALL FUNCTION 'BKK_COND_BASIC_DATA_READ' "Export Basic Settings for Conditions
  IMPORTING
    e_xcondtime1 =              " tbkk80bas-xcondtime1
    e_xcondtime2 =              " tbkk80bas-xcondtime2
    e_xrelease =                " tbkk80bas-xrelease
    e_whtax =                   " tbkk80bas-whtax
    e_rc =                      " sy-subrc
    e_numper =                  " tbkk80bas-numper  Number of Settlement Periods
    e_old_pyear =               " tbkk80bas-old_pyear  Flag: Retroactive Condition Change to Old Fiscal Year Y/N
    e_negpkond =                " tbkk80bas-negpkond  Parameters for Negative Interest Markups (Markdown) Allowed
    e_condwhtax =               " bkk_condwhtax  Transfer Interest Results to Capital Yield Tax
    .  "  BKK_COND_BASIC_DATA_READ

ABAP code example for Function Module BKK_COND_BASIC_DATA_READ





The ABAP code below is a full code listing to execute function module BKK_COND_BASIC_DATA_READ including all data declarations. The code uses 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 original method of declaring data variables up front. 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).

DATA:
ld_e_xcondtime1  TYPE TBKK80BAS-XCONDTIME1 ,
ld_e_xcondtime2  TYPE TBKK80BAS-XCONDTIME2 ,
ld_e_xrelease  TYPE TBKK80BAS-XRELEASE ,
ld_e_whtax  TYPE TBKK80BAS-WHTAX ,
ld_e_rc  TYPE SY-SUBRC ,
ld_e_numper  TYPE TBKK80BAS-NUMPER ,
ld_e_old_pyear  TYPE TBKK80BAS-OLD_PYEAR ,
ld_e_negpkond  TYPE TBKK80BAS-NEGPKOND ,
ld_e_condwhtax  TYPE BKK_CONDWHTAX .
CALL FUNCTION 'BKK_COND_BASIC_DATA_READ' IMPORTING e_xcondtime1 = ld_e_xcondtime1 e_xcondtime2 = ld_e_xcondtime2 e_xrelease = ld_e_xrelease e_whtax = ld_e_whtax e_rc = ld_e_rc e_numper = ld_e_numper e_old_pyear = ld_e_old_pyear e_negpkond = ld_e_negpkond e_condwhtax = ld_e_condwhtax . " BKK_COND_BASIC_DATA_READ
IF SY-SUBRC EQ 0. "All OK ENDIF.







ABAP code to compare 7.40 inline data declaration with original syntax

The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.

DATA:
ld_e_xcondtime1  TYPE TBKK80BAS-XCONDTIME1 ,
ld_e_xcondtime2  TYPE TBKK80BAS-XCONDTIME2 ,
ld_e_xrelease  TYPE TBKK80BAS-XRELEASE ,
ld_e_whtax  TYPE TBKK80BAS-WHTAX ,
ld_e_rc  TYPE SY-SUBRC ,
ld_e_numper  TYPE TBKK80BAS-NUMPER ,
ld_e_old_pyear  TYPE TBKK80BAS-OLD_PYEAR ,
ld_e_negpkond  TYPE TBKK80BAS-NEGPKOND ,
ld_e_condwhtax  TYPE BKK_CONDWHTAX .

Contribute (Add Comments)

Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name BKK_COND_BASIC_DATA_READ or its description.