2010 Oct 23 5:09 PM
Using function BAPI_ALM_ORDER_MAINTAIN in a loop to update PM Work Orders.
The return table is being appended to after every call and I cannot seem to clear it out.
I have tried Clear, Refresh, and Free. They clear it out ahead of the call, but after the call it always remembers the results of the previous calls. I only perform Commit Work when for successful calls but I cannot rely on the results when the results of prior calls are still there.
What steps should be taken to clear return?
Regards
Using function BAPI_ALM_ORDER_MAINTAIN in a loop to update PM Work Orders.
The return table is being appended to after every call and I cannot seem to clear it out.
I have tried Clear, Refresh, and Free. They clear it out ahead of the call, but after the call it always remembers the results of the previous calls. I only perform Commit Work when for successful calls but I cannot rely on the results when the results of prior calls are still there.
What steps should be taken to clear return?
Regards
2010 Oct 24 12:42 AM
Go into the bapi you will find dome import statement clear that memory but make sure for each and every call you are passing new order data to bapi.
Nabheet
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |