Application Development 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: 

updating equipment from IT 0032

Former Member
0 Kudos
120

Hi All,

I am facing a problem while trying to update equipment after modifications in infty 0032.

when this infty is modified a dynamic action calls an external routine. this external rutine is the one in charge of the modification of this equipment by using bapi BAPI_OBJCL_CHANGE.

The point is, if I manually run the program, the equipment is modified as it should, just like you use transaction IE02, so I may assume the code is fine. But when I try to do it by modifyng the IT 0032 it is not... I mean, the data sent by the dynamic action is the same, the routine is called, etc... but the equipment is not modified. Going further, if I try to go to IE02 without exit transaction PA30 the system tells me that the object is locked by me...

Doy you have any idea about how to proceed or to unlock the object in order to be able to modify it using the dynamic action?

Should I perform this action in a diferent way?

Thanks and kind regards.

1 ACCEPTED SOLUTION

nabheetscn
Active Contributor
0 Kudos
66

Hi Pete

How is the BAPI called in case of tcode..via exit/enhancement?

I think you will need to create a wrapper ZFM RFC enabled and call change and Commit BAPI inside(just a thought)

Nabheet

2 REPLIES 2

nabheetscn
Active Contributor
0 Kudos
67

Hi Pete

How is the BAPI called in case of tcode..via exit/enhancement?

I think you will need to create a wrapper ZFM RFC enabled and call change and Commit BAPI inside(just a thought)

Nabheet

0 Kudos
66

Hi Nabheet,

Thanks for your answer, you put us in the correct way.

Finally we called the bapi using DESTINATION 'NONE' and it works.

Cheers!

Pete.