Skip to Content
author's profile photo Former Member
Former Member

Import deadlock.

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.

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Jan 25, 2005 at 07:20 AM

    Hi ,

    Here you can inform ys about lock objects

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

    regards Andreas

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 25, 2005 at 09:10 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.