SAP ABAP Class CL_SEM_MP_DOCUMENTS (Class for Documents in Manual Planning)
Hierarchy
☛
SAP_BW (Software Component) SAP Business Warehouse
⤷
BW-PLA-BPS (Application Component) Business Planning and Simulation
⤷
UPP (Package) SEM-BPS: Planning Processor and Layout Builder
⤷
⤷
Properties
| Class | CL_SEM_MP_DOCUMENTS | |
| Short Description | Class for Documents in Manual Planning | |
| Super Class | ||
| Instantiability of a Class | 0 | Private |
| Final |
General Data
| Message Class | UPP_DOC | |
| Program status | ||
| Category | 0 | |
| Package | UPP | SEM-BPS: Planning Processor and Layout Builder |
| Created | 20010607 | SAP |
| Last change | 20130531 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_SEM_MP_DOCUMENTS has no interface implemented.
Friends
Class CL_SEM_MP_DOCUMENTS has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Private | Type reference (TYPE) | UPC_Y_AREA | Planning Area | 20010607 | |||
| 2 | Constant | Private | Type reference (TYPE) | CHAR30 | 'DOCS_WITH_INFOPROV' | InfoProvider Assignment of Documents | 20051205 | ||
| 3 | Constant | Public | Type reference (TYPE) | BDS_MIMETP | 'text/plain' | Document Type Pure Text | 20010717 | ||
| 4 | Constant | Private | Type reference (TYPE) | CHAR1 | '#' | Initial Value | 20010727 | ||
| 5 | Constant | Public | Type reference (TYPE) | CHAR10 | '_DOC_ID' | Name Doc_id in Structure | 20010608 | ||
| 6 | Constant | Public | Type reference (TYPE) | CHAR10 | '_BKENNZAHL' | Name Key Figure in Structure | 20010608 | ||
| 7 | Constant | Private | Type reference (TYPE) | CHAR10 | 'KYFNM_NAME' | Name Key Figure in Document Storage | 20010705 | ||
| 8 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_SEM_PLANAREA_ATTRIBUTES | Planning Area Attributes | 20010611 | |||
| 9 | Static Attribute | Private | Type reference (TYPE) | CHAR1 | Only Use Text Documents | 20010717 | |||
| 10 | Instance attribute | Public | Type reference (TYPE) | CHAR1 | Text Documents Allowed | 20011102 | |||
| 11 | Static Attribute | Protected | Type reference (TYPE) | UPC_YTO_DOC | Table for Documents | 20010607 | |||
| 12 | Instance attribute | Private | Type reference (TYPE) | YTO_DOC_LEVEL | Table with Document Levels | 20010607 | |||
| 13 | Static Attribute | Protected | Type reference (TYPE) | YTO_INSTANCES | 20010607 | ||||
| 14 | Instance attribute | Protected | Type reference (TYPE) | YT_SELECTION | 20010608 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Private | Method | Checks, Whether Document Is in Desired Level | 20010627 | |
| 2 | Instance method | Public | Constructor | Constructor | 20010607 | |
| 3 | Instance method | Private | Method | Convert Selection Table for Database | 20010727 | |
| 4 | Static method | Private | Method | Converts chavl Table from initial to # | 20010727 | |
| 5 | Instance method | Private | Method | Converts chavl Table from # to initial | 20010727 | |
| 6 | Instance method | Private | Method | Generates a Table Entry for a Document Level | 20010608 | |
| 7 | Instance method | Private | Method | Deletes Enties from Selection Table with Specified doc_id | 20010607 | |
| 8 | Static method | Public | Method | Is InfoProvider assignment for documents switched on? | 20051205 | |
| 9 | Instance method | Private | Method | Fills Reference Table | 20010607 | |
| 10 | Instance method | Private | Method | Gets Documents from the Buffer | 20010704 | |
| 11 | Instance method | Public | Method | Delivers the Content of a Document | 20010607 | |
| 12 | Instance method | Public | Method | Fills the Document Table | 20010607 | |
| 13 | Instance method | Public | Method | Delivers a Document Level (Exact) and Selections | 20010625 | |
| 14 | Static method | Public | Method | Gets Instance | 20010607 | |
| 15 | Static method | Private | Method | Generates the Respective Instance | 20010607 | |
| 16 | Instance method | Private | Method | Fills to_cha from to_chavl | 20010704 | |
| 17 | Static method | Private | Method | Changes Name of Key Figure (Document Storage to Internal) | 20010705 | |
| 18 | Static method | Private | Method | Changes Name of Key Figure (Internal to Document Storage) | 20010705 | |
| 19 | Instance method | Private | Method | Fills Missing Entries in the Selection Table | 20010704 | |
| 20 | Static method | Public | Method | Saves Documents in the Document Storage | 20010607 | |
| 21 | Instance method | Public | Method | Writes New/Changes Documents into Buffer | 20010607 | |
| 22 | Instance method | Private | Method | Adapts the doc_ids | 20010607 |
Events
Class CL_SEM_MP_DOCUMENTS has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | YS_DOC_ID | Protected | See coding | 20010607 | begin of YS_DOC_ID,
doc_id type upc_y_doc_id_long,
end of YS_DOC_ID
|
||
| 2 | YS_DOC_LEVEL | Protected | See coding | 20010607 | begin of YS_DOC_level,
hndl_level type UPP_Y_HNDL_LEVEL,
to_cha type upc_yto_cha,
to_doc_sel type ref to data,
end of ys_doc_level
|
||
| 3 | YS_INSTANCES | Protected | See coding | 20010607 | begin of YS_INSTANCES,
area type upc_y_area,
r_instance type ref to cl_sem_mp_documents,
end of YS_INSTANCES
|
||
| 4 | YS_SELECTION | Protected | See coding | 20010608 | begin of YS_SELECTION,
to_chasel type UPC_YTO_CHASEL,
end of YS_SELECTION
|
||
| 5 | YTO_DOC_ID | Protected | See coding | 20010607 | YTO_DOC_ID type sorted table of ys_doc_id
with unique key doc_id
|
||
| 6 | YTO_DOC_LEVEL | Protected | See coding | 20010607 | YTO_DOC_LEVEL type sorted table of ys_doc_level
with unique key hndl_level
|
||
| 7 | YTO_INSTANCES | Protected | See coding | 20010607 | YTO_INSTANCES type sorted table of YS_INSTANCES
with unique key area
|
||
| 8 | YT_SELECTION | Protected | See coding | 20010608 | |
Method Signatures
Method CHECK_DOC_IN_LEVEL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_CONTAINED | Call by reference | Type reference (TYPE) | CHAR1 | Einstelliges Kennzeichen | 20010627 | |||
| 2 | IS_DOCUMENT | Call by reference | Type reference (TYPE) | UPC_YS_DOCUMENT | BDS Dokument | 20010627 | |||
| 3 | ITO_CHA | Call by reference | Type reference (TYPE) | UPC_YTO_CHA | Merkmale | 20010627 |
Method CHECK_DOC_IN_LEVEL on class CL_SEM_MP_DOCUMENTS has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_AREA | Call by reference | Type reference (TYPE) | UPC_Y_AREA | Planungsgebiet | 20010607 | |||
| 2 | I_TEXT_DOCS | Call by reference | Type reference (TYPE) | CHAR1 | Einstelliges Kennzeichen | 20010717 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | interner fehler | 20010611 |
Method CONVERT_CHASEL_FOR_DB Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ETO_CHASEL_DB | Call by reference | Type reference (TYPE) | UPC_YTO_CHASEL | Merkmalsselektion | 20010727 | |||
| 2 | ITO_CHA | Call by reference | Type reference (TYPE) | UPC_YTO_CHA | Merkmale | 20010727 | |||
| 3 | ITO_CHASEL | Call by reference | Type reference (TYPE) | UPC_YTO_CHASEL | Merkmalsselektion | 20010727 |
Method CONVERT_CHASEL_FOR_DB on class CL_SEM_MP_DOCUMENTS has no exception.
Method CONVERT_CHAVL_FOR_DB Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_AREA | Call by reference | Type reference (TYPE) | UPC_Y_AREA | Planungsgebiet | 20010727 | |||
| 2 | XTO_CHAVL | Call by reference | Type reference (TYPE) | UPC_YTO_CHACOMB | Merkmalskombination | 20010727 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Interner Fehler | 20010727 |
Method CONVERT_CHAVL_FROM_DB Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ITO_CHA | Call by reference | Type reference (TYPE) | UPC_YTO_CHA | Merkmale | 20010727 | |||
| 2 | XTO_CHAVL | Call by reference | Type reference (TYPE) | UPC_YTO_CHACOMB | Merkmalskombination | 20010727 |
Method CONVERT_CHAVL_FROM_DB on class CL_SEM_MP_DOCUMENTS has no exception.
Method CREATE_DOC_LEVEL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_DOC_LEVEL | Value transfer | Type reference (TYPE) | YS_DOC_LEVEL | 20010608 | ||||
| 2 | ITO_CHA | Call by reference | Type reference (TYPE) | UPC_YTO_CHA | Merkmale | 20010608 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Interner Fehler | 20010608 |
Method DELETE_DOC_SELS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ITO_DOC_ID | Call by reference | Type reference (TYPE) | YTO_DOC_ID | Laufzeit Dokument-Identifier | 20010607 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | interner fehler | 20010608 |
Method DOCS_WITH_INFOPROV Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_WITH_INFOPROV | Call by reference | Type reference (TYPE) | C | 20051205 | ||||
| 2 | I_ASSIGNMENT_OFF | Call by reference | Type reference (TYPE) | C | Infoproviderzuordnung aussschalten | 20051205 | |||
| 3 | I_ASSIGNMENT_ON | Call by reference | Type reference (TYPE) | C | Infoproviderzuordnung einschalten | 20051205 |
Method DOCS_WITH_INFOPROV on class CL_SEM_MP_DOCUMENTS has no exception.
Method FILL_DOC_SEL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_DOC | Call by reference | Type reference (TYPE) | UPC_YS_DOC | BDS Dokument | 20010607 | |||
| 2 | ITO_CHA | Call by reference | Type reference (TYPE) | UPC_YTO_CHA | Merkmale | 20010622 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Interner Fehler | 20010608 |
Method GET_DOCUMENTS_FROM_BUF Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ETO_DOCUMENT_LONG | Call by reference | Type reference (TYPE) | UPC_YTO_DOCUMENT_LONG | BDS Dokumente | 20010704 | |||
| 2 | ITO_CHA | Call by reference | Type reference (TYPE) | UPC_YTO_CHA | Merkmale | 20010704 | |||
| 3 | ITO_CHASEL | Call by reference | Type reference (TYPE) | UPC_YTO_CHASEL | Merkmalsselektion | 20010704 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | interner Fehler | 20010704 |
Method GET_DOCUMENT_CONTENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_AS_CONTENT | Call by reference | Type reference (TYPE) | UPC_YT_AS_CONTENT | Ascii-Tabelle | 20010717 | |||
| 2 | ET_CONTENT | Call by reference | Type reference (TYPE) | UPC_T_CONTENT | Inhalt eines Dokuments | 20010607 | |||
| 3 | I_DOC_ID | Call by reference | Type reference (TYPE) | UPC_Y_DOC_ID_LONG | Laufzeit Dokument-Identifier | 20010607 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Interner Fehler | 20010608 | ||
| 2 | Kein Dokument gefunden | 20010814 |
Method GET_DOCUMENT_LIST Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ETO_DOCUMENT_LONG | Call by reference | Type reference (TYPE) | UPC_YTO_DOCUMENT_LONG | BDS Dokumente | 20010607 | |||
| 2 | ITO_CHA | Call by reference | Type reference (TYPE) | UPC_YTO_CHA | Merkmale | 20010703 | |||
| 3 | ITO_CHASEL | Call by reference | Type reference (TYPE) | UPC_YTO_CHASEL | Merkmalsselektion | 20010607 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Interner Fehler | 20010608 |
Method GET_DOC_LEVEL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ETO_DOC | Call by reference | Type reference (TYPE) | UPC_YTO_DOC | Tabelle für Dokumente | 20010625 | |||
| 2 | ETO_DOC_SEL | Call by reference | Object reference (TYPE REF TO) | DATA | Selektionen für Dokumente | 20010625 | |||
| 3 | E_HNDL_LEVEL | Call by reference | Type reference (TYPE) | SYSUUID_22 | UUID in komprimierter Form (22 Stellen UUENCODEd) | 20010625 | |||
| 4 | ITO_CHA | Call by reference | Type reference (TYPE) | UPC_YTO_CHA | Merkmale | 20010625 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Interner Fehler | 20010625 |
Method GET_INSTANCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ER_INSTANCE | Value transfer | Object reference (TYPE REF TO) | CL_SEM_MP_DOCUMENTS | Klasse für Dokumente in Manueller Planung | 20010607 | |||
| 2 | I_AREA | Call by reference | Type reference (TYPE) | UPC_Y_AREA | Planungsgebiet | 20010607 | |||
| 3 | I_TEXT_DOCS | Call by reference | Type reference (TYPE) | CHAR1 | ' ' | Einstelliges Kennzeichen | 20010717 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Interner Fehler | 20010611 |
Method GET_INSTANCE_P Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ER_INSTANCE | Call by reference | Object reference (TYPE REF TO) | CL_SEM_MP_DOCUMENTS | Klasse für Dokumente in Manueller Planung | 20010607 | |||
| 2 | I_AREA | Call by reference | Type reference (TYPE) | UPC_Y_AREA | Planungsgebiet | 20010607 | |||
| 3 | I_TEXT_DOCS | Call by reference | Type reference (TYPE) | CHAR1 | Einstelliges Kennzeichen | 20010717 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Interner Fehler | 20010611 |
Method GET_TOCHA_FROM_TOCHAVL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ETO_CHA | Call by reference | Type reference (TYPE) | UPC_YTO_CHA | Merkmale | 20010704 | |||
| 2 | ITO_CHAVL | Call by reference | Type reference (TYPE) | UPC_YTO_CHACOMB | Merkmalskombination | 20010704 |
Method GET_TOCHA_FROM_TOCHAVL on class CL_SEM_MP_DOCUMENTS has no exception.
Method MAP_DSKEYF_TO_KEYF Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | XTO_CHAVL | Call by reference | Type reference (TYPE) | UPC_YTO_CHACOMB | Merkmalskombination | 20010705 |
Method MAP_DSKEYF_TO_KEYF on class CL_SEM_MP_DOCUMENTS has no exception.
Method MAP_KEYF_TO_DSKEYF Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | XTO_CHAVL | Call by reference | Type reference (TYPE) | UPC_YTO_CHACOMB | Merkmalskombination | 20010705 |
Method MAP_KEYF_TO_DSKEYF on class CL_SEM_MP_DOCUMENTS has no exception.
Method MODIFY_CHASEL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ITO_CHA | Call by reference | Type reference (TYPE) | UPC_YTO_CHA | Merkmale | 20010704 | |||
| 2 | XTO_CHASEL | Call by reference | Type reference (TYPE) | UPC_YTO_CHASEL | Merkmalsselektion | 20010704 |
Method MODIFY_CHASEL on class CL_SEM_MP_DOCUMENTS has no exception.
Method SAVE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ETO_DOC_ID_MAP | Call by reference | Type reference (TYPE) | UPC_YTO_DOC_ID_MAP | Tabelle Abbildung alte zur neuer Doc_id | 20010607 | |||
| 2 | I_SAVE_MODE | Call by reference | Type reference (TYPE) | UPC_Y_DOC_SOURCE | letzte Quelle eines geänderten Dokuments | 20010607 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Interner Fehler | 20010608 |
Method UPDATE_DOCUMENT_LIST Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ITO_CHA | Call by reference | Type reference (TYPE) | UPC_YTO_CHA | Merkmale | 20010622 | |||
| 2 | ITO_DOC | Call by reference | Type reference (TYPE) | UPC_YTO_DOC | BDS Dokument | 20010607 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Interner Fehler | 20010608 |
Method UPDATE_DOC_ID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_NEW_DOC_ID | Call by reference | Type reference (TYPE) | UPC_Y_DOC_ID_LONG | Laufzeit Dokument-Identifier | 20010607 | |||
| 2 | I_OLD_DOC_ID | Call by reference | Type reference (TYPE) | UPC_Y_DOC_ID_LONG | Laufzeit Dokument-Identifier | 20010607 |
Method UPDATE_DOC_ID on class CL_SEM_MP_DOCUMENTS has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 3.1A |