SAP OIUH_AFRVTOSTABYQBE Function Module for Function AFRVTOSTABYQBE









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

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



Function OIUH_AFRVTOSTABYQBE 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 'OIUH_AFRVTOSTABYQBE'"Function AFRVTOSTABYQBE
CHANGING
FN_TYPE_CD = "
PMESSAGE = "
W_OSTA_OR_LVL_1_NO = "
W_OSTA_BA_NO = "
W_OSTA_BA_SEQ_NO = "
W_BA_NM_1 = "
W_OSTA_OI_TYPE_CD = "
W_OSTA_ST_CD = "
W_OSTA_TAX_DT = "
ROWS_RETURNED = "

TABLES
RESULT_TABLE = "
.



CHANGING Parameters details for OIUH_AFRVTOSTABYQBE

FN_TYPE_CD -

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

PMESSAGE -

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

W_OSTA_OR_LVL_1_NO -

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

W_OSTA_BA_NO -

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

W_OSTA_BA_SEQ_NO -

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

W_BA_NM_1 -

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

W_OSTA_OI_TYPE_CD -

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

W_OSTA_ST_CD -

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

W_OSTA_TAX_DT -

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

ROWS_RETURNED -

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

TABLES Parameters details for OIUH_AFRVTOSTABYQBE

RESULT_TABLE -

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

Copy and paste ABAP code example for OIUH_AFRVTOSTABYQBE 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_fn_type_cd  TYPE C, "   
lt_result_table  TYPE STANDARD TABLE OF OIUH_AFRVTOSTABYQBE, "   
lv_pmessage  TYPE OIUH_PMESSAGE_STR, "   
lv_w_osta_or_lvl_1_no  TYPE C, "   
lv_w_osta_ba_no  TYPE C, "   
lv_w_osta_ba_seq_no  TYPE C, "   
lv_w_ba_nm_1  TYPE C, "   
lv_w_osta_oi_type_cd  TYPE C, "   
lv_w_osta_st_cd  TYPE C, "   
lv_w_osta_tax_dt  TYPE C, "   
lv_rows_returned  TYPE I. "   

  CALL FUNCTION 'OIUH_AFRVTOSTABYQBE'  "Function AFRVTOSTABYQBE
    CHANGING
         FN_TYPE_CD = lv_fn_type_cd
         PMESSAGE = lv_pmessage
         W_OSTA_OR_LVL_1_NO = lv_w_osta_or_lvl_1_no
         W_OSTA_BA_NO = lv_w_osta_ba_no
         W_OSTA_BA_SEQ_NO = lv_w_osta_ba_seq_no
         W_BA_NM_1 = lv_w_ba_nm_1
         W_OSTA_OI_TYPE_CD = lv_w_osta_oi_type_cd
         W_OSTA_ST_CD = lv_w_osta_st_cd
         W_OSTA_TAX_DT = lv_w_osta_tax_dt
         ROWS_RETURNED = lv_rows_returned
    TABLES
         RESULT_TABLE = lt_result_table
. " OIUH_AFRVTOSTABYQBE




ABAP code using 7.40 inline data declarations to call FM OIUH_AFRVTOSTABYQBE

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!