SAP ISM_SD_DEMAND_SELECT_IN_BUFFER Function Module for Buffered Selection









ISM_SD_DEMAND_SELECT_IN_BUFFER is a standard ism sd demand select in buffer SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Buffered Selection 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 sd demand select in buffer FM, simply by entering the name ISM_SD_DEMAND_SELECT_IN_BUFFER into the relevant SAP transaction such as SE37 or SE38.

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



Function ISM_SD_DEMAND_SELECT_IN_BUFFER 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_SD_DEMAND_SELECT_IN_BUFFER'"Buffered Selection
EXPORTING
* IN_ISSUE = "Media Issue
* IN_VBELN = "Sales Document
* IN_POSNR = "Sales document item
* IN_CONTRACT_TAB = "IS-M: Contract Items
* IN_ISSUE_SEQ_TAB = "IS-M: Table for Issue Sequence
* IN_ISSUE_RANGE_TAB = "IS-M: Range Table for ISMMATNR_ISSUE
* IN_FLAG_SET_INDX = 'X' "

IMPORTING
EX_FLAG_NO_DATA = "

EXCEPTIONS
WRONG_INPUT = 1
.



IMPORTING Parameters details for ISM_SD_DEMAND_SELECT_IN_BUFFER

IN_ISSUE - Media Issue

Data type: ISMMATNR_ISSUE
Optional: Yes
Call by Reference: Yes

IN_VBELN - Sales Document

Data type: VBAK-VBELN
Optional: Yes
Call by Reference: Yes

IN_POSNR - Sales document item

Data type: VBAP-POSNR
Optional: Yes
Call by Reference: Yes

IN_CONTRACT_TAB - IS-M: Contract Items

Data type: RJKSDCONTRACTTAB
Optional: Yes
Call by Reference: Yes

IN_ISSUE_SEQ_TAB - IS-M: Table for Issue Sequence

Data type: RJDISSUESEQTAB
Optional: Yes
Call by Reference: Yes

IN_ISSUE_RANGE_TAB - IS-M: Range Table for ISMMATNR_ISSUE

Data type: RJKSD_ISSUE_RANGE_TAB
Optional: Yes
Call by Reference: Yes

IN_FLAG_SET_INDX -

Data type: XFLAG
Default: 'X'
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for ISM_SD_DEMAND_SELECT_IN_BUFFER

EX_FLAG_NO_DATA -

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

EXCEPTIONS details

WRONG_INPUT - Wrong import parameters

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for ISM_SD_DEMAND_SELECT_IN_BUFFER 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_in_issue  TYPE ISMMATNR_ISSUE, "   
lv_wrong_input  TYPE ISMMATNR_ISSUE, "   
lv_ex_flag_no_data  TYPE XFELD, "   
lv_in_vbeln  TYPE VBAK-VBELN, "   
lv_in_posnr  TYPE VBAP-POSNR, "   
lv_in_contract_tab  TYPE RJKSDCONTRACTTAB, "   
lv_in_issue_seq_tab  TYPE RJDISSUESEQTAB, "   
lv_in_issue_range_tab  TYPE RJKSD_ISSUE_RANGE_TAB, "   
lv_in_flag_set_indx  TYPE XFLAG. "   'X'

  CALL FUNCTION 'ISM_SD_DEMAND_SELECT_IN_BUFFER'  "Buffered Selection
    EXPORTING
         IN_ISSUE = lv_in_issue
         IN_VBELN = lv_in_vbeln
         IN_POSNR = lv_in_posnr
         IN_CONTRACT_TAB = lv_in_contract_tab
         IN_ISSUE_SEQ_TAB = lv_in_issue_seq_tab
         IN_ISSUE_RANGE_TAB = lv_in_issue_range_tab
         IN_FLAG_SET_INDX = lv_in_flag_set_indx
    IMPORTING
         EX_FLAG_NO_DATA = lv_ex_flag_no_data
    EXCEPTIONS
        WRONG_INPUT = 1
. " ISM_SD_DEMAND_SELECT_IN_BUFFER




ABAP code using 7.40 inline data declarations to call FM ISM_SD_DEMAND_SELECT_IN_BUFFER

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 VBAK INTO @DATA(ld_in_vbeln).
 
"SELECT single POSNR FROM VBAP INTO @DATA(ld_in_posnr).
 
 
 
 
DATA(ld_in_flag_set_indx) = 'X'.
 


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!