RFFBWG10 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Program RFFBWG10 transfers failed payment transaction data from UNIX, DOS or OS/2 files and writes them into a table for further processing using report RFBITB01...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 RFFBWG10 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_AUFWA = Expense account
Selection Text: P_BUKRS = Company code
Selection Text: P_DRIVE = Drive
Selection Text: P_HBKID = File from house bank
Selection Text: P_OSFIL = Name of file (OS/2, DOS)
Selection Text: P_PRINT = Print file
Selection Text: P_TINSO = Transfer data
Selection Text: P_TRENZ = With line separation
Selection Text: P_TYPEF = Type of file
Selection Text: P_UNIXF = Name of UNIX file
Selection Text: P_WAERS = Currency
Selection Text: P_XDISK = File on disk
Selection Text: P_XUNIX = File in UNIX file system
Title: Transfer of DME Data
Text Symbol: 921 = Configure
Text Symbol: 920 = Payments Terminated
Text Symbol: 918 = Output List
Text Symbol: 917 = Layout
Text Symbol: 914 = Trassat
Text Symbol: 913 = Item Text
Text Symbol: 907 = Rec. no.: >121-240 positions of the file records...............................................................................<
Text Symbol: 906 = Rec. no.: >1-120 positions of the file records.................................................................................<
Text Symbol: 905 = Drawee........................................................................... Curr. .Payment amount ..not paid
Text Symbol: 904 = Rec. no.:Z Doc. no.. Cust. no.. ValueD.... Exp acct. Doc.HeaderTxt............ Doc. line text..........................
Text Symbol: 903 = Number: >123-150 positions of the records.<
Text Symbol: 101 = $COUNT failed payment transactions were copied.
Text Symbol: 102 = $COUNT failed payment transactins could not be copied.
Text Symbol: 200 = Not current
Text Symbol: 201 = Not collected
Text Symbol: 202 = Bank no.does not exist
Text Symbol: 203 = RD 338/90 regarding tax
Text Symbol: 204 = Bill/exch.not paid
Text Symbol: 205 = Protest of drawee
Text Symbol: 206 = Error in Data Record
Text Symbol: 207 = Data Record Incorrect
Text Symbol: 208 = Error: $ERROR
Text Symbol: 209 = Presentation number: $EINRE
Text Symbol: 300 = Data carrier transfer
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' "note 1540257 EXPORTING logical_filename = 'FI_DME_DOWNLOAD_FILE' parameter_1 = sy-cprog changing physical_filename = P_UNIXF exceptions validation_failed = 1 logical_filename_not_found = 2 others = 3.
INITIALIZE_STRUCTURE CALL FUNCTION 'INITIALIZE_STRUCTURE' EXPORTING I_N_FILL = 0 I_I_FILL = 0 CHANGING C_WORKAREA = GS_TINSI_ALV.
REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING I_CALLBACK_PROGRAM = GV_REPID I_STRUCTURE_NAME = 'FOAP_ACC_S_RFFBWG10_LIST2' IT_FIELDCAT = LT_FIELDCAT I_SAVE = 'A' IS_VARIANT = GS_VARIANT TABLES T_OUTTAB = TEMP_CUST EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2.
CONVERT_DATE_INPUT CALL FUNCTION 'CONVERT_DATE_INPUT' EXPORTING INPUT = T162+22(6) PLAUSIBILITY_CHECK = 'X' IMPORTING OUTPUT = TINSO-BKVAL EXCEPTIONS PLAUSIBILITY_CHECK_FAILED = 01 WRONG_FORMAT_IN_INPUT = 02.
CONVERT_DATE_INPUT CALL FUNCTION 'CONVERT_DATE_INPUT' EXPORTING INPUT = T150+24(6) PLAUSIBILITY_CHECK = 'X' IMPORTING OUTPUT = TINSO-BKVAL EXCEPTIONS PLAUSIBILITY_CHECK_FAILED = 01 WRONG_FORMAT_IN_INPUT = 02.
CONVERT_DATE_INPUT CALL FUNCTION 'CONVERT_DATE_INPUT' EXPORTING INPUT = T150+117(6) PLAUSIBILITY_CHECK = 'X' IMPORTING OUTPUT = TINSO-BKVAL EXCEPTIONS PLAUSIBILITY_CHECK_FAILED = 01 WRONG_FORMAT_IN_INPUT = 02.
CONVERT_DATE_INPUT CALL FUNCTION 'CONVERT_DATE_INPUT' EXPORTING INPUT = T150+122(6) PLAUSIBILITY_CHECK = 'X' IMPORTING OUTPUT = TINSO-BKVAL EXCEPTIONS PLAUSIBILITY_CHECK_FAILED = 01 WRONG_FORMAT_IN_INPUT = 02.
CONVERT_DATE_INPUT CALL FUNCTION 'CONVERT_DATE_INPUT' EXPORTING INPUT = T150+6(6) PLAUSIBILITY_CHECK = 'X' IMPORTING OUTPUT = TINSO-BKVAL EXCEPTIONS PLAUSIBILITY_CHECK_FAILED = 01 WRONG_FORMAT_IN_INPUT = 02.
CONVERT_DATE_INPUT CALL FUNCTION 'CONVERT_DATE_INPUT' EXPORTING INPUT = T162+155(6) PLAUSIBILITY_CHECK = 'X' IMPORTING OUTPUT = TINSO-BKVAL EXCEPTIONS PLAUSIBILITY_CHECK_FAILED = 01 WRONG_FORMAT_IN_INPUT = 02.
CONVERT_DATE_INPUT CALL FUNCTION 'CONVERT_DATE_INPUT' EXPORTING INPUT = T120+22(6) PLAUSIBILITY_CHECK = 'X' IMPORTING OUTPUT = TINSO-BKVAL EXCEPTIONS PLAUSIBILITY_CHECK_FAILED = 01 WRONG_FORMAT_IN_INPUT = 02.
CONVERT_DATE_INPUT CALL FUNCTION 'CONVERT_DATE_INPUT' EXPORTING INPUT = T120+10(6) PLAUSIBILITY_CHECK = 'X' IMPORTING OUTPUT = H_BUDAT EXCEPTIONS PLAUSIBILITY_CHECK_FAILED = 01 WRONG_FORMAT_IN_INPUT = 02.
FI_PERIOD_DETERMINE CALL FUNCTION 'FI_PERIOD_DETERMINE' EXPORTING I_PERIV = T001-PERIV I_BUDAT = H_DATUMGJAHR IMPORTING E_GJAHR = TINSO-GJAHR.
CALL FUNCTION 'CONVERT_DATE_INPUT' EXPORTING INPUT = T240+158(6) * t240+158(6) "Date de creation PLAUSIBILITY_CHECK = 'X' IMPORTING OUTPUT = H_BUDAT EXCEPTIONS PLAUSIBILITY_CHECK_FAILED = 01 WRONG_FORMAT_IN_INPUT = 02.
FI_PERIOD_DETERMINE CALL FUNCTION 'FI_PERIOD_DETERMINE' EXPORTING I_PERIV = T001-PERIV I_BUDAT = H_BUDAT IMPORTING E_GJAHR = TINSO-GJAHR.
CURRENCY_EXPIRATION_CHECK CALL FUNCTION 'CURRENCY_EXPIRATION_CHECK' EXPORTING CURRENCY = P_WAERS DATE = SY-DATUM OBJECT = 'BKPF' BUKRS = P_BUKRS * IMPORTING * CURRENCY_NEW = EXCEPTIONS WARNING_OCCURRED = 1 ERROR_OCCURRED = 2 OTHERS = 3.
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING I_PROGRAM_NAME = GV_REPID I_STRUCTURE_NAME = LV_STRUCT_NAME CHANGING CT_FIELDCAT = XT_FIELDCAT EXCEPTIONS INCONSISTENT_INTERFACE = 1 PROGRAM_ERROR = 2 OTHERS = 3.
REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING I_LIST_TYPE = 0 IMPORTING ET_EVENTS = XT_EVENTS EXCEPTIONS LIST_TYPE_WRONG = 1 OTHERS = 2.
REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING I_CALLBACK_PROGRAM = GV_REPID IS_LAYOUT = IS_LAYOUT IT_FIELDCAT = IT_FIELDCAT IT_EVENTS = IT_EVENTS TABLES T_OUTTAB =
EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2.
REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING I_CALLBACK_PROGRAM = GV_REPID IS_LAYOUT = IS_LAYOUT IT_FIELDCAT = IT_FIELDCAT IT_EVENTS = IT_EVENTS I_SAVE = 'A' IS_VARIANT = IS_VARIANT TABLES T_OUTTAB =
EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2.
REUSE_ALV_LIST_LAYOUT_INFO_GET CALL FUNCTION 'REUSE_ALV_LIST_LAYOUT_INFO_GET' IMPORTING E_WIDTH = GV_WIDTH EXCEPTIONS NO_INFOS = 1 PROGRAM_ERROR = 2 OTHERS = 3.
FAGL_BATCH_HEADING_PERFORM CALL FUNCTION 'FAGL_BATCH_HEADING_PERFORM' EXPORTING IS_BHDGD = BHDGD.
REUSE_ALV_LIST_LAYOUT_INFO_GET CALL FUNCTION 'REUSE_ALV_LIST_LAYOUT_INFO_GET' IMPORTING E_WIDTH = GV_WIDTH EXCEPTIONS NO_INFOS = 1 PROGRAM_ERROR = 2 OTHERS = 3.
FAGL_BATCH_HEADING_PERFORM CALL FUNCTION 'FAGL_BATCH_HEADING_PERFORM' EXPORTING IS_BHDGD = BHDGD.
REUSE_ALV_LIST_LAYOUT_INFO_GET CALL FUNCTION 'REUSE_ALV_LIST_LAYOUT_INFO_GET' IMPORTING E_WIDTH = GV_WIDTH EXCEPTIONS NO_INFOS = 1 PROGRAM_ERROR = 2 OTHERS = 3.
FAGL_BATCH_HEADING_PERFORM CALL FUNCTION 'FAGL_BATCH_HEADING_PERFORM' EXPORTING IS_BHDGD = BHDGD.
REUSE_ALV_VARIANT_F4 CALL FUNCTION 'REUSE_ALV_VARIANT_F4' EXPORTING IS_VARIANT = LS_VARIANT I_SAVE = 'A' IMPORTING E_EXIT = L_EXIT ES_VARIANT = L_VARIANT_HELP.
REUSE_ALV_VARIANT_EXISTENCE CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE' EXPORTING I_SAVE = 'A' CHANGING CS_VARIANT = LS_VARIANT.
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 RFFBWG10 or its description.