SAP ISP_INVOICE_TO_ORDER_GET Function Module for









ISP_INVOICE_TO_ORDER_GET is a standard isp invoice to order get 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 invoice to order get FM, simply by entering the name ISP_INVOICE_TO_ORDER_GET into the relevant SAP transaction such as SE37 or SE38.

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



Function ISP_INVOICE_TO_ORDER_GET 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_INVOICE_TO_ORDER_GET'"
EXPORTING
VBELN = "
* POSNR = "
* ETENR = "
* FAKBIS = CON_TIME_ZERO "
* INCL_STORNO = ' ' "
* XVERDICHTUNG = ' ' "

IMPORTING
XFAKTURIERT = "

TABLES
FAKTURA_TAB = "

EXCEPTIONS
NO_ORDER_NUMBER = 1 WRONG_VALUE = 2
.



IMPORTING Parameters details for ISP_INVOICE_TO_ORDER_GET

VBELN -

Data type: JKAP-VBELN
Optional: No
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)

ETENR -

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

FAKBIS -

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

INCL_STORNO -

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

XVERDICHTUNG -

Data type: SY-DATAR
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for ISP_INVOICE_TO_ORDER_GET

XFAKTURIERT -

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

TABLES Parameters details for ISP_INVOICE_TO_ORDER_GET

FAKTURA_TAB -

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

EXCEPTIONS details

NO_ORDER_NUMBER -

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

WRONG_VALUE -

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

Copy and paste ABAP code example for ISP_INVOICE_TO_ORDER_GET 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_vbeln  TYPE JKAP-VBELN, "   
lt_faktura_tab  TYPE STANDARD TABLE OF JKVFKAP, "   
lv_xfakturiert  TYPE RJ45A-XFAKTRIERT, "   
lv_no_order_number  TYPE RJ45A, "   
lv_posnr  TYPE JKAP-POSNR, "   
lv_wrong_value  TYPE JKAP, "   
lv_etenr  TYPE JKEP-ETENR, "   
lv_fakbis  TYPE JKVFKAP-ISPFAKBIS, "   CON_TIME_ZERO
lv_incl_storno  TYPE JKAP-XSTORNO, "   SPACE
lv_xverdichtung  TYPE SY-DATAR. "   SPACE

  CALL FUNCTION 'ISP_INVOICE_TO_ORDER_GET'  "
    EXPORTING
         VBELN = lv_vbeln
         POSNR = lv_posnr
         ETENR = lv_etenr
         FAKBIS = lv_fakbis
         INCL_STORNO = lv_incl_storno
         XVERDICHTUNG = lv_xverdichtung
    IMPORTING
         XFAKTURIERT = lv_xfakturiert
    TABLES
         FAKTURA_TAB = lt_faktura_tab
    EXCEPTIONS
        NO_ORDER_NUMBER = 1
        WRONG_VALUE = 2
. " ISP_INVOICE_TO_ORDER_GET




ABAP code using 7.40 inline data declarations to call FM ISP_INVOICE_TO_ORDER_GET

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 VBELN FROM JKAP INTO @DATA(ld_vbeln).
 
 
"SELECT single XFAKTRIERT FROM RJ45A INTO @DATA(ld_xfakturiert).
 
 
"SELECT single POSNR FROM JKAP INTO @DATA(ld_posnr).
 
 
"SELECT single ETENR FROM JKEP INTO @DATA(ld_etenr).
 
"SELECT single ISPFAKBIS FROM JKVFKAP INTO @DATA(ld_fakbis).
DATA(ld_fakbis) = CON_TIME_ZERO.
 
"SELECT single XSTORNO FROM JKAP INTO @DATA(ld_incl_storno).
DATA(ld_incl_storno) = ' '.
 
"SELECT single DATAR FROM SY INTO @DATA(ld_xverdichtung).
DATA(ld_xverdichtung) = ' '.
 


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!