ISP_GP_DUPLICATE_CHECK is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name ISP_GP_DUPLICATE_CHECK into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
JG11
Released Date:
17.01.1996
Processing type: Normal fucntion module
CALL FUNCTION 'ISP_GP_DUPLICATE_CHECK' "IS-M/SD: Duplicate Check for BP Addresses
* EXPORTING
* ffunktion = " t185f-fcode Definition of Default Values for Enter Key
* sadrwa_in = SPACE " jgtsadr Work Area for Input (Address)
* parvw_in = " tjg39-jparvw
IMPORTING
sadrwa_out = " jgtsadr Work Area for Output (Address)
rolle_out = " jgtadra-jparvw
returncode = " sy-subrc 1 = Record Selected
current_address_out = " rjksel-markfeld Address Is Address Currently Valid
* TABLES
* out_jgtsadr = " jgtsadr Table of All Duplicates (JGTSADR format)
* in_jgtsadr = " jgtsadr Table of Addresses for LIST Mode
. " ISP_GP_DUPLICATE_CHECK
The ABAP code below is a full code listing to execute function module ISP_GP_DUPLICATE_CHECK including all data declarations. The code uses 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 original method of declaring data variables up front. 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).
| ld_sadrwa_out | TYPE JGTSADR , |
| ld_rolle_out | TYPE JGTADRA-JPARVW , |
| ld_returncode | TYPE SY-SUBRC , |
| ld_current_address_out | TYPE RJKSEL-MARKFELD , |
| it_out_jgtsadr | TYPE STANDARD TABLE OF JGTSADR,"TABLES PARAM |
| wa_out_jgtsadr | LIKE LINE OF it_out_jgtsadr , |
| it_in_jgtsadr | TYPE STANDARD TABLE OF JGTSADR,"TABLES PARAM |
| wa_in_jgtsadr | LIKE LINE OF it_in_jgtsadr . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_sadrwa_out | TYPE JGTSADR , |
| ld_ffunktion | TYPE T185F-FCODE , |
| it_out_jgtsadr | TYPE STANDARD TABLE OF JGTSADR , |
| wa_out_jgtsadr | LIKE LINE OF it_out_jgtsadr, |
| ld_rolle_out | TYPE JGTADRA-JPARVW , |
| ld_sadrwa_in | TYPE JGTSADR , |
| it_in_jgtsadr | TYPE STANDARD TABLE OF JGTSADR , |
| wa_in_jgtsadr | LIKE LINE OF it_in_jgtsadr, |
| ld_returncode | TYPE SY-SUBRC , |
| ld_parvw_in | TYPE TJG39-JPARVW , |
| ld_current_address_out | TYPE RJKSEL-MARKFELD . |
In duplicate determination, an internal table is filled with addresses
from JGTSADR. The addresses in which field SORT2 corresponds to field
...See here for full SAP fm documentation
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name ISP_GP_DUPLICATE_CHECK or its description.
ISP_GP_DUPLICATE_CHECK - IS-M/SD: Duplicate Check for BP Addresses ISP_GP_DEBITOR_BANKTYPE_NEW - IS-M/SD: Determine New Bank Type Number for KNBK Banks ISP_GP_DATA_GET - TS Accesses IS-M/AM and Receives Business Partner Data ISP_GP_BUFFER_REFRESH - ISP_GP_BANK_SELECT - IS-M/SD: Bank Selection Using Dialog Box ISP_GP_BANK_REFRESH - IS-M/SD: Initialization for Bank Selection