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 GS_TVAK Static Attribute Private Type reference (TYPE) TVAK Sales Document Types of the Credit Memo Request 20070601
2 GT_BAPIRET2 Static Attribute Public Type reference (TYPE) BAPIRET2_T Return parameter table 20070911
Methods
# Method Level Visibility Method type Description Created on
1 BACKGROUND Static method Private Method Creates the CMR in background 20070601
2 CLEAR Static method Private Method Cleares all data 20070601
3 CREATE Static method Public Method Creates a credit memo request 20070601
4 EXPORT_DATA Static method Private Method Exports the RRD data to memory 20070608
5 FOREGROUND Static method Private Method Creates the CMR in foreground 20070601
6 INIT 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 Exporting EV_VBELN Call by reference Type reference (TYPE) VBELN CMR Document Number 20070601
2 Importing 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 CX_MSR_CMR_FAILED 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 Exporting ET_BAPIRET2 Call by reference Type reference (TYPE) BAPIRET2_T Return parameter table 20070911
2 Exporting EV_VBELN Call by reference Type reference (TYPE) VBELN CMR Document Number 20070601
3 Importing IS_RRD_HEAD Call by reference Type reference (TYPE) MSR_S_RRD_HEAD_CUST MSR: Header Structure for Customer Returns Refund Processing 20070601
4 Importing IT_RRD_ITEM Call by reference Type reference (TYPE) MSR_T_RRD_ITEM_CUST MSR: Table Type for Customer RRP Items 20070601
5 Importing IV_BACKGROUND Call by reference Type reference (TYPE) BOOLEAN Indicates wether Transaction VA01 should be called 20070601
# Exception Resumable Description Created on
1 CX_MSR_CMR_DOCTYPE_NOT_FOUND Document type not found 20070601
2 CX_MSR_CMR_DOCUMENT_NOT_FOUND Supplied document not found 20070601
3 CX_MSR_CMR_FAILED Creation failed (see message) 20070601
4 CX_MSR_CMR_NO_ITEMS_SUPPLIED No items supplied 20070601

Method EXPORT_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_RRD_HEAD Call by reference Type reference (TYPE) MSR_S_RRD_HEAD_CUST MSR: Header Structure for Customer Returns Refund Processing 20070608
2 Importing 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 Exporting EV_VBELN Call by reference Type reference (TYPE) VBELN CMR Document Number 20070601
2 Importing 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 Changing CS_RRD_HEAD Call by reference Type reference (TYPE) MSR_S_RRD_HEAD_CUST MSR: Header Structure for Customer Returns Refund Processing 20070608
2 Importing 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 CX_MSR_CMR_DOCTYPE_NOT_FOUND Document type not found 20070601
2 CX_MSR_CMR_DOCUMENT_NOT_FOUND Supplied document not found 20070601
3 CX_MSR_CMR_NO_ITEMS_SUPPLIED No items were supplied 20070613
History
Last changed by/on SAP  20130531 
SAP Release Created in 100