SAP OIK37_ENTRY_SHOW Function Module for Show entries of OIK37









OIK37_ENTRY_SHOW is a standard oik37 entry show SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Show entries of OIK37 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 oik37 entry show FM, simply by entering the name OIK37_ENTRY_SHOW into the relevant SAP transaction such as SE37 or SE38.

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



Function OIK37_ENTRY_SHOW 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 'OIK37_ENTRY_SHOW'"Show entries of OIK37
EXPORTING
I_VBELN = "
* I_VBTYP = "SD document category
* I_POSNR = "
* I_APPLIC = "
* I_SHNUMBER = "TD shipment number

TABLES
OIK37_ENTRY_TAB = "

EXCEPTIONS
NO_ENTRY_FOUND = 1
.



IMPORTING Parameters details for OIK37_ENTRY_SHOW

I_VBELN -

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

I_VBTYP - SD document category

Data type: OIK37-VBTYP
Optional: Yes
Call by Reference: Yes

I_POSNR -

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

I_APPLIC -

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

I_SHNUMBER - TD shipment number

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

TABLES Parameters details for OIK37_ENTRY_SHOW

OIK37_ENTRY_TAB -

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

EXCEPTIONS details

NO_ENTRY_FOUND -

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

Copy and paste ABAP code example for OIK37_ENTRY_SHOW 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_vbeln  TYPE OIK37-VBELN, "   
lv_no_entry_found  TYPE OIK37, "   
lt_oik37_entry_tab  TYPE STANDARD TABLE OF OIK37, "   
lv_i_vbtyp  TYPE OIK37-VBTYP, "   
lv_i_posnr  TYPE OIK37-POSNR, "   
lv_i_applic  TYPE OIK37-APPLIC, "   
lv_i_shnumber  TYPE OIK37-SHNUMBER. "   

  CALL FUNCTION 'OIK37_ENTRY_SHOW'  "Show entries of OIK37
    EXPORTING
         I_VBELN = lv_i_vbeln
         I_VBTYP = lv_i_vbtyp
         I_POSNR = lv_i_posnr
         I_APPLIC = lv_i_applic
         I_SHNUMBER = lv_i_shnumber
    TABLES
         OIK37_ENTRY_TAB = lt_oik37_entry_tab
    EXCEPTIONS
        NO_ENTRY_FOUND = 1
. " OIK37_ENTRY_SHOW




ABAP code using 7.40 inline data declarations to call FM OIK37_ENTRY_SHOW

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 VBELN FROM OIK37 INTO @DATA(ld_i_vbeln).
 
 
 
"SELECT single VBTYP FROM OIK37 INTO @DATA(ld_i_vbtyp).
 
"SELECT single POSNR FROM OIK37 INTO @DATA(ld_i_posnr).
 
"SELECT single APPLIC FROM OIK37 INTO @DATA(ld_i_applic).
 
"SELECT single SHNUMBER FROM OIK37 INTO @DATA(ld_i_shnumber).
 


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!