‎2007 Jul 09 4:11 AM
Hey all,
I'm having problems releasing networks that has activities with milestones in them using BAPI_NETWORK_MAINTAIN. I have tried using this BAPI to release these activities first before the network itself, but apparently, milestone functions cannot be run in the background, as per the error message given.
I was under the impression that using the BAPI to release the network would release all activities in it, regardless of whether or not the activities have milestones in them. I have used the BAPI to release such networks before.
Is there something else I have to do to release these networks with milestones? Or do I have to use some other function module for this? Please advise. Thanks in advance, everyone.
‎2007 Jul 09 4:14 AM
In addition to any BAPI you are always supposed to use the BAPI_TRANSACTION_COMMIT.
Are you using it? If not use the commit BAPI if the return of your BAPI is without errors.
Regards
Gopi
‎2007 Jul 09 4:31 AM
Actually there are errors. I think I should detail how I used the BAPI here:
I_METHOD_PROJECT:
REFNUMBER: 000001
OBJECT : Network
METHOD : Release
OBJECTKEY : NETWORK00001
REFNUMBER:
OBJECT :
METHOD : Save
OBJECTKEY :
I_NETWORK:
NETWORK: NETWORK00001
An example of an error returned from the table E_MESSAGE_TABLE was:
METHOD: SAVE
OBJECT_TYPE: ORDER
INTERNAL_OBJECT_ID : %0000001
MESSAGE_TEXT : "Errors occurred during internal number assignment"