刪除和修改 預留 :BAPI_RESERVATION_CHANGE_SAP劉夢_新浪部落格

SAP_森林木發表於2013-12-28
 刪除和修改預留,我使用的BAPI_RESERVATION_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

相關文章