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

how to create ENQUEUE function module for s567 table

Former Member
0 Likes
4,480

Hi Experts,

Anyone Plz tell the steps how to create a ENQUEUE function module for the table s567.

Its somewht urgent, plz help me.

<REMOVED BY MODERATOR>

Mohana

Edited by: Alvaro Tejada Galindo on Mar 10, 2008 4:21 PM

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,710

Hi,

You can create a lock on a object of SAP thorugh transaction SE11 and enter any meaningful name start with EZ Example EZTEST_LOCK.

Use: you can see in almost all transaction when you are open an object in Change mode SAP could not allow to any other user to open the same object in change mode.

Example: in HR when we are enter a personal number in master data maintainance screen SAP can't allow to any other user to use same personal number for changes.

Technicaly:

When you create a lock object System automatically creat two function module.

1. ENQUEUE_<Lockobject name>. to insert the object in a queue.

2. DEQUEUE_<Lockobject name>. To remove the object is being queued through above FM.

You have to use these function module in your program.

Hope this will give a basic idea.

Regards

Sudheer

2 REPLIES 2
Read only

Former Member
0 Likes
1,711

Hi,

You can create a lock on a object of SAP thorugh transaction SE11 and enter any meaningful name start with EZ Example EZTEST_LOCK.

Use: you can see in almost all transaction when you are open an object in Change mode SAP could not allow to any other user to open the same object in change mode.

Example: in HR when we are enter a personal number in master data maintainance screen SAP can't allow to any other user to use same personal number for changes.

Technicaly:

When you create a lock object System automatically creat two function module.

1. ENQUEUE_<Lockobject name>. to insert the object in a queue.

2. DEQUEUE_<Lockobject name>. To remove the object is being queued through above FM.

You have to use these function module in your program.

Hope this will give a basic idea.

Regards

Sudheer

Read only

Former Member
0 Likes
1,710

Create a lock object for that table via SE11 ... it automatically creates both ENQUEUE and DEQUEUE FM ...

Regards,

Santosh