新增定价相关字段

前段时间需要用到Material Group4作为定价的字段,结合自己的实际操作整理出此文 
原地址
http://www.erpgreat.com/sap-sd/add-a-field-to-new-condition-table-in-pricing.htm

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.

 bb

Here is a guide to add fields to the Pricing Field Catalog:

For example you want to use field MVGR1('Material Group1)  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, MVGR1 are the other terms which we need to know about, to add Fields.

Reason and Prerequisites: 

For technical reasons, field MVGR1 was not included in structure KOMP, also not in structure KOMG ('Allowed Fields for Condition Structures').

Proceed as follows: 
1. Call up structure KOMPAZ in the ABAP Dictionary (Transaction SE11) in the change mode and make the following entry: 
bb
Save, check and activate the change you made.

Here we can see the change is made in KOMP KOMG

 bb

2. Note:Because of the change in structure KOMPAZ, field MVGR1 to MVGR5 are now known in structures KOMG and KOMP because structure KOMPAZ is included in both structures. Do not change this in KOMP or KOMK, the field value may missing in some cases.

3. 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 MVGR1 as a new entry.

4. Now you can use field MVGR1 as a key field when you create a condition table Axxx.

5. Supply the new field you defined by including the following source code line in

USEREXIT_PRICING_PREPARE_TKOMP (if the new field start with ZZ YY, you need to give the value in this user exit, if the field is standard you can ignore)

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.

Tips:

For header fields, use structure KOMKAZ instead of structure KOMPAZ
USEREXIT_PRICING_PREPARE_TKOMK

 

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/30649906/viewspace-2127101/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/30649906/viewspace-2127101/

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值