60 - ABAP Dictionary - Lock Objects - Use of Lock Object in a Program Part7

แชร์
ฝัง
  • เผยแพร่เมื่อ 17 ม.ค. 2025

ความคิดเห็น • 10

  • @Joan-Zacharia
    @Joan-Zacharia ปีที่แล้ว +1

    Hello Sir, Instead of passing variable 'lv-user' can we directly mention 'sy-msgv1' in MESSAGE?

    • @sapabapbyrahulmehta
      @sapabapbyrahulmehta  ปีที่แล้ว +3

      It will display the Wrong value, We need to take a local variable and use that local variable.

    • @Joan-Zacharia
      @Joan-Zacharia ปีที่แล้ว

      Thank you sir!

  • @NomanRaza-t2u
    @NomanRaza-t2u 3 หลายเดือนก่อน

    Hi Rahul Mehta Sir, how are you doing today my question is first user-id is RMehta and current Id is RMehta1 at 10:51 time stamp?

    • @sapabapbyrahulmehta
      @sapabapbyrahulmehta  3 หลายเดือนก่อน

      Yes, I used 2 Id's - One is RMEHTA and another is RMEHTA1.

  • @mugondasravani593
    @mugondasravani593 ปีที่แล้ว

    Sir.. Can you please tell us the real time scenarios or examples on write lock and enhanced write lock ??

    • @sapabapbyrahulmehta
      @sapabapbyrahulmehta  ปีที่แล้ว

      Hello Sravani, Whatever the example is covered is real time scenario in which we will lock and then update.

  • @dreamer9857
    @dreamer9857 ปีที่แล้ว

    Helo sir. I did like Message E001(zmsgcl) with pono sy-uname.
    pono = for order number
    sy-uanme = second variable in msg class, it was working fine. Should we use **sy-msgv1*** only

    • @sapabapbyrahulmehta
      @sapabapbyrahulmehta  ปีที่แล้ว +2

      SY-UNAME is the displaying the name of the System User who is working currently, if another user is locked still SY-UNAME will show your name. As of now your are locking and checking both so it is working, it will not work for multiple users.

    • @dreamer9857
      @dreamer9857 ปีที่แล้ว +1

      @@sapabapbyrahulmehta thank u sir.