SAP OIIC_DIP_READ_ANALYSIS Function Module for Read Dip material movement analysis









OIIC_DIP_READ_ANALYSIS is a standard oiic dip read analysis SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Read Dip material movement analysis 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 oiic dip read analysis FM, simply by entering the name OIIC_DIP_READ_ANALYSIS into the relevant SAP transaction such as SE37 or SE38.

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



Function OIIC_DIP_READ_ANALYSIS 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 'OIIC_DIP_READ_ANALYSIS'"Read Dip material movement analysis
EXPORTING
I_SOCNR = "SOC: Storage object characteristic segment number
* TIMESTAMP_FROM = "Tank dip time stamp
* TIMESTAMP_TO = "Tank dip time stamp
* I_FIND_INTERVAL = ' ' "Checkbox
* I_TIMESTAMP_FIND = "Tank dip time stamp

TABLES
E_DIP_MVMT = "related stock derived from SOC material assignment
* E_DIP_MVMTO1 = "related stock derived from SOC material assignment

EXCEPTIONS
NO_ANALYSIS_FOUND = 1
.



IMPORTING Parameters details for OIIC_DIP_READ_ANALYSIS

I_SOCNR - SOC: Storage object characteristic segment number

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

TIMESTAMP_FROM - Tank dip time stamp

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

TIMESTAMP_TO - Tank dip time stamp

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

I_FIND_INTERVAL - Checkbox

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

I_TIMESTAMP_FIND - Tank dip time stamp

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

TABLES Parameters details for OIIC_DIP_READ_ANALYSIS

E_DIP_MVMT - related stock derived from SOC material assignment

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

E_DIP_MVMTO1 - related stock derived from SOC material assignment

Data type: ROII_DIP_MVMTO1
Optional: Yes
Call by Reference: Yes

EXCEPTIONS details

NO_ANALYSIS_FOUND -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for OIIC_DIP_READ_ANALYSIS 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_i_socnr  TYPE OIISOCK-SOCNR, "   
lt_e_dip_mvmt  TYPE STANDARD TABLE OF ROII_DIP_MVMT, "   
lv_no_analysis_found  TYPE ROII_DIP_MVMT, "   
lt_e_dip_mvmto1  TYPE STANDARD TABLE OF ROII_DIP_MVMTO1, "   
lv_timestamp_from  TYPE MSEG-OIB_TIMESTAMP, "   
lv_timestamp_to  TYPE MSEG-OIB_TIMESTAMP, "   
lv_i_find_interval  TYPE XFELD, "   ' '
lv_i_timestamp_find  TYPE MSEG-OIB_TIMESTAMP. "   

  CALL FUNCTION 'OIIC_DIP_READ_ANALYSIS'  "Read Dip material movement analysis
    EXPORTING
         I_SOCNR = lv_i_socnr
         TIMESTAMP_FROM = lv_timestamp_from
         TIMESTAMP_TO = lv_timestamp_to
         I_FIND_INTERVAL = lv_i_find_interval
         I_TIMESTAMP_FIND = lv_i_timestamp_find
    TABLES
         E_DIP_MVMT = lt_e_dip_mvmt
         E_DIP_MVMTO1 = lt_e_dip_mvmto1
    EXCEPTIONS
        NO_ANALYSIS_FOUND = 1
. " OIIC_DIP_READ_ANALYSIS




ABAP code using 7.40 inline data declarations to call FM OIIC_DIP_READ_ANALYSIS

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 SOCNR FROM OIISOCK INTO @DATA(ld_i_socnr).
 
 
 
 
"SELECT single OIB_TIMESTAMP FROM MSEG INTO @DATA(ld_timestamp_from).
 
"SELECT single OIB_TIMESTAMP FROM MSEG INTO @DATA(ld_timestamp_to).
 
DATA(ld_i_find_interval) = ' '.
 
"SELECT single OIB_TIMESTAMP FROM MSEG INTO @DATA(ld_i_timestamp_find).
 


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!