SAP ABAP Class CL_MMSRV_MODEL_SP (MMSRV Service Provider class)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   MM-SRV (Application Component) External Services
     MMSRV_UI_MODEL (Package) Model Components for Web Dynpro External Service
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  /PLMB/IF_SPI_APPL_ACCESS Application Access Interface 20090828
Properties
Class CL_MMSRV_MODEL_SP  
Short Description MMSRV Service Provider class    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package MMSRV_UI_MODEL   Model Components for Web Dynpro External Service 
Created 20090828   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_MMSRV_MODEL_SP has no forward declaration.
Interfaces
# Interface Abstract Final Description Created on
1 /PLMB/IF_SPI_APPL_ACCESS Application Access Interface 20090828
Friends
Class CL_MMSRV_MODEL_SP has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GS_SRV_EXT_HEADER Static Attribute Private Type reference (TYPE) SRV_EXT_HEADER External Header Data 20101209
2 MO_COLLECTOR Instance attribute Private Object reference (TYPE REF TO) /PLMB/IF_SPI_COLLECTOR Collector 20090828
3 MO_PO_BO Instance attribute Private Object reference (TYPE REF TO) IF_MMPUR_DOCUMENT Process Purchasing Document 20090921
4 MO_PO_HANDLER Instance attribute Private Object reference (TYPE REF TO) CL_PO_HEADER_HANDLE_MM Handle of a Purchasing Document 20090921
5 MO_PR_BO Instance attribute Private Object reference (TYPE REF TO) IF_MMPUR_DOCUMENT Process Purchasing Document 20090921
6 MO_SERVICE_PCKG Instance attribute Private Object reference (TYPE REF TO) CL_SERVICE_PACKAGE_MMSRV Service Package Class for MMSRV 20090831
7 MO_SP Instance attribute Public Object reference (TYPE REF TO) /PLMB/IF_SPI_APPL_ACCESS Application Access Interface 20090918
8 MT_BUFFER_ACCOUNT Instance attribute Private See coding 20100112
9 MT_COPY_SERVICE Static Attribute Public See coding Data structure for copy service 20101011
10 MT_SRV_PCKG_MAP Instance attribute Private Type reference (TYPE) MMSRV_SRV_PCKG_MAP_TTY Service Package Map TTY 20090923
11 MV_ABBID Static Attribute Public Type reference (TYPE) ABBID Application Buliding Block ID 20101223
12 MV_FRW_MODE Static Attribute Private Type reference (TYPE) /PLMB/SPI_MODE Mode 20090916
13 MV_ITM_CAT Instance attribute Private Type reference (TYPE) PSTYP Item Category in Purchasing Document 20090921
14 MV_LIMIT_PACKNO Static Attribute Private Type reference (TYPE) PACKNO Package number 20101222
15 MV_PACKNO Instance attribute Private Type reference (TYPE) PACKNO Package number 20090907
Methods
# Method Level Visibility Method type Description Created on
1 ADD_CONTRACT_ITEM Instance method Private Method To add a record to contract item table 20090930
2 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20090828
3 COPY_SERVICE_UPDATE Instance method Private Method For copy service 20101012
4 DELETE_LIMITS Instance method Private Method To add a record to contract item table 20091009
5 DELETE_LIMIT_ACCOUNT Instance method Private Method 20100107
6 DELETE_SERVICE_ACCOUNT Instance method Private Method 20100107
7 DETERMINE_GL_ACCOUNT Instance method Private Method 20100120
8 GET_ABBID Static method Public Method Get ABBID 20110111
9 GET_DEF_COSTELE Instance method Public Method Get the Default Cost Element(KSTAR) 20110311
10 GET_EXT_HEADER_PR Instance method Public Method 20090923
11 HANDEL_CANCLE_LIM_ACC Instance method Private Method 20100112
12 MARK_SUB_OUTLINES Instance method Private Method 20101013
13 PSTYP_KNNTP_COMB_CHECK_ALLOWED Instance method Private Method 20100121
14 SET_ABBID Static method Public Method Set Calling application ABBID 20101223
15 SET_EXT_HEADER_PO Instance method Public Method 20090923
16 SET_EXT_HEADER_PR Instance method Public Method 20090923
17 SET_HEADER_DATAX Instance method Private Method 20100122
18 SET_LIMIT_LAYOUT Instance method Private Method 20091117
19 SET_LIMIT_PACKNO Static method Public Method Set Limit Pack no 20101222
20 UNDELETE_LIMIT_ACCOUNT Instance method Private Method To uncheck delete for a limit account marked for deletion 20100520
21 UNDELETE_SERVICE_ACCOUNT Instance method Private Method To uncheck delete for a service account marked for deletion 20100520
Events
# Event Type Visibility Description Created on
1 UPDATE_COMSRV_FIELDS Instance Event
(0)
Public
(2)
Notifying New Service Package created for Item ( PS, PP, PM) 20101214
Types
Class CL_MMSRV_MODEL_SP has no local type.
Method Signatures

Method ADD_CONTRACT_ITEM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_NODE_DATA Call by reference Type reference (TYPE) INDEX TABLE 20090930
2 Importing IS_NODE_KEY Call by reference Type reference (TYPE) MMSRV_CTRCT_KEY_STY MMSRV CTRCT KEY Structure 20090930

Method ADD_CONTRACT_ITEM on class CL_MMSRV_MODEL_SP has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_COLLECTOR Call by reference Object reference (TYPE REF TO) /PLMB/IF_SPI_COLLECTOR Collector 20090828

Method CONSTRUCTOR on class CL_MMSRV_MODEL_SP has no exception.

Method COPY_SERVICE_UPDATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_NODE_DATA Call by reference Type reference (TYPE) INDEX TABLE 20101012
2 Exporting ET_NODE_ID_REL Call by reference Type reference (TYPE) /PLMB/T_SPI_NODE_REL Relationship between index of source and target node ID 20110802
3 Importing IT_NODE_DATA Call by reference Type reference (TYPE) INDEX TABLE 20101012

Method COPY_SERVICE_UPDATE on class CL_MMSRV_MODEL_SP has no exception.

Method DELETE_LIMITS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_NODE_KEY Call by reference Type reference (TYPE) MMSRV_CTRCT_KEY_STY MMSRV CTRCT KEY Structure 20091009
2 Importing IV_NODE_NAME Call by reference Type reference (TYPE) /PLMB/SPI_NODE_NAME Node Name 20091023

Method DELETE_LIMITS on class CL_MMSRV_MODEL_SP has no exception.

Method DELETE_LIMIT_ACCOUNT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_INDEX_FAILED Call by reference Type reference (TYPE) /PLMB/T_SPI_INDEX_FAILED Index of node ID for which no data is available 20100107
2 Exporting ET_NODE_DATA Call by reference Type reference (TYPE) INDEX TABLE 20100107
3 Exporting EV_FAILED Call by reference Type reference (TYPE) /PLMB/SPI_FAILED_IND Failed Indicator 20100107
4 Importing IS_PARAM Call by reference Type reference (TYPE) ANY 20100107
5 Importing IT_NODE_ID Call by reference Type reference (TYPE) INDEX TABLE 20100107
6 Importing IV_ACTION_NAME Call by reference Type reference (TYPE) /PLMB/SPI_ACTION_NAME Action Name 20100107
7 Importing IV_NODE_NAME Call by reference Type reference (TYPE) /PLMB/SPI_NODE_NAME Node Name 20100107

Method DELETE_LIMIT_ACCOUNT on class CL_MMSRV_MODEL_SP has no exception.

Method DELETE_SERVICE_ACCOUNT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_INDEX_FAILED Call by reference Type reference (TYPE) /PLMB/T_SPI_INDEX_FAILED Index of node ID for which no data is available 20100107
2 Exporting ET_NODE_DATA Call by reference Type reference (TYPE) INDEX TABLE 20100107
3 Exporting EV_FAILED Call by reference Type reference (TYPE) /PLMB/SPI_FAILED_IND Failed Indicator 20100107
4 Importing IS_PARAM Call by reference Type reference (TYPE) ANY 20100107
5 Importing IT_NODE_ID Call by reference Type reference (TYPE) INDEX TABLE 20100107
6 Importing IV_ACTION_NAME Call by reference Type reference (TYPE) /PLMB/SPI_ACTION_NAME Action Name 20100107

Method DELETE_SERVICE_ACCOUNT on class CL_MMSRV_MODEL_SP has no exception.

Method DETERMINE_GL_ACCOUNT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_GL_ACCOUNT Call by reference Type reference (TYPE) DATA G/L Account Number 20100120
2 Importing IV_DOC_ITEM Call by reference Type reference (TYPE) EBELP Item Number of Purchasing Document 20100120

Method DETERMINE_GL_ACCOUNT on class CL_MMSRV_MODEL_SP has no exception.

Method GET_ABBID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_ABBID Call by reference Type reference (TYPE) ABBID Application Buliding Block ID 20110111

Method GET_ABBID on class CL_MMSRV_MODEL_SP has no exception.

Method GET_DEF_COSTELE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_KSTAR Value transfer Type reference (TYPE) KSTAR Cost Element 20110311

Method GET_DEF_COSTELE on class CL_MMSRV_MODEL_SP has no exception.

Method GET_EXT_HEADER_PR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_EXT_HEADER Call by reference Type reference (TYPE) SRV_EXT_HEADER External Header Data 20090923
2 Importing IV_DOC_ITEM Call by reference Type reference (TYPE) NUMC5 5 Character Numeric NUMC 20090923
3 Importing IV_DOC_NO Call by reference Type reference (TYPE) CHAR10 Character Field Length = 10 20090923

Method GET_EXT_HEADER_PR on class CL_MMSRV_MODEL_SP has no exception.

Method HANDEL_CANCLE_LIM_ACC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_INDEX_FAILED Call by reference Type reference (TYPE) /PLMB/T_SPI_INDEX_FAILED Index of node ID for which no data is available 20100112
2 Exporting ET_NODE_DATA Call by reference Type reference (TYPE) INDEX TABLE 20100112
3 Exporting EV_FAILED Call by reference Type reference (TYPE) /PLMB/SPI_FAILED_IND Failed Indicator 20100112
4 Importing IS_PARAM Call by reference Type reference (TYPE) ANY 20100112
5 Importing IT_NODE_ID Call by reference Type reference (TYPE) INDEX TABLE 20100112
6 Importing IV_ACTION_NAME Call by reference Type reference (TYPE) /PLMB/SPI_ACTION_NAME Action Name 20100112
7 Importing IV_NODE_NAME Call by reference Type reference (TYPE) /PLMB/SPI_NODE_NAME Node Name 20100112

Method HANDEL_CANCLE_LIM_ACC on class CL_MMSRV_MODEL_SP has no exception.

Method MARK_SUB_OUTLINES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_CHANGED_DATA Call by reference Attribute reference (LIKE) MT_COPY_SERVICE Data structure for copy service 20101013
2 Importing IV_FLAG Call by reference Type reference (TYPE) CHAR1 Select time frame in units of day 20101013
3 Importing IV_ROW_KEY Call by reference Type reference (TYPE) CHAR100 Select time frame in units of day 20101013

Method MARK_SUB_OUTLINES on class CL_MMSRV_MODEL_SP has no exception.

Method PSTYP_KNNTP_COMB_CHECK_ALLOWED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_EXT_HEADER Call by reference Type reference (TYPE) SRV_EXT_HEADER External Header Data 20100121
2 Returning RE_ALLOWED Value transfer Type reference (TYPE) ABAP_BOOL 20100121

Method PSTYP_KNNTP_COMB_CHECK_ALLOWED on class CL_MMSRV_MODEL_SP has no exception.

Method SET_ABBID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ABBID Call by reference Type reference (TYPE) ABBID Application Buliding Block ID 20101223

Method SET_ABBID on class CL_MMSRV_MODEL_SP has no exception.

Method SET_EXT_HEADER_PO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_ITEM Call by reference Type reference (TYPE) MEPOITEM Purchase Order Item 20090923
2 Importing IV_ACTIVITY Call by reference Type reference (TYPE) TRTYP 20090930
3 Importing IV_DOC_ITEM Call by reference Type reference (TYPE) NUMC5 20090930
4 Importing IV_DOC_NO Call by reference Type reference (TYPE) CHAR10 20090930
5 Importing IV_DOC_TYPE Call by reference Type reference (TYPE) BSTYP 20090930

Method SET_EXT_HEADER_PO on class CL_MMSRV_MODEL_SP has no exception.

Method SET_EXT_HEADER_PR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_ITEM_DATA Call by reference Type reference (TYPE) MEREQ_ITEM OO Purchase Requisition: Item Status 20090923
2 Importing IV_ACTIVITY Call by reference Type reference (TYPE) TRTYP Transaction type 20090923
3 Importing IV_DOC_ITEM Call by reference Type reference (TYPE) NUMC5 Item Number of Purchasing Document 20090923
4 Importing IV_DOC_NO Call by reference Type reference (TYPE) CHAR10 Purchasing Document Number 20090923
5 Importing IV_DOC_TYPE Call by reference Type reference (TYPE) BSTYP Purchasing Document Category 20090923

Method SET_EXT_HEADER_PR on class CL_MMSRV_MODEL_SP has no exception.

Method SET_HEADER_DATAX Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_HEADER_DATA Call by reference Type reference (TYPE) SRV_EXT_HEADERX Change Parameter: External Header Data 20100122
2 Importing IM_HEADER_DATA_NEW Call by reference Type reference (TYPE) SRV_EXT_HEADER External Header Data 20100122
3 Importing IM_HEADER_DATA_OLD Call by reference Type reference (TYPE) SRV_EXT_HEADER External Header Data 20100122

Method SET_HEADER_DATAX on class CL_MMSRV_MODEL_SP has no exception.

Method SET_LIMIT_LAYOUT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_PARAM Call by reference Type reference (TYPE) ANY 20100108
2 Importing IV_NODE_NAME Call by reference Type reference (TYPE) /PLMB/SPI_NODE_NAME Node Name 20091117

Method SET_LIMIT_LAYOUT on class CL_MMSRV_MODEL_SP has no exception.

Method SET_LIMIT_PACKNO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_PACKNO Call by reference Type reference (TYPE) PACKNO Package number 20101222

Method SET_LIMIT_PACKNO on class CL_MMSRV_MODEL_SP has no exception.

Method UNDELETE_LIMIT_ACCOUNT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_INDEX_FAILED Call by reference Type reference (TYPE) /PLMB/T_SPI_INDEX_FAILED Index of node ID for which no data is available 20100520
2 Exporting ET_NODE_DATA Call by reference Type reference (TYPE) INDEX TABLE 20100520
3 Exporting EV_FAILED Call by reference Type reference (TYPE) /PLMB/SPI_FAILED_IND Failed Indicator 20100520
4 Importing IS_PARAM Call by reference Type reference (TYPE) ANY 20100520
5 Importing IT_NODE_ID Call by reference Type reference (TYPE) INDEX TABLE 20100520
6 Importing IV_ACTION_NAME Call by reference Type reference (TYPE) /PLMB/SPI_ACTION_NAME Action Name 20100520
7 Importing IV_NODE_NAME Call by reference Type reference (TYPE) /PLMB/SPI_NODE_NAME Node Name 20100520

Method UNDELETE_LIMIT_ACCOUNT on class CL_MMSRV_MODEL_SP has no exception.

Method UNDELETE_SERVICE_ACCOUNT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_INDEX_FAILED Call by reference Type reference (TYPE) /PLMB/T_SPI_INDEX_FAILED Index of node ID for which no data is available 20100520
2 Exporting ET_NODE_DATA Call by reference Type reference (TYPE) INDEX TABLE 20100520
3 Exporting EV_FAILED Call by reference Type reference (TYPE) /PLMB/SPI_FAILED_IND Failed Indicator 20100520
4 Importing IS_PARAM Call by reference Type reference (TYPE) ANY 20100520
5 Importing IT_NODE_ID Call by reference Type reference (TYPE) INDEX TABLE 20100520
6 Importing IV_ACTION_NAME Call by reference Type reference (TYPE) /PLMB/SPI_ACTION_NAME Action Name 20100520
7 Importing IV_NODE_NAME Call by reference Type reference (TYPE) /PLMB/SPI_NODE_NAME Node Name 20100520

Method UNDELETE_SERVICE_ACCOUNT on class CL_MMSRV_MODEL_SP has no exception.
Event Signatures

Event UPDATE_COMSRV_FIELDS Signature
# Parameter Type Pass Value Optional Typing Method Associated Type Default value Description Created on
1 IS_EXT_HEADER Exporting Value transfer Type reference (TYPE) SRV_EXT_HEADER External Header Data 20110111
History
Last changed by/on SAP  20130531 
SAP Release Created in 605