ISP_INVOICE_CREATE_STO 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_CREATE_STO 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_CREATE_STO' "IS-M/SD: Generate Reversal Billing Documents
EXPORTING
* igv_msgid = 'JF' " jffs-msgid
* invoice_date = 0 " jfrk-fkdat Billing Document Date
jfsk_i = " jfsk
* with_posting = ' ' " xfeld
* jfdfs_no_update = ' ' " xfeld
* xbankrueck = ' ' " tjn01-xbankrueck
vkorg = " jfrk-vkorg
IMPORTING
jfsk_e = " jfsk
TABLES
xjfdfs = " jfdfsvb Billing Index
xkomfk = " jkomfk Billing Communications Table
xkomfkgn = " jf60_xkomfkgn_type
xkomv = " komv Price Determination Communications-Condition Record
xthead = " thead SAPscript: Text Header
xjffs = " jffs Error Log for Collective Processing
xjfpa = " jfpavb Sales Document: Partner
xjfrk = " jfrkvb Billing Document: Header Data
xjfrp = " jfrpvb Billing Document: Item Data
* xjfrkcc = " jfrkccvb
. " ISP_INVOICE_CREATE_STO
The ABAP code below is a full code listing to execute function module ISP_INVOICE_CREATE_STO 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_jfsk_e | TYPE JFSK , |
| it_xjfdfs | TYPE STANDARD TABLE OF JFDFSVB,"TABLES PARAM |
| wa_xjfdfs | LIKE LINE OF it_xjfdfs , |
| it_xkomfk | TYPE STANDARD TABLE OF JKOMFK,"TABLES PARAM |
| wa_xkomfk | LIKE LINE OF it_xkomfk , |
| it_xkomfkgn | TYPE STANDARD TABLE OF JF60_XKOMFKGN_TYPE,"TABLES PARAM |
| wa_xkomfkgn | LIKE LINE OF it_xkomfkgn , |
| it_xkomv | TYPE STANDARD TABLE OF KOMV,"TABLES PARAM |
| wa_xkomv | LIKE LINE OF it_xkomv , |
| it_xthead | TYPE STANDARD TABLE OF THEAD,"TABLES PARAM |
| wa_xthead | LIKE LINE OF it_xthead , |
| 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_jfsk_e | TYPE JFSK , |
| ld_igv_msgid | TYPE JFFS-MSGID , |
| it_xjfdfs | TYPE STANDARD TABLE OF JFDFSVB , |
| wa_xjfdfs | LIKE LINE OF it_xjfdfs, |
| ld_invoice_date | TYPE JFRK-FKDAT , |
| it_xkomfk | TYPE STANDARD TABLE OF JKOMFK , |
| wa_xkomfk | LIKE LINE OF it_xkomfk, |
| ld_jfsk_i | TYPE JFSK , |
| it_xkomfkgn | TYPE STANDARD TABLE OF JF60_XKOMFKGN_TYPE , |
| wa_xkomfkgn | LIKE LINE OF it_xkomfkgn, |
| ld_with_posting | TYPE XFELD , |
| it_xkomv | TYPE STANDARD TABLE OF KOMV , |
| wa_xkomv | LIKE LINE OF it_xkomv, |
| ld_jfdfs_no_update | TYPE XFELD , |
| it_xthead | TYPE STANDARD TABLE OF THEAD , |
| wa_xthead | LIKE LINE OF it_xthead, |
| ld_xbankrueck | TYPE TJN01-XBANKRUECK , |
| it_xjffs | TYPE STANDARD TABLE OF JFFS , |
| wa_xjffs | LIKE LINE OF it_xjffs, |
| ld_vkorg | TYPE JFRK-VKORG , |
| it_xjfpa | TYPE STANDARD TABLE OF JFPAVB , |
| wa_xjfpa | LIKE LINE OF it_xjfpa, |
| it_xjfrk | TYPE STANDARD TABLE OF JFRKVB , |
| wa_xjfrk | LIKE LINE OF it_xjfrk, |
| 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_CREATE_STO or its description.
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 ISP_INVOICE_ARCHIVE_DATA_GET - IS-M/SD: Read and Check Billing Documents for Archiving ISP_INVOICE_ACCOUNT_DETERM - IS-M/SD: Account Determination for Billing ISP_INTERFACE_FOR_FKDAT_BUILD - IS-M/SD: Determine Billing Date for Billing Index