SAP Reports / Programs | Trader's and Scheduler's Workbench | Industry Solution Oil | Trader's and Scheduler's Workbench(IS-OIL-DS-TSW) SAP IS

OIJ_RU_FORMS_F01 SAP ABAP INCLUDE - Include OIJ_RU_FORMS_F01







OIJ_RU_FORMS_F01 is a standard ABAP INCLUDE 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 OIJ_RU_FORMS_F01 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 OIJ_RU_FORMS_F01. "Basic submit
SUBMIT OIJ_RU_FORMS_F01 AND RETURN. "Return to original report after report execution complete
SUBMIT OIJ_RU_FORMS_F01 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Include OIJ_RU_FORMS_F01


INCLUDES used within this REPORT OIJ_RU_FORMS_F01

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:

FP_FUNCTION_MODULE_NAME CALL FUNCTION 'FP_FUNCTION_MODULE_NAME' EXPORTING i_name = g_form_name IMPORTING e_funcname = l_function_module_name.

FP_JOB_OPEN CALL FUNCTION 'FP_JOB_OPEN' CHANGING ie_outputparams = ls_outputparams EXCEPTIONS OTHERS = 5.

FP_JOB_CLOSE CALL FUNCTION 'FP_JOB_CLOSE' EXCEPTIONS OTHERS = 4.

FP_FUNCTION_MODULE_NAME CALL FUNCTION 'FP_FUNCTION_MODULE_NAME' EXPORTING i_name = g_form_name IMPORTING e_funcname = l_function_module_name.

FP_JOB_OPEN CALL FUNCTION 'FP_JOB_OPEN' CHANGING ie_outputparams = ls_outputparams EXCEPTIONS OTHERS = 5.

FP_JOB_CLOSE CALL FUNCTION 'FP_JOB_CLOSE' EXCEPTIONS OTHERS = 4.

OIJLOC_SINGLE_READ CALL FUNCTION 'OIJLOC_SINGLE_READ' EXPORTING iv_locid = ip_locid IMPORTING es_oijloc = ls_location.

OIFSPBL_SINGLE_READ * CALL FUNCTION 'OIFSPBL_SINGLE_READ' * EXPORTING * oifspbl_pblnr = ls_location-pblnr * read_address = 'X' * IMPORTING * wadrc = ls_address * EXCEPTIONS * not_found = 1 * OTHERS = 2.

T001W_SINGLE_READ CALL FUNCTION 'T001W_SINGLE_READ' EXPORTING * KZRFB = ' ' t001w_werks = lp_plant IMPORTING wt001w = ls_plant_details EXCEPTIONS not_found = 1 OTHERS = 2.

GET_PLANT_DETAILS * CALL FUNCTION 'GET_PLANT_DETAILS' * EXPORTING * i_werks = lp_plant * IMPORTING * e_t001w = ls_plant_details * EXCEPTIONS * OTHERS = 3. "#EC FB_RC

T001L_SINGLE_READ CALL FUNCTION 'T001L_SINGLE_READ' EXPORTING t001l_werks = lp_plant t001l_lgort = lp_lgort IMPORTING wt001l = ls_storage_location_details EXCEPTIONS OTHERS = 2. "#EC FB_RC

FI_VENDOR_DATA CALL FUNCTION 'FI_VENDOR_DATA' EXPORTING i_lifnr = lp_lifnr IMPORTING e_kred = ls_vendor_details EXCEPTIONS OTHERS = 2. "#EC FB_RC

FI_CUSTOMER_DATA CALL FUNCTION 'FI_CUSTOMER_DATA' EXPORTING i_kunnr = lp_kunnr IMPORTING e_debi = ls_customer_details EXCEPTIONS OTHERS = 2. "#EC FB_RC

ADDR_GET * CALL FUNCTION 'ADDR_GET' * EXPORTING * address_selection = ls_address_selection * IMPORTING * address_value = ls_address_value * EXCEPTIONS * OTHERS = 5.

OIJ_RU_PEG_O2D CALL FUNCTION 'OIJ_RU_PEG_O2D' EXPORTING i_nomtk_o = p_nomtk i_nomit_o = p_nomit i_subitem = p_subitem * I_EXT_PEG = ' ' * IT_ITEMS = IMPORTING e_nomtk_d = lv_nomtk e_nomit_d = lv_nomit EXCEPTIONS not_found = 1 not_unique = 2 no_items = 3 no_customizing = 4 OTHERS = 5.

ADDR_GET CALL FUNCTION 'ADDR_GET' EXPORTING address_selection = sel_adr address_group = 'CA01' * READ_SADR_ONLY = ' ' * READ_TEXTS = ' ' IMPORTING address_value = addr1_val * ADDRESS_ADDITIONAL_INFO = * RETURNCODE = * ADDRESS_TEXT = * SADR = * TABLES * ADDRESS_GROUPS = * ERROR_TABLE = * VERSIONS = EXCEPTIONS parameter_error = 1 address_not_exist = 2 version_not_exist = 3 internal_error = 4 OTHERS = 5.

ADDR_GET CALL FUNCTION 'ADDR_GET' EXPORTING address_selection = sel_adr address_group = 'CA01' * READ_SADR_ONLY = ' ' * READ_TEXTS = ' ' IMPORTING address_value = addr1_val * ADDRESS_ADDITIONAL_INFO = * RETURNCODE = * ADDRESS_TEXT = * SADR = * TABLES * ADDRESS_GROUPS = * ERROR_TABLE = * VERSIONS = EXCEPTIONS parameter_error = 1 address_not_exist = 2 version_not_exist = 3 internal_error = 4 OTHERS = 5.

READ_TEXT

READ_TEXT * CALL FUNCTION 'READ_TEXT'
CALL FUNCTION 'READ_TEXT' EXPORTING * CLIENT = SY-MANDT id = 'COMM' language = 'R' name = l_name object = 'OIJRCODE_I' * ARCHIVE_HANDLE = 0 * LOCAL_CAT = ' ' * IMPORTING * HEADER = TABLES lines = lt_lines EXCEPTIONS id = 1 language = 2 name = 3 not_found = 4 object = 5 reference_check = 6 wrong_access_to_archive = 7 OTHERS = 8 .






READ_TEXT CALL FUNCTION 'READ_TEXT' EXPORTING * CLIENT = SY-MANDT id = 'COMM' language = sy-langu name = l_name object = 'OIJRCODE_I' * ARCHIVE_HANDLE = 0 * LOCAL_CAT = ' ' * IMPORTING * HEADER = TABLES lines = lt_lines EXCEPTIONS id = 1 language = 2 name = 3 not_found = 4 object = 5 reference_check = 6 wrong_access_to_archive = 7 OTHERS = 8.

MATERIAL_UNIT_CONVERSION CALL FUNCTION 'MATERIAL_UNIT_CONVERSION' EXPORTING input = p_menge kzmeinh = 'X' matnr = p_matnr meinh = p_meins IMPORTING meins = out_meins output = out EXCEPTIONS conversion_not_found = 1 input_invalid = 2 material_not_found = 3 meinh_not_found = 4 meins_missing = 5 no_meinh = 6 output_invalid = 7 overflow = 8 OTHERS = 9.

MATERIAL_UNIT_CONVERSION CALL FUNCTION 'MATERIAL_UNIT_CONVERSION' EXPORTING input = out kzmeinh = '' matnr = p_matnr meinh = 'TO' IMPORTING meins = out2_meins output = out2 EXCEPTIONS conversion_not_found = 1 input_invalid = 2 material_not_found = 3 meinh_not_found = 4 meins_missing = 5 no_meinh = 6 output_invalid = 7 overflow = 8 OTHERS = 9.

SCMS_XSTRING_TO_BINARY CALL FUNCTION 'SCMS_XSTRING_TO_BINARY' EXPORTING buffer = p_data IMPORTING output_length = l_len TABLES binary_tab = l_tab.



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