SAP ABAP Interface IF_MMPUR_HISTORY_FACTORY (Contract History)
Hierarchy
BBPCRM (Software Component) BBPCRM
   SRM-EBP (Application Component) Enterprise Buyer
     BBP_APPLICATION (Package) Structure Package EBP
       ME (Package) Application development R/3 Purchasing
Properties
Interface IF_MMPUR_HISTORY_FACTORY  
Short Description Contract History    
General Data
Package ME   Application development R/3 Purchasing 
Created 20081111   SAP 
Last changed 20100310   SAP 
Unicode checks active    
Forward declarations
Interface IF_MMPUR_HISTORY_FACTORY has no forward declaration.
Interfaces
Interface IF_MMPUR_HISTORY_FACTORY has no interface.
Friends
Interface IF_MMPUR_HISTORY_FACTORY has no friend.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MO_FACTORY Static Attribute Public Object reference (TYPE REF TO) IF_MMPUR_HISTORY_FACTORY Contract History 20081111
Methods
# Method Level Visibility Method type Description Created on
1 CLOSE Instance method Public Method Destructor 20090121
2 GET_DOCUMENT_HANDLE Instance method Public Method Set Document Data (Document and Item) 20090507
3 GET_DOCUMENT_SUMS Instance method Public Method Create Summation of a Document 20090507
4 LOOKUP Instance method Public Method Check Whether Document is Registered 20090121
Events
Interface IF_MMPUR_HISTORY_FACTORY has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TYPE_S_CALL_OFF_VALUE Public See coding 20090507 BEGIN OF type_s_call_off_value, call_off_value TYPE ktwrt, call_off_currency TYPE waers, END OF type_s_call_off_value
2 TYPE_S_DOCUMENT Public See coding Assignment of Document Number Versus Document Item 20090326 BEGIN OF type_s_document, document TYPE ebeln, doc_item TYPE ebelp, END OF type_s_document
3 TYPE_S_DOC_ITEM Public See coding 20090507 BEGIN OF type_s_doc_item, doc_item TYPE ebelp, END OF type_s_doc_item
4 TYPE_S_ITEM_SUM Public See coding 20090507 BEGIN OF type_s_item_sum, document TYPE ebeln, doc_item TYPE ebelp, call_off_qty TYPE ekabs-menge, call_off_uom TYPE ekabs-mgowr, END OF type_s_item_sum
5 TYPE_T_DOCREF Public See coding Table of IF_MMPUR_HISTORY Instances 20090326 type_t_docref TYPE SORTED TABLE OF REF TO if_mmpur_history
6 TYPE_T_DOCUMENT Public See coding Hashed & Sorted Table Type: Document & Item 20090326 type_t_document TYPE HASHED TABLE OF type_s_document WITH UNIQUE KEY document doc_item WITH NON-UNIQUE SORTED KEY document COMPONENTS document
7 TYPE_T_DOC_ITEM Public See coding 20090507 type_t_doc_item TYPE SORTED TABLE OF type_s_doc_item WITH UNIQUE KEY doc_item
8 TYPE_T_ITEM_SUM Public See coding 20090507 type_t_item_sum TYPE SORTED TABLE OF type_s_item_sum WITH UNIQUE KEY document doc_item
Method Signatures

Method CLOSE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_DOCUMENT Call by reference Type reference (TYPE) EBELN Belegnummer des Einkaufsbelegs 20090121

Method CLOSE on Interface IF_MMPUR_HISTORY_FACTORY has no exception.

Method GET_DOCUMENT_HANDLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_MODEL Call by reference Object reference (TYPE REF TO) IF_MODEL_MM Default Modelfunktionalität 20090507
2 Importing IV_DOCUMENT Call by reference Type reference (TYPE) EBELN Belegnummer des Einkaufsbelegs 20090507
3 Importing IV_DOC_ITEM Call by reference Type reference (TYPE) EBELP Positionsnummer des Einkaufsbelegs 20090507
4 Returning RO_HISTORY Value transfer Object reference (TYPE REF TO) IF_MMPUR_HISTORY Historie des Einkaufsbeleges 20090507
# Exception Resumable Description Created on
1 CX_MMPUR_NOT_FOUND Exception Einkauf: nicht gefunden 20090507
2 CX_MMPUR_NOT_RELEVANT Nicht relevant -> Dokument ist nicht unterstützt 20090507

Method GET_DOCUMENT_SUMS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_CALL_OFF_VALUE Call by reference Type reference (TYPE) TYPE_S_CALL_OFF_VALUE Bisheriger Abrufwert mit Währung 20090507
2 Exporting ET_CALL_OFF_SUM Call by reference Type reference (TYPE) TYPE_T_ITEM_SUM Abrufmengen für Kontrakt 20090507
3 Importing IT_ITEMS Call by reference Type reference (TYPE) TYPE_T_DOC_ITEM Belegpositionsnummern 20090507
4 Importing IV_DOCUMENT Call by reference Type reference (TYPE) EBELN Belegnummer des Einkaufsbelegs 20090507

Method GET_DOCUMENT_SUMS on Interface IF_MMPUR_HISTORY_FACTORY has no exception.

Method LOOKUP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_DOCUMENT Call by reference Type reference (TYPE) EBELN Belegnummer des Einkaufsbelegs 20090121
2 Importing IV_DOC_ITEM Call by reference Type reference (TYPE) EBELP Positionsnummer des Einkaufsbelegs 20090507
3 Returning RO_HISTORY Value transfer Object reference (TYPE REF TO) IF_MMPUR_HISTORY Historie des Einkaufsbeleges 20090121

Method LOOKUP on Interface IF_MMPUR_HISTORY_FACTORY has no exception.
History
Last changed by/on SAP  20100310 
SAP Release Created in 605