SAP ISM_ITEM_SHIFT_START_FORWARD Function Module for IS-M/SD: Extend Order Item









ISM_ITEM_SHIFT_START_FORWARD is a standard ism item shift start forward 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: Extend Order Item 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 ism item shift start forward FM, simply by entering the name ISM_ITEM_SHIFT_START_FORWARD into the relevant SAP transaction such as SE37 or SE38.

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



Function ISM_ITEM_SHIFT_START_FORWARD 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 'ISM_ITEM_SHIFT_START_FORWARD'"IS-M/SD: Extend Order Item
EXPORTING
VBELN = "Publisher Sales Order
POSNR = "Sales Order Item
OLD_STARTDATE = "
NEW_STARTDATE = "

TABLES
XJKAP = "
XJKPA = "
XJKPAZ = "
XJKPAUNV = "
XJKAMOPLAN = "
XJKEP = "
XJKGIFT = "
XJKCOMM = "

EXCEPTIONS
INTERNAL_ERROR = 1 INVALID_INPUT = 2
.



IMPORTING Parameters details for ISM_ITEM_SHIFT_START_FORWARD

VBELN - Publisher Sales Order

Data type: JKAP-VBELN
Optional: No
Call by Reference: Yes

POSNR - Sales Order Item

Data type: JKAP-POSNR
Optional: No
Call by Reference: Yes

OLD_STARTDATE -

Data type: JKAP-GUELTIGVON
Optional: No
Call by Reference: Yes

NEW_STARTDATE -

Data type: JKAP-GUELTIGVON
Optional: No
Call by Reference: Yes

TABLES Parameters details for ISM_ITEM_SHIFT_START_FORWARD

XJKAP -

Data type: JK_JKAPVB_GENERICTAB
Optional: No
Call by Reference: Yes

XJKPA -

Data type: JK_JKPAVB_GENERICTAB
Optional: No
Call by Reference: Yes

XJKPAZ -

Data type: JK_JKPAZVB_GENERICTAB
Optional: No
Call by Reference: Yes

XJKPAUNV -

Data type: JK_JKPAUVB_GENERICTAB
Optional: No
Call by Reference: Yes

XJKAMOPLAN -

Data type: JK_JKAMOPLANVB_GENERICTAB
Optional: No
Call by Reference: Yes

XJKEP -

Data type: JK_JKEPVB_GENERICTAB
Optional: No
Call by Reference: Yes

XJKGIFT -

Data type: JK_JKGIFTVB_GENERICTAB
Optional: No
Call by Reference: Yes

XJKCOMM -

Data type: JK_JKCOMMVB_GENERICTAB
Optional: No
Call by Reference: Yes

EXCEPTIONS details

INTERNAL_ERROR - Internal Error

Data type:
Optional: No
Call by Reference: Yes

INVALID_INPUT -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for ISM_ITEM_SHIFT_START_FORWARD 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_xjkap  TYPE STANDARD TABLE OF JK_JKAPVB_GENERICTAB, "   
lv_internal_error  TYPE JK_JKAPVB_GENERICTAB, "   
lv_posnr  TYPE JKAP-POSNR, "   
lt_xjkpa  TYPE STANDARD TABLE OF JK_JKPAVB_GENERICTAB, "   
lv_invalid_input  TYPE JK_JKPAVB_GENERICTAB, "   
lt_xjkpaz  TYPE STANDARD TABLE OF JK_JKPAZVB_GENERICTAB, "   
lv_old_startdate  TYPE JKAP-GUELTIGVON, "   
lt_xjkpaunv  TYPE STANDARD TABLE OF JK_JKPAUVB_GENERICTAB, "   
lv_new_startdate  TYPE JKAP-GUELTIGVON, "   
lt_xjkamoplan  TYPE STANDARD TABLE OF JK_JKAMOPLANVB_GENERICTAB, "   
lt_xjkep  TYPE STANDARD TABLE OF JK_JKEPVB_GENERICTAB, "   
lt_xjkgift  TYPE STANDARD TABLE OF JK_JKGIFTVB_GENERICTAB, "   
lt_xjkcomm  TYPE STANDARD TABLE OF JK_JKCOMMVB_GENERICTAB. "   

  CALL FUNCTION 'ISM_ITEM_SHIFT_START_FORWARD'  "IS-M/SD: Extend Order Item
    EXPORTING
         VBELN = lv_vbeln
         POSNR = lv_posnr
         OLD_STARTDATE = lv_old_startdate
         NEW_STARTDATE = lv_new_startdate
    TABLES
         XJKAP = lt_xjkap
         XJKPA = lt_xjkpa
         XJKPAZ = lt_xjkpaz
         XJKPAUNV = lt_xjkpaunv
         XJKAMOPLAN = lt_xjkamoplan
         XJKEP = lt_xjkep
         XJKGIFT = lt_xjkgift
         XJKCOMM = lt_xjkcomm
    EXCEPTIONS
        INTERNAL_ERROR = 1
        INVALID_INPUT = 2
. " ISM_ITEM_SHIFT_START_FORWARD




ABAP code using 7.40 inline data declarations to call FM ISM_ITEM_SHIFT_START_FORWARD

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 POSNR FROM JKAP INTO @DATA(ld_posnr).
 
 
 
 
"SELECT single GUELTIGVON FROM JKAP INTO @DATA(ld_old_startdate).
 
 
"SELECT single GUELTIGVON FROM JKAP INTO @DATA(ld_new_startdate).
 
 
 
 
 


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!