SAP Reports / Programs

RPCMBAH0 SAP ABAP Report - Transfer payments in other relationship







RPCMBAH0 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The program prepares the payments entered in the infotype Contracts with other legal relationships (3261) for accounting...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 RPCMBAH0 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

PC00_M21_RPCMBAH0 - Trasfer of payments other entitlem.


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 RPCMBAH0. "Basic submit
SUBMIT RPCMBAH0 AND RETURN. "Return to original report after report execution complete
SUBMIT RPCMBAH0 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: BI_NAME = Batch input session name
Selection Text: BI_USER = BI user (authorization)
Selection Text: CHK_3234 = CHK_3234
Selection Text: FEL_0015 = Additional payments
Selection Text: FEL_0267 = Off-period additional payments
Selection Text: FEL_3234 = Irregular incomes H
Selection Text: ORIGUTAL = ORIGUTAL
Selection Text: P_A10 = P_A10
Selection Text: P_A20 = P_A20
Selection Text: P_A30 = P_A30
Selection Text: P_A40 = P_A40
Selection Text: P_A50 = P_A50
Selection Text: P_A60 = P_A60
Selection Text: P_A70 = P_A70
Selection Text: P_A80 = P_A80
Selection Text: RUN_BI = D Batch input creation
Selection Text: RUN_CT = D Immediate data posting
Selection Text: ST_ID = D Contract ID
Selection Text: ST_SORSZ = D Sequence number of payment
Selection Text: ST_TIPUS = D Reversal cat
Selection Text: TESTMODE = Test mode
Selection Text: TYPE_PAY = New payments management
Selection Text: TYPE_STO = Reversals and cancellations
Selection Text: UTALDATE = Date of bank transfer
Selection Text: BI_KEEP = Keep batch input session
Selection Text: BI_HOLD = Startability date
Title: Transfer payments in other relationship
Text Symbol: A00 = Transfer result
Text Symbol: A01 = Persons in transfer
Text Symbol: A02 = Messages
Text Symbol: A10 = Payments data
Text Symbol: A20 = Payments broken down by day
Text Symbol: A30 = Daily calculated amounts
Text Symbol: A40 = Payments summation
Text Symbol: A50 = New monthly breakdown - by month
Text Symbol: A60 = New monthly breakdown - by day
Text Symbol: A70 = Save again in infotype 3262
Text Symbol: A80 = Posting 0015/0267/3234





Text Symbol: AXX = Nodes to be displayed
Text Symbol: BL1 = Posting data
Text Symbol: BUT = Select payment to be processed
Text Symbol: CHK = Mid-month posting?
Text Symbol: INF = Data (infotype, reversal date) are read from payment
Text Symbol: PRC = Process tax payer
Text Symbol: STR = Original date of bank transfer
Text Symbol: TI1 = Limit payments
Text Symbol: TIT = Bank transfer data
Text Symbol: TST = (test mode)


INCLUDES used within this REPORT RPCMBAH0

INCLUDE: RPCMBAH0_TOP.


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:

ENQUEUE_EP21_PROG_RUN CALL FUNCTION 'ENQUEUE_EP21_PROG_RUN' EXPORTING mode_progdir = 'E' name = sy-cprog EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

BDC_OPEN_GROUP CALL FUNCTION 'BDC_OPEN_GROUP' EXPORTING group = bi_name holddate = bi_hold keep = bi_keep user = bi_user * RECORD = FILLER1 * PROG = SY-CPROG * DCPFM = '%' * DATFM = '%' * IMPORTING * QID = EXCEPTIONS client_invalid = 1 destination_invalid = 2 group_invalid = 3 group_is_locked = 4 holddate_invalid = 5 internal_error = 6 queue_error = 7 running = 8 system_lock_error = 9 user_invalid = 10 OTHERS = 11.

ENQUEUE_EP21_STRNR_BUKRS CALL FUNCTION 'ENQUEUE_EP21_STRNR_BUKRS' EXPORTING mode_p21_ps_havibontas_key_str = 'E' bukrs = gs_unibukrs-bukrs strnr = current_strnr-strnr EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

BAPI_EMPLOYEE_ENQUEUE CALL FUNCTION 'BAPI_EMPLOYEE_ENQUEUE' EXPORTING number = pernum-pernr IMPORTING return = ls_bapireturn.

DEQUEUE_EP21_STRNR_BUKRS CALL FUNCTION 'DEQUEUE_EP21_STRNR_BUKRS' EXPORTING mode_p21_ps_havibontas_key_str = 'E' bukrs = gs_unibukrs-bukrs strnr = current_strnr-strnr.

BAPI_EMPLOYEE_DEQUEUE CALL FUNCTION 'BAPI_EMPLOYEE_DEQUEUE' EXPORTING number = pernum-pernr IMPORTING return = ls_bapireturn.

BDC_CLOSE_GROUP CALL FUNCTION 'BDC_CLOSE_GROUP' EXCEPTIONS not_open = 1 queue_error = 2 OTHERS = 3.

HR_PAL_LOG_DISPLAY CALL FUNCTION 'HR_PAL_LOG_DISPLAY' EXPORTING i_s_display_profile = gs_dp * I_S_FLAT_PROFILE = EXCEPTIONS program_error = 1 no_logs = 2 OTHERS = 3.

RP_GET_CURRENCY CALL FUNCTION 'RP_GET_CURRENCY' EXPORTING molga = c_molga IMPORTING waers = base_waers EXCEPTIONS molga_not_in_t001p = 1 no_entry_found_in_table_t001 = 2 no_entry_found_in_table_t500p = 3 no_entry_found_in_table_t500c = 4 OTHERS = 5.

BAPI_CURRENCY_CONV_TO_INTERNAL CALL FUNCTION 'BAPI_CURRENCY_CONV_TO_INTERNAL' EXPORTING currency = base_waers amount_external = ld_1000 max_number_of_digits = 15 IMPORTING amount_internal = ld_sap_1000 * RETURN = .

HR_PAL_NODE_ADD CALL FUNCTION 'HR_PAL_NODE_ADD' EXPORTING i_relatkey = 'ROOT' i_node_txt = lv_txt i_expand = true IMPORTING e_node_key = gv_root_node.

HR_PAL_NODE_ADD * CALL FUNCTION 'HR_PAL_NODE_ADD' * EXPORTING * i_relatkey = gv_root_node * i_node_txt = text-a01 * i_expand = false * IMPORTING * e_node_key = gv_strnr_node.

HR_PAL_CREATE_NODE_CATEG CALL FUNCTION 'HR_PAL_CREATE_NODE_CATEG' EXPORTING i_categ_id = c_cat_a02 i_structure_name = 'BAL_HR_EXT' i_with_msg_fields = true.






HR_PAL_NODE_ADD * CALL FUNCTION 'HR_PAL_NODE_ADD' * EXPORTING * i_relatkey = gv_root_node * i_node_txt = text-a02 * i_expand = false * i_categ_id = c_cat_a02 * IMPORTING * e_node_key = gv_log_node.

HR_PAL_NODE_ADD CALL FUNCTION 'HR_PAL_NODE_ADD' EXPORTING i_relatkey = gv_root_node i_node_txt = lv_str i_expand = false IMPORTING e_node_key = ls_bukrs_node-node.

HR_PAL_NODE_ADD CALL FUNCTION 'HR_PAL_NODE_ADD' EXPORTING i_relatkey = gv_strnr_node i_node_txt = lv_str i_categ_id = c_cat_a02 IMPORTING e_node_key = ls_bukrs_node-msg_node.



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 RPCMBAH0 or its description.