SAP ISM_SALES_ITEM_DIALOG_CREATE Function Module for Initialize









ISM_SALES_ITEM_DIALOG_CREATE is a standard ism sales item dialog 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 Initialize 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 sales item dialog create FM, simply by entering the name ISM_SALES_ITEM_DIALOG_CREATE into the relevant SAP transaction such as SE37 or SE38.

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



Function ISM_SALES_ITEM_DIALOG_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 'ISM_SALES_ITEM_DIALOG_CREATE'"Initialize
EXPORTING
VBELN = "Publisher Sales Order
* POSEX = "External Item Number (Purchase Order Item)
* POSNR = "Sales Order Item
PROCESS = "
DIALOG_TYPE = "

IMPORTING
HANDLE = "
PROGRAM = "ABAP Program, Caller in External Procedures
DYNNR = "ABAP Program, Current Screen Number
POPUP_TITLE = "Menu Painter: Title code
POPUP_WIDTH = "
EXCL_FUNCTAB = "GUI: Excluding table

EXCEPTIONS
NOT_SUPPORTED = 1 ERROR = 2
.




Customer Function user exits

Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.
EXIT_SAPLJKSODP_001 Shortened Dialogs for Order Processing

IMPORTING Parameters details for ISM_SALES_ITEM_DIALOG_CREATE

VBELN - Publisher Sales Order

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

POSEX - External Item Number (Purchase Order Item)

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

POSNR - Sales Order Item

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

PROCESS -

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

DIALOG_TYPE -

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

EXPORTING Parameters details for ISM_SALES_ITEM_DIALOG_CREATE

HANDLE -

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

PROGRAM - ABAP Program, Caller in External Procedures

Data type: SY-CPROG
Optional: No
Call by Reference: Yes

DYNNR - ABAP Program, Current Screen Number

Data type: SY-DYNNR
Optional: No
Call by Reference: Yes

POPUP_TITLE - Menu Painter: Title code

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

POPUP_WIDTH -

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

EXCL_FUNCTAB - GUI: Excluding table

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

EXCEPTIONS details

NOT_SUPPORTED -

Data type:
Optional: No
Call by Reference: Yes

ERROR -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for ISM_SALES_ITEM_DIALOG_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_vbeln  TYPE JKAP-VBELN, "   
lv_handle  TYPE I, "   
lv_not_supported  TYPE I, "   
lv_error  TYPE I, "   
lv_posex  TYPE JKAP-POSEX, "   
lv_program  TYPE SY-CPROG, "   
lv_dynnr  TYPE SY-DYNNR, "   
lv_posnr  TYPE JKAP-POSNR, "   
lv_process  TYPE JKSOD_PROCESS, "   
lv_popup_title  TYPE GUI_TITLE, "   
lv_dialog_type  TYPE JKSOD_DIALOG_TYPE, "   
lv_popup_width  TYPE I, "   
lv_excl_functab  TYPE RSMPE_EXTB. "   

  CALL FUNCTION 'ISM_SALES_ITEM_DIALOG_CREATE'  "Initialize
    EXPORTING
         VBELN = lv_vbeln
         POSEX = lv_posex
         POSNR = lv_posnr
         PROCESS = lv_process
         DIALOG_TYPE = lv_dialog_type
    IMPORTING
         HANDLE = lv_handle
         PROGRAM = lv_program
         DYNNR = lv_dynnr
         POPUP_TITLE = lv_popup_title
         POPUP_WIDTH = lv_popup_width
         EXCL_FUNCTAB = lv_excl_functab
    EXCEPTIONS
        NOT_SUPPORTED = 1
        ERROR = 2
. " ISM_SALES_ITEM_DIALOG_CREATE




ABAP code using 7.40 inline data declarations to call FM ISM_SALES_ITEM_DIALOG_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 VBELN FROM JKAP INTO @DATA(ld_vbeln).
 
 
 
 
"SELECT single POSEX FROM JKAP INTO @DATA(ld_posex).
 
"SELECT single CPROG FROM SY INTO @DATA(ld_program).
 
"SELECT single DYNNR FROM SY INTO @DATA(ld_dynnr).
 
"SELECT single POSNR FROM JKAP INTO @DATA(ld_posnr).
 
 
 
 
 
 


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!