SAP ABAP Class CL_VA_PPE_PROCESS (Process Predefined Price Elements)
Hierarchy
BBPCRM (Software Component) BBPCRM
   CRM-BTX-BF-IF (Application Component) R/3 Interface for Business Transactions
     VA (Package) Application development R/3 Sales
Properties
Class CL_VA_PPE_PROCESS  
Short Description Process Predefined Price Elements    
Super Class    
Instantiability of a Class 0  Private 
Final    
General Data
Message Class    
Program status     
Category 0   
Package VA   Application development R/3 Sales 
Created 20080401   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
Class CL_VA_PPE_PROCESS has no interface implemented.
Friends
Class CL_VA_PPE_PROCESS has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 CO_CONFIG_OPT_EXPLICIT Constant Public Type reference (TYPE) WSD_PRIC_ELEMENT_CONFIG_OPTION ' ' Config Option: Explicit 20080513
2 CO_CONFIG_OPT_SALES_PRICE Constant Public Type reference (TYPE) WSD_PRIC_ELEMENT_CONFIG_OPTION '2' Config Option: Sales Price Calculation 20080513
3 CO_CONFIG_OPT_SPECIAL Constant Public Type reference (TYPE) WSD_PRIC_ELEMENT_CONFIG_OPTION '1' Config Option: Special Configuration 20080513
4 CO_DISPLAY_ALL Constant Private Type reference (TYPE) TDD_VA_PPE_DSPL ' ' Display Option: All Fields 20080513
5 CO_DISPLAY_ONLY_RATE Constant Private Type reference (TYPE) TDD_VA_PPE_DSPL 'B' Display Option: Only Rate ( + Standardization) 20080513
6 CO_DISPLAY_RATE_CURR Constant Private Type reference (TYPE) TDD_VA_PPE_DSPL 'A' Display Option: Rate + Currency 20080513
7 CO_KOEI1_PERCENTAL Constant Private Type reference (TYPE) KOEIN '3' Reference value for percental conditions 20080513
8 CO_KOEI1_PROMILLE Constant Private Type reference (TYPE) KOEIN '5' Reference value for promille conditions 20080513
9 CO_KZWIW_SUPPORTED Constant Public Type reference (TYPE) CHAR10 '123456AB' Supported subtotals 20080513
10 CO_PERCENTAL Constant Private Type reference (TYPE) CHAR3 'AHI' percental calculation rules 20080513
11 CO_PPE_COST Constant Public Type reference (TYPE) WSD_PRICING_ELEMENT '03' Predefined price element cost 20080513
12 CO_PPE_LIST_PRICE Constant Public Type reference (TYPE) WSD_PRICING_ELEMENT '01' Predefined price element list price 20080513
13 CO_PPE_NET_PRICE Constant Public Type reference (TYPE) WSD_PRICING_ELEMENT '04' Predefined price element net price 20080513
14 CO_PROMILLE Constant Private Type reference (TYPE) CHAR2 'JK' parts per thousand 20080513
15 CO_PRZ_ABS_FRM Constant Private Type reference (TYPE) CHAR7 'ABGHIJK' percental, absolute and formula calculation rules 20080513
16 CO_RELATIVE Constant Private Type reference (TYPE) CHAR10 'CDEFLMNOPR' relative calculation rules 20080513
17 CO_TRTYP_CHANGE Constant Private Type reference (TYPE) TRTYP 'V' Transaction type change 20080513
18 CO_TRTYP_CREATE Constant Private Type reference (TYPE) TRTYP 'H' Transaction type create 20080513
19 CO_TRTYP_DISPLAY Constant Private Type reference (TYPE) TRTYP 'A' Transaction type display 20080513
20 CO_USAGE_PRICING Constant Private Type reference (TYPE) KVEWE 'A' Usage Pricing 20080513
21 MR_PPE_CONFIG Static Attribute Private Object reference (TYPE REF TO) CL_WSD_CONFIG To access the customizing tables 20080401
22 MR_WSD_PRICE_HANDLER Static Attribute Private Object reference (TYPE REF TO) CL_WSD_PRICE_HANDLER WSD price handler responsible of dealing with prices 20080401
23 MT_CONTEXT_TAB Static Attribute Private Type reference (TYPE) TY_CONTEXT_TAB Context 20080401
24 MT_PPE_SETTINGS Instance attribute Private Type reference (TYPE) TTY_PPE_SET Settings of a PPE in Sales Order 20080401
25 MT_PR_COND_BUFFER_TAB Instance attribute Private Type reference (TYPE) TTY_PR_COND_BUFFER_TAB Table for Buffer 20080401
26 M_AUART Instance attribute Private Type reference (TYPE) AUART Sales Document Type 20080401
27 M_KAPPL Instance attribute Private Type reference (TYPE) KAPPL Application 20080401
28 M_PROCEDURE Instance attribute Private Type reference (TYPE) KALSM_D Procedure (Pricing, Output Control, Acct. Det., Costing,...) 20080401
29 M_VKORG Instance attribute Private Type reference (TYPE) VKORG Sales Organization 20080401
30 M_VTWEG Instance attribute Private Type reference (TYPE) VTWEG Distribution Channel 20080401
Methods
# Method Level Visibility Method type Description Created on
1 BUFFER_FILL Instance method Public Method Fill buffer from screen data 20080401
2 BUFFER_REFRESH Instance method Public Method Refresh buffer 20080401
3 CONSTRUCTOR Instance method Private Constructor CONSTRUCTOR 20080401
4 CUST_GET_SETTINGS Instance method Private Method Get Settings for PPE's in document 20080401
5 GET_INSTANCE Static method Public Method Get/Create instance 20080401
6 GET_KSCHL_LIST Instance method Public Method Get list of involved pricing condition types 20080401
7 KOEI1_FILL Instance method Public Method Fill reference fields on screen from pricing data 20080401
8 KOEIN_FILL Instance method Public Method Fill unit fields on screen from pricing data 20080401
9 SCREEN_DEACTIVATE Instance method Public Method Deactivate all PPE's on screen 20080418
10 SCREEN_FILL Instance method Public Method Fill screen fields from pricing data 20080401
11 SCREEN_GET_CHANGES Instance method Public Method Get changed PPE's 20080401
12 SCREEN_INIT_HEADINGS Instance method Public Method Read customizing settings and set screen headings 20080401
13 SCREEN_SETTINGS Instance method Public Method Handle screen settings 20080401
Events
Class CL_VA_PPE_PROCESS has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 STY_KSCHL_LIST Public See coding Numbered condition type 20080509 BEGIN OF sty_kschl_list, ppe_index(2) TYPE n, kschl TYPE kscha, END OF sty_kschl_list
2 STY_PPE_DOC_FIELDS Public See coding Document fields necessary for filling PPE's 20080509 BEGIN OF sty_ppe_doc_fields, kzwi1 TYPE kzwi1, kzwi2 TYPE kzwi2, kzwi3 TYPE kzwi3, kzwi4 TYPE kzwi4, kzwi5 TYPE kzwi5, kzwi6 TYPE kzwi6, cmpre_flt TYPE cmpre_flt, wavwr TYPE wavwr, item_quantity TYPE kwmeng, item_unit TYPE meins, doc_curr TYPE waers, END OF sty_ppe_doc_fields
3 STY_PPE_SET Private See coding Settings of a PPE in Sales Order 20080508 BEGIN OF sty_ppe_set, pricing_element TYPE wsd_pricing_element, heading TYPE scrtext_s, ppe_display TYPE tdd_va_ppe_dspl, kschl TYPE kscha, kzwiw TYPE kzwiw, display_only TYPE xfeld, invisible TYPE xfeld, inactive TYPE xfeld, END OF sty_ppe_set
4 STY_PR_COND Public See coding Pricing Condition Record 20080509 BEGIN OF sty_pr_cond, kschl TYPE kscha, kbetr TYPE kbetr, waers TYPE waers, krech TYPE krech, kpein TYPE kpein, kmein TYPE kmein, kwert TYPE kwert, kherk TYPE kherk, ksteu TYPE ksteu, kmprs TYPE kmprs, no_edit TYPE xfeld, inactive TYPE xfeld, END OF sty_pr_cond
5 STY_PR_COND_NO Public See coding Pricing Condition Record with PPE Number 20080509 BEGIN OF sty_pr_cond_no, kschl TYPE kscha, kbetr TYPE kbetr, waers TYPE waers, krech TYPE krech, kmein TYPE kmein, kpein TYPE kpein, ppe_number TYPE num2, END OF sty_pr_cond_no
6 TTY_KSCHL Public See coding List of Pricing Condition Types 20080509 tty_kschl TYPE STANDARD TABLE OF kscha WITH NON-UNIQUE DEFAULT KEY
7 TTY_KSCHL_LIST Public See coding List of numbered Pricing Condition Types 20080509 tty_kschl_list TYPE STANDARD TABLE OF sty_kschl_list WITH NON-UNIQUE DEFAULT KEY
8 TTY_PPE_SET Private See coding Settings of PPE's in a Sales Order 20080508 tty_ppe_set TYPE STANDARD TABLE OF sty_ppe_set WITH NON-UNIQUE DEFAULT KEY
9 TTY_PR_COND Public See coding Pricing Condition Records 20080509 tty_pr_cond TYPE STANDARD TABLE OF sty_pr_cond WITH NON-UNIQUE DEFAULT KEY
10 TTY_PR_COND_NO Public See coding Pricing Condition Records with PPE Number 20080509 tty_pr_cond_no TYPE STANDARD TABLE OF sty_pr_cond_no WITH NON-UNIQUE DEFAULT KEY
Method Signatures

Method BUFFER_FILL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_VA_PPE Call by reference Type reference (TYPE) TDS_VA_PPE Predefined Pricing Elements in Sales Order 20080401
2 Importing I_KPOSN Call by reference Type reference (TYPE) KPOSN Condition item number 20080401

Method BUFFER_FILL on class CL_VA_PPE_PROCESS has no exception.

Method BUFFER_REFRESH Signature

Method BUFFER_REFRESH on class CL_VA_PPE_PROCESS has no parameter.
Method BUFFER_REFRESH on class CL_VA_PPE_PROCESS has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_KAPPL Call by reference Type reference (TYPE) KAPPL Application 20080401

Method CONSTRUCTOR on class CL_VA_PPE_PROCESS has no exception.

Method CUST_GET_SETTINGS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_SETTINGS Call by reference Type reference (TYPE) TTY_PPE_SET Settings of PPE's in a Sales Order 20080401
2 Importing IV_AUART Call by reference Type reference (TYPE) AUART Sales Document Type 20080401
3 Importing IV_PROCEDURE Call by reference Type reference (TYPE) KALSM_D Procedure (Pricing, Output Control, Acct. Det., Costing,...) 20080630
4 Importing IV_TRTYP Call by reference Type reference (TYPE) T180-TRTYP Transaction type 20080401
5 Importing IV_VKORG Call by reference Type reference (TYPE) VKORG Sales Organization 20080401
6 Importing IV_VTWEG Call by reference Type reference (TYPE) VTWEG Distribution Channel 20080401

Method CUST_GET_SETTINGS on class CL_VA_PPE_PROCESS has no exception.

Method GET_INSTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CONTEXT Call by reference Type reference (TYPE) CHAR20 Context 20080401
2 Importing I_KAPPL Call by reference Type reference (TYPE) KAPPL Application 20080401
3 Returning RR_INSTANCE Value transfer Object reference (TYPE REF TO) CL_VA_PPE_PROCESS Process Predefined Pricing Elements 20080401

Method GET_INSTANCE on class CL_VA_PPE_PROCESS has no exception.

Method GET_KSCHL_LIST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_KSCHL_LIST Call by reference Type reference (TYPE) TTY_KSCHL_LIST List of Pricing Condition Types 20080401
2 Importing IS_VA_PPE Call by reference Type reference (TYPE) TDS_VA_PPE Predefined Price Elements in Sales Documents 20080508
3 Importing I_ONLY_CHANGABLE Call by reference Type reference (TYPE) XFELD ' ' Checkbox 20080508

Method GET_KSCHL_LIST on class CL_VA_PPE_PROCESS has no exception.

Method KOEI1_FILL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_VA_PPE Call by reference Type reference (TYPE) TDS_VA_PPE Predefined Pricing Elements in Sales Order 20080401

Method KOEI1_FILL on class CL_VA_PPE_PROCESS has no exception.

Method KOEIN_FILL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_VA_PPE Call by reference Type reference (TYPE) TDS_VA_PPE Predefined Pricing Elements in Sales Order 20080401
2 Importing IT_PR_COND Call by reference Type reference (TYPE) TTY_PR_COND Pricing Condition Records 20080401
3 Importing I_DOC_CURR Call by reference Type reference (TYPE) WAERS Currency Key 20080401

Method KOEIN_FILL on class CL_VA_PPE_PROCESS has no exception.

Method SCREEN_DEACTIVATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_VA_PPE Call by reference Type reference (TYPE) TDS_VA_PPE Predefined Pricing Elements in Sales Order 20080418

Method SCREEN_DEACTIVATE on class CL_VA_PPE_PROCESS has no exception.

Method SCREEN_FILL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_VA_PPE Call by reference Type reference (TYPE) TDS_VA_PPE Predefined Pricing Elements in Sales Order 20080401
2 Importing IT_PR_COND Call by reference Type reference (TYPE) TTY_PR_COND Pricing Condition Records 20080401
3 Importing I_DOC_FIELDS Call by reference Type reference (TYPE) STY_PPE_DOC_FIELDS Document fields necessary for filling PPE's 20080401
4 Importing I_KOMK Call by reference Type reference (TYPE) KOMK Communication Header for Pricing 20080401

Method SCREEN_FILL on class CL_VA_PPE_PROCESS has no exception.

Method SCREEN_GET_CHANGES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_PR_COND Call by reference Type reference (TYPE) TTY_PR_COND_NO Pricing Condition Records with PPE Number 20080401
2 Importing IS_VA_PPE Call by reference Type reference (TYPE) TDS_VA_PPE Predefined Pricing Elements in Sales Order 20080401
3 Importing I_KPOSN Call by reference Type reference (TYPE) KPOSN Condition item number 20080401

Method SCREEN_GET_CHANGES on class CL_VA_PPE_PROCESS has no exception.

Method SCREEN_INIT_HEADINGS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_VA_PPE Call by reference Type reference (TYPE) TDS_VA_PPE Predefined Pricing Elements in Sales Order 20080401
2 Exporting EV_PPE_NOT_USED Call by reference Type reference (TYPE) XFELD Checkbox 20080401
3 Importing IV_AUART Call by reference Type reference (TYPE) AUART Sales Document Type 20080401
4 Importing IV_PROCEDURE Call by reference Type reference (TYPE) KALSM_D Procedure (Pricing, Output Control, Acct. Det., Costing,...) 20080630
5 Importing IV_TRTYP Call by reference Type reference (TYPE) T180-TRTYP Transaction type 20080401
6 Importing IV_VKORG Call by reference Type reference (TYPE) VKORG Sales Organization 20080401
7 Importing IV_VTWEG Call by reference Type reference (TYPE) VTWEG Distribution Channel 20080401

Method SCREEN_INIT_HEADINGS on class CL_VA_PPE_PROCESS has no exception.

Method SCREEN_SETTINGS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_SCREEN_ACTIVE Call by reference Type reference (TYPE) SCREEN-ACTIVE 20080401
2 Exporting EV_SCREEN_INPUT Call by reference Type reference (TYPE) SCREEN-INPUT 20080401
3 Exporting EV_SCREEN_INVISIBLE Call by reference Type reference (TYPE) SCREEN-INVISIBLE 20080528
4 Importing IS_VA_PPE Call by reference Type reference (TYPE) TDS_VA_PPE Predefined Pricing Elements in Sales Order 20080401
5 Importing IV_EMPTY Call by reference Type reference (TYPE) XFELD Checkbox 20080528
6 Importing IV_FIELDNAME Call by reference Type reference (TYPE) SCREEN-NAME 20080401
7 Importing IV_HEADING Call by reference Type reference (TYPE) XFELD Checkbox 20080401
8 Importing IV_TRTYP Call by reference Type reference (TYPE) T180-TRTYP Transaction type 20080401

Method SCREEN_SETTINGS on class CL_VA_PPE_PROCESS has no exception.
History
Last changed by/on SAP  20110908 
SAP Release Created in 604