2014 Feb 06 4:01 PM
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.
2014 Feb 06 4:18 PM
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
2014 Feb 06 4:18 PM
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
2014 Feb 06 5:16 PM
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.