SAP ISP_LOCKED_PHONENUMBER_CHECK Function Module for









ISP_LOCKED_PHONENUMBER_CHECK is a standard isp locked phonenumber check SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 locked phonenumber check FM, simply by entering the name ISP_LOCKED_PHONENUMBER_CHECK into the relevant SAP transaction such as SE37 or SE38.

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



Function ISP_LOCKED_PHONENUMBER_CHECK 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_LOCKED_PHONENUMBER_CHECK'"
EXPORTING
IN_PHONE_NR = "
IN_SPART = "
IN_VKORG = "
IN_VTWEG = "

IMPORTING
OUT_COMMENT = "
OUT_X_NUMBER_LOCKED = "

EXCEPTIONS
NUMBER_NOT_LOCKED = 1
.




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_SAPLJJG2_001 IS-M/AM: Modification of Matchcode ID for Business Partner

IMPORTING Parameters details for ISP_LOCKED_PHONENUMBER_CHECK

IN_PHONE_NR -

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

IN_SPART -

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

IN_VKORG -

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

IN_VTWEG -

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

EXPORTING Parameters details for ISP_LOCKED_PHONENUMBER_CHECK

OUT_COMMENT -

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

OUT_X_NUMBER_LOCKED -

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

EXCEPTIONS details

NUMBER_NOT_LOCKED -

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

Copy and paste ABAP code example for ISP_LOCKED_PHONENUMBER_CHECK 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_in_phone_nr  TYPE JJTTS-TELNR, "   
lv_out_comment  TYPE JJTTS-KOMM, "   
lv_number_not_locked  TYPE JJTTS, "   
lv_in_spart  TYPE JJTTS-SPART, "   
lv_out_x_number_locked  TYPE SY-BATCH, "   
lv_in_vkorg  TYPE JJTTS-VKORG, "   
lv_in_vtweg  TYPE JJTTS-VTWEG. "   

  CALL FUNCTION 'ISP_LOCKED_PHONENUMBER_CHECK'  "
    EXPORTING
         IN_PHONE_NR = lv_in_phone_nr
         IN_SPART = lv_in_spart
         IN_VKORG = lv_in_vkorg
         IN_VTWEG = lv_in_vtweg
    IMPORTING
         OUT_COMMENT = lv_out_comment
         OUT_X_NUMBER_LOCKED = lv_out_x_number_locked
    EXCEPTIONS
        NUMBER_NOT_LOCKED = 1
. " ISP_LOCKED_PHONENUMBER_CHECK




ABAP code using 7.40 inline data declarations to call FM ISP_LOCKED_PHONENUMBER_CHECK

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 TELNR FROM JJTTS INTO @DATA(ld_in_phone_nr).
 
"SELECT single KOMM FROM JJTTS INTO @DATA(ld_out_comment).
 
 
"SELECT single SPART FROM JJTTS INTO @DATA(ld_in_spart).
 
"SELECT single BATCH FROM SY INTO @DATA(ld_out_x_number_locked).
 
"SELECT single VKORG FROM JJTTS INTO @DATA(ld_in_vkorg).
 
"SELECT single VTWEG FROM JJTTS INTO @DATA(ld_in_vtweg).
 


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!