Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

bapi_network_maintain

Former Member
0 Likes
988

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

6 REPLIES 6
Read only

Former Member
0 Likes
855

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

Read only

0 Likes
855

Hi,

I guess that i pass it property.it's work on se37.

Read only

0 Likes
855

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

Read only

0 Likes
855

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???

Read only

Former Member
0 Likes
855

hi

try dis BAPI_NETWORK_ACTIVITY

hope this helps

regards

Aakash Banga

Read only

0 Likes
855

There is no fm with that name.