删除和修改预留,我使用的BAPI_RESERVATION_CHANGE
这里仅作测试,return没去校验结果
测试删除预留
行项目我开始习惯性给了个10,后来发现结果不对,打开了界面,看到是1而不是10。
还有changedx-res_item 是行项目不是X
开始执行完后,发现跟前台删除不一样,
我前台直接给删掉了
掉BAPI是打的删除标记。
可以从前台找找对应的表,行项目,F1
删除成功后:
删除预留:BAPI_RESERVATION_DELETE也是删除,具体却别待测试
以下是英文的文档……没看懂……谁看懂了请留言告知下小弟啥意思,谢谢!
SAP Documentation for FM BAPI_RESERVATION_DELETE
FUNCTIONALITY
No transaction control is implemented. The caller therefore has to carry out the 'Commit Work' (for example, using the BAPI_TRANSACTION_COMMIT) after this method has been called up successfully; that is, if no errors were displayed in the parameter 'Return'.Documentation extract taken from SAP system, Copyright (c) SAP AG