SAP Reports / Programs

RFKK1099 SAP ABAP Report - 1099 Reporting - Data Extraction







RFKK1099 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for trados = fi Return 1099 The program creates a sequential file for 1099 (return)...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 RFKK1099 into the relevant SAP transactions such as SE38 or SE80


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 RFKK1099. "Basic submit
SUBMIT RFKK1099 AND RETURN. "Return to original report after report execution complete
SUBMIT RFKK1099 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: S_TVORG = D .
Selection Text: S_REPDT = D .
Selection Text: S_QSSKZ = D .
Selection Text: S_QSSEW = D .
Selection Text: S_OPBEL = D .
Selection Text: S_NAUGH = D .
Selection Text: S_HVORG = D .
Selection Text: S_GPART = D .
Selection Text: S_BUKRS = D .
Selection Text: S_AUGBL = D .
Selection Text: S_AQSBH = D .
Selection Text: S_AUGBD = D Posting Date of Clearing
Selection Text: P_UPD = Extracted
Selection Text: P_UNRPTD = Unreported
Selection Text: P_SEQ = Create Output File
Selection Text: P_RPTD = Reported
Selection Text: P_RPT = Create List
Selection Text: P_FILE = File Name (Sequential)
Title: 1099 Reporting - Data Extraction
Text Symbol: ERR = Error Messages
Text Symbol: 006 = Total Records with Update Errors:
Text Symbol: 005 = Total Records Updated:
Text Symbol: 004 = Number of Entries in the Sequential File
Text Symbol: 003 = Selection Criteria
Text Symbol: 002 = Output
Text Symbol: 001 = General Selection


INCLUDES used within this REPORT RFKK1099

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:

FILE_GET_NAME CALL FUNCTION 'FILE_GET_NAME' EXPORTING logical_filename = gc_fname including_dir = 'X' IMPORTING file_name = p_file EXCEPTIONS others = 0.

FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = gc_fname CHANGING physical_filename = p_file EXCEPTIONS OTHERS = 1.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = lv_repid i_internal_tabname = lc_tabname i_structure_name = 'DFKK1099_A' i_client_never_display = 'X' CHANGING ct_fieldcat = t_fieldcat.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING it_fieldcat = t_fieldcat[] TABLES t_outtab = pt_1099alv EXCEPTIONS program_error = 1 OTHERS = 2.

BUP_PARTNER_GET CALL FUNCTION 'BUP_PARTNER_GET' EXPORTING i_partner = ps_dfkk1099-gpart i_addrnumber = ps_dfkk1099-emadr IMPORTING e_but000_address = ls_but000_addr EXCEPTIONS partner_not_found = 1 wrong_parameters = 2 OTHERS = 2.

BUPA_TAX_READ * CALL FUNCTION 'BUPA_TAX_READ' * EXPORTING * iv_partner = ps_dfkk1099-gpart * TABLES * et_data = lt_bptaxid_itab * EXCEPTIONS * no_valid_record_found = 1 * OTHERS = 99.

BUPA_TAX_READ CALL FUNCTION 'BUPA_TAX_READ' EXPORTING iv_partner = ps_dfkk1099-gpart IMPORTING et_data = lt_bptaxid_itab EXCEPTIONS no_valid_record_found = 1 OTHERS = 2.

FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING LOGICAL_FILENAME = gc_fname CHANGING PHYSICAL_FILENAME = p_file EXCEPTIONS LOGICAL_FILENAME_NOT_FOUND = 1 VALIDATION_FAILED = 2 OTHERS = 3.

FI_COMPANY_CODE_DATA CALL FUNCTION 'FI_COMPANY_CODE_DATA' EXPORTING i_bukrs = pv_bukrs IMPORTING e_t001 = ls_t001 EXCEPTIONS system_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 RFKK1099 or its description.