SAP Reports / Programs | Financial Accounting | Localization(FI-LOC) SAP FI

RFIDPL06 SAP ABAP Report - VAT Register (Poland)







RFIDPL06 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for You use this report to prepare VAT registers for Poland...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 RFIDPL06 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 RFIDPL06. "Basic submit
SUBMIT RFIDPL06 AND RETURN. "Return to original report after report execution complete
SUBMIT RFIDPL06 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


060
Selection Text: DOK_KORY = SD document category
Selection Text: DOK_ZSD = Document type
Selection Text: GV_VATDT = Tax Reporting Date
Selection Text: O_SDOC = Reversal/reversed docs. only
Selection Text: PAR_ACTS = Process customs documents
Selection Text: PAR_ADR = Subledger account address data
Selection Text: PAR_CI = Cleared vendor items only
Selection Text: PAR_INCE = Incl. docs w errors in totals
Selection Text: PAR_TIT = List title
Selection Text: PAR_TOLR = Tolerance for VAT rounding
Selection Text: PAR_TOT = Display totals only
Selection Text: P_ALV = ALV List
Selection Text: P_BEZK = No correction documents
Selection Text: P_BEZSD = All documents
Selection Text: W_SDOC = All documents
Selection Text: W_O_SDOC = No reversal/reversed docs.
Selection Text: TOT_NEV = Never
Selection Text: TOT_FEW = Only if >1 tax code per doc.
Selection Text: TOT_ALW = Always
Selection Text: SEL_TAX = VAT code
Selection Text: SEL_MNCT = Processing tax code
Selection Text: SEL_IMTX = Import tax code
Selection Text: SEL_EXCS = Consumption tax code
Selection Text: SEL_DUTY = Customs ID
Selection Text: SEL_DATB = Tax date
Selection Text: SEL_CLDA = Document type for clrg docmnts
Selection Text: P_WRITE = ABAP List
Selection Text: P_TKOR = Correction documents only
Title: VAT Register (Poland)
Text Symbol: 140 = Customs documents
Text Symbol: 170 = Select one company code only
Text Symbol: 171 = Settings for tax reporting date are unclear
Text Symbol: 200 = Documents posted from SD
Text Symbol: 201 = SD doc. type for corr. docs. missing
Text Symbol: 202 = SD doc.type miss.
Text Symbol: 203 = Parameters cannot be selected
Text Symbol: 210 = List of documents for which no SD document was found





Text Symbol: 211 = | Co. code | Document no. | F year | Doc. type |
Text Symbol: 300 = |Seq. No.|Tri|R/3 Doc. No.|Doc. Date |Ref. Doc. No. |Tax Date |Gross |Net |VAT |
Text Symbol: 303 = Seq. no. Ref.doc.no. Customs clr. date Customs Marginal tax Usage Processing costs
Text Symbol: 304 = R/3 document no.
Text Symbol: 401 = Items
Text Symbol: 402 = Output
Text Symbol: 403 = Show document totals
Text Symbol: 404 = Other Selections
Text Symbol: 501 = Time:
Text Symbol: 502 = Date :
Text Symbol: 503 = Page:
Text Symbol: 801 = Output List
Text Symbol: 802 = Layout
Text Symbol: 803 = Processed Documents
Text Symbol: 804 = Configure
Text Symbol: 805 = Documents with Errors
Text Symbol: M01 = Selection not possible if indicator "Cleared items only" not selected
Text Symbol: M02 = Parameter cannot be selected if "Process customs documents" not selected
Text Symbol: M03 = Enter special VAT code
Text Symbol: 139 = Cleared Items
Text Symbol: 028 = Total Tax
Text Symbol: 027 = ****** No items found ******
Text Symbol: 026 = *** End of List ***
Text Symbol: 025 = Net Total
Text Symbol: 024 = Gross Total
Text Symbol: 023 = VAT
Text Symbol: 022 = Net
Text Symbol: 021 = Incorrect docs.:
Text Symbol: 020 = Total Amount
Text Symbol: 019 = Gross
Text Symbol: 018 = Tax Name
Text Symbol: 017 = Code
Text Symbol: 016 = NIP
Text Symbol: 015 = Name
Text Symbol: 014 = Acct No.
Text Symbol: 013 = Tax Date
Text Symbol: 012 = Ref. Doc. No.
Text Symbol: 011 = SAP Doc. No.
Text Symbol: 010 = Name





Text Symbol: 009 = Posting date is invalid
Text Symbol: 008 = Gross amount calculated is different from total of the tax amount calculated and the net amount
Text Symbol: 007 = Tax amount calculated is different from net amount multiplied by percentage rate
Text Symbol: 006 = ???
Text Symbol: 005 = Name for VAT code missing from table T007S
Text Symbol: 004 = Condition name for VAT code missing from table T685T
Text Symbol: 003 = Cond. record for VAT code missing fr. table KONH
Text Symbol: 002 = VAT perc. rate missing from table KONP
Text Symbol: 001 = VAT code miss. fr. table T007A
Text Symbol: 138 = Reversal documents and reversed documents
Text Symbol: 127 = ???
Text Symbol: 126 = VAT code Description Stat. amt/payable Tax base VAT
Text Symbol: 125 = VAT code Description Gross Net VAT
Text Symbol: 111 = Stat. amt/payable Net VAT
Text Symbol: 110 = Document type/description Gross Net VAT
Text Symbol: 102 = Seq. No.Doc. No. Doc. Date Posted/Descr. Stat. Amnt/Payable Tax Base VAT R
Text Symbol: 101 = Customer/Vendor (Acct No., Name, NIP)
Text Symbol: 061 = To
Text Symbol: 060 = Company Code Summary From
Text Symbol: 059 = NAV - Nonded.
Text Symbol: 058 = ESA - Output Tax EU
Text Symbol: 057 = ESE - Input Tax EU
Text Symbol: 056 = VST - Input Tax
Text Symbol: 055 = MWS - Output Tax
Text Symbol: 054 = Legend
Text Symbol: 053 = * Input Tax:
Text Symbol: 052 = ** Nondeductible
Text Symbol: 051 = ** Deductible
Text Symbol: 050 = * Output Tax:
Text Symbol: 042 = Output Options (ALV List)
Text Symbol: 041 = Output Options (ABAP List)
Text Symbol: 040 = Output Format
Text Symbol: 033 = City
Text Symbol: 032 = PCd
Text Symbol: 031 = Street
Text Symbol: 030 = Seq.No.
Text Symbol: 029 = Code Description
001 Company Code Summary From


INCLUDES used within this REPORT RFIDPL06

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:

STRING_LENGTH CALL FUNCTION 'STRING_LENGTH' EXPORTING string = documents-taxdesc IMPORTING length = txcd_length EXCEPTIONS OTHERS = 1.

STRING_LENGTH * CALL FUNCTION 'STRING_LENGTH' * EXPORTING * STRING = SY-TITLE * IMPORTING * LENGTH = T_LEN.

STRING_LENGTH * CALL FUNCTION 'STRING_LENGTH' * EXPORTING * STRING = DOD_TYT * IMPORTING * LENGTH = T_LEN.

GET_PRINT_PARAMETERS CALL FUNCTION 'GET_PRINT_PARAMETERS' "EOP EXPORTING "EOP mode = 'CURRENT' "EOP no_dialog = 'X' "EOP IMPORTING "EOP out_parameters = pparm "EOP out_archive_parameters = arc_params valid = val_flg "EOP EXCEPTIONS "EOP archive_info_not_found = 1 "EOP invalid_print_params = 2 "EOP invalid_archive_params = 3 "EOP OTHERS = 4. "EOP

GET_PRINT_PARAMETERS CALL FUNCTION 'GET_PRINT_PARAMETERS' "EOP EXPORTING "EOP in_parameters = pparm "EOP in_archive_parameters = arc_params line_count = lin_cnt "EOP mode = 'PARAMS' "EOP no_dialog = 'X' "EOP IMPORTING "EOP out_parameters = pparm "EOP out_archive_parameters = arc_params valid = val_flg "EOP EXCEPTIONS "EOP archive_info_not_found = 1 "EOP invalid_print_params = 2 "EOP invalid_archive_params = 3 "EOP OTHERS = 4. "EOP

INITIALIZE_STRUCTURE CALL FUNCTION 'INITIALIZE_STRUCTURE' EXPORTING i_n_fill = 0 i_i_fill = 0 CHANGING c_workarea = gw_documents.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = gv_repid i_structure_name = gc_rfidpl06_1 it_fieldcat = lt_fcat it_sort = gt_sort "SORT TABLE i_save = gc_save is_variant = gs_variant i_callback_pf_status_set = 'HANDLE_SET_PF_STATUS' TABLES t_outtab = temp_cust EXCEPTIONS program_error = 1 OTHERS = 2.

INITIALIZE_STRUCTURE CALL FUNCTION 'INITIALIZE_STRUCTURE' EXPORTING i_n_fill = 0 i_i_fill = 0 CHANGING c_workarea = gw_documents.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = gv_repid i_structure_name = gc_rfidpl06_1 it_fieldcat = lt_fcat it_sort = gt_sort "SORT TABLE i_save = gc_save is_variant = gs_variant i_callback_pf_status_set = 'HANDLE_SET_PF_STATUS' TABLES t_outtab = temp_cust EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = lv_repid i_structure_name = iv_struct CHANGING ct_fieldcat = xt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = iv_repid is_layout = is_layout it_fieldcat = it_fcat it_events = it_events it_sort = gt_sort "SORT TABLE i_save = gc_save is_variant = gs_variant i_callback_pf_status_set = 'HANDLE_SET_PF_STATUS' TABLES t_outtab = it_documents EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = iv_repid is_layout = is_layout it_fieldcat = it_fcat it_events = it_events i_callback_pf_status_set = 'HANDLE_SET_PF_STATUS' TABLES t_outtab = it_documents EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_VARIANT_F4 CALL FUNCTION 'REUSE_ALV_VARIANT_F4' EXPORTING is_variant = ls_variant i_save = gc_save IMPORTING e_exit = l_exit es_variant = l_variant_help.

REUSE_ALV_VARIANT_EXISTENCE CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE' EXPORTING i_save = gc_save CHANGING cs_variant = ls_variant.



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