SAP Reports / Programs

ROIGSP02 SAP ABAP Report - SAPScript output for TD Bulk Shipments - Scheduling







ROIGSP02 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 ROIGSP02 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 ROIGSP02. "Basic submit
SUBMIT ROIGSP02 AND RETURN. "Return to original report after report execution complete
SUBMIT ROIGSP02 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 TD Bulk Shipments - Scheduling
Text Symbol: W01 = Not found
Text Symbol: W02 = Unknown carrier
Text Symbol: W03 = Unknown transport plan point
Text Symbol: W04 = Unknown route
Text Symbol: W05 = Unknown material


INCLUDES used within this REPORT ROIGSP02

INCLUDE: RVADTABL.
INCLUDE: ROIGSPD2.
INCLUDE RVADOPFO.
INCLUDE ROIGSPI2.


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:

WY_LFA1_SINGLE_READ CALL FUNCTION 'WY_LFA1_SINGLE_READ' EXPORTING PI_LIFNR = G_OIGSV_TAB-CARRIER IMPORTING PO_LFA1 = LFA1 EXCEPTIONS NO_RECORDS_FOUND = 1 OTHERS = 2.

CONTROL_FORM CALL FUNCTION 'CONTROL_FORM' EXPORTING COMMAND = 'ENDPROTECT'.

WRITE_FORM CALL FUNCTION 'WRITE_FORM' EXPORTING ELEMENT = 'NEW_PAGE' EXCEPTIONS OTHERS = 1.

CONTROL_FORM CALL FUNCTION 'CONTROL_FORM' EXPORTING COMMAND = 'PROTECT'.

WRITE_FORM CALL FUNCTION 'WRITE_FORM' EXPORTING ELEMENT = TEXTELEMENT EXCEPTIONS OTHERS = 1.

CLOSE_FORM CALL FUNCTION 'CLOSE_FORM' EXCEPTIONS OTHERS = 1.

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.

MAKT_SINGLE_READ CALL FUNCTION 'MAKT_SINGLE_READ' EXPORTING MATNR = OIGSVMQ_RE-MATNR SPRAS = NAST-SPRAS IMPORTING WMAKT = MAKT EXCEPTIONS WRONG_CALL = 1 NOT_FOUND = 2 OTHERS = 3.

KNA1_SINGLE_READ

V_KNA1_SINGLE_READ *KH CALL FUNCTION 'KNA1_SINGLE_READ' CALL FUNCTION 'V_KNA1_SINGLE_READ' ">46B KH EXPORTING PI_KUNNR = LIKP-KUNNR ">46B KH IMPORTING PE_KNA1 = kna1 ">46B KH EXCEPTIONS NO_RECORDS_FOUND = 1 ">46B KH OTHERS = 2.

WY_LFA1_SINGLE_READ CALL FUNCTION 'WY_LFA1_SINGLE_READ' EXPORTING PI_LIFNR = LIKP-LIFNR IMPORTING PO_LFA1 = LFA1 EXCEPTIONS NO_RECORDS_FOUND = 1 OTHERS = 2.

FLTP_CHAR_CONVERSION CALL FUNCTION 'FLTP_CHAR_CONVERSION' EXPORTING DECIM = PI_DECIM EXPON = 0 INPUT = PI_INPUT IVALU = C_X * MASKN = ' ' IMPORTING FLSTR = PO_FLSTR.

FP_FUNCTION_MODULE_NAME CALL FUNCTION 'FP_FUNCTION_MODULE_NAME' EXPORTING i_name = lv_pdfname IMPORTING e_funcname = fm_name e_interface_type = gv_interface_type.

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_JOB_CLOSE CALL FUNCTION 'FP_JOB_CLOSE' EXCEPTIONS usage_error = 1 system_error = 2 internal_error = 3 OTHERS = 4.

WY_LFA1_SINGLE_READ CALL FUNCTION 'WY_LFA1_SINGLE_READ' EXPORTING pi_lifnr = g_oigsv_tab-carrier IMPORTING po_lfa1 = lfa1 EXCEPTIONS no_records_found = 1 OTHERS = 2.

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 = 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.



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