SAP ISM_MSD_STATUS_GET Function Module for IS-M: Determine Update Status of Media Product Master Record in M/SD









ISM_MSD_STATUS_GET is a standard ism msd status 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: Determine Update Status of Media Product Master Record in M/SD 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 msd status get FM, simply by entering the name ISM_MSD_STATUS_GET into the relevant SAP transaction such as SE37 or SE38.

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



Function ISM_MSD_STATUS_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_MSD_STATUS_GET'"IS-M: Determine Update Status of Media Product Master Record in M/SD
EXPORTING
PVI_MATNR = "Material Number
PVI_STATUS = "Update Status for Use in Media Sales and Distribution
PVI_ISMHIERARCHLEVL = "Hierarchy Level (Media Product Family, Product or Issue)
PVI_MATTYP = "Material Type

IMPORTING
PVE_STATUS = "
PVE_STATUS_TEXT = "
PVE_STATUS_TEXT_2 = "

EXCEPTIONS
NO_VALID_STATUS_FOUND = 1 SELECTION_NOT_UNIQUE = 2
.



IMPORTING Parameters details for ISM_MSD_STATUS_GET

PVI_MATNR - Material Number

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

PVI_STATUS - Update Status for Use in Media Sales and Distribution

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

PVI_ISMHIERARCHLEVL - Hierarchy Level (Media Product Family, Product or Issue)

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

PVI_MATTYP - Material Type

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

EXPORTING Parameters details for ISM_MSD_STATUS_GET

PVE_STATUS -

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

PVE_STATUS_TEXT -

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

PVE_STATUS_TEXT_2 -

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

EXCEPTIONS details

NO_VALID_STATUS_FOUND -

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

SELECTION_NOT_UNIQUE -

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

Copy and paste ABAP code example for ISM_MSD_STATUS_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_pvi_matnr  TYPE MATNR, "   
lv_pve_status  TYPE ISM_OBJECT_STATUS_MSD, "   
lv_no_valid_status_found  TYPE ISM_OBJECT_STATUS_MSD, "   
lv_pvi_status  TYPE ISM_OBJECT_STATUS_MSD, "   
lv_pve_status_text  TYPE ISM_OBJECT_STATUS_MSD, "   
lv_selection_not_unique  TYPE ISM_OBJECT_STATUS_MSD, "   
lv_pve_status_text_2  TYPE ISM_OBJECT_STATUS_MSD, "   
lv_pvi_ismhierarchlevl  TYPE MARA-ISMHIERARCHLEVL, "   
lv_pvi_mattyp  TYPE MTART. "   

  CALL FUNCTION 'ISM_MSD_STATUS_GET'  "IS-M: Determine Update Status of Media Product Master Record in M/SD
    EXPORTING
         PVI_MATNR = lv_pvi_matnr
         PVI_STATUS = lv_pvi_status
         PVI_ISMHIERARCHLEVL = lv_pvi_ismhierarchlevl
         PVI_MATTYP = lv_pvi_mattyp
    IMPORTING
         PVE_STATUS = lv_pve_status
         PVE_STATUS_TEXT = lv_pve_status_text
         PVE_STATUS_TEXT_2 = lv_pve_status_text_2
    EXCEPTIONS
        NO_VALID_STATUS_FOUND = 1
        SELECTION_NOT_UNIQUE = 2
. " ISM_MSD_STATUS_GET




ABAP code using 7.40 inline data declarations to call FM ISM_MSD_STATUS_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 ISMHIERARCHLEVL FROM MARA INTO @DATA(ld_pvi_ismhierarchlevl).
 
 


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!