SAP VHUPODB_PACKOBJ_PUT Function Module for NOTRANSL: Packobjekt aktualisieren









VHUPODB_PACKOBJ_PUT is a standard vhupodb packobj put SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: Packobjekt aktualisieren 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 vhupodb packobj put FM, simply by entering the name VHUPODB_PACKOBJ_PUT into the relevant SAP transaction such as SE37 or SE38.

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



Function VHUPODB_PACKOBJ_PUT 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 'VHUPODB_PACKOBJ_PUT'"NOTRANSL: Packobjekt aktualisieren
EXPORTING
PACKKP_IMP = "DE-EN-LANG-SWITCH-NO-TRANSLATION
* COMMIT_IMP = '0' "DE-EN-LANG-SWITCH-NO-TRANSLATION

TABLES
TPACKPO = "DE-EN-LANG-SWITCH-NO-TRANSLATION
TPACKKPS = "DE-EN-LANG-SWITCH-NO-TRANSLATION

EXCEPTIONS
POBJ_NOT_READ = 1 POBJ_NO_EXCL_LOCK = 2 POBJ_UPDATE_RUNNING = 3 ITEMS_NOT_READ = 4
.




Customer Function user exits

Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.
EXIT_SAPLVHUPODB_001

IMPORTING Parameters details for VHUPODB_PACKOBJ_PUT

PACKKP_IMP - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

COMMIT_IMP - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type: C
Default: '0'
Optional: Yes
Call by Reference: Yes

TABLES Parameters details for VHUPODB_PACKOBJ_PUT

TPACKPO - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

TPACKKPS - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

EXCEPTIONS details

POBJ_NOT_READ - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

POBJ_NO_EXCL_LOCK - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

POBJ_UPDATE_RUNNING - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

ITEMS_NOT_READ - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

Copy and paste ABAP code example for VHUPODB_PACKOBJ_PUT 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:
lt_tpackpo  TYPE STANDARD TABLE OF PACKPO, "   
lv_packkp_imp  TYPE PACKKP, "   
lv_pobj_not_read  TYPE PACKKP, "   
lt_tpackkps  TYPE STANDARD TABLE OF PACKKPS, "   
lv_commit_imp  TYPE C, "   '0'
lv_pobj_no_excl_lock  TYPE C, "   
lv_pobj_update_running  TYPE C, "   
lv_items_not_read  TYPE C. "   

  CALL FUNCTION 'VHUPODB_PACKOBJ_PUT'  "NOTRANSL: Packobjekt aktualisieren
    EXPORTING
         PACKKP_IMP = lv_packkp_imp
         COMMIT_IMP = lv_commit_imp
    TABLES
         TPACKPO = lt_tpackpo
         TPACKKPS = lt_tpackkps
    EXCEPTIONS
        POBJ_NOT_READ = 1
        POBJ_NO_EXCL_LOCK = 2
        POBJ_UPDATE_RUNNING = 3
        ITEMS_NOT_READ = 4
. " VHUPODB_PACKOBJ_PUT




ABAP code using 7.40 inline data declarations to call FM VHUPODB_PACKOBJ_PUT

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.

 
 
 
 
DATA(ld_commit_imp) = '0'.
 
 
 
 


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!