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

Fm SO_DOCUMENT_SEND_API1 locking table ADR6

Former Member
0 Likes
691

Hi All,

FM SO_DOCUMENT_SEND_API1 is locking table ADR6 while sending emails.I dont want this to happen.

PLease help how can i avoid this.

Thanks and regards,

Rajeev

4 REPLIES 4
Read only

david_escofettrenado
Participant
0 Likes
650

Does you have set the field COMMIT_WORK ?

Read only

0 Likes
650

Hi David,

Yes I am using this commit work .

Actually the FM was called inside a loop.

In production environment as large amount of data was being processed.

So the process was taking tiime so instead of commiting the work inside the FM , i used commit work outside

the loop.

How can i unlock this database table .?

Thanks and regards,

Rajeev

Read only

0 Likes
650

Hi,

What all are you using in your code? Is there anything else that can enqueue the table?

Regards

Prasenjit

Read only

0 Likes
650

Hi Prasenjit,

If i dont use the sender address parameter in function module.

The person who runs the program , his name will be sent out as the sender address.

But i dont want that to happen , so to avoid this i am using the sender address parameter ,

it will make an entry in the database table ADR6.,which is locking the table .

I dont want this to locking to happen at the same time sender address should be sent

How cani achieve this , Please help me.

Thanks and regards,

Rajeev