SAP Reports / Programs

RFBKBDCOND SAP ABAP Report - RFBKBDCOND - Retroactive Changes of Standard Conditions







RFBKBDCOND is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for You use the RFBKBDCOND report for each account to find out if it is affected by the retroactive changes to standard conditions...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter RFBKBDCOND into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

F98RK - Retroactive Condition Change


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT RFBKBDCOND. "Basic submit
SUBMIT RFBKBDCOND AND RETURN. "Return to original report after report execution complete
SUBMIT RFBKBDCOND VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


RFBKBDCOND
Selection Text: P_LOG = Detailed Log
Selection Text: P_LOG_E = Relevant messages
Selection Text: P_SIMUL = Simulation
Selection Text: S_BKKRS = D .
Title: RFBKBDCOND - Retroactive Changes of Standard Conditions
Text Symbol: 001 = Selection
Text Symbol: 002 = Parameter


INCLUDES used within this REPORT RFBKBDCOND

INCLUDE: IBKKCON,


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

BKK_ACCNT_GET_DATE_STATUS CALL FUNCTION 'BKK_ACCNT_GET_DATE_STATUS' EXPORTING i_bkkrs = l_s_bkk40-bkkrs i_acnum_int = l_s_bkk40-acnum_int IMPORTING e_status = l_status EXCEPTIONS not_found = 1.

ENQUEUE_EBKK9RK CALL FUNCTION 'ENQUEUE_EBKK9RK' EXPORTING bkkrs = l_s_bkk40-bkkrs acnum_int = l_s_bkk40-acnum_int _scope = '1' _wait = 'X' EXCEPTIONS foreign_lock = 0 system_failure = 0 OTHERS = 0.

ENQUEUE_EBKK8RK CALL FUNCTION 'ENQUEUE_EBKK8RK' EXPORTING _scope = '1' _wait = 'X' EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

BKK_COND_BASIC_DATA_READ CALL FUNCTION 'BKK_COND_BASIC_DATA_READ' IMPORTING e_numper = l_numper e_old_pyear = l_gjahr_flag.

BKK_COND_BDC_PRIOR_PERIODS CALL FUNCTION 'BKK_COND_BDC_PRIOR_PERIODS' EXPORTING t_postprior = l_postper EXCEPTIONS error = 1.

BKK_COND_CLOSE_CONV_DATE CALL FUNCTION 'BKK_COND_CLOSE_CONV_DATE' EXPORTING i_bkkrs = l_s_bkk42-bkkrs i_acnum_int = l_s_bkk42-acnum_int i_clos_typ = g_con_balancing_type_0003 i_date = l_komb-validfrom IMPORTING e_posting_year = e_posting_year e_posting_nr = e_posting_nr e_posting_nradd = e_posting_nradd e_posting_start_date = e_posting_start_date e_posting_end_date = e_posting_end_date EXCEPTIONS no_period_found = 1.

BKK_COND_CLOSE_READ_FIRST_PER CALL FUNCTION 'BKK_COND_CLOSE_READ_FIRST_PER' EXPORTING i_bkkrs = l_s_bkk42-bkkrs i_acnum_int = l_s_bkk42-acnum_int i_clos_typ = g_con_balancing_type_0003 IMPORTING e_posting_year = e_posting_year e_posting_nr = e_posting_nr e_posting_nradd = e_posting_nradd e_posting_start_date = e_posting_start_date e_posting_end_date = e_posting_end_date EXCEPTIONS no_period_found = 1.

BKK_COND_BDC_CDPOS_CDHDR CALL FUNCTION 'BKK_COND_BDC_CDPOS_CDHDR' EXPORTING i_bkkrs = l_s_bkk42-bkkrs i_acnum_int = l_s_bkk42-acnum_int * I_DATE = i_condarea = l_s_bkk42-condarea i_condgr1 = l_s_bkk42-condgr1 i_condgr2 = l_s_bkk42-condgr2 i_condgr3 = l_s_bkk42-condgr3 IMPORTING e_rc = e_rc TABLES t_condchtab = l_t_condchtab t_closing_periods = l_closing_periods.

BKK_COND_CLOSE_CONV_DATE CALL FUNCTION 'BKK_COND_CLOSE_CONV_DATE' EXPORTING i_bkkrs = l_s_bkk42-bkkrs i_acnum_int = l_s_bkk42-acnum_int i_clos_typ = g_con_balancing_type_0003 i_date = l_komb-validfrom IMPORTING e_posting_year = e_posting_year e_posting_nr = e_posting_nr e_posting_nradd = e_posting_nradd e_posting_start_date = e_posting_start_date e_posting_end_date = e_posting_end_date EXCEPTIONS no_period_found = 1.

BKK_COND_BDC_CHECK_IN_TAB CALL FUNCTION 'BKK_COND_BDC_CHECK_IN_TAB' EXPORTING i_clos_year = e_posting_year i_clos_nr = e_posting_nr i_clos_nradd = e_posting_nradd i_str_komb = l_komb TABLES t_condchtab = l_t_condchtab t_clostab = l_t_clostab.

BKK_COND_CLOSE_READ_FIRST_PER CALL FUNCTION 'BKK_COND_CLOSE_READ_FIRST_PER' EXPORTING i_bkkrs = l_s_bkk42-bkkrs i_acnum_int = l_s_bkk42-acnum_int i_clos_typ = g_con_balancing_type_0003 IMPORTING e_posting_year = e_posting_year e_posting_nr = e_posting_nr e_posting_nradd = e_posting_nradd e_posting_start_date = e_posting_start_date e_posting_end_date = e_posting_end_date EXCEPTIONS no_period_found = 1.

BKK_COND_BDC_CHECK_IN_TAB CALL FUNCTION 'BKK_COND_BDC_CHECK_IN_TAB' EXPORTING i_clos_year = e_posting_year i_clos_nr = e_posting_nr i_clos_nradd = e_posting_nradd i_str_komb = l_komb TABLES t_condchtab = l_t_condchtab t_clostab = l_t_clostab.

BKK_COND_CLOSE_READ_NEXT_PER CALL FUNCTION 'BKK_COND_CLOSE_READ_NEXT_PER' EXPORTING i_bkkrs = l_s_bkk42-bkkrs i_acnum_int = l_s_bkk42-acnum_int i_clos_typ = g_con_balancing_type_0003 i_clos_year = e_posting_year i_clos_nr = e_posting_nr IMPORTING e_posting_year = e_posting_year e_posting_nr = e_posting_nr e_posting_nradd = e_posting_nradd e_posting_start_date = e_posting_start_date e_posting_end_date = e_posting_end_date EXCEPTIONS no_period_found = 1.

BKK_COND_BDC_CHECK_IN_TAB CALL FUNCTION 'BKK_COND_BDC_CHECK_IN_TAB' EXPORTING i_clos_year = e_posting_year i_clos_nr = e_posting_nr i_clos_nradd = e_posting_nradd i_str_komb = l_komb TABLES t_condchtab = l_t_condchtab t_clostab = l_t_clostab.

BKK_COND_BDC_GJAHR_CHECK CALL FUNCTION 'BKK_COND_BDC_GJAHR_CHECK' EXPORTING i_bkkrs = l_s_bkk42-bkkrs i_budat_von = l_t_clostab-start_date * I_BUDAT_BIS = sy-datum "QALPLNK088844 i_budat_bis = l_v_last_posting_end_date "QALPLNK088844 IMPORTING e_rc = e_rc.

DEQUEUE_EBKK9RK CALL FUNCTION 'DEQUEUE_EBKK9RK' EXPORTING bkkrs = l_s_bkk42-bkkrs acnum_int = l_s_bkk42-acnum_int.

BKK_COND_CLOSE_READ_NEXT_PER CALL FUNCTION 'BKK_COND_CLOSE_READ_NEXT_PER' EXPORTING i_bkkrs = l_s_bkk42-bkkrs i_acnum_int = l_s_bkk42-acnum_int i_clos_typ = g_con_balancing_type_0003 i_clos_year = e_posting_year i_clos_nr = e_posting_nr IMPORTING e_posting_year = e_posting_year e_posting_nr = e_posting_nr e_posting_nradd = e_posting_nradd e_posting_start_date = e_posting_start_date e_posting_end_date = e_posting_end_date EXCEPTIONS no_period_found = 1.

APPL_LOG_SET_OBJECT CALL FUNCTION 'APPL_LOG_SET_OBJECT' EXPORTING object = g_con_clos_appllogobj subobject = g_con_clos_bdcsubobj.

APPL_LOG_INIT





CALL FUNCTION 'APPL_LOG_INIT' EXPORTING object = g_con_clos_appllogobj subobject = g_con_clos_bdcsubobj.

APPL_LOG_WRITE_HEADER CALL FUNCTION 'APPL_LOG_WRITE_HEADER' EXPORTING header = l_header.

BKK_PA_PROCESS_LOG_CONV_MESG CALL FUNCTION 'BKK_PA_PROCESS_LOG_CONV_MESG' EXPORTING i_tab_log_mesg = l_tab_log[] IMPORTING e_tab_appl_log_mesg = l_tab_appl_log[].

APPL_LOG_WRITE_MESSAGES CALL FUNCTION 'APPL_LOG_WRITE_MESSAGES' EXPORTING object = g_con_clos_appllogobj subobject = g_con_clos_bdcsubobj update_or_insert = 'I' TABLES messages = l_tab_appl_log[].

APPL_LOG_WRITE_DB CALL FUNCTION 'APPL_LOG_WRITE_DB' EXPORTING object = g_con_clos_appllogobj subobject = g_con_clos_bdcsubobj TABLES object_with_lognumber = l_tab_dummy.

BKK_COND_BDC_BKK8RK_DELETE CALL FUNCTION 'BKK_COND_BDC_BKK8RK_DELETE' EXPORTING s_komb = l_komb EXCEPTIONS not_deleted = 1.

DEQUEUE_EBKK8RK CALL FUNCTION 'DEQUEUE_EBKK8RK'.

BKK_ARCH_CHECK_ARCH_DATE CALL FUNCTION 'BKK_ARCH_CHECK_ARCH_DATE' EXPORTING i_bkkrs = u_s_bkk42-bkkrs i_acnum_int = u_s_bkk42-acnum_int i_arch_object = g_con_aobj_pecal i_date = u_s_clostab-start_date i_xnomessage = 'X' i_xdatecorrection = 'X' IMPORTING e_rc = l_rc.

BKK_ARCH_GET_CUTOFF_DATE CALL FUNCTION 'BKK_ARCH_GET_CUTOFF_DATE' EXPORTING i_bkkrs = u_s_bkk42-bkkrs i_prodint = u_s_bkk42-prodint i_arch_object = g_con_aobj_pecal IMPORTING e_cutoff_date = l_cutoff_date e_rc = l_rc.

BKK_ARCH_GET_CUTOFF_DATE CALL FUNCTION 'BKK_ARCH_GET_CUTOFF_DATE' EXPORTING i_bkkrs = u_s_bkk42-bkkrs i_prodint = u_s_bkk42-prodint i_arch_object = g_con_aobj_total IMPORTING e_cutoff_date = l_cutoff_date e_rc = l_rc.

BKK_COND_CLOSE_CONV_DATE CALL FUNCTION 'BKK_COND_CLOSE_CONV_DATE' EXPORTING i_bkkrs = u_s_bkk42-bkkrs i_acnum_int = u_s_bkk42-acnum_int i_clos_typ = g_con_condition i_date = l_cutoff_date IMPORTING e_posting_end_date = l_cutoff_date EXCEPTIONS no_period_found = 0 OTHERS = 0.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.

The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name RFBKBDCOND or its description.