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
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.
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
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
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.
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.
RFIDPL06 - VAT Register (Poland) RFIDPL06 - VAT Register (Poland) RFIDPH_STATUS_OR - Change Status of Official Receipts (Philippines) RFIDPH_STATUS_OR - Change Status of Official Receipts (Philippines) RFIDPH_ARCHIVE_WRITE - Archiving of Official Receipts (Philippines) RFIDPH_ARCHIVE_WRITE - Archiving of Official Receipts (Philippines)