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

Lock the file when user set check box?

Hi, My requirement is when user set check box on selection scrren the file will be created in application server. at the same time when user set check box file should be locked. how to lock the file when user set the check box?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Sep 03, 2013 at 01:36 PM

    Hi,

    ENQUEUE_E_TXW_FILE

    DEQUEUE_E_TXW_FILE

    For Ex:

    call function 'ENQUEUE_E_TXW_FILE'

    exporting * MODE_TXW_LOCK2 = 'X'

    voldir_set = <path>

    tax_file = <filename>

    * X_VOLDIR_SET = ' '

    * X_TAX_FILE = ' '

    * _SCOPE = '2'

    * _WAIT = ' '

    * _COLLECT = ' '

    exceptions

    foreign_lock = 1

    system_failure = 2

    others = 3.

    Try to use this function module. It may helpful to you.

    or else go through the following links,

    http://wiki.sdn.sap.com/wiki/display/SI/Enqueue

    http://docs.oracle.com/cd/E19787-01/819-2983/behhiccf/index.html

    Regards,

    John.

    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.