SAP SD模块-创建供应商主数据BAPI

来源:互联网 发布:sql 变量 编辑:程序博客网 时间:2024/05/17 08:20

关于创建供应商主数据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打头代表要删除的数据。

应该是一致的。

0 0
原创粉丝点击