SAP ISP_SALES_ITEM_CREATE Function Module for IS-M/SD: Create Sales Document Item (Including Schedule Line)
ISP_SALES_ITEM_CREATE is a standard isp sales item create 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: Create Sales Document Item (Including Schedule Line) 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 sales item create FM, simply by entering the name ISP_SALES_ITEM_CREATE into the relevant SAP transaction such as SE37 or SE38.
Function Group: JK06
Program Name: SAPLJK06
Main Program: SAPLJK06
Appliation area: J
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ISP_SALES_ITEM_CREATE 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_SALES_ITEM_CREATE'"IS-M/SD: Create Sales Document Item (Including Schedule Line).
EXPORTING
FUNKTION = "Editing function
* IJKGIFT = ' ' "
* IJKCOMM = ' ' "
* IJKAPRENEW = ' ' "
IRJKAG = "
* IRJKRE = ' ' "
* IRJKRG = ' ' "
IRJKWE = "
ITJAK = "
* XNO_PRICE = ' ' "
* ISUBITEMTAB = "IS-M/SD: Data Transfer: Subscription Sub-Item Table
ADRDATA = "
* IADDPAYMENTTAB = "
IJKAK = "
IJKAP = "
IJKEP = "
IJKKD = "
* IJKAPCC = ' ' "
* IJKKUEND = ' ' "
* IJKPROM = ' ' "
IMPORTING
OJKAK = "
POSNR_NEW = "
EXCEPTIONS
ERROR = 1
IMPORTING Parameters details for ISP_SALES_ITEM_CREATE
FUNKTION - Editing function
Data type: RJKJK01-FUNKTIONOptional: No
Call by Reference: No ( called with pass by value option)
IJKGIFT -
Data type: JKGIFTDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
IJKCOMM -
Data type: JKCOMMDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
IJKAPRENEW -
Data type: JKAPRENEWDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
IRJKAG -
Data type: RJKAGOptional: No
Call by Reference: No ( called with pass by value option)
IRJKRE -
Data type: RJKREDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
IRJKRG -
Data type: RJKRGDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
IRJKWE -
Data type: RJKWEOptional: No
Call by Reference: No ( called with pass by value option)
ITJAK -
Data type: TJAKOptional: No
Call by Reference: No ( called with pass by value option)
XNO_PRICE -
Data type: RJYTRSF-XNO_PRICEDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
ISUBITEMTAB - IS-M/SD: Data Transfer: Subscription Sub-Item Table
Data type: RJKIF_S_SUBITEMTABOptional: Yes
Call by Reference: No ( called with pass by value option)
ADRDATA -
Data type: JKSI_ADDRESSOptional: No
Call by Reference: No ( called with pass by value option)
IADDPAYMENTTAB -
Data type: RJKACCADDTTABOptional: Yes
Call by Reference: No ( called with pass by value option)
IJKAK -
Data type: JKAKOptional: No
Call by Reference: No ( called with pass by value option)
IJKAP -
Data type: JKAPOptional: No
Call by Reference: No ( called with pass by value option)
IJKEP -
Data type: JKEPOptional: No
Call by Reference: No ( called with pass by value option)
IJKKD -
Data type: JKKDOptional: No
Call by Reference: No ( called with pass by value option)
IJKAPCC -
Data type: JKAPCCDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
IJKKUEND -
Data type: JKKUENDDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
IJKPROM -
Data type: JKPROMDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for ISP_SALES_ITEM_CREATE
OJKAK -
Data type: JKAKVBOptional: No
Call by Reference: No ( called with pass by value option)
POSNR_NEW -
Data type: JKAP-POSNROptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
ERROR -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for ISP_SALES_ITEM_CREATE 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_error | TYPE STRING, " | |||
| lv_ojkak | TYPE JKAKVB, " | |||
| lv_funktion | TYPE RJKJK01-FUNKTION, " | |||
| lv_ijkgift | TYPE JKGIFT, " SPACE | |||
| lv_ijkcomm | TYPE JKCOMM, " SPACE | |||
| lv_ijkaprenew | TYPE JKAPRENEW, " SPACE | |||
| lv_irjkag | TYPE RJKAG, " | |||
| lv_irjkre | TYPE RJKRE, " SPACE | |||
| lv_irjkrg | TYPE RJKRG, " SPACE | |||
| lv_irjkwe | TYPE RJKWE, " | |||
| lv_itjak | TYPE TJAK, " | |||
| lv_xno_price | TYPE RJYTRSF-XNO_PRICE, " SPACE | |||
| lv_isubitemtab | TYPE RJKIF_S_SUBITEMTAB, " | |||
| lv_adrdata | TYPE JKSI_ADDRESS, " | |||
| lv_posnr_new | TYPE JKAP-POSNR, " | |||
| lv_iaddpaymenttab | TYPE RJKACCADDTTAB, " | |||
| lv_ijkak | TYPE JKAK, " | |||
| lv_ijkap | TYPE JKAP, " | |||
| lv_ijkep | TYPE JKEP, " | |||
| lv_ijkkd | TYPE JKKD, " | |||
| lv_ijkapcc | TYPE JKAPCC, " SPACE | |||
| lv_ijkkuend | TYPE JKKUEND, " SPACE | |||
| lv_ijkprom | TYPE JKPROM. " SPACE |
|   CALL FUNCTION 'ISP_SALES_ITEM_CREATE' "IS-M/SD: Create Sales Document Item (Including Schedule Line) |
| EXPORTING | ||
| FUNKTION | = lv_funktion | |
| IJKGIFT | = lv_ijkgift | |
| IJKCOMM | = lv_ijkcomm | |
| IJKAPRENEW | = lv_ijkaprenew | |
| IRJKAG | = lv_irjkag | |
| IRJKRE | = lv_irjkre | |
| IRJKRG | = lv_irjkrg | |
| IRJKWE | = lv_irjkwe | |
| ITJAK | = lv_itjak | |
| XNO_PRICE | = lv_xno_price | |
| ISUBITEMTAB | = lv_isubitemtab | |
| ADRDATA | = lv_adrdata | |
| IADDPAYMENTTAB | = lv_iaddpaymenttab | |
| IJKAK | = lv_ijkak | |
| IJKAP | = lv_ijkap | |
| IJKEP | = lv_ijkep | |
| IJKKD | = lv_ijkkd | |
| IJKAPCC | = lv_ijkapcc | |
| IJKKUEND | = lv_ijkkuend | |
| IJKPROM | = lv_ijkprom | |
| IMPORTING | ||
| OJKAK | = lv_ojkak | |
| POSNR_NEW | = lv_posnr_new | |
| EXCEPTIONS | ||
| ERROR = 1 | ||
| . " ISP_SALES_ITEM_CREATE | ||
ABAP code using 7.40 inline data declarations to call FM ISP_SALES_ITEM_CREATE
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 FUNKTION FROM RJKJK01 INTO @DATA(ld_funktion). | ||||
| DATA(ld_ijkgift) | = ' '. | |||
| DATA(ld_ijkcomm) | = ' '. | |||
| DATA(ld_ijkaprenew) | = ' '. | |||
| DATA(ld_irjkre) | = ' '. | |||
| DATA(ld_irjkrg) | = ' '. | |||
| "SELECT single XNO_PRICE FROM RJYTRSF INTO @DATA(ld_xno_price). | ||||
| DATA(ld_xno_price) | = ' '. | |||
| "SELECT single POSNR FROM JKAP INTO @DATA(ld_posnr_new). | ||||
| DATA(ld_ijkapcc) | = ' '. | |||
| DATA(ld_ijkkuend) | = ' '. | |||
| DATA(ld_ijkprom) | = ' '. | |||
Search for further information about these or an SAP related objects