on 2019 Sep 20 4:02 AM
创建销售订单后,进行订单打印并不能取到该销售订单上的净重
试过的解决方案:
(1)通过创建自定义字段,在BADI“YY1_EXPANDSOITEMFIELD”添加对SO净重查询的逻辑,但没有生效。跟SAP沟通之后,发现该BADI并不能在单据创建时触发,而是在修改单据时触发的。所以编写的逻辑未能生效。
(2)跟SAP沟通之后,尝试使用标准结构中的净重字段。但SAP告知在标准结构中并没有净重的相关字段。
请问下有了解的大神么
可以使用BADi - SD_SLS_CHECK_BEFORE_SAVE ‘保存前检查销售订单’,我确认该BADi 在创建销售订单时也会触发。
You could try BADi - SD_SLS_CHECK_BEFORE_SAVE 'Sales Document Check Before Save' to transfer net weight to a custom field during creating a sales order.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
在business context sales document item下新增自定义字段,将该字段在form template Sales Order Confirmation PDF Output 中激活。
在businedd context Sales Document Item 下的 BADi Sales Item Modification 中将net weight 的值赋给该自定义字段。
修改标准的form template,将该自定义字段值添加到form template中
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
8 | |
6 | |
5 | |
5 | |
4 | |
4 | |
4 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.