ABAP BAPI_PO_CREATE1 PO净价从信息记录获取问题解决

194 篇文章 118 订阅

about bapi_po_create1

using BAPI_PO_CREATE1 to create POs meanwhile passing the netprice instead of price from inforrecords.

From 580225:

  1. 1. NO_PRICE_FROM_PO

If you transfer the value 'X' in this field, no conditions are copied from the last document. This includes purchase orders, scheduling agreements, contracts and quotations. The system still copies  conditions from the information record.
The field can only be filled at header level. It is valid for all items.

Prerequisite
You must implement Note 552189 in your system to use the NO_PRICE_FROM_PO field.

  1. 2. POITEM-PO_PRICE

You can use the PO_PRICE field to control, at item level, if the value should be copied from the POITEM-NET_PRICE field to the conditions. PO_PRICE can have the values ' ', '1' or '2' with the following  meaning:

  • PO_PRICE = ' ': The conditions are determined automatically, the value from the NET_PRICE field is only copied if the system cannot determine a condition.

  • PO_PRICE = '1': The value transferred in field NET_PRICE is copied as a  gross price that is, it is set with the condition type specified as base price in the calculation schema. In the SAP Standard System, these are condition types PB00 or PBXX. All other condition types  remain unchanged. No conditions are copied from the last document.

  • PO_PRICE = '2': The value transferred in field NET_PRICE is copied as a  net price that is, it is set with the condition type specified as base price in the calculation procedure. All other condition types are deleted.

 

Keyword: NO_PRICE_FROM_PO = X   Poitem-po_price = '2'

Alternative: BBP_PO_INBOUND_BADI

reference:http://archive.cnblogs.com/a/1839235/

  • 1
    点赞
  • 8
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值