cancel
Showing results for 
Search instead for 
Did you mean: 

Import deadlock.

Former Member
0 Kudos

hey experts,

i wrote(included) below function in two seperate FORM(form A,Form B) routine, what will happen if i call both the FORM A & B simultaneously from two actions(click button1 and click button2). will it get error or struck up?

Can i use ONE function passing two diff values simultaneously.?

CALL FUNCTION 'TMS_MGR_IMPORT_TR_REQUEST'

My requirement is, while importing TP request using above Function, other person may also execute the same Function using different values or same values.

how to do this.

pls confirm.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Before calling the function, you should try to lock the object (E_TRKORR), supplying the corresponding Enqueue Function Module (ENQUEUE_E_TRKORR) with the Transport Request No. you want to process. If lock is successful, you can then proceed with the rest of your program. At the end, you can call FM DEQUEUE_E_TRKORR to release previously set locks.

Hope this helps.

Message was edited by: Shehryar Khan

andreas_mann3
Active Contributor
0 Kudos

Hi ,

Here you can inform ys about lock objects

http://10.243.51.62/helpdata/EN/cf/21eea5446011d189700000e8322d00/frameset.htm

regards Andreas