SAP ISP_GP_DATA_GET Function Module for TS Accesses IS-M/AM and Receives Business Partner Data









ISP_GP_DATA_GET is a standard isp gp data get SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for TS Accesses IS-M/AM and Receives Business Partner Data 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 gp data get FM, simply by entering the name ISP_GP_DATA_GET into the relevant SAP transaction such as SE37 or SE38.

Function Group: JHTS
Program Name: SAPLJHTS
Main Program: SAPLJHTS
Appliation area: J
Release date: 08-Aug-2000
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function ISP_GP_DATA_GET 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_GP_DATA_GET'"TS Accesses IS-M/AM and Receives Business Partner Data
EXPORTING
GPNR = "Business Partner Number

IMPORTING
NAME1 = "Name of Business Partner
PSTLZ = "Postal Code
ORT01 = "City
LAND1 = "Country Key
ANSPR_NAME = "Contact Person (Sold-to Party)
JGTSADR_WA = "
ISPEMAIL = "IS-M: E-Mail Address
NAME2 = "First Name of Business Partner
ISPTELVWD = "Office Area Code
ISPTELD = "Office Telephone Number
ISPTELVWP = "Home Area Code
ISPTELP = "Home Telephone Number
STRAS = "Street
HAUSN = "House Number
HSNMR2 = "House Number Extension

EXCEPTIONS
NO_AUTHORITY = 1 FUNCTION_NOT_ACTIVE = 2
.




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_GP_DATA_GET

GPNR - Business Partner Number

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

EXPORTING Parameters details for ISP_GP_DATA_GET

NAME1 - Name of Business Partner

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

PSTLZ - Postal Code

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

ORT01 - City

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

LAND1 - Country Key

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

ANSPR_NAME - Contact Person (Sold-to Party)

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

JGTSADR_WA -

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

ISPEMAIL - IS-M: E-Mail Address

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

NAME2 - First Name of Business Partner

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

ISPTELVWD - Office Area Code

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

ISPTELD - Office Telephone Number

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

ISPTELVWP - Home Area Code

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

ISPTELP - Home Telephone Number

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

STRAS - Street

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

HAUSN - House Number

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

HSNMR2 - House Number Extension

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

EXCEPTIONS details

NO_AUTHORITY - No Authorization

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

FUNCTION_NOT_ACTIVE - Function Is Not Active

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

Copy and paste ABAP code example for ISP_GP_DATA_GET 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_gpnr  TYPE RJHATPAK-GPNR, "   
lv_name1  TYPE RJHATPAK-NAME1, "   
lv_no_authority  TYPE RJHATPAK, "   
lv_pstlz  TYPE RJHATPAK-PSTLZ, "   
lv_ort01  TYPE RJHATPAK-ORT01, "   
lv_land1  TYPE RJHATPAK-LAND1, "   
lv_anspr_name  TYPE RJHATPAK-ANSPR_NAME, "   
lv_jgtsadr_wa  TYPE JGTSADR, "   
lv_ispemail  TYPE RJHATPAK-ISPEMAIL, "   
lv_name2  TYPE RJHATPAK-NAME2, "   
lv_function_not_active  TYPE RJHATPAK, "   
lv_isptelvwd  TYPE RJHATPAK-ISPTELVWD, "   
lv_ispteld  TYPE RJHATPAK-ISPTELD, "   
lv_isptelvwp  TYPE RJHATPAK-ISPTELVWP, "   
lv_isptelp  TYPE RJHATPAK-ISPTELP, "   
lv_stras  TYPE RJHATPAK-STRAS, "   
lv_hausn  TYPE RJHATPAK-HAUSN, "   
lv_hsnmr2  TYPE RJHATPAK-HSNMR2. "   

  CALL FUNCTION 'ISP_GP_DATA_GET'  "TS Accesses IS-M/AM and Receives Business Partner Data
    EXPORTING
         GPNR = lv_gpnr
    IMPORTING
         NAME1 = lv_name1
         PSTLZ = lv_pstlz
         ORT01 = lv_ort01
         LAND1 = lv_land1
         ANSPR_NAME = lv_anspr_name
         JGTSADR_WA = lv_jgtsadr_wa
         ISPEMAIL = lv_ispemail
         NAME2 = lv_name2
         ISPTELVWD = lv_isptelvwd
         ISPTELD = lv_ispteld
         ISPTELVWP = lv_isptelvwp
         ISPTELP = lv_isptelp
         STRAS = lv_stras
         HAUSN = lv_hausn
         HSNMR2 = lv_hsnmr2
    EXCEPTIONS
        NO_AUTHORITY = 1
        FUNCTION_NOT_ACTIVE = 2
. " ISP_GP_DATA_GET




ABAP code using 7.40 inline data declarations to call FM ISP_GP_DATA_GET

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 GPNR FROM RJHATPAK INTO @DATA(ld_gpnr).
 
"SELECT single NAME1 FROM RJHATPAK INTO @DATA(ld_name1).
 
 
"SELECT single PSTLZ FROM RJHATPAK INTO @DATA(ld_pstlz).
 
"SELECT single ORT01 FROM RJHATPAK INTO @DATA(ld_ort01).
 
"SELECT single LAND1 FROM RJHATPAK INTO @DATA(ld_land1).
 
"SELECT single ANSPR_NAME FROM RJHATPAK INTO @DATA(ld_anspr_name).
 
 
"SELECT single ISPEMAIL FROM RJHATPAK INTO @DATA(ld_ispemail).
 
"SELECT single NAME2 FROM RJHATPAK INTO @DATA(ld_name2).
 
 
"SELECT single ISPTELVWD FROM RJHATPAK INTO @DATA(ld_isptelvwd).
 
"SELECT single ISPTELD FROM RJHATPAK INTO @DATA(ld_ispteld).
 
"SELECT single ISPTELVWP FROM RJHATPAK INTO @DATA(ld_isptelvwp).
 
"SELECT single ISPTELP FROM RJHATPAK INTO @DATA(ld_isptelp).
 
"SELECT single STRAS FROM RJHATPAK INTO @DATA(ld_stras).
 
"SELECT single HAUSN FROM RJHATPAK INTO @DATA(ld_hausn).
 
"SELECT single HSNMR2 FROM RJHATPAK INTO @DATA(ld_hsnmr2).
 


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!