SAP ABAP Class CL_MSR_CMR (Credit Memo Request)
Hierarchy
☛
SAP_APPL (Software Component) Logistics and Accounting
⤷
LO-ARM (Application Component) Advanced Returns Management
⤷
MSR_REFUND (Package) Multi-Step Returns: Returns Refund Processing
⤷
⤷
Properties
| Class | CL_MSR_CMR | |
| Short Description | Credit Memo Request | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | MSR_REFUND | Multi-Step Returns: Returns Refund Processing |
| Created | 20070601 | SAP |
| Last change | 20130531 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_MSR_CMR has no forward declaration.
Interfaces
Class CL_MSR_CMR has no interface implemented.
Friends
Class CL_MSR_CMR has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Static Attribute | Private | Type reference (TYPE) | TVAK | Sales Document Types of the Credit Memo Request | 20070601 | |||
| 2 | Static Attribute | Public | Type reference (TYPE) | BAPIRET2_T | Return parameter table | 20070911 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Private | Method | Creates the CMR in background | 20070601 | |
| 2 | Static method | Private | Method | Cleares all data | 20070601 | |
| 3 | Static method | Public | Method | Creates a credit memo request | 20070601 | |
| 4 | Static method | Private | Method | Exports the RRD data to memory | 20070608 | |
| 5 | Static method | Private | Method | Creates the CMR in foreground | 20070601 | |
| 6 | Static method | Private | Method | Initialize the CMR and all internal data | 20070601 |
Events
Class CL_MSR_CMR has no event.
Types
Class CL_MSR_CMR has no local type.
Method Signatures
Method BACKGROUND Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_VBELN | Call by reference | Type reference (TYPE) | VBELN | CMR Document Number | 20070601 | |||
| 2 | IS_RRD_HEAD | Call by reference | Type reference (TYPE) | MSR_S_RRD_HEAD_CUST | MSR: Header Structure for Customer Returns Refund Processing | 20070601 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Creation failed (see message) | 20070608 |
Method CLEAR Signature
Method CLEAR on class CL_MSR_CMR has no parameter.
Method CLEAR on class CL_MSR_CMR has no exception.
Method CREATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_BAPIRET2 | Call by reference | Type reference (TYPE) | BAPIRET2_T | Return parameter table | 20070911 | |||
| 2 | EV_VBELN | Call by reference | Type reference (TYPE) | VBELN | CMR Document Number | 20070601 | |||
| 3 | IS_RRD_HEAD | Call by reference | Type reference (TYPE) | MSR_S_RRD_HEAD_CUST | MSR: Header Structure for Customer Returns Refund Processing | 20070601 | |||
| 4 | IT_RRD_ITEM | Call by reference | Type reference (TYPE) | MSR_T_RRD_ITEM_CUST | MSR: Table Type for Customer RRP Items | 20070601 | |||
| 5 | IV_BACKGROUND | Call by reference | Type reference (TYPE) | BOOLEAN | Indicates wether Transaction VA01 should be called | 20070601 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Document type not found | 20070601 | ||
| 2 | Supplied document not found | 20070601 | ||
| 3 | Creation failed (see message) | 20070601 | ||
| 4 | No items supplied | 20070601 |
Method EXPORT_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_RRD_HEAD | Call by reference | Type reference (TYPE) | MSR_S_RRD_HEAD_CUST | MSR: Header Structure for Customer Returns Refund Processing | 20070608 | |||
| 2 | IT_RRD_ITEM | Call by reference | Type reference (TYPE) | MSR_T_RRD_ITEM_CUST | MSR: Table Type for Customer RRP Items | 20070608 |
Method EXPORT_DATA on class CL_MSR_CMR has no exception.
Method FOREGROUND Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_VBELN | Call by reference | Type reference (TYPE) | VBELN | CMR Document Number | 20070601 | |||
| 2 | IS_RRD_HEAD | Call by reference | Type reference (TYPE) | MSR_S_RRD_HEAD_CUST | MSR: Header Structure for Customer Returns Refund Processing | 20070601 |
Method FOREGROUND on class CL_MSR_CMR has no exception.
Method INIT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_RRD_HEAD | Call by reference | Type reference (TYPE) | MSR_S_RRD_HEAD_CUST | MSR: Header Structure for Customer Returns Refund Processing | 20070608 | |||
| 2 | IT_RRD_ITEM | Call by reference | Type reference (TYPE) | MSR_T_RRD_ITEM_CUST | MSR: Table Type for Customer RRP Items | 20070608 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Document type not found | 20070601 | ||
| 2 | Supplied document not found | 20070601 | ||
| 3 | No items were supplied | 20070613 |
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 100 |