Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Lock table from .net

Dear all,

I'm currently facing an issue where i try to lock the VBAK table via FM ENQUEUE_EZ_VVBAKE from a C#.NET project.

function = moRfcDestination.Repository.CreateFunction("ENQUEUE_EZ_VVBAKE");

                function.SetValue("vbeln", vbeln);

                function.SetValue("_SCOPE", 2);

The lock is set, but when the FM ends execution,the lock is released.

How can I set the lock and keep it for the entire execution of the windows program ?

Thank you.

Andrei

Former Member
Not what you were looking for? View more on this topic or Ask a question