首页 > 其他分享 >删除和修改 预留 :BAPI_RESERVATION_CHANGE_SAP刘梦_新浪博客

删除和修改 预留 :BAPI_RESERVATION_CHANGE_SAP刘梦_新浪博客

时间:2022-10-12 20:00:48浏览次数:73  
标签:10 BAPI 刘梦 预留 RESERVATION type CHANGE


 这里仅作测试,return没去校验结果

 测试删除预留

删除和修改 <wbr>预留 <wbr>:BAPI_RESERVATION_CHANGE


行项目我开始习惯性给了个10,后来发现结果不对,打开了界面,看到是1而不是10。

还有changedx-res_item 是行项目不是X

开始执行完后,发现跟前台删除不一样,

我前台直接给删掉了

删除和修改 <wbr>预留 <wbr>:BAPI_RESERVATION_CHANGE


 掉BAPI是打的删除标记。

可以从前台找找对应的表,行项目,F1

删除和修改 <wbr>预留 <wbr>:BAPI_RESERVATION_CHANGE


删除和修改 <wbr>预留 <wbr>:BAPI_RESERVATION_CHANGE



删除成功后:

删除和修改 <wbr>预留 <wbr>:BAPI_RESERVATION_CHANGE


删除预留:BAPI_RESERVATION_DELETE也是删除,具体 我没测试,有兴趣可以测测是物理删除还是打删除标记


删除和修改 <wbr>预留 <wbr>:BAPI_RESERVATION_CHANGE



以下是英文的文档…… 

SAP Documentation for FM BAPI_RESERVATION_DELETE

FUNCTIONALITY

Delete reservation 

EXAMPLE 

You can use this method to delete individual reservations. 

HINTS 

The system checks the following authorization objects with the activity 06 (delete): 

-,,M_MRES_BWA,,Reservations: movement type 

-,,M_MRES_WWA,,Reservations: plant 

The number of the reservation that is to be deleted must be transferred in the RESERVATION parameter 

The TESTRUN parameter can also be set. This has the effect that the system carries out all the checks but without creating the reservation. 

Messages are returned in the parameter 'Return'. The documentation for this parameter contains the return values and their meanings. 

FURTHER_SOURCES_OF_INF 

The method can only carry out its function if no error messages were created in the parameter 'Return'. 

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

欢迎关注订阅号:SAP学习记录 (SAPlearning )

PO <wbr><wbr>text <wbr><wbr>copy <wbr><wbr>rules <wbr><wbr>:copy <wbr><wbr>PR <wbr><wbr>item <wbr><wbr>text <wbr><wbr>to <wbr><wbr>PO


标签:10,BAPI,刘梦,预留,RESERVATION,type,CHANGE
From: https://blog.51cto.com/u_15680210/5751450

相关文章