SAP ABAP Interface IF_MMPUR_DOC_FACTORY (Factory for Purchasing Documents)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   MM-PUR (Application Component) Purchasing
     MMPUR_BASE (Package) Purchasing: Basis Components
Properties
Interface IF_MMPUR_DOC_FACTORY  
Short Description Factory for Purchasing Documents    
General Data
Package MMPUR_BASE   Purchasing: Basis Components 
Created 20070622   SAP 
Last changed 20100310   SAP 
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 CL_MMPUR_CONSTANTS Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
Interfaces
Interface IF_MMPUR_DOC_FACTORY has no interface.
Friends
Interface IF_MMPUR_DOC_FACTORY has no friend.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 DOC_OA Constant Public Type reference (TYPE) STRING 'BUS2014' Purchase Contract 20070622
2 DOC_PO Constant Public Type reference (TYPE) STRING 'BUS2012' Purchase Order 20070622
3 DOC_PR Constant Public Type reference (TYPE) STRING 'BUS2105' Purchase Requisition 20070622
4 DOC_SAG Constant Public Type reference (TYPE) STRING 'BUS2013' Purchase Scheduling Agreement 20070622
Methods
# Method Level Visibility Method type Description Created on
1 CREATE_DOCUMENT Instance method Public Method Create New Document 20070622
Events
Interface IF_MMPUR_DOC_FACTORY has no event.
Types
Interface IF_MMPUR_DOC_FACTORY has no local type.
Method Signatures

Method CREATE_DOCUMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CH_DOC_NO Call by reference Type reference (TYPE) CHAR10 Belegnummer 20070917
2 Exporting ER_DOCUMENT Call by reference Object reference (TYPE REF TO) IF_MMPUR_DOCUMENT Factory für Einkaufsbelege 20070622
3 Importing IV_ACTIVITY Call by reference Type reference (TYPE) TRTYP CL_MMPUR_CONSTANTS=>VER Transaktionstyp 20070622
4 Importing IV_DOC_TYPE Call by reference Type reference (TYPE) SWO_OBJTYP Belegart 20070622
# Exception Resumable Description Created on
1 CX_MMPUR_DOCUMENT_LOCKED Exception Einkauf: Beleg gesperrt 20070918
2 CX_MMPUR_NOT_FOUND Exception Einkauf: nicht gefunden 20070928
3 CX_MMPUR_NO_AUTHORITY Exception Einkauf: keine Berechtigung 20070905
4 CX_MMPUR_ROOT Exception Einkauf 20070919
History
Last changed by/on SAP  20100310 
SAP Release Created in 603