SAP OIUT3_BOS_UTP_QUERY Function Module for UTP Query









OIUT3_BOS_UTP_QUERY is a standard oiut3 bos utp query SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for UTP Query 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 bos utp query FM, simply by entering the name OIUT3_BOS_UTP_QUERY into the relevant SAP transaction such as SE37 or SE38.

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



Function OIUT3_BOS_UTP_QUERY 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_BOS_UTP_QUERY'"UTP Query
EXPORTING
CONN_ID = "Connection ID
* REMOTE_CUSTOMIZING = "OIUT2 Customising data

IMPORTING
FT_DETAILS = "Return parameter

TABLES
IN_XML_TABLE = "XML Data Table (256 Chars)
RS_XML_TABLE = "XML Data Table (256 Chars)

EXCEPTIONS
IN_XML_FAIL = 1 RS_XML_FAIL = 2 LOGGING_FAIL = 3 COMMIT_FAIL = 4
.



IMPORTING Parameters details for OIUT3_BOS_UTP_QUERY

CONN_ID - Connection ID

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

REMOTE_CUSTOMIZING - OIUT2 Customising data

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

EXPORTING Parameters details for OIUT3_BOS_UTP_QUERY

FT_DETAILS - Return parameter

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

TABLES Parameters details for OIUT3_BOS_UTP_QUERY

IN_XML_TABLE - XML Data Table (256 Chars)

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

RS_XML_TABLE - XML Data Table (256 Chars)

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

EXCEPTIONS details

IN_XML_FAIL - Error processing XML received

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

RS_XML_FAIL - Error processing XML for output

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

LOGGING_FAIL - Error in logging

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

COMMIT_FAIL - Error in commit

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

Copy and paste ABAP code example for OIUT3_BOS_UTP_QUERY 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_conn_id  TYPE OIUT2_CONN_ID, "   
lv_ft_details  TYPE BAPIRET2, "   
lv_in_xml_fail  TYPE BAPIRET2, "   
lt_in_xml_table  TYPE STANDARD TABLE OF ROIUT2_XML_DATA_TAB, "   
lv_rs_xml_fail  TYPE ROIUT2_XML_DATA_TAB, "   
lt_rs_xml_table  TYPE STANDARD TABLE OF ROIUT2_XML_DATA_TAB, "   
lv_remote_customizing  TYPE ROIUT2_REMOTE_CUSTOMIZING, "   
lv_logging_fail  TYPE ROIUT2_REMOTE_CUSTOMIZING, "   
lv_commit_fail  TYPE ROIUT2_REMOTE_CUSTOMIZING. "   

  CALL FUNCTION 'OIUT3_BOS_UTP_QUERY'  "UTP Query
    EXPORTING
         CONN_ID = lv_conn_id
         REMOTE_CUSTOMIZING = lv_remote_customizing
    IMPORTING
         FT_DETAILS = lv_ft_details
    TABLES
         IN_XML_TABLE = lt_in_xml_table
         RS_XML_TABLE = lt_rs_xml_table
    EXCEPTIONS
        IN_XML_FAIL = 1
        RS_XML_FAIL = 2
        LOGGING_FAIL = 3
        COMMIT_FAIL = 4
. " OIUT3_BOS_UTP_QUERY




ABAP code using 7.40 inline data declarations to call FM OIUT3_BOS_UTP_QUERY

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.

 
 
 
 
 
 
 
 
 


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!