SAP SCMA_MONITOR_SET_INFORMATION Function Module for









SCMA_MONITOR_SET_INFORMATION is a standard scma monitor set information SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 scma monitor set information FM, simply by entering the name SCMA_MONITOR_SET_INFORMATION into the relevant SAP transaction such as SE37 or SE38.

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



Function SCMA_MONITOR_SET_INFORMATION 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 'SCMA_MONITOR_SET_INFORMATION'"
EXPORTING
* LS_HIERARCHY_HEADER = "
* LD_KINDOFVIEW = "
* LD_KINDOFCALL = "
* LD_WFID = "
* LD_DATE = "
* LD_WORKPLAN = "
* LD_JOB = "

TABLES
* LT_OUTPUT = "
* LT_EXTERN = "Selection Criteria for a Job: Overall Structure
* LT_NODE = "
* LT_ITEM = "
* LT_COLUMNS = "
* LT_HEADERS = "
* LT_WHERE_SEL = "
* LT_WHERE_APL = "
* LT_APPL = "
* LT_FREE_SCHELIST = "
.



IMPORTING Parameters details for SCMA_MONITOR_SET_INFORMATION

LS_HIERARCHY_HEADER -

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

LD_KINDOFVIEW -

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

LD_KINDOFCALL -

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

LD_WFID -

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

LD_DATE -

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

LD_WORKPLAN -

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

LD_JOB -

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

TABLES Parameters details for SCMA_MONITOR_SET_INFORMATION

LT_OUTPUT -

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

LT_EXTERN - Selection Criteria for a Job: Overall Structure

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

LT_NODE -

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

LT_ITEM -

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

LT_COLUMNS -

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

LT_HEADERS -

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

LT_WHERE_SEL -

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

LT_WHERE_APL -

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

LT_APPL -

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

LT_FREE_SCHELIST -

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

Copy and paste ABAP code example for SCMA_MONITOR_SET_INFORMATION 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:
lt_lt_output  TYPE STANDARD TABLE OF SMOUTPUT, "   
lv_ls_hierarchy_header  TYPE TREEV_HDR, "   
lt_lt_extern  TYPE STANDARD TABLE OF SCHEDMAN_SELFIELDS, "   
lt_lt_node  TYPE STANDARD TABLE OF TREEV_NODE, "   
lv_ld_kindofview  TYPE CHAR40, "   
lt_lt_item  TYPE STANDARD TABLE OF MTREEITM, "   
lv_ld_kindofcall  TYPE SCHEDMAN_KINDOFCALL, "   
lv_ld_wfid  TYPE SWWWIHEAD-WI_ID, "   
lt_lt_columns  TYPE STANDARD TABLE OF TREEV_COL, "   
lv_ld_date  TYPE SYDATUM, "   
lt_lt_headers  TYPE STANDARD TABLE OF TREEV_HDR, "   
lv_ld_workplan  TYPE PEPPROFILE, "   
lt_lt_where_sel  TYPE STANDARD TABLE OF PEPPROFILE, "   
lv_ld_job  TYPE SMSCMAID-SCHEDULERID, "   
lt_lt_where_apl  TYPE STANDARD TABLE OF SMSCMAID, "   
lt_lt_appl  TYPE STANDARD TABLE OF SMAPPL, "   
lt_lt_free_schelist  TYPE STANDARD TABLE OF SCHELIST. "   

  CALL FUNCTION 'SCMA_MONITOR_SET_INFORMATION'  "
    EXPORTING
         LS_HIERARCHY_HEADER = lv_ls_hierarchy_header
         LD_KINDOFVIEW = lv_ld_kindofview
         LD_KINDOFCALL = lv_ld_kindofcall
         LD_WFID = lv_ld_wfid
         LD_DATE = lv_ld_date
         LD_WORKPLAN = lv_ld_workplan
         LD_JOB = lv_ld_job
    TABLES
         LT_OUTPUT = lt_lt_output
         LT_EXTERN = lt_lt_extern
         LT_NODE = lt_lt_node
         LT_ITEM = lt_lt_item
         LT_COLUMNS = lt_lt_columns
         LT_HEADERS = lt_lt_headers
         LT_WHERE_SEL = lt_lt_where_sel
         LT_WHERE_APL = lt_lt_where_apl
         LT_APPL = lt_lt_appl
         LT_FREE_SCHELIST = lt_lt_free_schelist
. " SCMA_MONITOR_SET_INFORMATION




ABAP code using 7.40 inline data declarations to call FM SCMA_MONITOR_SET_INFORMATION

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 WI_ID FROM SWWWIHEAD INTO @DATA(ld_ld_wfid).
 
 
 
 
 
 
"SELECT single SCHEDULERID FROM SMSCMAID INTO @DATA(ld_ld_job).
 
 
 
 


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!