以下为正文

关于创建供应商主数据BAPI:SD_CUSTOMER_MAINTAIN_ALL的一点解释

as it has the same parameters, I have checked the code and could
see, what I have to fill in for changing, inserting and deleting.

1:The table parameters starting with Y are for deleting data. 

      All lines which should be deleted, have to be filled in here. 

      The field KZ has to be space.

2:The table parameters starting with X are for inserting and changing data. 

      All new lines and the others, which should be changed, have to be filled in here. 

      The field KZ has to contain an 'I' for new data and an 'U' for changing existing data.

以下转自其他博客:

Y表放的原数据,标记设置为SPACE

X只放的新数据,标记设置为I(插入)或者U(更新)

旧:如果上传文件中客户的银行信息不存在,则去创建;存在的话,则不去管它。
新:如果客户有银行信息,则将银行信息删除掉,只维护本次上传文件中该客户的银行信息。
 
维护客户主数据所用到的函数是:SD_CUSTOMER_MAINTAIN_ALL
table参数中有很多表,其中X打头代表要插入的数据,Y打头代表要删除的数据。

应该是一致的。
---------------------
作者:SAPmatinal
来源:CSDN
原文:https://blog.csdn.net/SAPmatinal/article/details/42644977
版权声明:本文为博主原创文章,转载请附上博文链接!


评论关闭
IT干货网

微信公众号号:IT虾米 (左侧二维码扫一扫)欢迎添加!

【ABAP系列】SAP ABAP控制单元格是否可编辑