ISP_INVOICE_DOCUMENT_READ 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_INVOICE_DOCUMENT_READ into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
JF60
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'ISP_INVOICE_DOCUMENT_READ' "IS-M/SD: Read Billing Documents
EXPORTING
* activity = ' ' " tact-actvt
* konv_read = ' ' " xfeld Checkbox Field
* msgty = '*' " rjmsg-msgty
* no_nast = ' ' " xfeld Checkbox Field
jfrk_i = " jfrk
* no_jfpa = ' ' " xfeld Checkbox Field
IMPORTING
activ_e = " tact-actvt
src = " sy-subrc
jfrk_e = " jfrk
TABLES
xkomfk = " jkomfk
xkomv = " komv
xjffs = " jffs
xjfpa = " jfpavb
xjfrk = " jfrkvb
xjfrp = " jfrpvb
* xjfrkcc = " jfrkccvb
. " ISP_INVOICE_DOCUMENT_READ
The ABAP code below is a full code listing to execute function module ISP_INVOICE_DOCUMENT_READ 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_activ_e | TYPE TACT-ACTVT , |
| ld_src | TYPE SY-SUBRC , |
| ld_jfrk_e | TYPE JFRK , |
| it_xkomfk | TYPE STANDARD TABLE OF JKOMFK,"TABLES PARAM |
| wa_xkomfk | LIKE LINE OF it_xkomfk , |
| it_xkomv | TYPE STANDARD TABLE OF KOMV,"TABLES PARAM |
| wa_xkomv | LIKE LINE OF it_xkomv , |
| it_xjffs | TYPE STANDARD TABLE OF JFFS,"TABLES PARAM |
| wa_xjffs | LIKE LINE OF it_xjffs , |
| it_xjfpa | TYPE STANDARD TABLE OF JFPAVB,"TABLES PARAM |
| wa_xjfpa | LIKE LINE OF it_xjfpa , |
| it_xjfrk | TYPE STANDARD TABLE OF JFRKVB,"TABLES PARAM |
| wa_xjfrk | LIKE LINE OF it_xjfrk , |
| it_xjfrp | TYPE STANDARD TABLE OF JFRPVB,"TABLES PARAM |
| wa_xjfrp | LIKE LINE OF it_xjfrp , |
| it_xjfrkcc | TYPE STANDARD TABLE OF JFRKCCVB,"TABLES PARAM |
| wa_xjfrkcc | LIKE LINE OF it_xjfrkcc . |
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_activ_e | TYPE TACT-ACTVT , |
| ld_activity | TYPE TACT-ACTVT , |
| it_xkomfk | TYPE STANDARD TABLE OF JKOMFK , |
| wa_xkomfk | LIKE LINE OF it_xkomfk, |
| ld_src | TYPE SY-SUBRC , |
| ld_konv_read | TYPE XFELD , |
| it_xkomv | TYPE STANDARD TABLE OF KOMV , |
| wa_xkomv | LIKE LINE OF it_xkomv, |
| ld_jfrk_e | TYPE JFRK , |
| ld_msgty | TYPE RJMSG-MSGTY , |
| it_xjffs | TYPE STANDARD TABLE OF JFFS , |
| wa_xjffs | LIKE LINE OF it_xjffs, |
| ld_no_nast | TYPE XFELD , |
| it_xjfpa | TYPE STANDARD TABLE OF JFPAVB , |
| wa_xjfpa | LIKE LINE OF it_xjfpa, |
| ld_jfrk_i | TYPE JFRK , |
| it_xjfrk | TYPE STANDARD TABLE OF JFRKVB , |
| wa_xjfrk | LIKE LINE OF it_xjfrk, |
| ld_no_jfpa | TYPE XFELD , |
| it_xjfrp | TYPE STANDARD TABLE OF JFRPVB , |
| wa_xjfrp | LIKE LINE OF it_xjfrp, |
| it_xjfrkcc | TYPE STANDARD TABLE OF JFRKCCVB , |
| wa_xjfrkcc | LIKE LINE OF it_xjfrkcc. |
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_INVOICE_DOCUMENT_READ or its description.
ISP_INVOICE_DOCUMENT_READ - IS-M/SD: Read Billing Documents ISP_INVOICE_DOCUMENT_ADD - IS-M/SD: Update Billing Documents ISP_INVOICE_DECOMPRESS_PREPARE - IS-M/SD: Break Down Summarized Billing Document ISP_INVOICE_CREATE_STO - IS-M/SD: Generate Reversal Billing Documents ISP_INVOICE_CREATE_FAKT - IS-M/SD: Generate Billing Interface Tables for Billing ISP_INVOICE_ARCHIVE_PREPARE - IS-M/SD: Prepare Archiving for Billing Document