Locking text when calling EDIT_TEXT FM

I'm calling the EDIT_TEXT function module to allow users to add or change texts stored under given text ids.  It appears that just using this standard SAPscript text editor (via EDIT_TEXT) doesn't actually lock the text from updates by another user.  How would I lock the text, so that only one user can change it at one time? 
Is there a specific ENQUEUE function module that is used for texts?  I did some searching, but it wasn't clear to me which one to use.  ENQUEUE_E_LS_TEXT looked like a possibility, but I'm not sure and searching through OSS and these forums proved unsuccessful.
Thanks in advance for anyone who can help.
Regards,
Angela

Hello Angela
Table STXH (STXD SAPscript text file header) is assigned to package STXD which contains several lock objects.
Most likely ESSSTXT is the one your are looking for.
Alternatively, you simply edit a text and check the details of the lock entry using transaction SM12 to find the lock object.
Regards
  Uwe

Similar Messages

  • Locking problem when calling FM in background OR destination NONE....

    Hi,
    I've made a RF transaction to handle some movements from one Storage Unit to another one by creating a TO using standard FM L_TO_CREATE_SINGLE - so far, so good.
    My problem is that this FM makes a lot of standard checks (which is fine!) and if any of them fails - it issues a message, although I certainly don't want any message to be issued in this RF screen other than the ones that can be displayed on another screen.
    In order to avoid those annoying on-line messages I've tried to call the function in background, and even with DESTINATION 'NONE' - and here it is doing fine regarding the message handling (it is handled by the sy-subrc handler after the FM call) BUT now I'm having an even more annoying problem -> a lock is created (on tables LQUAX and VEKP) which I can't get rid of!!! (unless deleting manually the lock in SM12.......)
    Anyone experienced this by performing L_TO_CREATE_SINGLE in background mode or DESTINATION 'NONE' ?
    A check whether the TO is succesfully created or not is important, as after the TO creation I'm creating an Idoc (via L_SUB_INITIATION_FOR_PICK_HU) for that TO.
    Any ideas?
    Message was edited by:
            Branko Jovanovic

    Indeed, this solved my problem:
    CALL FUNCTION 'L_TO_CREATE_SINGLE'
        EXPORTING
          i_lgnum               = whs_id
          i_bwlvs               = ltak-bwlvs
          i_matnr               = wa_lqua-matnr
          i_werks               = wa_lqua-werks
          i_lgort               = wa_lqua-lgort
          i_charg               = wa_lqua-charg
          i_anfme               = rl03t-anfme
          i_altme               = ltap-altme
          i_vltyp               = ltap-vltyp
          i_vlpla               = l_vlpla
          i_vlenr               = ltap-vlenr
          i_nltyp               = ltap-nltyp
          i_nlpla               = l_nlpla
          i_nlenr               = ltap-nlenr
          i_update_task         = c_true
          i_commit_work         = c_true
        IMPORTING
          e_tanum               = g_tanum
          e_ltap                = itab_ltap
        TABLES
          t_ltak                = itab_ltak_vb
          t_ltap_vb             = itab_ltap_vb
        EXCEPTIONS
    <b>      error_message         = 01       "Shows errors if this is commented</b>
          no_to_created         = 1
          bwlvs_wrong           = 2
          betyp_wrong           = 3
          benum_missing         = 4
          betyp_missing         = 5
          foreign_lock          = 6
          vltyp_wrong           = 7
          vlpla_wrong           = 8
          vltyp_missing         = 9
          nltyp_wrong           = 10
          nlpla_wrong           = 11
          nltyp_missing         = 12
          rltyp_wrong           = 13
          rlpla_wrong           = 14
          rltyp_missing         = 15
          squit_forbidden       = 16
          manual_to_forbidden   = 17
          letyp_wrong           = 18
          vlpla_missing         = 19
          nlpla_missing         = 20
          sobkz_wrong           = 21
          sobkz_missing         = 22
          sonum_missing         = 23
          bestq_wrong           = 24
          lgber_wrong           = 25
          xfeld_wrong           = 26
          date_wrong            = 27
          drukz_wrong           = 28
          ldest_wrong           = 29
          update_without_commit = 30
          no_authority          = 31
          material_not_found    = 32
          lenum_wrong           = 33
          OTHERS                = 34.
      IF sy-subrc NE 0.
        MOVE sy-subrc TO g_rc.
        message_id     = sy-msgid.
        message_number = sy-msgno.
        message_var1   = sy-msgv1.
        message_var2   = sy-msgv2.
        message_var3   = sy-msgv3.
        message_var4   = sy-msgv4.
        PERFORM error_message.
      ENDIF.
    So I'll reward Arnold eventhough I got the answer earlier .....
    Cheers!

  • My iPhone 3Gs randomly shutting off at any given moment. I could be in the middle of a text, a call, or doing some games and it'll just shut off.  Now here's the unique part. When I go to turn it back on, the apple loading screen pops up but it takes some

    My iPhone 3Gs randomly shutting off at any given moment. I could be in the middle of a text, a call, or doing some games and it'll just shut off.
    Now here's the unique part. When I go to turn it back on, the apple loading screen pops up but it takes somewhere from 3-5 minutes for it to boot up. Then the lock screen with the time and whatnot shows up. From this point on, my iPhone has a chance to shut itself back down and I have to repeat the process over and over again. Most of the time the lock screen flashes and then goes straight to black (shut down) but sometimes I can make it a few menus before it shuts itself down.
    The only way to keep the iPhone on is to plug it into a charger of any sort. I'm fairly certain it isn't a battery charge issue because this happens at any % of power and sometimes my iPhone can use up all of its charge and not have this happen while other times I can be at 90-100% and it could randomly shut itself down. What can I do in this situation if some has some solution to this problem please let me know on [email protected] Thanks!

    Not sure if this Term is Relevant towards an iPhone but, my iPhone won't Post unless if it's plugged into a Charger.

  • IPhone locking up when answering a multi-party call

    My iPhone locks up when I either try to switch over to a 2nd call coming in. I answer the call and the phone number shows but the timer sits at zero and when I hit the home button I get MULTI PARTY CALL and my iPhone locks up. The only way out of it is to turn off my iPhone and turn it back on. I thought it was perhaps a Firmware issue but I have the latest firmwhere and even restored back to factory defaults. I had thought the problem was also when there was too much texts and voicemail and the problem was a memory issue and have cleared out all my texts as well as much of my voicemail. It still have the issue. Does anyone else have the same problem I do trying to put 1 call on hold and answer a 2nd call?
    Thanks!
    Bill

    I have the same problem!
    it's a total crap shoot when you answer a call while you're on one, I know it's not just me a couple of friends are having the same issue... I would love to have this fixed!

  • I deleted a contact out of my iPhone 4S but when I go to send a message the contact appears although that individual is no longer in my address book. I deleted all text and call history pertaining to the deleted contact but still shows up.

    I deleted a contact out of my iPhone 4S but when I go to send a message the contact appears although that individual is no longer in my address book. I deleted all text and call history pertaining to the deleted contact but still shows up. Does anyone have the same issue and how do I fix it?

    dam122577 wrote:
    but wont restoring as new delete all my info on my phone
    Yes. That is why I added...
    it will disappear over time due to non-use.

  • When my iPhone 4S (with ios7) experiences a failed call while connected to my Bluetooth hands free in my car(screen locked) the failed call appears on the locked screen, as it should, then when I unlock the phone it automatically redials the failed call,

    When my iPhone 4S (with ios7) experiences a failed call while connected to my Bluetooth hands free in my car(screen locked) the failed call appears on the locked screen, as it should, the problem arises whenever I unlock the phone, it automatically redials the last failed call, it doesn't do this with missed calls that are on the locked screen, if any. It is really annoying as sometimes the phone doesn't respond to attempts to end the call before it connects to the number. I then have to explain that it was my phone and not me, I look like an idiot, which I don't really need any extra help with!! Does anyone have any ideas? I don't want to stop missed call from showing in the locked screen but it might be associated with the failed calls and therefore be the only resolution

    I have had the same issue which was driving me mad but think I have just found a way around it. In iOS 7 if you swipe up on the lock screen to access quick settings and go into timer then click the home button you get into the phone without calling the person back. Not a great 'fix' but hope it works for you. Come on Apple this isn't good enough, fix this bug otherwise you will lose your customers.

  • When a contact gets a new phone number, I delete the old and enter the new.  Then when I text or call the old number shows up as a selection yet it's no longer under the contacts info.

    When a contact gets a new phone number, I delete the old number and enter the new number.  When I try to text or call, both the old a new numbers. One up as a selection choice, even though the old number is gone from the contact.

    That's normal behavior as the old one will remain in the memory cache for a while until it's eventually overwritten.  If it's particularly bothersome to you, you can restore your phone as NEW and this will empty the cache.

  • I have a new phone and when asked do iwant to start this as a new phone or do a back up from my last back up. i chose the last back up option and it has taken all my recent photos texts and call off and replaced them with ones frow about 18 months ago.

    I have a new phone and when asked do i want to start this phone as a new phone or back up from last backup, i chose to back up from last back up and have had my recent photos texts and call replaced with ones from about 18 months ago. is there any way of undoing this?

    Welcome to the Support Communities. This Apple doc may be of interest:
    Channel Member Code of Conduct
    Kings74 wrote:
    They told my friend that the phone was not available in Black, that was the 5, and that the 5s was only available in silver and gold..
    A minor point, but it may avoid a little confusion if, instead of saying "black" in reference to the iPhone 5s, say "space gray":
    "iPhone 5s — Available in silver, gold, and space gray" (Source)

  • Making email/text/missed call symbols show when the iphone screen is asleep

    Hi,
    So I purchased my first ever iphone on the weekend - the new 3G S. All very exciting. One thing I haven't quite worked out is whether it is possible to have the phone show me that I have mail/text/missed calls when the screen is asleep. Is this possible?
    With Nokias and Sony Ericsson's when the screen is asleep and blacked out, you can still see a pic of an envelope etc to let you know there is something waiting for you like a text. Is this possible with the iphone and if so how?
    Alternatively if there is an app that will do this, could you let me know what that is called so I can download it please?
    Many thanks in advance
    Paul

    This is not possible with the current iPhone and version 3.0 software. There are no apps available either that will wake the iPhone up and activate the screen to provide you information. Hopefully this'll come in some furure software update.

  • I added 3 contacts and saved on my iphone 5, but do not appear on my list of contacts. the names appear when they text or call me. I have to go search for their messages when i need to call them

    i added 3 contacts and saved on my iphone 5, but do not appear on my list of contacts. the names appear when they text or call me. I have to go search for their messages when i need to call them?

    Try to restore your iphone via iTunes or update to ios6.1.2.
    If itunes gives an error with restoring (DFU/Recovery or just normal)
    try this:
    open your computer and search on windows; C://windows/system32/drivers/etc/hosts
    open up the hosts file in note pad you will see IP adresses and more add another line and put in this:
    #74.208.10.249 gs.apple.com
    this is a by-pass to the cydia/saurik restore server, it has nothing to do with jailbreaking over voiding apple's warranty
    let me know if succeeded!

  • My iphone 3gs keeps shutting down when i text or call, can only do it when plugged in and charging.  Any ideas??

    I can only text or call when its charging, and even when it says its fully charged it can shut down after an hour and tell me to charge it again.  HELP!

    Thanks, i had it unlocked as i have anew iphone 5 and the 3gs is for my turkish sim card. so not sure if they will help as i have unlocked it.

  • IPhone 5 locks up when sending a picture text

    My iphone 5 locks up when trying to send a picture from the actual picture, right after taking it.  It is fine if you start a text then attach a picture.  Any ideas?
    It didn't used to be like this.
    Thanks!
    Bethany

    Perform a "hard reset" on the device by pressing down and holding the home button and the sleep/wake button for up to 30secs. until you see a black screen with the Apple logo, then release.
    Then test to see if it solved the problem.

  • Since last week my date & time have not worked on my 5c. The date & time are constantly wrong. I've shut down, doesn't work. Set it automatically, doesn't work. I don't get texts or calls when it's sleeping. Any suggestions?

    Since last week my date & time have not worked on my 5c. The date & time are constantly wrong. I've shut down, doesn't work. Set it automatically, doesn't work. I don't get texts or calls when it's sleeping. Any suggestions?

    try a reset.
    Hold the home & power buttons down simultaneously until you see the Apple logo appear.
    Note: no data will be lost.

  • Hi, I have an iPhone 4 which rings people when it is locked, whether or not in my pocket.  I always lock it when not using it.  Can anyone help? It is calling random numbers, not the last person or anyone even recently called on my recents list. Thanks

    Hi, I have an iPhone 4 which rings people when it is locked, whether or not in my pocket.  I always lock it when not using it.  Can anyone help? It is calling random numbers, not the last person or anyone even recently called on my recents list. Thanks

    Pay no attention to iinami, the amount of replies to people saying their handsets must have been jailbroken everytime iTunes throws out an error is tremendous. (Clearly you don't need to have any real knowledge to get to level 3 on these forums, let's hope apple's geniuses know a lot more than some of their customers.)
    http://support.apple.com/kb/TS3694
    Solution below.
    Error 9
    This error occurs when the device unexpectedly loses its USB connection with iTunes. This can occur if the device is manually disconnected during the restore process. This issue can be resolved by performing USB troubleshooting, using a different USB dock-connector cable, trying another USB port, restoring on another computer, or by eliminating conflicts from third-party security software.

  • My iphone will not receive/send calls or texts when my computer is on? Help?

    Recently I've noticed my iphone is having reception problems while I'm in my apartment. I've noticed that when my computer is on, my iphone will not receive or send any texts or calls and has problems connecting to the internet. This is a pretty new development, I've had my phone for years with the same computer and no problems before. Any ideas?

    Your computer and iPhone 4 are two seperate elements really using different connections.
    i.e your computer will probably use your router to connect to the internet where as your iphone uses your mobile phone carrier to send and receive texts and calls.
    So its pretty difficult to judge how they can effect each other. You try resetting your router, but ive never heard of anything like this happening before...

Maybe you are looking for

  • How do I transfer pictures, music, etc to another account on the same Macbook?

    I needed to create another user on my MacBook, but am not sure how to transfer my pictures, music, etc from my other account to this one. Any ideas? Thanks!

  • How can i retrieve deleted pictures on imac

    I was trying to transfer all my images to my external USB drive, and I forgot to eject the USB drive and I deleted the pictures and I guess the photos deleted from the USB drive also. what can I do to bring those pictures back? they are important pic

  • Problems with iWeb publishing

    I try to publish a movie clip to .mac. I did it it ways but both are failed: 1. By using iWeb. The clip is reported as published successfully but does not appear in my .mac web pages. It does not affect recent published (non-movie) pages. 2. By using

  • Using EJB from another connection pool in WLPI

    Hi All, I've deployed an entity bean (CMP) which used the connection pool other than the one used by WLPI. When I execute the business operation I've defined for this bean, the following exception is encountered: "Couldn't get connection: java.sql.SQ

  • Kin : Dead. Sidekick : Dead. What is the next youth social networking mobile carrier?

    Probably Virgin Mobile. They are aggressively marketing unlimited text/data plans for the prepaid market. But they have two huge weaknesses. 1)No Bring Your Own Device. Something many if not all Verizon resellers allow. 2)They only have Sprint native