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

ENQUEUE_READ in Background

Former Member
0 Likes
935

Hi Experts,

I tried ENQUEUE_READ in Background to capture the locks and display the person responsible for the lock and the transaction which is locked. This does not happen has required. In foreground this above FM works fine.

Thanks in advance.

4 REPLIES 4
Read only

Former Member
0 Likes
752

What kind of output are you using.

IS it a ALV?

In background are you able to go in debugging into this function module

What is the sy-subrc for this FM in background

Read only

Former Member
0 Likes
752

Hi Sriram,

This report does not contain any ALV list, this report updates a custom table with the lock details .

I tried debugging the finished jobs, but it acts just like foreground. I tried to change the job schedule to immediate then it works fine in background. If i schedule it for every 2 mins then it fails

Read only

Former Member
0 Likes
752

Solved it myself. thanks for your posts

Read only

0 Likes
752

How did u solve it?

I am facing same issue. Calling the FM from background step in workflow but it does not return any value. it works fine when I execute the method manually in foreground.

Kindly provide your inputs at earliest. its urgent.

Thanks in Advance.