SAP Reports / Programs | Transportation and Distribution | Industry Solution Oil | Transportation and Distribution(IS-OIL-DS-TD) SAP IS

ROIGASHV_DISPLAY_FORMS SAP ABAP INCLUDE - Include ROIGASHV_DISPLAY_FORMS







ROIGASHV_DISPLAY_FORMS 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 ROIGASHV_DISPLAY_FORMS 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 ROIGASHV_DISPLAY_FORMS. "Basic submit
SUBMIT ROIGASHV_DISPLAY_FORMS AND RETURN. "Return to original report after report execution complete
SUBMIT ROIGASHV_DISPLAY_FORMS 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 ROIGASHV_DISPLAY_FORMS


INCLUDES used within this REPORT ROIGASHV_DISPLAY_FORMS

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:

AS_API_INFOSTRUC_FIND call function 'AS_API_INFOSTRUC_FIND' exporting i_fieldcat = 'SAP_OIG_SHP01' i_fields = lt_fields_filled[] importing e_infostruc = lv_info_struct_name e_matching_fields = lt_matching_fields[] exceptions no_infostruc_found = 1.

AS_DATASOURCE_INIT call function 'AS_DATASOURCE_INIT' exporting i_report = sy-repid i_reporttype = space importing e_use_database = fp_readdb e_use_archive = fp_readar e_use_infosys = fp_readas et_arch_sel = fs_files[].

AS_DATASOURCE_SELECT call function 'AS_DATASOURCE_SELECT' exporting i_report = sy-repid i_reporttype = space i_db_and_arc = '' i_no_source_select = 'X' i_infosys_possible = 'X' it_objects = lt_arch_obj[] changing c_use_database = fp_readdb c_use_archive = fp_readar c_use_infosys = fp_readas ct_arch_sel = fs_files[].

ARCHIVE_OPEN_FOR_READ call function 'ARCHIVE_OPEN_FOR_READ' EXPORTING object = 'OIG_SHPMNT' IMPORTING archive_handle = lv_handle TABLES archive_files = lr_files_read_sequential[] EXCEPTIONS no_files_available = 1.

ARCHIVE_GET_NEXT_OBJECT call function 'ARCHIVE_GET_NEXT_OBJECT' EXPORTING archive_handle = lv_handle IMPORTING * object_offset = lv_obj_offset OBJECT_ID = G_OBJECT_ID archive_name = lv_archive_name EXCEPTIONS end_of_file = 1.

ARCHIVE_CLOSE_FILE call function 'ARCHIVE_CLOSE_FILE' EXPORTING archive_handle = lv_handle.

ARCHIVE_READ_OBJECT call function 'ARCHIVE_READ_OBJECT' EXPORTING object = 'OIG_SHPMNT' ARCHIVKEY = -ARCHIVEKEY OFFSET = -ARCHIVEOFS IMPORTING ARCHIVE_HANDLE = LV_HANDLE EXCEPTIONS NO_RECORD_FOUND = 1.

ARCHIVE_GET_TABLE call function 'ARCHIVE_GET_TABLE' "#EC * EXPORTING archive_handle = LV_HANDLE record_structure = fv_tabname ALL_RECORDS_OF_OBJECT = 'X' AUTOMATIC_CONVERSION = 'X' TABLES table = lt_oigs EXCEPTIONS END_OF_OBJECT = 1 INTERNAL_ERROR = 2 WRONG_ACCESS_TO_ARCHIVE = 3 OTHERS = 4.

ARCHIVE_CLOSE_FILE call function 'ARCHIVE_CLOSE_FILE' EXPORTING archive_handle = lv_handle.

AS_API_READ call function 'AS_API_READ' "1) exporting i_fieldcat = 'SAP_OIG_SHP01' i_selections = ft_selections[] importing e_result = ft_files_and_offset_as[] exceptions no_infostruc_found = 2.

ARCHIVE_FILES_ACCESS_KIND_GET call function 'ARCHIVE_FILES_ACCESS_KIND_GET' tables it_files_and_pos = ft_files_and_offset_as et_files_seq_read = lt_files_read_sequential et_files_obj_read = ft_files_read_by_object.

ARCHIVE_GET_NEXT_RECORD CALL FUNCTION 'ARCHIVE_GET_NEXT_RECORD' EXPORTING ARCHIVE_HANDLE = G_ARCHIVE_HANDLE IMPORTING RECORD = ARC_BUFFER-SEGMENT RECORD_STRUCTURE = ARC_BUFFER-RNAME EXCEPTIONS END_OF_OBJECT = 1 INTERNAL_ERROR = 2 WRONG_ACCESS_TO_ARCHIVE = 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 ROIGASHV_DISPLAY_FORMS or its description.