SAP ISP_BASEDATE_ROLLING_INVOICE Function Module for IS-M/SD: Determine Basic Date of Order Item for Rotating Billing









ISP_BASEDATE_ROLLING_INVOICE is a standard isp basedate rolling invoice 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: Determine Basic Date of Order Item for Rotating Billing 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 basedate rolling invoice FM, simply by entering the name ISP_BASEDATE_ROLLING_INVOICE into the relevant SAP transaction such as SE37 or SE38.

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



Function ISP_BASEDATE_ROLLING_INVOICE 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_BASEDATE_ROLLING_INVOICE'"IS-M/SD: Determine Basic Date of Order Item for Rotating Billing
EXPORTING
FKDATVSYST_MAXIMAL = "
VBELN = "Order Number
POSNR = "Item
POSNR_UR = "
ZSKLS = "
RECHBEGINN = "

IMPORTING
BASEDATE = "

TABLES
XJKAP = "
XJKKD = "
.



IMPORTING Parameters details for ISP_BASEDATE_ROLLING_INVOICE

FKDATVSYST_MAXIMAL -

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

VBELN - Order Number

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

POSNR - Item

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

POSNR_UR -

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

ZSKLS -

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

RECHBEGINN -

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

EXPORTING Parameters details for ISP_BASEDATE_ROLLING_INVOICE

BASEDATE -

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

TABLES Parameters details for ISP_BASEDATE_ROLLING_INVOICE

XJKAP -

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

XJKKD -

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

Copy and paste ABAP code example for ISP_BASEDATE_ROLLING_INVOICE 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_xjkap  TYPE STANDARD TABLE OF JKAPVB, "   
lv_basedate  TYPE JFDFS-BDPER, "   
lv_fkdatvsyst_maximal  TYPE JKKD-FKDATVSYST, "   
lv_vbeln  TYPE JKAP-VBELN, "   
lt_xjkkd  TYPE STANDARD TABLE OF JKKDVB, "   
lv_posnr  TYPE JKAP-POSNR, "   
lv_posnr_ur  TYPE JKAP-POSNR_UR, "   
lv_zskls  TYPE JKAP-ZSKLS, "   
lv_rechbeginn  TYPE JKAP-RECHBEGINN. "   

  CALL FUNCTION 'ISP_BASEDATE_ROLLING_INVOICE'  "IS-M/SD: Determine Basic Date of Order Item for Rotating Billing
    EXPORTING
         FKDATVSYST_MAXIMAL = lv_fkdatvsyst_maximal
         VBELN = lv_vbeln
         POSNR = lv_posnr
         POSNR_UR = lv_posnr_ur
         ZSKLS = lv_zskls
         RECHBEGINN = lv_rechbeginn
    IMPORTING
         BASEDATE = lv_basedate
    TABLES
         XJKAP = lt_xjkap
         XJKKD = lt_xjkkd
. " ISP_BASEDATE_ROLLING_INVOICE




ABAP code using 7.40 inline data declarations to call FM ISP_BASEDATE_ROLLING_INVOICE

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 BDPER FROM JFDFS INTO @DATA(ld_basedate).
 
"SELECT single FKDATVSYST FROM JKKD INTO @DATA(ld_fkdatvsyst_maximal).
 
"SELECT single VBELN FROM JKAP INTO @DATA(ld_vbeln).
 
 
"SELECT single POSNR FROM JKAP INTO @DATA(ld_posnr).
 
"SELECT single POSNR_UR FROM JKAP INTO @DATA(ld_posnr_ur).
 
"SELECT single ZSKLS FROM JKAP INTO @DATA(ld_zskls).
 
"SELECT single RECHBEGINN FROM JKAP INTO @DATA(ld_rechbeginn).
 


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!