SAP Reports / Programs | Downstream | Industry Solution Oil | Downstream(IS-OIL-DS) SAP IS

S3VBAFOI SAP ABAP INCLUDE - IS-Oil Forms for Archive Object SD_VBAK







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


Text pool values


Title: IS-Oil Forms for Archive Object SD_VBAK


INCLUDES used within this REPORT S3VBAFOI

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:

ARCHIVE_PUT_TABLE CALL FUNCTION 'ARCHIVE_PUT_TABLE' EXPORTING ARCHIVE_HANDLE = ARCHIVE_HANDLE RECORD_FLAGS = ' ' RECORD_STRUCTURE = 'OIA05H' TABLES TABLE = YOIA05H.

ARCHIVE_PUT_TABLE CALL FUNCTION 'ARCHIVE_PUT_TABLE' EXPORTING ARCHIVE_HANDLE = ARCHIVE_HANDLE RECORD_FLAGS = ' ' RECORD_STRUCTURE = 'OIA05' TABLES TABLE = YOIA05.

ARCHIVE_PUT_TABLE CALL FUNCTION 'ARCHIVE_PUT_TABLE' EXPORTING ARCHIVE_HANDLE = ARCHIVE_HANDLE RECORD_FLAGS = ' ' RECORD_STRUCTURE = 'OICQ7' TABLES TABLE = YOICQ7.

ARCHIVE_PUT_TABLE CALL FUNCTION 'ARCHIVE_PUT_TABLE' EXPORTING ARCHIVE_HANDLE = ARCHIVE_HANDLE RECORD_FLAGS = ' ' RECORD_STRUCTURE = 'OICQ8' TABLES TABLE = YOICQ8.

ARCHIVE_PUT_TABLE CALL FUNCTION 'ARCHIVE_PUT_TABLE' EXPORTING ARCHIVE_HANDLE = ARCHIVE_HANDLE RECORD_FLAGS = ' ' RECORD_STRUCTURE = 'OICQ9' TABLES TABLE = YOICQ9.

ARCHIVE_PUT_TABLE CALL FUNCTION 'ARCHIVE_PUT_TABLE' EXPORTING ARCHIVE_HANDLE = ARCHIVE_HANDLE RECORD_FLAGS = ' ' RECORD_STRUCTURE = 'OICINT_MASTER' TABLES TABLE = YOICIN.

ARCHIVE_PUT_TABLE CALL FUNCTION 'ARCHIVE_PUT_TABLE' EXPORTING ARCHIVE_HANDLE = ARCHIVE_HANDLE RECORD_FLAGS = ' ' RECORD_STRUCTURE = 'OIANF' TABLES TABLE = YOIANF.

ARCHIVE_PUT_TABLE CALL FUNCTION 'ARCHIVE_PUT_TABLE' EXPORTING ARCHIVE_HANDLE = ARCHIVE_HANDLE RECORD_FLAGS = ' ' RECORD_STRUCTURE = 'OIAF7' TABLES TABLE = YOIAF7.

ARCHIVE_PUT_TABLE CALL FUNCTION 'ARCHIVE_PUT_TABLE' EXPORTING ARCHIVE_HANDLE = ARCHIVE_HANDLE RECORD_FLAGS = ' ' RECORD_STRUCTURE = 'OIAF8' TABLES TABLE = YOIAF8.

ARCHIVE_PUT_TABLE CALL FUNCTION 'ARCHIVE_PUT_TABLE' EXPORTING ARCHIVE_HANDLE = ARCHIVE_HANDLE RECORD_FLAGS = ' ' RECORD_STRUCTURE = 'OIAF9' TABLES TABLE = YOIAF9.

ARCHIVE_PUT_TABLE call function 'ARCHIVE_PUT_TABLE' exporting archive_handle = archive_handle record_flags = ' ' record_structure = 'OIJ_EL_DOC_MOT' tables table = gty_doc_mot.

ARCHIVE_PUT_TABLE call function 'ARCHIVE_PUT_TABLE' exporting archive_handle = archive_handle record_flags = ' ' record_structure = 'OIJ_EL_DOC_M_MOT' tables table = gty_doc_m_mot.

ARCHIVE_PUT_TABLE call function 'ARCHIVE_PUT_TABLE' exporting archive_handle = archive_handle record_flags = ' ' record_structure = 'OIJ_EL_DOC_I_REF' tables table = gty_doc_i_ref.

ARCHIVE_PUT_TABLE call function 'ARCHIVE_PUT_TABLE' exporting archive_handle = archive_handle record_flags = ' ' record_structure = 'OIJ_EL_DOC_EV' tables table = gty_doc_ev.

ARCHIVE_PUT_TABLE call function 'ARCHIVE_PUT_TABLE' exporting archive_handle = archive_handle record_flags = ' ' record_structure = 'OIJ_EL_CP_LAYT' tables table = gty_cp_layt.

ARCHIVE_PUT_TABLE call function 'ARCHIVE_PUT_TABLE' exporting archive_handle = archive_handle record_flags = ' ' record_structure = 'OIJ_EL_CP_LOC' tables table = gty_cp_loc.

ARCHIVE_PUT_TABLE call function 'ARCHIVE_PUT_TABLE' exporting archive_handle = archive_handle record_flags = ' ' record_structure = 'OIJ_EL_CP_PROD' tables table = gty_cp_prod.

ARCHIVE_PUT_TABLE call function 'ARCHIVE_PUT_TABLE' exporting archive_handle = archive_handle record_flags = ' ' record_structure = 'OIJ_EL_LAYT_INF' tables table = gty_layt_inf.

ARCHIVE_PUT_TABLE





call function 'ARCHIVE_PUT_TABLE' exporting archive_handle = archive_handle record_flags = ' ' record_structure = 'OIJ_EL_LAYT_EV' tables table = gty_layt_ev.

ARCHIVE_PUT_TABLE CALL FUNCTION 'ARCHIVE_PUT_TABLE' EXPORTING ARCHIVE_HANDLE = ARCHIVE_HANDLE RECORD_FLAGS = ' ' RECORD_STRUCTURE = 'OIKLIDR' TABLES TABLE = YOIKLIDR.

ARCHIVE_PUT_TABLE CALL FUNCTION 'ARCHIVE_PUT_TABLE' EXPORTING ARCHIVE_HANDLE = ARCHIVE_HANDLE RECORD_FLAGS = ' ' RECORD_STRUCTURE = 'OIK01' TABLES TABLE = YOIK01.

ARCHIVE_PUT_TABLE CALL FUNCTION 'ARCHIVE_PUT_TABLE' EXPORTING ARCHIVE_HANDLE = ARCHIVE_HANDLE RECORD_FLAGS = ' ' RECORD_STRUCTURE = 'OIK01D' TABLES TABLE = YOIK01D.

OIJ_EL_B_VBTYP_TO_DOCIND call function 'OIJ_EL_B_VBTYP_TO_DOCIND' exporting i_vbtyp = ps_vbak-vbtyp importing e_docind = lv_docind exceptions not_found = 0 error_in_get_scenarios = 0.

OIJ_FILL_IREF_FOR_DOCNR CALL FUNCTION 'OIJ_FILL_IREF_FOR_DOCNR' EXPORTING I_VBELN = ps_vbak-vbeln I_VBTYP = lv_docind * IV_BYPASSING_BUFFER = * IV_REFRESH_BUFFER = TABLES ET_OIJ_EL_DOC_I_REF = LT_DOC_I_REF EXCEPTIONS NO_ENTRY_FOUND = 1 WRONG_INPUT = 2 OTHERS = 3.

OIJ_NOMST_CHECK_STATUS call function 'OIJ_NOMST_CHECK_STATUS' exporting iv_status = 'COMP' iv_nomtk = ls_doc_i_ref-nomtk exceptions status_not_set = 1 status_not_active = 2.

OIJ_NOMST_CHECK_STATUS call function 'OIJ_NOMST_CHECK_STATUS' exporting iv_status = 'COMP' iv_nomtk = ls_oijnomr-nomtk exceptions status_not_set = 1 status_not_active = 2.



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