SAP Reports / Programs

RFCHKU00 SAP ABAP Report - Create Reference for Check from Payment Document







RFCHKU00 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report program copies check numbers into a selected field of the corresponding payment documents...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 RFCHKU00 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

FCHU - Create Reference for Check


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 RFCHKU00. "Basic submit
SUBMIT RFCHKU00 AND RETURN. "Return to original report after report execution complete
SUBMIT RFCHKU00 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: ZW_LAUFI = D Identification
Selection Text: ZW_LAUFD = D Run date
Selection Text: S_ZWEG = D Payment method
Selection Text: S_ZBUK = D Paying company code
Selection Text: S_ZALD = D Date of issue
Selection Text: S_VBLN = D Payment document number
Selection Text: S_USER = D Check Issuer
Selection Text: S_CPUD = D Date created
Selection Text: S_CHEC = D Check number
Selection Text: S_BANK = D House bank
Selection Text: S_ACCO = D Account ID
Title: Create Reference for Check from Payment Document
Text Symbol: 009 = Reference must be manually maintained
Text Symbol: 008 = Error during document update
Text Symbol: 007 = Documents blocked by another user
Text Symbol: 006 = Reference key 3 with check numbers
Text Symbol: 005 = Allocation numbers with check numbers
Text Symbol: 004 = Reference document numbers with check numbers
Text Symbol: 003 = Target field selection for check number
Text Symbol: 002 = Checks from payment run
Text Symbol: 001 = General selections


INCLUDES used within this REPORT RFCHKU00

No INCLUDES are used within this REPORT code!


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:

HELP_OBJECT_SHOW_FOR_FIELD CALL FUNCTION 'HELP_OBJECT_SHOW_FOR_FIELD' EXPORTING CALLED_FOR_TAB = 'BKPF' CALLED_FOR_FIELD = 'XBLNR'.

HELP_OBJECT_SHOW_FOR_FIELD CALL FUNCTION 'HELP_OBJECT_SHOW_FOR_FIELD' EXPORTING CALLED_FOR_TAB = 'BSEG' CALLED_FOR_FIELD = 'ZUONR'.

HELP_OBJECT_SHOW_FOR_FIELD CALL FUNCTION 'HELP_OBJECT_SHOW_FOR_FIELD' EXPORTING CALLED_FOR_TAB = 'BSEG' CALLED_FOR_FIELD = 'XREF3'.

F4_ZAHLLAUF CALL FUNCTION 'F4_ZAHLLAUF' EXPORTING F1TYP = 'D' F1NME = 'ZW_LAUFD' F2NME = 'ZW_LAUFI' IMPORTING LAUFD = ZW_LAUFD LAUFI = ZW_LAUFI TABLES LAUFK = T_LAUFK.

F4_ZAHLLAUF CALL FUNCTION 'F4_ZAHLLAUF' EXPORTING F1TYP = 'I' F1NME = 'ZW_LAUFI' F2NME = 'ZW_LAUFD' IMPORTING LAUFD = ZW_LAUFD LAUFI = ZW_LAUFI TABLES LAUFK = T_LAUFK.

ENQUEUE_EFBKPF CALL FUNCTION 'ENQUEUE_EFBKPF' EXPORTING MODE_BKPF = 'E' MANDT = SY-MANDT BUKRS = T_BKPF-BUKRS BELNR = T_BKPF-BELNR GJAHR = T_BKPF-GJAHR EXCEPTIONS FOREIGN_LOCK = 1 SYSTEM_FAILURE = 2 OTHERS = 3.

ENQUEUE_EFPAYR CALL FUNCTION 'ENQUEUE_EFPAYR' EXPORTING MODE_PAYR = 'E' MANDT = SY-MANDT ZBUKR = T_PAYR-ZBUKR HBKID = T_PAYR-HBKID HKTID = T_PAYR-HKTID RZAWE = T_PAYR-RZAWE CHECT = T_PAYR-CHECT EXCEPTIONS FOREIGN_LOCK = 1 SYSTEM_FAILURE = 2 OTHERS = 3.

CHANGE_DOCUMENT CALL FUNCTION 'CHANGE_DOCUMENT' TABLES T_BKDF = T_BKDF T_BKPF = T_BKPF T_BSEC = T_BSEC T_BSED = T_BSED T_BSEG = T_BSEG T_BSET = T_BSET EXCEPTIONS OTHERS = 4.

DEQUEUE_EFPAYR CALL FUNCTION 'DEQUEUE_EFPAYR' EXPORTING MODE_PAYR = 'E' MANDT = SY-MANDT ZBUKR = T_PAYR-ZBUKR HBKID = T_PAYR-HBKID HKTID = T_PAYR-HKTID RZAWE = T_PAYR-RZAWE CHECT = T_PAYR-CHECT.

DEQUEUE_EFBKPF CALL FUNCTION 'DEQUEUE_EFBKPF' EXPORTING MODE_BKPF = 'E' MANDT = SY-MANDT BUKRS = T_BKPF-BUKRS BELNR = T_BKPF-BELNR GJAHR = T_BKPF-GJAHR.

DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING TABNAME = TABLE_NAME FIELDNAME = FIELD_NAME LANGU = SY-LANGU tables DFIES_tab = lt_dfies EXCEPTIONS NOT_FOUND = 1 INTERNAL_ERROR = 2 OTHERS = 3.

REUSE_ALV_BLOCK_LIST_INIT CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_INIT' EXPORTING I_CALLBACK_PROGRAM = IV_REPID.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_structure_name = gc_str CHANGING ct_fieldcat = XT_FIELDCAT EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_BLOCK_LIST_APPEND CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND' EXPORTING IS_LAYOUT = GS_LAYO IT_FIELDCAT = GT_FIELDCAT I_TABNAME = GC_OUTTAB IT_EVENTS = LT_EVTS TABLES T_OUTTAB = IT_OUTTAB EXCEPTIONS PROGRAM_ERROR = 1 MAXIMUM_OF_APPENDS_REACHED = 2 OTHERS = 3.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING IT_LIST_COMMENTARY = IT_LINE.

REUSE_ALV_BLOCK_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_DISPLAY' EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2.



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