Add a Field To New Condition Table in Pricing
Try to add the filed from the field catalog. In case the required combination field is not there, you can add the field through the following process to filed catalog and create the condition table. It is most common that one or other time we need to use this function while configuring multi tasking & complex Pricing Architecture.
[@more@]Here is a guide to add fields to the Pricing Field Catalogues:
For example you want to use field PSTYV ('Sales document item category') that is included in structure KOMP ('Pricing Communication Item') as a key for a condition table.
When you create a condition table (Transaction V/03), however, the system does not propose the field in the field catalog.
Condition access, field catalog, allowed fields, KOMG, KOMK, KOMP, KOMPAZ, KOMKAZ, PSTYV are the other terms which we need to know about, to add Fields.
Reason and Prerequisites:
For technical reasons, field PSTYV was included in structure KOMP, however, not in structure KOMG ('Allowed Fields for Condition Structures').
Proceed as follows:
1. Call up the ABAP Dictionary (Transaction SE11) and create data type ZZPSTYV. Choose PSTYV as a domain.As a short text, you can use, for example, 'ZZ - sales document item category' and as a field label, you can use the field labels of PSTYV.Save, check and activate your entries.
2. Call up structure KOMPAZ in the ABAP Dictionary (Transaction SE11) in the change mode and make the following entry:
Component Component type:
ZZPSTYV ZZPSTYV
Save, check and activate the change you made.
3. Note:Because of the change in structure KOMPAZ, field ZZPSTYV is now known in structures KOMG and KOMP because structure KOMPAZ is included in both structures.
4. Call up Transaction SPRO. Navigate to 'Sales and Distribution -> Basic Functions -> Pricing -> Pricing Control' and execute 'Define Condition Tables'.
Choose 'Conditions: Allowed fields' and include ZZPSTYV as a new entry.
5. Note:Now you can use field ZZPSTYV as a key field when you create a condition table Axxx.
6. Supply the new field you defined by including the following source code line in USEREXIT_PRICING_PREPARE_TKOMP:
MOVE xxxx-PSTYV TO TKOMP-ZZPSTYV.
In order processing you find the user exit in Include MV45AFZZ, and in billing document processing you find it in Include RV60AFZZ.
Consider that you can also use this note as a help if you want to use other customer-specific fields as key fields in a condition table.
For header fields, use structure KOMKAZ instead of structure KOMPAZ and
USEREXIT_PRICING_PREPARE_TKOMK instead of
USEREXIT_PRICING_PREPARE_TKOMP.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/21882360/viewspace-1023059/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- add field security
- How to Add a New Disk new partition in centos7CentOS
- 10g_Add_New_Node_LinuxLinux
- add hash partition , default tablespace for patitioned table
- SAP SD 基礎知識之定價中的條件技術(Condition Technique in Pricing)
- ORA-00600[kluinit:new add column in directpath 2]UI
- oracle 中 ALTER TABLE ADD default 的明確Oracle
- 24832 - Pricing rules/TVCPF (定價計算的Pricing type)
- Oracle 12c Recover Table New FeatureOracle
- Oracle10g New Feature -- 3.Flashback TableOracle
- New S4 HANA table browser transaction SE16H
- [20191203]enq: ZA - add std audit table partition.txtENQ
- java反射——FieldJava反射
- condition的作用
- 如何處理錯誤資訊 Pricing procedure could not be determined
- MySQL 之 ORDER BY FIELDMySql
- yebis error ---depth of fieldError
- Java併發——ConditionJava
- Condition實現原理
- 怎麼理解Condition
- add exttrail 和add rmttail總結AI
- SAP MM ‘Pricing Date Control‘欄位的理解
- New start new hope!
- git add all和git add .區別Git
- TypeScript 裡的 class fieldTypeScript
- tpextbuilder- Displayers[元件]- FieldUI元件
- ABAP指標field symbol!指標Symbol
- Field Parameter的設定
- jQuery add()jQuery
- ABAP 資料結構啟用時的錯誤訊息 - combination reference table field does not exist資料結構
- Condition條件變數變數
- 併發-10-Condition
- Lock介面之Condition介面
- JSP condition練習JS
- 06 ReentrantLock之ConditionReentrantLock
- Index Condition Pushdown測試Index
- mongoengine.errors.OperationError: Update failed (BSON field ‘no_cursor_timeout‘ is an unknown fieldGoErrorAI
- new self()與new static()