SAP Reports / Programs | Ownership | Industry Solution Oil | Ownership(IS-OIL-PRA-REV-OW) SAP IS

ROIUOW_CHECKOUT_CHECKIN_DOI SAP ABAP Report - DOI Checkin and Checkout in Batch







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


Text pool values


Selection Text: P_ACTION = CheckIn ?
Selection Text: P_BUKRS = D Company code
Selection Text: P_DOI_NO = D DOI
Selection Text: P_JOBID = D Job name
Selection Text: P_VNAME = D Joint Venture
Title: DOI Checkin and Checkout in Batch
Text Symbol: 001 = Checkout
Text Symbol: 002 = Sucessful
Text Symbol: 003 = Failed
Text Symbol: 004 = Checkin
Text Symbol: DOI = DOI
Text Symbol: ENT = Entry
Text Symbol: FND = FUNDS REPORT
Text Symbol: PPN = PPN REPORT
Text Symbol: SUB = was submitted


INCLUDES used within this REPORT ROIUOW_CHECKOUT_CHECKIN_DOI

INCLUDE LOIU_COMMONTP2.
INCLUDE LOIU_COMMONF02.
INCLUDE ROIUOW_VIEW_TRACE_DOI_TYPES_01. "ASR SOGK027229
INCLUDE ROIUOW_VIEW_DOI_TRACE_DATA_01. "ASR SOGK027229


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:

OIU_DI_APPROVAL_PROCESS CALL FUNCTION 'OIU_DI_APPROVAL_PROCESS' EXPORTING MODE = 'B' I_BUKRS = p_bukrs I_VNAME = p_vname I_DOI_NO = p_doi_no TABLES I_ERRORS = t_error I_LOG = t_log I_PPN = t_ppn I_PPNH = t_ppnh I_PPND = t_ppnd I_PPNU = t_ppnu.

OIUOW_ORP_BASE_DOI_CHECK_OUT2 CALL FUNCTION 'OIUOW_ORP_BASE_DOI_CHECK_OUT2' EXPORTING P_BUKRS = p_bukrs P_VNAME = p_vname P_DOI_NO = p_doi_no EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.

OIU_DOI_UPDATE_DB CALL FUNCTION 'OIU_DOI_UPDATE_DB' EXPORTING I_ROIU_DO_DI = l_do_di.

OIUOW_READ_DFLTS CALL FUNCTION 'OIUOW_READ_DFLTS' EXPORTING CLIENT = sy-mandt FORCE_DB = space IMPORTING E_DFLTS = l_rqst_dflts EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.

ENQUEUE_E_OIU_DO_DI call function 'ENQUEUE_E_OIU_DO_DI' exporting mode_oiu_do_di = 'E' mandt = sy-mandt bukrs = p_bukrs vname = p_vname doi_no = p_doi_no exceptions foreign_lock = 1 system_failure = 2 others = 3.

DEQUEUE_E_OIU_DO_DI call function 'DEQUEUE_E_OIU_DO_DI' exporting mode_oiu_do_di = 'E' mandt = sy-mandt bukrs = p_bukrs vname = p_vname doi_no = p_doi_no.

OIU_STORE_MESSAGE_HEADER call function 'OIU_STORE_MESSAGE_HEADER' exporting i_appl = c_appl i_ext_name = l_ext_name exceptions invalid_appl = 1 ext_name_missing = 2 appl_log_error = 3 others = 4.

APPL_LOG_WRITE_SINGLE_MESSAGE call function 'APPL_LOG_WRITE_SINGLE_MESSAGE' exporting object = c_object subobject = c_subobj message = pt_log update_or_insert = 'I' "c_update exceptions object_not_found = 1 subobject_not_found = 2 others = 3.

OIU_STORE_MESSAGE_WRITE call function 'OIU_STORE_MESSAGE_WRITE' exporting i_write_hdr = c_true importing e_lognumber = g_lognumber exceptions no_header = 1 no_messages = 2 appl_log_error = 3 others = 4.

GET_PRINT_PARAMETERS call function 'GET_PRINT_PARAMETERS' exporting copies = g_count list_text = lf_prtxt immediately = c_false release = c_false new_list_id = c_true * expiration = '999' line_size = lf_linsz line_count = lf_linct sap_cover_page = ' ' cover_page = ' ' no_dialog = c_true importing out_parameters = g_params valid = g_valid.

OIU_DOI_MASTER_READ call function 'OIU_DOI_MASTER_READ' exporting i_doi_no = p_doi_no i_vname = p_vname i_bukrs = p_bukrs force_db = ' ' importing e_oiu_do_di = edo-di exceptions none_found = 1 others = 2.

OIUOW_GET_DOI_CHANGES CALL FUNCTION 'OIUOW_GET_DOI_CHANGES' TABLES T_DO_DO = edo-do T_DO_BGUC = edo-bg T_DO_BR = edo-br T_MKEX = edo-mx T_SSH = edo-sh T_OSS = edo-os T_DOEX = edo-dx T_DOH = edo-dh T_RTCH = edo-rh T_RTD = edo-rd T_DPUC = edo-pu T_DPIC = edo-pi .



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