SAP ABAP Class /SAPPSPRO/CL_RECORD_API (API for procurement records)
Hierarchy
☛
SAP_APPL (Software Component) Logistics and Accounting
⤷
MM (Application Component) Materials Management
⤷
/SAPPSPRO/RM/INTERFACE (Package) BADI's, Interfaces
⤷
⤷
Properties
| Class | /SAPPSPRO/CL_RECORD_API | |
| Short Description | API for procurement records | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | /SAPPSPRO/RM/INTERFACE | BADI's, Interfaces |
| Created | 20041208 | SAP |
| Last change | 20050301 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class /SAPPSPRO/CL_RECORD_API has no forward declaration.
Interfaces
Class /SAPPSPRO/CL_RECORD_API has no interface implemented.
Friends
Class /SAPPSPRO/CL_RECORD_API has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | SRMAIOCATEG | 'AL' | Object categorie for AL documents | 20041209 | ||
| 2 | Instance attribute | Protected | Object reference (TYPE REF TO) | IF_SRM_SRM_CLIENT_SERVICE | Interface for Client-Specific Service Functions | 20041208 | |||
| 3 | Instance attribute | Protected | Object reference (TYPE REF TO) | IF_SRM_POID | POID of the constituting object | 20041208 | |||
| 4 | Instance attribute | Protected | Object reference (TYPE REF TO) | IF_SRM_POID | POID of the record | 20041208 | |||
| 5 | Instance attribute | Protected | Object reference (TYPE REF TO) | IF_SRM_SRM_SERVICE | SRM Service | 20041208 | |||
| 6 | Instance attribute | Protected | Type reference (TYPE) | STRING | RMS-Id | 20041209 | |||
| 7 | Instance attribute | Protected | Type reference (TYPE) | SRMAISCNID | Integration scenario | 20041209 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Add ArchiveLink document to record | 20041209 | |
| 2 | Instance method | Public | Constructor | CONSTRUCTOR | 20041208 | |
| 3 | Instance method | Public | Method | Get reference to base record API | 20041209 | |
| 4 | Instance method | Public | Method | Get related records (based on application object relations) | 20041208 | |
| 5 | Instance method | Protected | Method | Set error | 20041220 |
Events
Class /SAPPSPRO/CL_RECORD_API has no event.
Types
Class /SAPPSPRO/CL_RECORD_API has no local type.
Method Signatures
Method ADD_AL_DOCUMENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_AL_DOC_DATA | Call by reference | Type reference (TYPE) | TOADT | ArchiveLink Document Table | 20041209 | |||
| 2 | IV_DESCRIPTION | Call by reference | Type reference (TYPE) | STRING | Descriptive text for element in record | 20041209 | |||
| 3 | IV_SEMCLASS | Call by reference | Type reference (TYPE) | /SAPPSPRO/_SEMCLASS | Semantic classification of ArchiveLink document type | 20041209 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exceptions of record API | 20041220 |
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_OBJECT_ID | Call by reference | Type reference (TYPE) | SWO_TYPEID | Key of object which constitutes the record | 20041208 | |||
| 2 | IV_OBJECT_LOGSYS | Call by reference | Type reference (TYPE) | CHAR40 | Logical system of object | 20041208 | |||
| 3 | IV_OBJECT_SPS_ID | Call by reference | Type reference (TYPE) | STRING | SPS-Id for representation of object in RM | 20041208 | |||
| 4 | IV_OBJECT_TYPE | Call by reference | Type reference (TYPE) | SWO_OBJTYP | Object Type | 20041208 | |||
| 5 | IV_SCNID | Call by reference | Type reference (TYPE) | SRMAISCNID | Integration Scenario Id | 20041209 | |||
| 6 | IV_SRM_OBJECT_GUID | Call by reference | Type reference (TYPE) | GUID | GUID of SRM object which co | 20041218 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exceptions of record API | 20041220 |
Method GET_BASE_RECORD_API Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RO_BASE_RECORD_API | Value transfer | Object reference (TYPE REF TO) | IF_SRM_SP_RECORD | IF_SRM_SP_RECORD | 20041209 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Framework (abstrakt) | 20041209 |
Method GET_RELATED_RECORDS Signature
Method GET_RELATED_RECORDS on class /SAPPSPRO/CL_RECORD_API has no parameter.
Method GET_RELATED_RECORDS on class /SAPPSPRO/CL_RECORD_API has no exception.
Method SET_ERROR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_MSG_NUMBER | Call by reference | Type reference (TYPE) | BAPIRET2-NUMBER | Messages, Message Class | 20041220 | |||
| 2 | RS_RETURN | Value transfer | Type reference (TYPE) | BAPIRET2 | Return Parameter | 20041220 |
Method SET_ERROR on class /SAPPSPRO/CL_RECORD_API has no exception.
History
| Last changed by/on | SAP | 20050301 |
| SAP Release Created in | 200 |