SAP ABAP Class CL_WPM_PROMOTION (Help Functions for Promotion Processing)
Hierarchy
☛
BBPCRM (Software Component) BBPCRM
⤷ CRM-MD-PCT (Application Component) Product Catalog
⤷ WAKT (Package) Application development R/3 Promotions
⤷ CRM-MD-PCT (Application Component) Product Catalog
⤷ WAKT (Package) Application development R/3 Promotions
Properties
Class | CL_WPM_PROMOTION | |
Short Description | Help Functions for Promotion Processing | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | WAKT | Application development R/3 Promotions |
Created | 20090126 | SAP |
Last change | 20100310 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
Class CL_WPM_PROMOTION has no forward declaration.
Interfaces
Class CL_WPM_PROMOTION has no interface implemented.
Friends
Class CL_WPM_PROMOTION has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | C_PRE_BBY | Constant | Public | Type reference (TYPE) | CHAR4 | '~B00' | Prefix for Bonus Buy-OfferID | 20090126 | |
2 | C_PRE_WAKP | Constant | Public | Type reference (TYPE) | CHAR2 | '~P' | Prefix for Promotion Item-Price-OfferID | 20090126 | |
3 | C_PRE_WAKQ | Constant | Public | Type reference (TYPE) | CHAR2 | '~Q' | Prefix for Promotion Item-Price-OfferID | 20090126 | |
4 | C_PRE_WAKR | Constant | Public | Type reference (TYPE) | CHAR2 | '~R' | Prefix for Promotion Discount-OfferID | 20090126 | |
5 | C_X | Constant | Public | Type reference (TYPE) | XFELD | 'X' | Checkbox | 20090216 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ANALYZE_OFFER_ID | Static method | Public | Method | Analyze Offer ID | 20090216 |
2 | BUILD_OFFER_ID_BBY | Static method | Public | Method | Generate Offer ID for Bonus Buy | 20090126 |
3 | BUILD_OFFER_ID_WAKP | Static method | Public | Method | Generate Offer ID for Promotion Item | 20090126 |
4 | BUILD_OFFER_ID_WAKR | Static method | Public | Method | Generate Offer ID for Promotion Discount | 20090126 |
Events
Class CL_WPM_PROMOTION has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | TS_OFFERID_WAKP | Private | See coding | 20090313 | BEGIN OF ts_offerid_wakp,
prefix TYPE c LENGTH 2,
len_aktnr TYPE n LENGTH 1, " Length 10 is mapped to '0'. Length 0 cannot occur
len_matnr TYPE n LENGTH 2,
id TYPE c LENGTH 31,
END OF ts_offerid_wakp
|
||
2 | TS_OFFERID_WAKR | Private | See coding | 20090313 | BEGIN OF ts_offerid_wakr,
prefix TYPE c LENGTH 2,
len_aktnr TYPE n LENGTH 1, " Length 10 is mapped to '0'. Length 0 cannot occur
dummy TYPE n LENGTH 2,
id TYPE c LENGTH 31,
END OF ts_offerid_wakr
|
Method Signatures
Method ANALYZE_OFFER_ID Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | ES_KONBBYH_KEY | Call by reference | Type reference (TYPE) | WPM_S_OFFERID_KONBBYH | Konvertierung der OfferID für Bonuskäufe | 20090216 | ||
2 | Exporting | ES_WAKP_KEY | Call by reference | Type reference (TYPE) | WPM_S_OFFERID_WAKP | Konvertierung der OfferID für Aktionspositionen | 20090216 | ||
3 | Exporting | ES_WAKR_KEY | Call by reference | Type reference (TYPE) | WPM_S_OFFERID_WAKR | Konvertierung der OfferID für Aktionsrabatte | 20090216 | ||
4 | Exporting | EV_KONBBYH | Call by reference | Type reference (TYPE) | XFELD | Angebot ist ein Bonuskauf (Tabelle KONBBYH) | 20090216 | ||
5 | Exporting | EV_WAKP_DISCOUNT | Call by reference | Type reference (TYPE) | XFELD | Rabatt für eine Aktionsposition (WAKP-OFFER_ID_DSC) | 20090216 | ||
6 | Exporting | EV_WAKP_PRICE | Call by reference | Type reference (TYPE) | XFELD | Preis für eine Aktionsposition (WAKP-OFFER_ID) | 20090216 | ||
7 | Exporting | EV_WAKR | Call by reference | Type reference (TYPE) | XFELD | Angebot ist ein Aktionsrabatt (Tabelle WAKR) | 20090216 | ||
8 | Importing | IV_OFFER_ID | Call by reference | Type reference (TYPE) | WPM_OFFERID | Angebotsschlüssel Aktion | 20090216 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | INCOMPLETE_KEY | Der ermittelte Schlüssel ist nicht eindeutig | 20090309 | |
2 | NO_GENERIC_OFFER_ID | Die übergebene OfferID ist keine generisch erzeugte | 20090216 |
Method BUILD_OFFER_ID_BBY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | EV_OFFER_ID | Call by reference | Type reference (TYPE) | WPM_OFFERID | Angebotsschlüssel Aktion | 20090210 | ||
2 | Importing | IV_BBYNR | Call by reference | Type reference (TYPE) | BBYNR | Bonuskauf | 20090126 |
Method BUILD_OFFER_ID_BBY on class CL_WPM_PROMOTION has no exception.
Method BUILD_OFFER_ID_WAKP Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | EV_OFFER_ID | Call by reference | Type reference (TYPE) | WPM_OFFERID_PRICE | Angebotsschlüssel Preis | 20090210 | ||
2 | Exporting | EV_OFFER_ID_DSC | Call by reference | Type reference (TYPE) | WPM_OFFERID_DISCOUNT | Angebotsschlüssel Rabatt | 20090210 | ||
3 | Importing | IV_AKTNR | Call by reference | Type reference (TYPE) | WAKTION | Aktion | 20090210 | ||
4 | Importing | IV_ARTNR | Call by reference | Type reference (TYPE) | MATNR | Materialnummer | 20090210 | ||
5 | Importing | IV_MEBME | Call by reference | Type reference (TYPE) | W_MEBME | Verkaufs-Mengeneinheit | 20090210 |
Method BUILD_OFFER_ID_WAKP on class CL_WPM_PROMOTION has no exception.
Method BUILD_OFFER_ID_WAKR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | EV_OFFER_ID | Call by reference | Type reference (TYPE) | WPM_OFFERID | Angebotsschlüssel Aktion | 20090210 | ||
2 | Importing | IV_AKTNR | Call by reference | Type reference (TYPE) | WAKTION | Aktion | 20090210 | ||
3 | Importing | IV_POSNR | Call by reference | Type reference (TYPE) | REB_POSNR | Positionsnummer Aktionsrabatt | 20090210 |
Method BUILD_OFFER_ID_WAKR on class CL_WPM_PROMOTION has no exception.
History
Last changed by/on | SAP | 20100310 |
SAP Release Created in | 605 |