SAP ISM_VT_HANDLE_AMOUNT_TOUCHED Function Module for IS-M/AM: Ad Insert: Calculate Dependent Quantities









ISM_VT_HANDLE_AMOUNT_TOUCHED is a standard ism vt handle amount touched SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for IS-M/AM: Ad Insert: Calculate Dependent Quantities 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 ism vt handle amount touched FM, simply by entering the name ISM_VT_HANDLE_AMOUNT_TOUCHED into the relevant SAP transaction such as SE37 or SE38.

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



Function ISM_VT_HANDLE_AMOUNT_TOUCHED 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 'ISM_VT_HANDLE_AMOUNT_TOUCHED'"IS-M/AM: Ad Insert: Calculate Dependent Quantities
EXPORTING
* PV_XBERMENGE_FIX = ' ' "
* PS_RJHA440_TOUCHED = "IS-M: Screen Structure for Ad Insert Touched Fields

CHANGING
PV_VRTMENGE = "
* PV_JVERTPOTZUS = "
PV_BLGMENGE = "IS-M/AM: Delivery Quantity for Distribution
PV_BERMENGE = "IS-M: Calculation Quantity (Ad Insert)
.




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_SAPLJH07_202 IS-M/AM: DT Date Shift Positioned Combined BU

IMPORTING Parameters details for ISM_VT_HANDLE_AMOUNT_TOUCHED

PV_XBERMENGE_FIX -

Data type: JPAM_XFELD_VAR
Default: SPACE
Optional: Yes
Call by Reference: Yes

PS_RJHA440_TOUCHED - IS-M: Screen Structure for Ad Insert Touched Fields

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

CHANGING Parameters details for ISM_VT_HANDLE_AMOUNT_TOUCHED

PV_VRTMENGE -

Data type: RJHAPV-VRTMENGE
Optional: No
Call by Reference: Yes

PV_JVERTPOTZUS -

Data type: RJHAEV-JVERTPOTZUS
Optional: Yes
Call by Reference: Yes

PV_BLGMENGE - IS-M/AM: Delivery Quantity for Distribution

Data type: RJHAPV-BLGMENGE
Optional: No
Call by Reference: Yes

PV_BERMENGE - IS-M: Calculation Quantity (Ad Insert)

Data type: RJHAPV-BERMENGE
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for ISM_VT_HANDLE_AMOUNT_TOUCHED 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_pv_vrtmenge  TYPE RJHAPV-VRTMENGE, "   
lv_pv_xbermenge_fix  TYPE JPAM_XFELD_VAR, "   SPACE
lv_pv_jvertpotzus  TYPE RJHAEV-JVERTPOTZUS, "   
lv_ps_rjha440_touched  TYPE RJHA440_TOUCHED, "   
lv_pv_blgmenge  TYPE RJHAPV-BLGMENGE, "   
lv_pv_bermenge  TYPE RJHAPV-BERMENGE. "   

  CALL FUNCTION 'ISM_VT_HANDLE_AMOUNT_TOUCHED'  "IS-M/AM: Ad Insert: Calculate Dependent Quantities
    EXPORTING
         PV_XBERMENGE_FIX = lv_pv_xbermenge_fix
         PS_RJHA440_TOUCHED = lv_ps_rjha440_touched
    CHANGING
         PV_VRTMENGE = lv_pv_vrtmenge
         PV_JVERTPOTZUS = lv_pv_jvertpotzus
         PV_BLGMENGE = lv_pv_blgmenge
         PV_BERMENGE = lv_pv_bermenge
. " ISM_VT_HANDLE_AMOUNT_TOUCHED




ABAP code using 7.40 inline data declarations to call FM ISM_VT_HANDLE_AMOUNT_TOUCHED

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 VRTMENGE FROM RJHAPV INTO @DATA(ld_pv_vrtmenge).
 
DATA(ld_pv_xbermenge_fix) = ' '.
 
"SELECT single JVERTPOTZUS FROM RJHAEV INTO @DATA(ld_pv_jvertpotzus).
 
 
"SELECT single BLGMENGE FROM RJHAPV INTO @DATA(ld_pv_blgmenge).
 
"SELECT single BERMENGE FROM RJHAPV INTO @DATA(ld_pv_bermenge).
 


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!