SAP ISM_CREATE_LISTING_FOR_ISSUE Function Module for IS-M: Generate Listing Condition in Distribution Center for Media Issue
ISM_CREATE_LISTING_FOR_ISSUE is a standard ism create listing for issue 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: Generate Listing Condition in Distribution Center for Media Issue 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 create listing for issue FM, simply by entering the name ISM_CREATE_LISTING_FOR_ISSUE into the relevant SAP transaction such as SE37 or SE38.
Function Group: JKSDASSORTMENT
Program Name: SAPLJKSDASSORTMENT
Main Program: SAPLJKSDASSORTMENT
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ISM_CREATE_LISTING_FOR_ISSUE 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_CREATE_LISTING_FOR_ISSUE'"IS-M: Generate Listing Condition in Distribution Center for Media Issue.
EXPORTING
I_MEDIA_PRODUCT = "
I_MEDIA_ISSUE = "Media Issue
* I_TESTRUN = ' ' "'X' = Test Run, ' ' = Update Run
* I_WITH_POSTING = 'X' "
* I_BUFFERED = ' ' "
IMPORTING
E_WLK1_VB_TAB = "
EXCEPTIONS
NO_MEDIA_PRODUCT = 1 NO_MEDIA_ISSUE = 2 ENQUEUE_ERROR = 3 MVKE_MISSING = 4
IMPORTING Parameters details for ISM_CREATE_LISTING_FOR_ISSUE
I_MEDIA_PRODUCT -
Data type: MATNROptional: No
Call by Reference: No ( called with pass by value option)
I_MEDIA_ISSUE - Media Issue
Data type: MATNROptional: No
Call by Reference: No ( called with pass by value option)
I_TESTRUN - 'X' = Test Run, ' ' = Update Run
Data type: XFELDDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_WITH_POSTING -
Data type: XFELDDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_BUFFERED -
Data type: XFELDDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for ISM_CREATE_LISTING_FOR_ISSUE
E_WLK1_VB_TAB -
Data type: WLK1_VB_TABOptional: No
Call by Reference: Yes
EXCEPTIONS details
NO_MEDIA_PRODUCT -
Data type:Optional: No
Call by Reference: Yes
NO_MEDIA_ISSUE -
Data type:Optional: No
Call by Reference: Yes
ENQUEUE_ERROR -
Data type:Optional: No
Call by Reference: Yes
MVKE_MISSING -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for ISM_CREATE_LISTING_FOR_ISSUE 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_e_wlk1_vb_tab | TYPE WLK1_VB_TAB, " | |||
| lv_i_media_product | TYPE MATNR, " | |||
| lv_no_media_product | TYPE MATNR, " | |||
| lv_i_media_issue | TYPE MATNR, " | |||
| lv_no_media_issue | TYPE MATNR, " | |||
| lv_i_testrun | TYPE XFELD, " ' ' | |||
| lv_enqueue_error | TYPE XFELD, " | |||
| lv_mvke_missing | TYPE XFELD, " | |||
| lv_i_with_posting | TYPE XFELD, " 'X' | |||
| lv_i_buffered | TYPE XFELD. " ' ' |
|   CALL FUNCTION 'ISM_CREATE_LISTING_FOR_ISSUE' "IS-M: Generate Listing Condition in Distribution Center for Media Issue |
| EXPORTING | ||
| I_MEDIA_PRODUCT | = lv_i_media_product | |
| I_MEDIA_ISSUE | = lv_i_media_issue | |
| I_TESTRUN | = lv_i_testrun | |
| I_WITH_POSTING | = lv_i_with_posting | |
| I_BUFFERED | = lv_i_buffered | |
| IMPORTING | ||
| E_WLK1_VB_TAB | = lv_e_wlk1_vb_tab | |
| EXCEPTIONS | ||
| NO_MEDIA_PRODUCT = 1 | ||
| NO_MEDIA_ISSUE = 2 | ||
| ENQUEUE_ERROR = 3 | ||
| MVKE_MISSING = 4 | ||
| . " ISM_CREATE_LISTING_FOR_ISSUE | ||
ABAP code using 7.40 inline data declarations to call FM ISM_CREATE_LISTING_FOR_ISSUE
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.| DATA(ld_i_testrun) | = ' '. | |||
| DATA(ld_i_with_posting) | = 'X'. | |||
| DATA(ld_i_buffered) | = ' '. | |||
Search for further information about these or an SAP related objects