BAPI 修改销售订单的方法 ‘BAPI_SALESORDER_CHANGE’

这段代码示例展示了如何在ABAP中使用BAPI_SALESORDER_CHANGE函数模块来修改销售订单的头部、伙伴、项目和价格条件数据。还包含了订单文本信息的更新以及交易代码与对应BAPI的映射。
摘要由CSDN通过智能技术生成

分类: Linux

 

sap 标准程序中可以使用VA02来修改销售订单 change sales order,也可以在程序中调用BAPI来更改订单(如物料编号material,订购数量 order quantity等),用到的函数是 BAPI_SALESORDER_CHANGE.
sap bapi Explorer中的文档。


 
Method

SalesOrder.ChangeFromData

Change Sales Order
 

Functionality

You can use this method to change or delete sales orders.

You can change header, item, schedule line and configuration data.

In general, note that you should:

  • Only specify fields that should be changed
  • Select these fields by entering an X in the checkboxes
  • Enter a U in the UPDATEFLAG field
  • Always specify key fields when changing the data, including in the checkboxes
  • The configuration is an exception here. If this needs to be changed, you need to complete it again fully.
  • Maintain quantities and dates in the schedule line data
  • 修改订单数量要用schedule_lines 这个参数
  • Possible UPDATEFLAGS:
  • U = change  flg值的三种不同意义
  • D = delete
  • I =
  • 1
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值