SAP ABAP Class CL_PUR_SALESORDER_UTIL (Mapping helper class for Sales Order services)
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

⤷

⤷

Properties
Class | CL_PUR_SALESORDER_UTIL | |
Short Description | Mapping helper class for Sales Order services | |
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 | 20070807 | SAP |
Last change | 20100310 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
# | Type group / Object type | Type | Type Description |
---|---|---|---|
1 | ![]() |
Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_PUR_SALESORDER_UTIL has no interface implemented.
Friends
Class CL_PUR_SALESORDER_UTIL has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
Static Attribute | Private | Object reference (TYPE REF TO) | BADI_PUR_SALESORDER | Interface for customizing BAdI | 20070821 | ||
2 | ![]() |
Static Attribute | Private | Type reference (TYPE) | AUART | Sales Document Type | 20070823 | ||
3 | ![]() |
Static Attribute | Private | Type reference (TYPE) | KUNNR | Customer Number 1 | 20070824 | ||
4 | ![]() |
Static Attribute | Private | Type reference (TYPE) | KUNNR | Customer Number 1 | 20070824 | ||
5 | ![]() |
Static Attribute | Private | Type reference (TYPE) | SAPPLCO_BUS_DOC_MESSAGE_HEADER | Business information from the perspective of the sender appl | 20070822 | ||
6 | ![]() |
Static Attribute | Private | Type reference (TYPE) | SPART | Division | 20070823 | ||
7 | ![]() |
Static Attribute | Private | Type reference (TYPE) | VKORG | Sales Organization | 20070823 | ||
8 | ![]() |
Static Attribute | Private | Type reference (TYPE) | VTWEG | Distribution Channel | 20070823 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Static method | Public | Method | Check Customer Terms of Payment | 20070808 |
2 | ![]() |
Static method | Public | Method | Derive Sales Area and Sales Document Type | 20080116 |
3 | ![]() |
Static method | Private | Method | Get BAdI | 20070821 |
4 | ![]() |
Static method | Public | Method | Determine Customer number | 20070816 |
5 | ![]() |
Static method | Public | Method | Determine Customer number | 20080116 |
6 | ![]() |
Static method | Public | Method | Determine Material Number | 20070810 |
7 | ![]() |
Static method | Private | Method | Determine Material substitution | 20070824 |
8 | ![]() |
Static method | Public | Method | Get plant | 20070925 |
9 | ![]() |
Static method | Public | Method | Determine Terms of Payment Key | 20070808 |
10 | ![]() |
Static method | Private | Method | Map Product Content to ERP EAN11 field | 20070824 |
11 | ![]() |
Static method | Private | Method | Map String Content to ERP | 20070920 |
12 | ![]() |
Static method | Private | Method | Map String Content to ERP | 20070823 |
13 | ![]() |
Static method | Public | Method | Set Customer number Ship-to-party | 20070824 |
14 | ![]() |
Static method | Public | Method | Set Customer number Sold-to-party | 20070824 |
15 | ![]() |
Static method | Public | Method | Set Message Header | 20070822 |
16 | ![]() |
Static method | Public | Method | Set Sale Document Types | 20070824 |
17 | ![]() |
Static method | Public | Method | Set Sales Organisation, Distribution Channel, Division | 20070824 |
Events
Class CL_PUR_SALESORDER_UTIL has no event.
Types
Class CL_PUR_SALESORDER_UTIL has no local type.
Method Signatures
Method CHECK_ZTERM Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_MESSAGES | Call by reference | Type reference (TYPE) | BAPIRET2_T | Returntabelle | 20070816 | ||
2 | ![]() |
IS_CASH_DISCOUNT_TERMS | Call by reference | Type reference (TYPE) | SAPPLCO_CASH_DISCOUNT_TERMS | Proxy Structure (Generated) | 20070808 | ||
3 | ![]() |
IV_ZTERM | Call by reference | Type reference (TYPE) | DZTERM | Terms of Payment Key | 20070808 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
20070808 |
Method DETERMINE_ORDER_DATA Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CT_MESSAGES | Call by reference | Type reference (TYPE) | BAPIRET2_T | Return parameter table | 20080116 | ||
2 | ![]() |
EV_AUART | Call by reference | Type reference (TYPE) | AUART | Sales Document Type | 20080116 | ||
3 | ![]() |
EV_SPART | Call by reference | Type reference (TYPE) | SPART | Division | 20080116 | ||
4 | ![]() |
EV_VKORG | Call by reference | Type reference (TYPE) | VKORG | Sales Organization | 20080116 | ||
5 | ![]() |
EV_VTWEG | Call by reference | Type reference (TYPE) | VTWEG | Distribution Channel | 20080116 | ||
6 | ![]() |
IV_KUNNR | Call by reference | Type reference (TYPE) | KUNNR | Customer Number 1 | 20080116 | ||
7 | ![]() |
IV_SELLER_PARTY | Call by reference | Type reference (TYPE) | SAPPLCO_EXT_BUSINESS_TRANSACTI | Proxy Structure (Generated) | 20080116 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
No appropriate entry in EDSDC was found | 20080116 | |
2 | ![]() |
Error Message coming from BADI Implementation | 20080116 |
Method GET_BADI Signature
Method GET_BADI on class CL_PUR_SALESORDER_UTIL has no parameter.
Method GET_BADI on class CL_PUR_SALESORDER_UTIL has no exception.
Method GET_KUNNR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_MESSAGES | Call by reference | Type reference (TYPE) | BAPIRET2_T | Returntabelle | 20070816 | ||
2 | ![]() |
EV_KUNNR | Call by reference | Type reference (TYPE) | KUNNR | Debitorennummer 1 | 20070816 | ||
3 | ![]() |
IV_PARTYID | Call by reference | Type reference (TYPE) | SAPPLCO_EXT_BUSINESS_TRANSACTI | Structur of Ext. Party ID | 20070816 | ||
4 | ![]() |
IV_PARVW | Call by reference | Type reference (TYPE) | PARVW | 'KU' | Partnerrolle | 20070816 | |
5 | ![]() |
IV_SELLER_PARTY | Call by reference | Type reference (TYPE) | SAPPLCO_EXT_BUSINESS_TRANSACTI | Proxy Structure (Generated) | 20080116 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Int. partner-id | 20070816 |
Method GET_KUNNR_FROM_STANDARD_ID Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_MESSAGES | Call by reference | Type reference (TYPE) | BAPIRET2_T | Returntabelle | 20080116 | ||
2 | ![]() |
EV_KUNNR | Call by reference | Type reference (TYPE) | KUNNR | Debitorennummer 1 | 20080116 | ||
3 | ![]() |
IV_PARTYID | Call by reference | Type reference (TYPE) | SAPPLCO_EXT_BUSINESS_TRANSACTI | Structur of Ext. Party ID | 20080116 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
20080116 | ||
2 | ![]() |
20080116 | ||
3 | ![]() |
The transferred standard IDs are not supported | 20080116 | |
4 | ![]() |
20080116 |
Method GET_MATNR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_MESSAGES | Call by reference | Type reference (TYPE) | BAPIRET2_T | Returntabelle | 20070816 | ||
2 | ![]() |
EV_INT_PRODUCT | Call by reference | Type reference (TYPE) | MATNR | Materialnummer | 20070816 | ||
3 | ![]() |
IV_EXT_PRODUCT | Call by reference | Type reference (TYPE) | SAPPLCO_BT_DOCUMENT_PRODUCT | Structure of external Product | 20070816 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Material | 20070810 |
Method GET_PRODUCT_SUBSTITUTION Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_MESSAGES | Call by reference | Type reference (TYPE) | BAPIRET2_T | Returntabelle | 20070824 | ||
2 | ![]() |
EV_INT_PRODUCT | Call by reference | Type reference (TYPE) | MATNR | 20070824 | |||
3 | ![]() |
IV_EXT_PRODUCT | Call by reference | Type reference (TYPE) | SAPPLCO_BT_DOCUMENT_PRODUCT | 20070824 |
Method GET_PRODUCT_SUBSTITUTION on class CL_PUR_SALESORDER_UTIL has no exception.
Method GET_WERKS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_MESSAGES | Call by reference | Type reference (TYPE) | BAPIRET2_T | Return parameter table | 20070925 | ||
2 | ![]() |
EV_WERKS | Call by reference | Type reference (TYPE) | WERKS_D | Plant | 20070925 | ||
3 | ![]() |
IV_KUNNR | Call by reference | Type reference (TYPE) | KUNNR | Customer Number 1 | 20070925 | ||
4 | ![]() |
IV_SPART | Call by reference | Type reference (TYPE) | SPART | Division | 20070925 | ||
5 | ![]() |
IV_VKORG | Call by reference | Type reference (TYPE) | VKORG | Sales Organization | 20070925 | ||
6 | ![]() |
IV_VTWEG | Call by reference | Type reference (TYPE) | VTWEG | Distribution Channel | 20070925 |
Method GET_WERKS on class CL_PUR_SALESORDER_UTIL has no exception.
Method GET_ZTERM Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_MESSAGES | Call by reference | Type reference (TYPE) | BAPIRET2_T | Returntabelle | 20070816 | ||
2 | ![]() |
EV_ZTERM | Call by reference | Type reference (TYPE) | DZTERM | Terms of Payment Key | 20070808 | ||
3 | ![]() |
IV_KUNNR | Call by reference | Type reference (TYPE) | KUNNR | Customer Number 1 | 20070808 | ||
4 | ![]() |
IV_SPART | Call by reference | Type reference (TYPE) | SPART | Division | 20070808 | ||
5 | ![]() |
IV_VKORG | Call by reference | Type reference (TYPE) | VKORG | Sales Organization | 20070808 | ||
6 | ![]() |
IV_VTWEG | Call by reference | Type reference (TYPE) | VTWEG | Distribution Channel | 20070808 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Failure ZTERM | 20070808 |
Method MAP_PRODUCT_EAN11 Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CT_MESSAGES | Call by reference | Type reference (TYPE) | BAPIRET2_T | Return parameter table | 20070824 | ||
2 | ![]() |
CV_FLAG_ERROR | Call by reference | Type reference (TYPE) | ABAP_BOOL | Return Flag | 20070824 | ||
3 | ![]() |
ES_CONTENT_ERP | Call by reference | Type reference (TYPE) | EAN11 | EAN11 Content | 20070824 | ||
4 | ![]() |
EV_SCHEMEAGENCYID | Call by reference | Type reference (TYPE) | SAPPLCO_PRODUCT_INTERNAL_ID-SCHEME_AGENCY_ID | Scheme Agency ID Content | 20070831 | ||
5 | ![]() |
EV_SCHEMEID | Call by reference | Type reference (TYPE) | SAPPLCO_PRODUCT_INTERNAL_ID-SCHEME_ID | Scheme Id Content | 20070831 | ||
6 | ![]() |
IS_CONTENT | Call by reference | Type reference (TYPE) | SAPPLCO_BT_DOCUMENT_PRODUCT | Product Content | 20070824 | ||
7 | ![]() |
IV_ACTIV_FIELD | Call by reference | Type reference (TYPE) | CHAR1 | Define Field | 20070824 |
Method MAP_PRODUCT_EAN11 on class CL_PUR_SALESORDER_UTIL has no exception.
Method MAP_STRING_TO_EAN11 Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CT_MESSAGES | Call by reference | Type reference (TYPE) | BAPIRET2_T | Return parameter table | 20070920 | ||
2 | ![]() |
CV_CONTENT_ERP | Call by reference | Type reference (TYPE) | CLIKE | Content | 20070920 | ||
3 | ![]() |
CV_FLAG_ERROR | Call by reference | Type reference (TYPE) | ABAP_BOOL | Return Flag | 20070920 | ||
4 | ![]() |
IV_CONTENT | Call by reference | Type reference (TYPE) | CLIKE | Content | 20070920 | ||
5 | ![]() |
IV_FIELD_FOR_DDIC_LENGTH | Call by reference | Type reference (TYPE) | DDOBJNAME | Name of ABAP Dictionary Object | 20070920 | ||
6 | ![]() |
IV_FIELD_FOR_MESSAGE | Call by reference | Type reference (TYPE) | STRING | Message Variable | 20070920 |
Method MAP_STRING_TO_EAN11 on class CL_PUR_SALESORDER_UTIL has no exception.
Method MAP_STRING_TO_ERP_CHAR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CT_MESSAGES | Call by reference | Type reference (TYPE) | BAPIRET2_T | Return parameter table | 20070823 | ||
2 | ![]() |
CV_CONTENT_ERP | Call by reference | Type reference (TYPE) | CLIKE | Content | 20070823 | ||
3 | ![]() |
CV_FLAG_ERROR | Call by reference | Type reference (TYPE) | ABAP_BOOL | Return Flag | 20070823 | ||
4 | ![]() |
IV_CONTENT | Call by reference | Type reference (TYPE) | CLIKE | Content | 20070823 | ||
5 | ![]() |
IV_FIELD_FOR_DDIC_LENGTH | Call by reference | Type reference (TYPE) | DDOBJNAME | Name of ABAP Dictionary Object | 20070823 | ||
6 | ![]() |
IV_FIELD_FOR_MESSAGE | Call by reference | Type reference (TYPE) | STRING | Message Variable | 20070823 | ||
7 | ![]() |
IV_FLAG_USE_EXIT_ALPHA | Call by reference | Type reference (TYPE) | ABAP_BOOL | Use Conversion Exit Alpha Input | 20070823 |
Method MAP_STRING_TO_ERP_CHAR on class CL_PUR_SALESORDER_UTIL has no exception.
Method SET_KUNNR_SHIP_TO_PARTY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_KUNNR | Call by reference | Type reference (TYPE) | KUNNR | Customer Number 1 | 20070824 |
Method SET_KUNNR_SHIP_TO_PARTY on class CL_PUR_SALESORDER_UTIL has no exception.
Method SET_KUNNR_SOLD_TO_PARTY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_KUNNR | Call by reference | Type reference (TYPE) | KUNNR | Customer Number 1 | 20070824 |
Method SET_KUNNR_SOLD_TO_PARTY on class CL_PUR_SALESORDER_UTIL has no exception.
Method SET_MESSAGE_HEADER Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_MESSAGE_HEADER | Call by reference | Type reference (TYPE) | SAPPLCO_BUS_DOC_MESSAGE_HEADER | Business information from the perspective of the sender appl | 20070822 |
Method SET_MESSAGE_HEADER on class CL_PUR_SALESORDER_UTIL has no exception.
Method SET_SALESDOCUMENT_TYPE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_AUART | Call by reference | Type reference (TYPE) | AUART | Sales Document Type | 20070824 |
Method SET_SALESDOCUMENT_TYPE on class CL_PUR_SALESORDER_UTIL has no exception.
Method SET_SALES_ORGANISATION Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_SPART | Call by reference | Type reference (TYPE) | SPART | Division | 20070824 | ||
2 | ![]() |
IV_VKORG | Call by reference | Type reference (TYPE) | VKORG | Sales Organization | 20070824 | ||
3 | ![]() |
IV_VTWEG | Call by reference | Type reference (TYPE) | VTWEG | Distribution Channel | 20070824 |
Method SET_SALES_ORGANISATION on class CL_PUR_SALESORDER_UTIL has no exception.
History
Last changed by/on | SAP | 20100310 |
SAP Release Created in | 603 |