SAP ISP_JHTS_CUSTOM_FUNCT_004_CALL Function Module for IS-M/AM: Access CUSTOMER FUNCTION 004









ISP_JHTS_CUSTOM_FUNCT_004_CALL is a standard isp jhts custom funct 004 call 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: Access CUSTOMER FUNCTION 004 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 isp jhts custom funct 004 call FM, simply by entering the name ISP_JHTS_CUSTOM_FUNCT_004_CALL into the relevant SAP transaction such as SE37 or SE38.

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



Function ISP_JHTS_CUSTOM_FUNCT_004_CALL 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 'ISP_JHTS_CUSTOM_FUNCT_004_CALL'"IS-M/AM: Access CUSTOMER FUNCTION 004
EXPORTING
ANZWORT1_I = "IS-M: Number of words in a text-based ad in units of 1000
ANZWORT2_I = "IS-M: Number of words in a text-based ad in units of 1000

IMPORTING
ZUS_MENGE = "IS-M: Number of Additional Ad Spec Calculation Units
ZUS_BERECH = "IS-M: Additional Unit of Measure for Settlement
.




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_SAPLJHTS_001 IS-M/AM: Check Whether Item Represents a Page-Defining Ad
EXIT_SAPLJHTS_002 IS-M/AM: Typing of Ads for Positioning System
EXIT_SAPLJHTS_003 IS-M/AM: Line Type Conversion in the Technical System
EXIT_SAPLJHTS_004 IS-M/AM: Word Type Conversion in the Technical System
EXIT_SAPLJHTS_005 IS-M/AM: Fill Structure RJHATMO for the Technical Interface
EXIT_SAPLJHTS_006 IS-M/AM: Fill Structure RJHATPAP for the Technical Interface
EXIT_SAPLJHTS_007 IS-M/AM: Fill Structure RJHATPAK for the Technical Interface
EXIT_SAPLJHTS_008 IS-M/AM: Fill Structure RJHATPS for the Technical Interface
EXIT_SAPLJHTS_009 IS-M/AM: Fill Structure RJHATBPZ for the Technical Interface
EXIT_SAPLJHTS_010 IS-M/AM: Fill Structure RJHATISZ for the Technical Interface
EXIT_SAPLJHTS_011 IS-M/AM: Fill Structure RJHATPLZA for the Technical Interface
EXIT_SAPLJHTS_012 IS-M/AM: Fill Structure RJHATPLZ for the Technical Interface
EXIT_SAPLJHTS_013 IS-M/AM: Read Structure RJHATMO from the Technical Interface
EXIT_SAPLJHTS_014 IS-M/AM: Provide Fields During External Order Transfer
EXIT_SAPLJHTS_015 IS-M/AM: Evaluate Message Returned by the Positioning System
EXIT_SAPLJHTS_016 IS-M/AM: Fill Structure RJHATSTAT for the Technical Interface
EXIT_SAPLJHTS_017 IS-M/AM: Fill Structure RJHATPRF for the Technical Interface
EXIT_SAPLJHTS_018
EXIT_SAPLJHTS_019 IS-M/AM: Read Structure RJHATSTAT from the Technical Interface
EXIT_SAPLJHTS_020 IS-M/AM: Read Structure RJHATPAP from the Technical Interface
EXIT_SAPLJHTS_021 IS-M/AM: Read Structure RJHATPSI from the Technical Interface

IMPORTING Parameters details for ISP_JHTS_CUSTOM_FUNCT_004_CALL

ANZWORT1_I - IS-M: Number of words in a text-based ad in units of 1000

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

ANZWORT2_I - IS-M: Number of words in a text-based ad in units of 1000

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

EXPORTING Parameters details for ISP_JHTS_CUSTOM_FUNCT_004_CALL

ZUS_MENGE - IS-M: Number of Additional Ad Spec Calculation Units

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

ZUS_BERECH - IS-M: Additional Unit of Measure for Settlement

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

Copy and paste ABAP code example for ISP_JHTS_CUSTOM_FUNCT_004_CALL 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_zus_menge  TYPE RJHAMOT-ZUS_MENGE, "   
lv_anzwort1_i  TYPE RJHATMO-ANZWORT1_I, "   
lv_anzwort2_i  TYPE RJHATMO-ANZWORT2_I, "   
lv_zus_berech  TYPE RJHAMOT-ZUS_BERECH. "   

  CALL FUNCTION 'ISP_JHTS_CUSTOM_FUNCT_004_CALL'  "IS-M/AM: Access CUSTOMER FUNCTION 004
    EXPORTING
         ANZWORT1_I = lv_anzwort1_i
         ANZWORT2_I = lv_anzwort2_i
    IMPORTING
         ZUS_MENGE = lv_zus_menge
         ZUS_BERECH = lv_zus_berech
. " ISP_JHTS_CUSTOM_FUNCT_004_CALL




ABAP code using 7.40 inline data declarations to call FM ISP_JHTS_CUSTOM_FUNCT_004_CALL

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 ZUS_MENGE FROM RJHAMOT INTO @DATA(ld_zus_menge).
 
"SELECT single ANZWORT1_I FROM RJHATMO INTO @DATA(ld_anzwort1_i).
 
"SELECT single ANZWORT2_I FROM RJHATMO INTO @DATA(ld_anzwort2_i).
 
"SELECT single ZUS_BERECH FROM RJHAMOT INTO @DATA(ld_zus_berech).
 


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!