SAP ABAP Class IF_PUR_SALESORDER (Interface for customizing BAdI)
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface composition (i COMPRISING i_ref)  IF_BADI_INTERFACE Tag Interface for BAdIs 20070801
Properties
Class IF_PUR_SALESORDER  
Short Description Interface for customizing BAdI    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package      
Created 20070801   SAP 
Last change 20100310   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class IF_PUR_SALESORDER has no forward declaration.
Interfaces
Class IF_PUR_SALESORDER has no interface implemented.
Friends
Class IF_PUR_SALESORDER has no friend class.
Attributes
Class IF_PUR_SALESORDER has no attribute.
Methods
# Method Level Visibility Method type Description Created on
1 DEFINE_CANCELLATION_REASON Instance method Public Method Determination of a cancellation reason 20070801
2 DEFINE_CUSTOMER_TO_SALES_ORG Instance method Public Method Determine Sales Organisation from Customer 20070821
3 DEFINE_PARTYID_TO_CUSTOMER Instance method Public Method Determine Customer from Incoming Party ID Data 20070821
4 DEFINE_PAYMENTTERMS Instance method Public Method Determine Payment Terms 20070822
5 DEFINE_PRODUCT_TO_MATNR Instance method Public Method Determine Material from incoming Product Data 20070821
6 DEFINE_SALESDOCUMENTTYPE Instance method Public Method Determine Sales Document Type 20070821
7 DEFINE_SALES_CUSTOMER Instance method Public Method Determination of the customer 20070801
8 DEFINE_WERKS Instance method Public Method Determine Plant 20070925
9 ERROR_FOLLOW_UP Instance method Public Method Trigger follow-up processing in error case 20070814
Events
Class IF_PUR_SALESORDER has no event.
Types
Class IF_PUR_SALESORDER has no local type.
Method Signatures

Method DEFINE_CANCELLATION_REASON Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CD_ABGRU Call by reference Type reference (TYPE) ABGRU_VA Reason for rejection of quotations and sales orders 20070801
2 Changing CT_MESSAGES Call by reference Type reference (TYPE) BAPIRET2_T Return parameter table 20070801

Method DEFINE_CANCELLATION_REASON on class IF_PUR_SALESORDER has no exception.

Method DEFINE_CUSTOMER_TO_SALES_ORG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_MESSAGES Call by reference Type reference (TYPE) BAPIRET2_T Return parameter table 20070821
2 Changing CV_SPART Call by reference Type reference (TYPE) SPART Division 20070821
3 Changing CV_VKORG Call by reference Type reference (TYPE) VKORG Sales Organization 20070821
4 Changing CV_VTWEG Call by reference Type reference (TYPE) VTWEG Distribution Channel 20070821
5 Importing IS_MESSAGE_HEADER Call by reference Type reference (TYPE) SAPPLCO_BUS_DOC_MESSAGE_HEADER Business information from the perspective of the sender appl 20070822
6 Importing IV_KUNNR Call by reference Type reference (TYPE) KUNNR Customer Number 1 20070822

Method DEFINE_CUSTOMER_TO_SALES_ORG on class IF_PUR_SALESORDER has no exception.

Method DEFINE_PARTYID_TO_CUSTOMER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_MESSAGES Call by reference Type reference (TYPE) BAPIRET2_T Return parameter table 20070821
2 Changing CV_KUNNR Call by reference Type reference (TYPE) KUNNR Customer Number 1 20070821
3 Importing IS_MESSAGE_DATA Call by reference Type reference (TYPE) SAPPLCO_EXT_BUSINESS_TRANSACTI Structure of external PartyID 20070822
4 Importing IS_MESSAGE_HEADER Call by reference Type reference (TYPE) SAPPLCO_BUS_DOC_MESSAGE_HEADER Business information from the perspective of the sender appl 20070822

Method DEFINE_PARTYID_TO_CUSTOMER on class IF_PUR_SALESORDER has no exception.

Method DEFINE_PAYMENTTERMS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_MESSAGES Call by reference Type reference (TYPE) BAPIRET2_T Return parameter table 20070822
2 Changing CV_ZTERM Call by reference Type reference (TYPE) DZTERM Terms of Payment Key 20070822
3 Importing IS_MESSAGE_HEADER Call by reference Type reference (TYPE) SAPPLCO_BUS_DOC_MESSAGE_HEADER Business information from the perspective of the sender appl 20070822
4 Importing IV_KUNNR Call by reference Type reference (TYPE) KUNNR Customer Number 1 20070822
5 Importing IV_SPART Call by reference Type reference (TYPE) SPART Division 20070822
6 Importing IV_VKORG Call by reference Type reference (TYPE) VKORG Sales Organization 20070822
7 Importing IV_VTWEG Call by reference Type reference (TYPE) VTWEG Distribution Channel 20070822

Method DEFINE_PAYMENTTERMS on class IF_PUR_SALESORDER has no exception.

Method DEFINE_PRODUCT_TO_MATNR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_MESSAGES Call by reference Type reference (TYPE) BAPIRET2_T Return parameter table 20070821
2 Changing CV_MATNR Value transfer Type reference (TYPE) MATNR Material Number 20070821
3 Importing IS_MESSAGE_DATA Call by reference Type reference (TYPE) SAPPLCO_BT_DOCUMENT_PRODUCT Structure of external Product 20070821
4 Importing IS_MESSAGE_HEADER Call by reference Type reference (TYPE) SAPPLCO_BUS_DOC_MESSAGE_HEADER Business information from the perspective of the sender appl 20070822

Method DEFINE_PRODUCT_TO_MATNR on class IF_PUR_SALESORDER has no exception.

Method DEFINE_SALESDOCUMENTTYPE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_MESSAGES Call by reference Type reference (TYPE) BAPIRET2_T Return parameter table 20070821
2 Changing CV_AUART Value transfer Type reference (TYPE) AUART Sales Document Type 20070821
3 Importing IS_MESSAGE_HEADER Call by reference Type reference (TYPE) SAPPLCO_BUS_DOC_MESSAGE_HEADER Business information from the perspective of the sender appl 20070822
4 Importing IV_KUNNR Call by reference Type reference (TYPE) KUNNR Customer Number 1 20070821
5 Importing IV_SPART Call by reference Type reference (TYPE) SPART Division 20070821
6 Importing IV_VKORG Call by reference Type reference (TYPE) VKORG Sales Organization 20070821
7 Importing IV_VTWEG Call by reference Type reference (TYPE) VTWEG Distribution Channel 20070821

Method DEFINE_SALESDOCUMENTTYPE on class IF_PUR_SALESORDER has no exception.

Method DEFINE_SALES_CUSTOMER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CD_KUNNR Call by reference Type reference (TYPE) KUNNR Customer Number 20070801
2 Changing CT_MESSAGES Call by reference Type reference (TYPE) BAPIRET2_T Return parameter table 20070801
3 Importing IS_MESSAGE_DATA Call by reference Type reference (TYPE) SAPPLCO_PURCHASE_ORDER_CANCELL Data of cancellation message 20070801
4 Importing IS_MESSAGE_HEADER Call by reference Type reference (TYPE) SAPPLCO_BUS_DOC_MESSAGE_HEADER Business information from the perspective of the sender appl 20070801

Method DEFINE_SALES_CUSTOMER on class IF_PUR_SALESORDER has no exception.

Method DEFINE_WERKS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_MESSAGES Call by reference Type reference (TYPE) BAPIRET2_T Return parameter table 20070925
2 Changing CV_WERKS Call by reference Type reference (TYPE) WERKS_D Plant 20070925
3 Importing IS_MESSAGE_HEADER Call by reference Type reference (TYPE) SAPPLCO_BUS_DOC_MESSAGE_HEADER Business information from the perspective of the sender appl 20070925
4 Importing IV_KUNNR Call by reference Type reference (TYPE) KUNNR Customer Number 1 20070925
5 Importing IV_SPART Call by reference Type reference (TYPE) SPART Division 20070925
6 Importing IV_VKORG Call by reference Type reference (TYPE) VKORG Sales Organization 20070925
7 Importing IV_VTWEG Call by reference Type reference (TYPE) VTWEG Distribution Channel 20070925

Method DEFINE_WERKS on class IF_PUR_SALESORDER has no exception.

Method ERROR_FOLLOW_UP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing MESSAGES Call by reference Type reference (TYPE) BAPIRET2_T Return parameter table 20070814
2 Importing PARTY_ID Call by reference Type reference (TYPE) SAPPLCO_PARTY_PARTY_ID Proxy Data Element (Generated) 20070814
3 Importing PO_NUMBER Call by reference Type reference (TYPE) SAPPLCO_BUSINESS_TRANSACTION_D Proxy Data Element (Generated) 20070814
4 Importing SO_NUMBER Call by reference Type reference (TYPE) VBELN Sales and Distribution Document Number 20070814

Method ERROR_FOLLOW_UP on class IF_PUR_SALESORDER has no exception.
History
Last changed by/on SAP  20100310 
SAP Release Created in