SAP ISM_DELIVERYSEQUENCE_GET Function Module for IS-M: Read Media Issue Sequence









ISM_DELIVERYSEQUENCE_GET is a standard ism deliverysequence get 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: Read Media Issue Sequence 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 deliverysequence get FM, simply by entering the name ISM_DELIVERYSEQUENCE_GET into the relevant SAP transaction such as SE37 or SE38.

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



Function ISM_DELIVERYSEQUENCE_GET 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_DELIVERYSEQUENCE_GET'"IS-M: Read Media Issue Sequence
EXPORTING
* IN_ISSUE_FROM = "Material Number
* IN_ISSUE_TO = "Material Number
IN_MEDIAPRODUCT = "Material Number
* IN_VALIDFROM = "
* IN_VALIDTO = "
* IN_COPYNUMBERFROM = "
* IN_COPYNUMBERTO = "
* IN_FLAG_HORIZONT = "
* IN_FLAG_INCL_ARCHIVED_ISSUES = ' ' "

IMPORTING
OUT_SEQUENCETAB = "Issue Sequence
OUT_SEQUENCEATTRTAB = "

EXCEPTIONS
ISSUE_NOT_ASSIGNED = 1 MISSING_SEQUENCE = 2 COPYNR_NOT_ASSIGNED = 3
.



IMPORTING Parameters details for ISM_DELIVERYSEQUENCE_GET

IN_ISSUE_FROM - Material Number

Data type: MARA-MATNR
Optional: Yes
Call by Reference: Yes

IN_ISSUE_TO - Material Number

Data type: MARA-MATNR
Optional: Yes
Call by Reference: Yes

IN_MEDIAPRODUCT - Material Number

Data type: MARA-MATNR
Optional: No
Call by Reference: Yes

IN_VALIDFROM -

Data type: MARA-ISMPUBLDATE
Optional: Yes
Call by Reference: Yes

IN_VALIDTO -

Data type: MARA-ISMPUBLDATE
Optional: Yes
Call by Reference: Yes

IN_COPYNUMBERFROM -

Data type: MARA-ISMCOPYNR
Optional: Yes
Call by Reference: Yes

IN_COPYNUMBERTO -

Data type: MARA-ISMCOPYNR
Optional: Yes
Call by Reference: Yes

IN_FLAG_HORIZONT -

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

IN_FLAG_INCL_ARCHIVED_ISSUES -

Data type: XFELD
Default: SPACE
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for ISM_DELIVERYSEQUENCE_GET

OUT_SEQUENCETAB - Issue Sequence

Data type: RJDISSUESEQTAB
Optional: No
Call by Reference: No ( called with pass by value option)

OUT_SEQUENCEATTRTAB -

Data type: RJKSEJPTMG0_TAB
Optional: No
Call by Reference: No ( called with pass by value option)

EXCEPTIONS details

ISSUE_NOT_ASSIGNED -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

MISSING_SEQUENCE -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

COPYNR_NOT_ASSIGNED -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for ISM_DELIVERYSEQUENCE_GET 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_from  TYPE MARA-MATNR, "   
lv_out_sequencetab  TYPE RJDISSUESEQTAB, "   
lv_issue_not_assigned  TYPE RJDISSUESEQTAB, "   
lv_in_issue_to  TYPE MARA-MATNR, "   
lv_missing_sequence  TYPE MARA, "   
lv_out_sequenceattrtab  TYPE RJKSEJPTMG0_TAB, "   
lv_in_mediaproduct  TYPE MARA-MATNR, "   
lv_copynr_not_assigned  TYPE MARA, "   
lv_in_validfrom  TYPE MARA-ISMPUBLDATE, "   
lv_in_validto  TYPE MARA-ISMPUBLDATE, "   
lv_in_copynumberfrom  TYPE MARA-ISMCOPYNR, "   
lv_in_copynumberto  TYPE MARA-ISMCOPYNR, "   
lv_in_flag_horizont  TYPE XFELD, "   
lv_in_flag_incl_archived_issues  TYPE XFELD. "   SPACE

  CALL FUNCTION 'ISM_DELIVERYSEQUENCE_GET'  "IS-M: Read Media Issue Sequence
    EXPORTING
         IN_ISSUE_FROM = lv_in_issue_from
         IN_ISSUE_TO = lv_in_issue_to
         IN_MEDIAPRODUCT = lv_in_mediaproduct
         IN_VALIDFROM = lv_in_validfrom
         IN_VALIDTO = lv_in_validto
         IN_COPYNUMBERFROM = lv_in_copynumberfrom
         IN_COPYNUMBERTO = lv_in_copynumberto
         IN_FLAG_HORIZONT = lv_in_flag_horizont
         IN_FLAG_INCL_ARCHIVED_ISSUES = lv_in_flag_incl_archived_issues
    IMPORTING
         OUT_SEQUENCETAB = lv_out_sequencetab
         OUT_SEQUENCEATTRTAB = lv_out_sequenceattrtab
    EXCEPTIONS
        ISSUE_NOT_ASSIGNED = 1
        MISSING_SEQUENCE = 2
        COPYNR_NOT_ASSIGNED = 3
. " ISM_DELIVERYSEQUENCE_GET




ABAP code using 7.40 inline data declarations to call FM ISM_DELIVERYSEQUENCE_GET

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 MATNR FROM MARA INTO @DATA(ld_in_issue_from).
 
 
 
"SELECT single MATNR FROM MARA INTO @DATA(ld_in_issue_to).
 
 
 
"SELECT single MATNR FROM MARA INTO @DATA(ld_in_mediaproduct).
 
 
"SELECT single ISMPUBLDATE FROM MARA INTO @DATA(ld_in_validfrom).
 
"SELECT single ISMPUBLDATE FROM MARA INTO @DATA(ld_in_validto).
 
"SELECT single ISMCOPYNR FROM MARA INTO @DATA(ld_in_copynumberfrom).
 
"SELECT single ISMCOPYNR FROM MARA INTO @DATA(ld_in_copynumberto).
 
 
DATA(ld_in_flag_incl_archived_issues) = ' '.
 


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!