SAP ISP_SERVICE_ACCOUNT_DOC_READ Function Module for IS-M/SD: Read Settlement Documents









ISP_SERVICE_ACCOUNT_DOC_READ is a standard isp service account doc 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/SD: Read Settlement Documents 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 service account doc read FM, simply by entering the name ISP_SERVICE_ACCOUNT_DOC_READ into the relevant SAP transaction such as SE37 or SE38.

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



Function ISP_SERVICE_ACCOUNT_DOC_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_SERVICE_ACCOUNT_DOC_READ'"IS-M/SD: Read Settlement Documents
EXPORTING
* ACTIVITY = ' ' "
JLRK_I = "
* KONV_READ = ' ' "
* MSGTY = 'E' "
* NO_NAST = ' ' "

IMPORTING
JLRK_E = "
SRC = "

TABLES
XJLFS = "
XJLPA = "
XJLRK = "
XJLRP = "
XKOMLK = "
XKOMV = "
* XKOMLKGN = "
.




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_SAPLJL10_001 IS-M/SD: Sort Settlement Items
EXIT_SAPLJL10_002 IS-M/SD: Further Partners (Roles) in Settlement
EXIT_SAPLJL10_003 IS-M/SD: Modify Pricing Fields - Header Fields TKOMK
EXIT_SAPLJL10_004 IS-M/SD: Modify Pricing Fields - Item Fields TKOMP
EXIT_SAPLJL10_005 IS-M/SD: Modify Number Range for Service Settlement
EXIT_SAPLJL10_006 IS-M/SD: Modify Fields for Account Determination (Header Fields) KOMKCV
EXIT_SAPLJL10_007 IS-M/SD: Modify Fields for Account Determination (Item Fields) KOMPCV
EXIT_SAPLJL10_008 IS-M/SD: User Exit for Changing Interface to Settlement Items
EXIT_SAPLJL10_009 IS-M/SD: Modification of Fields in Deliveries for Settlement
EXIT_SAPLJL10_010 IS-M/SD: Customer-Specific HR Wage Type Determination

IMPORTING Parameters details for ISP_SERVICE_ACCOUNT_DOC_READ

ACTIVITY -

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

JLRK_I -

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

KONV_READ -

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

MSGTY -

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

NO_NAST -

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

EXPORTING Parameters details for ISP_SERVICE_ACCOUNT_DOC_READ

JLRK_E -

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

SRC -

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

TABLES Parameters details for ISP_SERVICE_ACCOUNT_DOC_READ

XJLFS -

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

XJLPA -

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

XJLRK -

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

XJLRP -

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

XKOMLK -

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

XKOMV -

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

XKOMLKGN -

Data type: KOMLKGN
Optional: Yes
Call by Reference: Yes

Copy and paste ABAP code example for ISP_SERVICE_ACCOUNT_DOC_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:
lt_xjlfs  TYPE STANDARD TABLE OF JLFS, "   
lv_jlrk_e  TYPE JLRK, "   
lv_activity  TYPE TACT-ACTVT, "   ' '
lv_src  TYPE SY-SUBRC, "   
lt_xjlpa  TYPE STANDARD TABLE OF JLPAVB, "   
lv_jlrk_i  TYPE JLRK, "   
lt_xjlrk  TYPE STANDARD TABLE OF JLRKVB, "   
lv_konv_read  TYPE JLRKVB, "   ' '
lv_msgty  TYPE RJMSG-MSGTY, "   'E'
lt_xjlrp  TYPE STANDARD TABLE OF JLRPVB, "   
lt_xkomlk  TYPE STANDARD TABLE OF KOMLK, "   
lv_no_nast  TYPE KOMLK, "   ' '
lt_xkomv  TYPE STANDARD TABLE OF KOMV, "   
lt_xkomlkgn  TYPE STANDARD TABLE OF KOMLKGN. "   

  CALL FUNCTION 'ISP_SERVICE_ACCOUNT_DOC_READ'  "IS-M/SD: Read Settlement Documents
    EXPORTING
         ACTIVITY = lv_activity
         JLRK_I = lv_jlrk_i
         KONV_READ = lv_konv_read
         MSGTY = lv_msgty
         NO_NAST = lv_no_nast
    IMPORTING
         JLRK_E = lv_jlrk_e
         SRC = lv_src
    TABLES
         XJLFS = lt_xjlfs
         XJLPA = lt_xjlpa
         XJLRK = lt_xjlrk
         XJLRP = lt_xjlrp
         XKOMLK = lt_xkomlk
         XKOMV = lt_xkomv
         XKOMLKGN = lt_xkomlkgn
. " ISP_SERVICE_ACCOUNT_DOC_READ




ABAP code using 7.40 inline data declarations to call FM ISP_SERVICE_ACCOUNT_DOC_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.

 
 
"SELECT single ACTVT FROM TACT INTO @DATA(ld_activity).
DATA(ld_activity) = ' '.
 
"SELECT single SUBRC FROM SY INTO @DATA(ld_src).
 
 
 
 
DATA(ld_konv_read) = ' '.
 
"SELECT single MSGTY FROM RJMSG INTO @DATA(ld_msgty).
DATA(ld_msgty) = 'E'.
 
 
 
DATA(ld_no_nast) = ' '.
 
 
 


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!