SAP OIUT2_ADD_FND_SLIM_STRUCTURED Function Module for OIU_T2 Add FND









OIUT2_ADD_FND_SLIM_STRUCTURED is a standard oiut2 add fnd slim structured 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 Add FND 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 oiut2 add fnd slim structured FM, simply by entering the name OIUT2_ADD_FND_SLIM_STRUCTURED into the relevant SAP transaction such as SE37 or SE38.

Function Group: OIUT2_LOAD_DOI_SLIM
Program Name: SAPLOIUT2_LOAD_DOI_SLIM
Main Program: SAPLOIUT2_LOAD_DOI_SLIM
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function OIUT2_ADD_FND_SLIM_STRUCTURED 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 'OIUT2_ADD_FND_SLIM_STRUCTURED'"OIU_T2 Add FND
IMPORTING
RC = "Return value, return value after ABAP statements

TABLES
PRT_LOAD_OIUOW_RTCH = "Funds Load structure
PRT_LOAD_OIUOW_RTD = "Funds load structure
RETURN = "Return parameter
* PT_LOG = "Application Log: APPL_LOG_WRITE_MESSAGES interface
* PT_PPN = "PPN Log Message structure
* PT_PPNH = "Prior Period Notification Header
* PT_PPND = "Production Prior Period Notification Delivery Ntwk Det. T
* PT_PPNU = "Valuation Prior Period Notification
.



EXPORTING Parameters details for OIUT2_ADD_FND_SLIM_STRUCTURED

RC - Return value, return value after ABAP statements

Data type: SY-SUBRC
Optional: No
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for OIUT2_ADD_FND_SLIM_STRUCTURED

PRT_LOAD_OIUOW_RTCH - Funds Load structure

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

PRT_LOAD_OIUOW_RTD - Funds load structure

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

RETURN - Return parameter

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

PT_LOG - Application Log: APPL_LOG_WRITE_MESSAGES interface

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

PT_PPN - PPN Log Message structure

Data type: ROIUOW_PPN_LOG
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_PPNU - 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 OIUT2_ADD_FND_SLIM_STRUCTURED 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_rc  TYPE SY-SUBRC, "   
lt_prt_load_oiuow_rtch  TYPE STANDARD TABLE OF ROIUT2_LOAD_RTCH, "   
lt_prt_load_oiuow_rtd  TYPE STANDARD TABLE OF ROIUT2_LOAD_RTD, "   
lt_return  TYPE STANDARD TABLE OF BAPIRET2, "   
lt_pt_log  TYPE STANDARD TABLE OF BALMI, "   
lt_pt_ppn  TYPE STANDARD TABLE OF ROIUOW_PPN_LOG, "   
lt_pt_ppnh  TYPE STANDARD TABLE OF OIU_PR_PPNH, "   
lt_pt_ppnd  TYPE STANDARD TABLE OF OIU_PR_PPND, "   
lt_pt_ppnu  TYPE STANDARD TABLE OF OIU_RV_VPPNU. "   

  CALL FUNCTION 'OIUT2_ADD_FND_SLIM_STRUCTURED'  "OIU_T2 Add FND
    IMPORTING
         RC = lv_rc
    TABLES
         PRT_LOAD_OIUOW_RTCH = lt_prt_load_oiuow_rtch
         PRT_LOAD_OIUOW_RTD = lt_prt_load_oiuow_rtd
         RETURN = lt_return
         PT_LOG = lt_pt_log
         PT_PPN = lt_pt_ppn
         PT_PPNH = lt_pt_ppnh
         PT_PPND = lt_pt_ppnd
         PT_PPNU = lt_pt_ppnu
. " OIUT2_ADD_FND_SLIM_STRUCTURED




ABAP code using 7.40 inline data declarations to call FM OIUT2_ADD_FND_SLIM_STRUCTURED

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.

"SELECT single SUBRC FROM SY INTO @DATA(ld_rc).
 
 
 
 
 
 
 
 
 


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!