SAP ISP_SALES_DOCUMENT_READ Function Module for









ISP_SALES_DOCUMENT_READ is a standard isp sales document read 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 sales document read FM, simply by entering the name ISP_SALES_DOCUMENT_READ into the relevant SAP transaction such as SE37 or SE38.

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



Function ISP_SALES_DOCUMENT_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_SALES_DOCUMENT_READ'"
EXPORTING
* GUELTIGBIS = CON_TIME_INFINITY "
* GUELTIGVON = CON_TIME_ZERO "
* POSEX = "
* POSNR_UR = "
* POSNR = "
VBELN = "

IMPORTING
YJKAK = "

TABLES
* YJKAP = "
* YJKAPRENEW = "
* YJKREMIND = "
* YJKACCOUNT = "
* YJKACCFIZUO = "
* YJKAMOPLAN = "
* YJKPROM = "
* YJKGIFT = "
* YJKCOMM = "
* YJKACCADD = "
* YJKACCADDT = "
* YJKEP = "
* YJKKD = "
* YJKKUEND = "
* YJKPA = "
* YJKPAZ = "
* YJKPAUNV = "
* YJKAPRV = "
* YJKAPCC = "

EXCEPTIONS
NO_DATA_FOUND = 1
.



IMPORTING Parameters details for ISP_SALES_DOCUMENT_READ

GUELTIGBIS -

Data type: JKAP-GUELTIGBIS
Default: CON_TIME_INFINITY
Optional: Yes
Call by Reference: No ( called with pass by value option)

GUELTIGVON -

Data type: JKAP-GUELTIGVON
Default: CON_TIME_ZERO
Optional: Yes
Call by Reference: No ( called with pass by value option)

POSEX -

Data type: JKAP-POSEX
Optional: Yes
Call by Reference: No ( called with pass by value option)

POSNR_UR -

Data type: JKAP-POSNR_UR
Optional: Yes
Call by Reference: No ( called with pass by value option)

POSNR -

Data type: JKAP-POSNR
Optional: Yes
Call by Reference: No ( called with pass by value option)

VBELN -

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

EXPORTING Parameters details for ISP_SALES_DOCUMENT_READ

YJKAK -

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

TABLES Parameters details for ISP_SALES_DOCUMENT_READ

YJKAP -

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

YJKAPRENEW -

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

YJKREMIND -

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

YJKACCOUNT -

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

YJKACCFIZUO -

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

YJKAMOPLAN -

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

YJKPROM -

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

YJKGIFT -

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

YJKCOMM -

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

YJKACCADD -

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

YJKACCADDT -

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

YJKEP -

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

YJKKD -

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

YJKKUEND -

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

YJKPA -

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

YJKPAZ -

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

YJKPAUNV -

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

YJKAPRV -

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

YJKAPCC -

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

EXCEPTIONS details

NO_DATA_FOUND -

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

Copy and paste ABAP code example for ISP_SALES_DOCUMENT_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_yjkak  TYPE JKAK, "   
lt_yjkap  TYPE STANDARD TABLE OF JK_JKAP_GENERICTAB, "   
lv_gueltigbis  TYPE JKAP-GUELTIGBIS, "   CON_TIME_INFINITY
lv_no_data_found  TYPE JKAP, "   
lt_yjkaprenew  TYPE STANDARD TABLE OF JK_JKAPRENEW_GENERICTAB, "   
lt_yjkremind  TYPE STANDARD TABLE OF JK_JKREMIND_GENERICTAB, "   
lt_yjkaccount  TYPE STANDARD TABLE OF JK_JKACCOUNT_GENERICTAB, "   
lt_yjkaccfizuo  TYPE STANDARD TABLE OF JK_JKACCFIZUO_GENERICTAB, "   
lt_yjkamoplan  TYPE STANDARD TABLE OF JK_JKAMOPLAN_GENERICTAB, "   
lt_yjkprom  TYPE STANDARD TABLE OF JK_JKPROM_GENERICTAB, "   
lt_yjkgift  TYPE STANDARD TABLE OF JK_JKGIFT_GENERICTAB, "   
lt_yjkcomm  TYPE STANDARD TABLE OF JK_JKCOMM_GENERICTAB, "   
lt_yjkaccadd  TYPE STANDARD TABLE OF JK_JKACCADD_GENERICTAB, "   
lt_yjkaccaddt  TYPE STANDARD TABLE OF JK_JKACCADDT_GENERICTAB, "   
lt_yjkep  TYPE STANDARD TABLE OF JK_JKEP_GENERICTAB, "   
lv_gueltigvon  TYPE JKAP-GUELTIGVON, "   CON_TIME_ZERO
lv_posex  TYPE JKAP-POSEX, "   
lt_yjkkd  TYPE STANDARD TABLE OF JK_JKKD_GENERICTAB, "   
lv_posnr_ur  TYPE JKAP-POSNR_UR, "   
lt_yjkkuend  TYPE STANDARD TABLE OF JK_JKKUEND_GENERICTAB, "   
lv_posnr  TYPE JKAP-POSNR, "   
lt_yjkpa  TYPE STANDARD TABLE OF JK_JKPA_GENERICTAB, "   
lv_vbeln  TYPE JKAK-VBELN, "   
lt_yjkpaz  TYPE STANDARD TABLE OF JK_JKPAZ_GENERICTAB, "   
lt_yjkpaunv  TYPE STANDARD TABLE OF JK_JKPAUNV_GENERICTAB, "   
lt_yjkaprv  TYPE STANDARD TABLE OF JK_JKAPRV_GENERICTAB, "   
lt_yjkapcc  TYPE STANDARD TABLE OF JK_JKAPCC_GENERICTAB. "   

  CALL FUNCTION 'ISP_SALES_DOCUMENT_READ'  "
    EXPORTING
         GUELTIGBIS = lv_gueltigbis
         GUELTIGVON = lv_gueltigvon
         POSEX = lv_posex
         POSNR_UR = lv_posnr_ur
         POSNR = lv_posnr
         VBELN = lv_vbeln
    IMPORTING
         YJKAK = lv_yjkak
    TABLES
         YJKAP = lt_yjkap
         YJKAPRENEW = lt_yjkaprenew
         YJKREMIND = lt_yjkremind
         YJKACCOUNT = lt_yjkaccount
         YJKACCFIZUO = lt_yjkaccfizuo
         YJKAMOPLAN = lt_yjkamoplan
         YJKPROM = lt_yjkprom
         YJKGIFT = lt_yjkgift
         YJKCOMM = lt_yjkcomm
         YJKACCADD = lt_yjkaccadd
         YJKACCADDT = lt_yjkaccaddt
         YJKEP = lt_yjkep
         YJKKD = lt_yjkkd
         YJKKUEND = lt_yjkkuend
         YJKPA = lt_yjkpa
         YJKPAZ = lt_yjkpaz
         YJKPAUNV = lt_yjkpaunv
         YJKAPRV = lt_yjkaprv
         YJKAPCC = lt_yjkapcc
    EXCEPTIONS
        NO_DATA_FOUND = 1
. " ISP_SALES_DOCUMENT_READ




ABAP code using 7.40 inline data declarations to call FM ISP_SALES_DOCUMENT_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 GUELTIGBIS FROM JKAP INTO @DATA(ld_gueltigbis).
DATA(ld_gueltigbis) = CON_TIME_INFINITY.
 
 
 
 
 
 
 
 
 
 
 
 
 
"SELECT single GUELTIGVON FROM JKAP INTO @DATA(ld_gueltigvon).
DATA(ld_gueltigvon) = CON_TIME_ZERO.
 
"SELECT single POSEX FROM JKAP INTO @DATA(ld_posex).
 
 
"SELECT single POSNR_UR FROM JKAP INTO @DATA(ld_posnr_ur).
 
 
"SELECT single POSNR FROM JKAP INTO @DATA(ld_posnr).
 
 
"SELECT single VBELN FROM JKAK INTO @DATA(ld_vbeln).
 
 
 
 
 


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!