‎2009 May 04 6:49 AM
Hi all,
I work with the bapi "bapi_network_maintain" on user-exit.
when i tried to delete relation between 2 networks,the return structure and e_message is empty but the bapi doesn't delete the relation.
I think it's lock object problem.Does anybody overcome this problem?
Tks,
david
‎2009 May 04 7:05 AM
hi david, did u pass the method and object key properly for deleteing
and also u have to pass the save method , else it wil be in simulation mode and it will be not commited
try to check wether u have passed the methods properly
hope it solves u rproblem
afzal
‎2009 May 04 7:07 AM
‎2009 May 04 8:16 AM
hai david ,
while passing method pass reference number and key proerly and the realtion entry in the table of relations
reference method objecttype objectkey
0000001 Delete NetworkRelation proper object key
000000 Save
try to pass this value properly and the key will be formd by
network prdecessor + predecessor activity + network successor + successor actvitity
check once the fucntion moduel documentation for object key
‎2009 May 04 8:40 AM
Hi,
On se37 it's work.
and with the same values it's work on create mode.
i think that the problem cause of object lock.
did u work with this fm on user exit???
‎2009 May 04 7:12 AM
hi
try dis BAPI_NETWORK_ACTIVITY
hope this helps
regards
Aakash Banga
‎2009 May 04 7:16 AM