SAP OIUT3_CHECK_IN_IF_COPY_SLIM Function Module for OIU_T2 Initiate Approval/Check In Process for DOI from interface









OIUT3_CHECK_IN_IF_COPY_SLIM is a standard oiut3 check in if copy slim SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for OIU_T2 Initiate Approval/Check In Process for DOI from interface processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.


See here to view full function module documentation and code listing for oiut3 check in if copy slim FM, simply by entering the name OIUT3_CHECK_IN_IF_COPY_SLIM into the relevant SAP transaction such as SE37 or SE38.

Function Group: OIUT3_BOS_DOI
Program Name: SAPLOIUT3_BOS_DOI
Main Program: SAPLOIUT3_BOS_DOI
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function OIUT3_CHECK_IN_IF_COPY_SLIM pattern details

In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.
CALL FUNCTION 'OIUT3_CHECK_IN_IF_COPY_SLIM'"OIU_T2 Initiate Approval/Check In Process for DOI from interface
EXPORTING
* MODE = 'O' "B=Batch,O=Online
I_BUKRS = "Company code
I_VNAME = "Joint Venture
I_DOI_NO = "Division of Interest
* I_BUFFERING = C_TRUE "Buffering
I_CLUSTER_ID = "Pointer to cluster

IMPORTING
DOI_KEY = "Key Structure for DOI Object type

TABLES
* I_ERRORS = "Application Log: APPL_LOG_WRITE_MESSAGES interface
* I_LOG = "Application Log: APPL_LOG_WRITE_MESSAGES interface
* I_PPN = "PPN Log Message structure
* X_LOG = "Return parameter
* PT_PPNH = "Prior Period Notification Header
* PT_PPND = "Production Prior Period Notification Delivery Ntwk Det. T
* PT_VPPNU = "Valuation Prior Period Notification
.



IMPORTING Parameters details for OIUT3_CHECK_IN_IF_COPY_SLIM

MODE - B=Batch,O=Online

Data type: CHAR1
Default: 'O'
Optional: No
Call by Reference: Yes

I_BUKRS - Company code

Data type: ROIU_DO_DI-BUKRS
Optional: No
Call by Reference: Yes

I_VNAME - Joint Venture

Data type: ROIU_DO_DI-VNAME
Optional: No
Call by Reference: Yes

I_DOI_NO - Division of Interest

Data type: ROIU_DO_DI-DOI_NO
Optional: No
Call by Reference: Yes

I_BUFFERING - Buffering

Data type: CHAR1
Default: C_TRUE
Optional: Yes
Call by Reference: Yes

I_CLUSTER_ID - Pointer to cluster

Data type:
Optional: No
Call by Reference: Yes

EXPORTING Parameters details for OIUT3_CHECK_IN_IF_COPY_SLIM

DOI_KEY - Key Structure for DOI Object type

Data type: ROIUT2_KEY_DOI
Optional: No
Call by Reference: Yes

TABLES Parameters details for OIUT3_CHECK_IN_IF_COPY_SLIM

I_ERRORS - Application Log: APPL_LOG_WRITE_MESSAGES interface

Data type: BALMI
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_LOG - Application Log: APPL_LOG_WRITE_MESSAGES interface

Data type: BALMI
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_PPN - PPN Log Message structure

Data type: ROIUOW_PPN_LOG
Optional: Yes
Call by Reference: No ( called with pass by value option)

X_LOG - Return parameter

Data type: BAPIRET2
Optional: Yes
Call by Reference: No ( called with pass by value option)

PT_PPNH - Prior Period Notification Header

Data type: OIU_PR_PPNH
Optional: Yes
Call by Reference: No ( called with pass by value option)

PT_PPND - Production Prior Period Notification Delivery Ntwk Det. T

Data type: OIU_PR_PPND
Optional: Yes
Call by Reference: No ( called with pass by value option)

PT_VPPNU - Valuation Prior Period Notification

Data type: OIU_RV_VPPNU
Optional: Yes
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for OIUT3_CHECK_IN_IF_COPY_SLIM Function Module

The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.

DATA:
lv_mode  TYPE CHAR1, "   'O'
lv_doi_key  TYPE ROIUT2_KEY_DOI, "   
lt_i_errors  TYPE STANDARD TABLE OF BALMI, "   
lt_i_log  TYPE STANDARD TABLE OF BALMI, "   
lv_i_bukrs  TYPE ROIU_DO_DI-BUKRS, "   
lt_i_ppn  TYPE STANDARD TABLE OF ROIUOW_PPN_LOG, "   
lv_i_vname  TYPE ROIU_DO_DI-VNAME, "   
lt_x_log  TYPE STANDARD TABLE OF BAPIRET2, "   
lv_i_doi_no  TYPE ROIU_DO_DI-DOI_NO, "   
lt_pt_ppnh  TYPE STANDARD TABLE OF OIU_PR_PPNH, "   
lv_i_buffering  TYPE CHAR1, "   C_TRUE
lt_pt_ppnd  TYPE STANDARD TABLE OF OIU_PR_PPND, "   
lv_i_cluster_id  TYPE OIU_PR_PPND, "   
lt_pt_vppnu  TYPE STANDARD TABLE OF OIU_RV_VPPNU. "   

  CALL FUNCTION 'OIUT3_CHECK_IN_IF_COPY_SLIM'  "OIU_T2 Initiate Approval/Check In Process for DOI from interface
    EXPORTING
         MODE = lv_mode
         I_BUKRS = lv_i_bukrs
         I_VNAME = lv_i_vname
         I_DOI_NO = lv_i_doi_no
         I_BUFFERING = lv_i_buffering
         I_CLUSTER_ID = lv_i_cluster_id
    IMPORTING
         DOI_KEY = lv_doi_key
    TABLES
         I_ERRORS = lt_i_errors
         I_LOG = lt_i_log
         I_PPN = lt_i_ppn
         X_LOG = lt_x_log
         PT_PPNH = lt_pt_ppnh
         PT_PPND = lt_pt_ppnd
         PT_VPPNU = lt_pt_vppnu
. " OIUT3_CHECK_IN_IF_COPY_SLIM




ABAP code using 7.40 inline data declarations to call FM OIUT3_CHECK_IN_IF_COPY_SLIM

The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.

DATA(ld_mode) = 'O'.
 
 
 
 
"SELECT single BUKRS FROM ROIU_DO_DI INTO @DATA(ld_i_bukrs).
 
 
"SELECT single VNAME FROM ROIU_DO_DI INTO @DATA(ld_i_vname).
 
 
"SELECT single DOI_NO FROM ROIU_DO_DI INTO @DATA(ld_i_doi_no).
 
 
DATA(ld_i_buffering) = C_TRUE.
 
 
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!