SAP ABAP Class CL_PUR_SALESORDER_CNC (cancel salesorder from PO)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   SD-SLS-ES (Application Component) Enterprise Services in Sales
     OPS_SE_SLS (Package) Service Enabling for Sales
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_ECH_ACTION Interface - Action Class 20080505
Properties
Class CL_PUR_SALESORDER_CNC  
Short Description cancel salesorder from PO    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package OPS_SE_SLS   Service Enabling for Sales 
Created 20070710   SAP 
Last change 20110908   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
# Interface Abstract Final Description Created on
1 IF_ECH_ACTION Interface - Action Class 20080505
Friends
Class CL_PUR_SALESORDER_CNC has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GO_BADI Static Attribute Private Object reference (TYPE REF TO) BADI_PUR_SALESORDER BAdI 20070730
2 GO_SALESORDER_CNC Static Attribute Private Object reference (TYPE REF TO) CL_PUR_SALESORDER_CNC cancel salesorder from PO 20070710
3 GT_MESSAGES Instance attribute Private Type reference (TYPE) BAPIRETTAB Table with BAPI Return Information 20080804
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_FOLLOWUP_DOCUMENT Instance method Private Method Check if follow up documents exists. 20070719
2 CREATE Static method Public Method create instance 20070710
3 EXECUTE Instance method Public Method Execute cancellation 20080430
4 FEH_PROCESS Instance method Private Method FEH error processing 20080505
5 MARK_ITEM_AS_CANCELLED Static method Public Method Mark item as canceled 20070730
6 PROCESS Instance method Private Method Process cancellation 20080430
Events
Class CL_PUR_SALESORDER_CNC has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 GYS_ORDERKEY Private See coding 20070717 BEGIN OF gys_orderkey, Description_vbeln type char35, vbeln type vbeln, Description_kunnr type char35, kunnr type kunnr, END OF gys_orderkey
Method Signatures

Method CHECK_FOLLOWUP_DOCUMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ED_DOCUMENTSEXISTS Call by reference Type reference (TYPE) CHAR01 Follow up documents exist 20070719
2 Importing ID_BSTNK Call by reference Type reference (TYPE) BSTNK Customer purchase order number 20070719
3 Importing ID_VBELN Call by reference Type reference (TYPE) VBELN Sales and Distribution Document Number 20070719

Method CHECK_FOLLOWUP_DOCUMENT on class CL_PUR_SALESORDER_CNC has no exception.

Method CREATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RO_SALESORDER_CNC Value transfer Object reference (TYPE REF TO) CL_PUR_SALESORDER_CNC cancel salesorder from PO 20070710

Method CREATE on class CL_PUR_SALESORDER_CNC has no exception.

Method EXECUTE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing INPUT Call by reference Object reference (TYPE REF TO) DATA Input data 20080430
# Exception Resumable Description Created on
1 CX_SAPPLCO_STANDARD_MSG_FAULT Standard Message Fault 20080430

Method FEH_PROCESS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IF_ERROR_MSG Call by reference Type reference (TYPE) BAPIRET2 The main error message, when not included in the log 20080505
2 Importing IF_MAPPING_ERROR Call by reference Type reference (TYPE) ABAP_BOOL Error occured during mapping or after 20080505
3 Importing IF_NO_RETRY Call by reference Type reference (TYPE) ABAP_BOOL Retry makes sense or not 20080505
4 Importing IF_VBELN Call by reference Type reference (TYPE) VBELN Order number 20080505
5 Importing IO_FEH Call by reference Object reference (TYPE REF TO) CL_FEH_REGISTRATION Registration and Restart of FEH 20080505
6 Importing IS_SINGLE_BO Call by reference Type reference (TYPE) ANY BO data pre- or postmapping 20080505

Method FEH_PROCESS on class CL_PUR_SALESORDER_CNC has no exception.

Method MARK_ITEM_AS_CANCELLED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing IS_ITEM Call by reference Type reference (TYPE) TDS_ITEM_COMV Lean Order - Item Data (Values) 20070730
2 Changing IS_ITEMX Call by reference Type reference (TYPE) TDS_ITEM_COMC Lean Order - Item Data (CHAR) 20070730
# Exception Resumable Description Created on
1 NO_ABGRU_FOUND no cancellation reason found 20070730

Method PROCESS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_POSTMAPPING Call by reference Type reference (TYPE) STRUC_POCNCREQ_POST_MAPPING Input data after mapping 20080430
2 Importing I_PREMAPPING Call by reference Object reference (TYPE REF TO) DATA Input data 20080430
3 Importing I_REF_REGISTRATION Call by reference Object reference (TYPE REF TO) CL_FEH_REGISTRATION Reference to FEH object 20080430
# Exception Resumable Description Created on
1 CX_SAPPLCO_STANDARD_MSG_FAULT Standard Message Fault 20080430
History
Last changed by/on SAP  20110908 
SAP Release Created in 603