SAP Reports / Programs

ROIRDC01 SAP ABAP Report - Sapscript output for SSR Group output (daily claim)







ROIRDC01 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter ROIRDC01 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 ROIRDC01. "Basic submit
SUBMIT ROIRDC01 AND RETURN. "Return to original report after report execution complete
SUBMIT ROIRDC01 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Sapscript output for SSR Group output (daily claim)
Text Symbol: 001 = -
Text Symbol: 002 = +
Text Symbol: O01 = FC - Invoice no.
Text Symbol: O02 = Cash/CC - Invoice no.
Text Symbol: O03 = Canc.FC-Invoice no.
Text Symbol: O04 = Canc.cash/CC-Invoice no.
Text Symbol: O06 = Amount, due immediately
Text Symbol: O10 = Sales until
Text Symbol: O11 = Flush
Text Symbol: O12 = Meter Reset


INCLUDES used within this REPORT ROIRDC01

INCLUDE: RVADTABL.
INCLUDE RVADOPFO.


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:

V_KNA1_SINGLE_READ CALL FUNCTION 'V_KNA1_SINGLE_READ' EXPORTING pi_kunnr = gt_source_vbrk-kunrg IMPORTING pe_kna1 = kna1 EXCEPTIONS no_records_found = 1 OTHERS = 2.

OIRI_SELECT_DAILY_INFO CALL FUNCTION 'OIRI_SELECT_DAILY_INFO' EXPORTING i_sptag_range = gr_fkdat[] i_p_files = s_files[] IMPORTING e_summ_month_tab = gt_s434_summ_month[] e_summ_day_tab = gt_s434_summ[] e_daily_summary_tab = gt_summary[] e_daily_fuels_tab = gt_fuels_info[] e_daily_pc_tab = gt_pc_info[] * E_POINTER_TAB = e_doc_numbers = gt_doc_numbers[] * E_PBLNR_TAB = * E_PRINTDOCS_TAB = * E_OIRTEXT1_LABEL = * E_OIRTEXT2_LABEL = TABLES pt_vbrk = gt_source_vbrk pt_vbrp = gt_source_vbrp CHANGING c_pblnr_range = gr_pblnr[].

RV_BILLING_PRINT_VIEW CALL FUNCTION 'RV_BILLING_PRINT_VIEW' EXPORTING comwa = vbco3 IMPORTING kopf = vbdkr TABLES pos = tvbdpr EXCEPTIONS terms_of_payment_not_in_t052 = 1 error_message = 5 OTHERS = 4.

NAST_PROTOCOL_UPDATE CALL FUNCTION 'NAST_PROTOCOL_UPDATE' EXPORTING msg_arbgb = syst-msgid msg_nr = syst-msgno msg_ty = syst-msgty msg_v1 = syst-msgv1 msg_v2 = syst-msgv2 msg_v3 = syst-msgv3 msg_v4 = syst-msgv4 EXCEPTIONS OTHERS = 1.

OIRBPBLB_SINGLE_READ CALL FUNCTION 'OIRBPBLB_SINGLE_READ' EXPORTING * KZRFB = ' ' oirbpblb_pblnr = pi_oiripblnr oirbpblb_rnbt = 'FUEL' IMPORTING woirbpblb = l_woirbpblb EXCEPTIONS not_found = 1 OTHERS = 2.

OIRB_GET_PROFILE CALL FUNCTION 'OIRB_GET_PROFILE' EXPORTING i_f_pr = l_woirbpblb-f_pr * I_MATNR = * I_PBLNR = * I_RNBT = IMPORTING e_fuels_pr = l_profile EXCEPTIONS profile_not_found = 1 OTHERS = 2 .

DATE_CONVERT_TO_FACTORYDATE CALL FUNCTION 'DATE_CONVERT_TO_FACTORYDATE' EXPORTING * CORRECT_OPTION = '+' date = l_date factory_calendar_id = l_calid IMPORTING date = l_date factorydate = l_fact_date workingday_indicator = l_workingday_indicator EXCEPTIONS calendar_buffer_not_loadable = 1 correct_option_invalid = 2 date_after_range = 3 date_before_range = 4 date_invalid = 5 factory_calendar_not_found = 6 OTHERS = 7.

RV_PRICE_PRINT_HEAD CALL FUNCTION 'RV_PRICE_PRINT_HEAD' EXPORTING comm_head_i = komk language = nast-spras IMPORTING comm_head_e = komk comm_mwskz = print_mwskz TABLES tkomv = tkomv tkomvd = hkomvd.

WRITE_FORM CALL FUNCTION 'WRITE_FORM' EXPORTING element = p_element * FUNCTION = 'SET' * TYPE = 'BODY' window = p_window * IMPORTING * PENDING_LINES = EXCEPTIONS element = 1 function = 2 type = 3 unopened = 4 unstarted = 5 window = 6 bad_pageformat_for_print = 7 OTHERS = 8 .

WRITE_FORM CALL FUNCTION 'WRITE_FORM' EXPORTING element = 'HEADER_CONSGNEE' window = 'INFO1' EXCEPTIONS element = 1 window = 2.

WRITE_FORM CALL FUNCTION 'WRITE_FORM' EXPORTING element = 'TAX_TEXT' EXCEPTIONS element = 1 window = 2.

CONTROL_FORM CALL FUNCTION 'CONTROL_FORM' EXPORTING command = pi_command EXCEPTIONS unopened = 1 unstarted = 2 OTHERS = 3.

CLOSE_FORM CALL FUNCTION 'CLOSE_FORM' IMPORTING result = i_itcpp EXCEPTIONS OTHERS = 1.

J_1A_SD_UPD_NUM_OF_PAGES CALL FUNCTION 'J_1A_SD_UPD_NUM_OF_PAGES' EXPORTING pages = i_itcpp-tdpages vbeln = vbdkr-vbeln bukrs = vbdkr-bukrs.

NAST_PROTOCOL_UPDATE CALL FUNCTION 'NAST_PROTOCOL_UPDATE' EXPORTING msg_arbgb = syst-msgid msg_nr = syst-msgno msg_ty = syst-msgty msg_v1 = syst-msgv1 msg_v2 = syst-msgv2 msg_v3 = syst-msgv3 msg_v4 = syst-msgv4 EXCEPTIONS OTHERS = 1.

WRITE_FORM CALL FUNCTION 'WRITE_FORM' EXPORTING element = pi_element * FUNCTION = 'SET' type = 'TOP' window = pi_window * IMPORTING * PENDING_LINES = EXCEPTIONS element = 1 function = 2 type = 3 unopened = 4 unstarted = 5 window = 6 bad_pageformat_for_print = 7 OTHERS = 8 .

ADDR_GET_NEXT_COMM_TYPE CALL FUNCTION 'ADDR_GET_NEXT_COMM_TYPE' EXPORTING strategy = nast-tcode address_number = addr_key-addrnumber person_number = addr_key-persnumber IMPORTING comm_type = lvs_comm_type comm_values = lvs_comm_values EXCEPTIONS address_not_exist = 1 person_not_exist = 2 no_comm_type_found = 3 internal_error = 4 parameter_error = 5 OTHERS = 6.

CONVERT_COMM_TYPE_DATA CALL FUNCTION 'CONVERT_COMM_TYPE_DATA' EXPORTING pi_comm_type = lvs_comm_type pi_comm_values = lvs_comm_values pi_screen = us_screen pi_country = l_us_country pi_repid = lvf_program pi_snast = lvs_snast IMPORTING pe_itcpo = lvs_itcpo pe_device = lvf_device pe_mail_recipient = lvs_recipient pe_mail_sender = lvs_sender EXCEPTIONS comm_type_not_supported = 1 recipient_creation_failed = 2 sender_creation_failed = 3 OTHERS = 4.

FP_JOB_OPEN





CALL FUNCTION 'FP_JOB_OPEN' CHANGING ie_outputparams = fp_outputparams EXCEPTIONS cancel = 1 usage_error = 2 system_error = 3 internal_error = 4 OTHERS = 5.

FP_FUNCTION_MODULE_NAME CALL FUNCTION 'FP_FUNCTION_MODULE_NAME' EXPORTING i_name = gv_form IMPORTING e_funcname = gv_fm_name.

FP_JOB_CLOSE CALL FUNCTION 'FP_JOB_CLOSE' EXCEPTIONS usage_error = 1 system_error = 2 internal_error = 3 OTHERS = 4.



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