‎2010 Oct 15 10:13 AM
Hello,
I'm getting information messages in a BAPI that sets the Statuses on WBS elements that are related to a previous BAPI that I called in the same program for adding material components. How is this possible if I used the right mechanism for calling the BAPIs (BAPI_PS_INITIALIZATION, BAPI_PS_PRECOMMIT, BAPI_TRANSACTION_COMMIT) ?
The function METHOD_LOG_INIT inside my status BAPI raises NOT_AUTHORIZED but the BAPI continues, the statuses are set, no error, but the log is comming from a global table that was not cleared because the METHOD_LOG_INIT didnt work.
What can I do?
Thanks in advance.
‎2010 Oct 15 10:16 AM
Clear the work area and refresh the internal tables that you are using to capture the log of that bapi.
‎2010 Oct 15 10:26 AM
Of course I'm cleaning them before each bapi call, but the log comes from the BAPI's object memory, it's not cleared in there somehow.
‎2010 Oct 15 10:30 AM
Hi,
let me know which BAPI are you using.
regards,
manju
‎2010 Oct 15 10:35 AM
Hello,
i'm using many BAPIs,
First BAPI_PROJECT_MAINTAIN, BAPI_NETWORK_MAINTAIN, BAPI_BUS2002_CREATE, then BAPI_NETWORK_GETDETAIL, BAPI_NETWORK_COMP_ADD, and then finally BAPI_BUS2056_GET_STATUS and BAPI_BUS2056_SET_STATUS.