RBNK_RULID_EVALUATE is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This program subjects all chosen payments (table REGUH) to the batch rules maintained in Bank Relationship Management (BRM) customizing and shows the result: No batch rule applied Unique batch rule (taking rule priority into account) Several batch rules apply, same priority (not unique) By default, the date for rule evaluation is the system date ...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 RBNK_RULID_EVALUATE into the relevant SAP transactions such as SE38 or SE80
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.
Selection Text: P_CRDAT = D .
Selection Text: P_NLAUFI = New ID (simulation)
Selection Text: P_RUNDAT = Take run dates instead
Selection Text: S_KUNNR = D .
Selection Text: S_LAUFD = D .
Selection Text: S_LAUFI = D .
Selection Text: S_LIFNR = D .
Selection Text: S_VBLNR = D .
Selection Text: S_XVORL = D .
Selection Text: S_ZBUKR = D .
Title: Test program for batch rules
Text Symbol: 001 = List of matching rules
Text Symbol: I0G = Unique batch rule
Text Symbol: I0R = No batch rule applies
Text Symbol: I0Y = Non-unique batch rule
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING I_STRUCTURE_NAME = 'TBNK_RULE' CHANGING CT_FIELDCAT = LT_FIELDCAT EXCEPTIONS INCONSISTENT_INTERFACE = 1 PROGRAM_ERROR = 2 OTHERS = 3.
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING I_STRUCTURE_NAME = 'BNK_BTC_MONIP_UI' CHANGING CT_FIELDCAT = LT_FIELDCAT EXCEPTIONS INCONSISTENT_INTERFACE = 1 PROGRAM_ERROR = 2 OTHERS = 3.
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING I_STRUCTURE_NAME = 'BNK_STR_BATCH_RULE_ATTRIB' CHANGING CT_FIELDCAT = LT_FIELDCAT EXCEPTIONS INCONSISTENT_INTERFACE = 1 PROGRAM_ERROR = 2 OTHERS = 3.
BNK_API_RULID_EVALUATE CALL FUNCTION 'BNK_API_RULID_EVALUATE' EXPORTING I_STRUCTURE_NAME = 'BNK_STR_BATCH_RULE_ATTRIB' I_STRUCTURE =
I_RCRD_CREA_DATE = L_DATE IMPORTING E_RULE_ID = LF_PAY-RULE_ID E_TAB_RULE_EVAL = LT_RULE_EVAL EXCEPTIONS OTHERS = 0.
ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING NAME = U_ICON TEXT = U_TEXT INFO = U_TEXT IMPORTING RESULT = TABLE_FIELD EXCEPTIONS ICON_NOT_FOUND = 1 OUTPUTFIELD_TOO_SHORT = 2 OTHERS = 3.
REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING IS_LAYOUT = GS_LAYOUT IT_FIELDCAT = GT_FIELDCAT I_SAVE = 'X' I_CALLBACK_PROGRAM = G_REPID I_CALLBACK_USER_COMMAND = 'USER_COMMAND' TABLES T_OUTTAB = GT_PAY EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2.
BNK_API_RULID_EVALUATE CALL FUNCTION 'BNK_API_RULID_EVALUATE' EXPORTING I_STRUCTURE_NAME = 'BNK_STR_BATCH_RULE_ATTRIB' I_STRUCTURE =
-RULE_ATTRIB I_RCRD_CREA_DATE = L_DATE IMPORTING E_TAB_RULE_EVAL = LT_RULE_EVAL EXCEPTIONS OTHERS = 0.
REUSE_ALV_POPUP_TO_SELECT CALL FUNCTION 'REUSE_ALV_POPUP_TO_SELECT' EXPORTING I_TITLE = 'List of matching rules'(001) I_SELECTION = ' ' I_TABNAME = '1' I_STRUCTURE_NAME = 'BNK_STR_RULE_PRIO_4_DISP' TABLES T_OUTTAB = LT_RULE_EVAL1 EXCEPTIONS OTHERS = 0.
COMPANY_CODE_READ CALL FUNCTION 'COMPANY_CODE_READ' EXPORTING I_BUKRS =
-RULE_ATTRIB-ZBUKR IMPORTING E_T001 = LF_T001.
DATE_TO_PERIOD_CONVERT CALL FUNCTION 'DATE_TO_PERIOD_CONVERT' EXPORTING I_DATE =
-RULE_ATTRIB-ZALDT "posting date I_PERIV = LF_T001-PERIV IMPORTING E_GJAHR = L_GJAHR EXCEPTIONS OTHERS = 0.
AUTHORITY_CHECK_TCODE CALL FUNCTION 'AUTHORITY_CHECK_TCODE' EXPORTING TCODE = P_TCODE EXCEPTIONS OK = 0 OTHERS = 3.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RBNK_RULID_EVALUATE - Test program for batch rules RBNK_RULID_EVALUATE - Test program for batch rules RBNK_RULE_TRANSPORT - Transport of Batching Rules (Bank Communication) RBNK_RULE_TRANSPORT - Transport of Batching Rules (Bank Communication) RBNK_RESET_STATUS_2_BFC - Reset Batch Status to BFC (File Created) RBNK_RESET_STATUS_2_BFC - Reset Batch Status to BFC (File Created)