SAP ISP_ADDRESSES_READ Function Module for IS-M: Determine Address List for BP/Role (Time-Related) (New:JGTADRA)









ISP_ADDRESSES_READ is a standard isp addresses read 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: Determine Address List for BP/Role (Time-Related) (New:JGTADRA) 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 addresses read FM, simply by entering the name ISP_ADDRESSES_READ into the relevant SAP transaction such as SE37 or SE38.

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



Function ISP_ADDRESSES_READ 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_ADDRESSES_READ'"IS-M: Determine Address List for BP/Role (Time-Related) (New:JGTADRA)
EXPORTING
* ANF_DAT = '00000000' "
* END_DAT = '99991231' "
SEL_GPNR = "Select Business Partner
* SEL_ROLLE = 'GP' "
* X_ALL_TIME_SLICES = ' ' "
* X_ALL_ADDRESSES = ' ' "
* X_MEMORY = ' ' "

TABLES
IADDRES2 = "

EXCEPTIONS
NO_ADR = 1 NO_GPNR = 2 NO_ROLLE = 3
.



IMPORTING Parameters details for ISP_ADDRESSES_READ

ANF_DAT -

Data type: D
Default: '00000000'
Optional: Yes
Call by Reference: No ( called with pass by value option)

END_DAT -

Data type: D
Default: '99991231'
Optional: Yes
Call by Reference: No ( called with pass by value option)

SEL_GPNR - Select Business Partner

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

SEL_ROLLE -

Data type: RJG0102-ROLLE
Default: 'GP'
Optional: Yes
Call by Reference: No ( called with pass by value option)

X_ALL_TIME_SLICES -

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

X_ALL_ADDRESSES -

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

X_MEMORY -

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

TABLES Parameters details for ISP_ADDRESSES_READ

IADDRES2 -

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

EXCEPTIONS details

NO_ADR -

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

NO_GPNR -

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

NO_ROLLE -

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

Copy and paste ABAP code example for ISP_ADDRESSES_READ 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_no_adr  TYPE STRING, "   
lv_anf_dat  TYPE D, "   '00000000'
lt_iaddres2  TYPE STANDARD TABLE OF JGVADDRES2, "   
lv_end_dat  TYPE D, "   '99991231'
lv_no_gpnr  TYPE D, "   
lv_no_rolle  TYPE D, "   
lv_sel_gpnr  TYPE RJG0101-GPNR, "   
lv_sel_rolle  TYPE RJG0102-ROLLE, "   'GP'
lv_x_all_time_slices  TYPE RJG0102, "   ' '
lv_x_all_addresses  TYPE RJG0102, "   ' '
lv_x_memory  TYPE RJG0102. "   ' '

  CALL FUNCTION 'ISP_ADDRESSES_READ'  "IS-M: Determine Address List for BP/Role (Time-Related) (New:JGTADRA)
    EXPORTING
         ANF_DAT = lv_anf_dat
         END_DAT = lv_end_dat
         SEL_GPNR = lv_sel_gpnr
         SEL_ROLLE = lv_sel_rolle
         X_ALL_TIME_SLICES = lv_x_all_time_slices
         X_ALL_ADDRESSES = lv_x_all_addresses
         X_MEMORY = lv_x_memory
    TABLES
         IADDRES2 = lt_iaddres2
    EXCEPTIONS
        NO_ADR = 1
        NO_GPNR = 2
        NO_ROLLE = 3
. " ISP_ADDRESSES_READ




ABAP code using 7.40 inline data declarations to call FM ISP_ADDRESSES_READ

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.

 
DATA(ld_anf_dat) = '00000000'.
 
 
DATA(ld_end_dat) = '99991231'.
 
 
 
"SELECT single GPNR FROM RJG0101 INTO @DATA(ld_sel_gpnr).
 
"SELECT single ROLLE FROM RJG0102 INTO @DATA(ld_sel_rolle).
DATA(ld_sel_rolle) = 'GP'.
 
DATA(ld_x_all_time_slices) = ' '.
 
DATA(ld_x_all_addresses) = ' '.
 
DATA(ld_x_memory) = ' '.
 


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!