SAP ISU_O_THGVER_OPEN Function Module for INTERNAL: Opens Processing of a Gas Procedure









ISU_O_THGVER_OPEN is a standard isu o thgver open SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for INTERNAL: Opens Processing of a Gas Procedure 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 isu o thgver open FM, simply by entering the name ISU_O_THGVER_OPEN into the relevant SAP transaction such as SE37 or SE38.

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



Function ISU_O_THGVER_OPEN 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 'ISU_O_THGVER_OPEN'"INTERNAL: Opens Processing of a Gas Procedure
EXPORTING
X_THGVER = "Gas procedure
X_GASABART = "Gas billing type
X_SPRAS = "
* X_NO_CHANGE = "
* X_THGVERV = "

IMPORTING
Y_POBJ = "Object Data

CHANGING
X_WMODE = "Processing Type: 1=Display 2=Change 3=Create

EXCEPTIONS
NOT_FOUND = 1 EXISTING = 2 FOREIGN_LOCK = 3
.



IMPORTING Parameters details for ISU_O_THGVER_OPEN

X_THGVER - Gas procedure

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

X_GASABART - Gas billing type

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

X_SPRAS -

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

X_NO_CHANGE -

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

X_THGVERV -

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

EXPORTING Parameters details for ISU_O_THGVER_OPEN

Y_POBJ - Object Data

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

CHANGING Parameters details for ISU_O_THGVER_OPEN

X_WMODE - Processing Type: 1=Display 2=Change 3=Create

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

EXCEPTIONS details

NOT_FOUND - Object Not Found

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

EXISTING - Object Already Exists

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

FOREIGN_LOCK - Object Already Locked

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

Copy and paste ABAP code example for ISU_O_THGVER_OPEN 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_y_pobj  TYPE ISU20_THGVER, "   
lv_x_wmode  TYPE REGEN-WMODE, "   
lv_x_thgver  TYPE TE669-THGVER, "   
lv_not_found  TYPE TE669, "   
lv_existing  TYPE TE669, "   
lv_x_gasabart  TYPE TE669-GASABART, "   
lv_x_spras  TYPE TE669T-SPRAS, "   
lv_foreign_lock  TYPE TE669T, "   
lv_x_no_change  TYPE REGEN-NO_CHANGE, "   
lv_x_thgverv  TYPE ISU20_THGVER. "   

  CALL FUNCTION 'ISU_O_THGVER_OPEN'  "INTERNAL: Opens Processing of a Gas Procedure
    EXPORTING
         X_THGVER = lv_x_thgver
         X_GASABART = lv_x_gasabart
         X_SPRAS = lv_x_spras
         X_NO_CHANGE = lv_x_no_change
         X_THGVERV = lv_x_thgverv
    IMPORTING
         Y_POBJ = lv_y_pobj
    CHANGING
         X_WMODE = lv_x_wmode
    EXCEPTIONS
        NOT_FOUND = 1
        EXISTING = 2
        FOREIGN_LOCK = 3
. " ISU_O_THGVER_OPEN




ABAP code using 7.40 inline data declarations to call FM ISU_O_THGVER_OPEN

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 WMODE FROM REGEN INTO @DATA(ld_x_wmode).
 
"SELECT single THGVER FROM TE669 INTO @DATA(ld_x_thgver).
 
 
 
"SELECT single GASABART FROM TE669 INTO @DATA(ld_x_gasabart).
 
"SELECT single SPRAS FROM TE669T INTO @DATA(ld_x_spras).
 
 
"SELECT single NO_CHANGE FROM REGEN INTO @DATA(ld_x_no_change).
 
 


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!