关于定价新字段加入

加入新定价字段按ECC6.0系统帮助即可,步骤如下:

In the first example, parts of a document field are to be used in pricing. You want to use the first three digits of the product hierarchy (PRODH) for pricing, for example. Proceed as follows:

  1. 1. Check the data elements in the standard system.
  1. 2. Since there is no such data element you have to create the new data element ZZPRODH1. Also create a domain with the length "3" and the data type "CHAR" for the new data element.
  • Remember that new data fields must start with the letters "ZZ" or "YY", since SAP reserved these letters to protect them from being overwritten during a release upgrade.
  1. 3. Check whether the product hierarchy (PRODH) is found at header or at item level.
  • In table VBAP, document field PRODH is defined as an item field.
  1. 4. Integrate the field name ZZPRODH in the communication structure KOMP using the INCLUDE KOMPAZ and allocate the data element PRODH to it.
  1. 5. Activate the structure.
  1. 6. Check in which table the field PRODH exists.
  • The field is in table VBAP (sales document: item data).
  1. 7. Assign a value to the new field in the FORM. routines for sales order processing and billing using the appropriate user exits:
  • In sales order processing the user exit is found in member MV45AFZZ. The complete statement is:
  • FORM. USEREXIT_PRICING_PREPARE_TKOMP.
  • MOVE VBAP-PRODH(3) TO TKOMP-ZZPRODH.
  • ENDFORM.
  • The routines for assigning a value to the new fields in billing are found in member RV60AFZZ. The statement is as follows:
  • FORM. USEREXIT_PRICING_PREPARE_TKOMK
  • MOVE XVBRP-PRODH(3) TO TKOMP-ZZPRODH.
  • ENDFORM.
  1. 8. Allocate the specifications A, V and 001 to the field ZZPRODH in table T681F. Use "E" has been added for fields in rebate processing.
  1. 按步骤做基本没有问题,但第7步,涉及到billing,FORM应该是USEREXIT_PRICING_PREPARE_TKOMP,
  1. 而不是USEREXIT_PRICING_PREPARE_xxxxK。

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

转载于:http://blog.itpub.net/9859323/viewspace-616309/

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值