24 - ABAP Dictionary - Views - Database View and Projection View

Sdílet
Vložit
  • čas přidán 10. 09. 2024
  • 1) Creation of Database View and Projection View

Komentáře • 22

  • @janmejayamishra-vx3hm
    @janmejayamishra-vx3hm Před 9 měsíci +1

    What a beautiful experience to learn from you, Sir! You are really a giant of all time and I am sure your tutorials are certainly not meant for beginners at all. I mean as learning is a lifetime process, all the experienced candidates in the field of ABAP must be referring these nice videos for their clarity and better understanding. Hats off Rahul Sir.

    • @sapabapbyrahulmehta
      @sapabapbyrahulmehta  Před 9 měsíci

      Thank you very much Janmejaya for your valuable and encouraging feedback. It inspires me a lot.

  • @madhusudanraogandi89
    @madhusudanraogandi89 Před 3 měsíci +1

    Wonderful session 🎉
    Thank you Rahul sir 🤝

  • @shobi552
    @shobi552 Před měsícem +1

    Hi sir, i did handson for the view.. if i do projection view on a db table it is not showing contents.. bt in status bar, it is showing no database table exists for the view-name.. though i gave tablename and selected the field from table to display

    • @sapabapbyrahulmehta
      @sapabapbyrahulmehta  Před měsícem

      Yes. We need to write a query to display the data from projection view. Once you move on to upcoming playlists, you can write a query to display the data from the projection view.

  • @akashmengji5564
    @akashmengji5564 Před rokem +2

    Superb explanations sir

  • @outofonesmind6722
    @outofonesmind6722 Před 2 měsíci

    Hi rahul,
    One question.
    What is the actual use of the database view.
    We can write this joins in code also right .
    Also apart from being able to view the values in se11. What difference or benefit do we get from creating a database view

    • @sapabapbyrahulmehta
      @sapabapbyrahulmehta  Před 2 měsíci +1

      When we create database view, it means it is reusable and we can use at n number of places and same thing is here. We can achieve the same by writing the JOIN code as well but many times we do not prefer writing the big JOIN code and simply fetch the data from Database view.

  • @sreejabadathala7456
    @sreejabadathala7456 Před 5 měsíci +1

    Good Evening sir. When I created the database view, i have given all the table fields from both header and item tables then i went for checking the contents of the table but when I'm executing it at selection screen step, the status bar showing me that "No table entries found for specified key". Could you please explain me how can I get the database view output?

    • @sapabapbyrahulmehta
      @sapabapbyrahulmehta  Před 5 měsíci

      It means there is no data in item table as database view works on inner join and there is no matching records between the 2 tables.

    • @sreejabadathala7456
      @sreejabadathala7456 Před 5 měsíci

      Thank you so much for your quick response sir. Just now I checked the item table and found an empty data entry.. so I filled it with some records and my issue got resolved. Thank you so much sir🙏

    • @YashWankhedkar
      @YashWankhedkar Před 3 měsíci +1

      Same thing happened with me but I don't know even though I have added data into the item table earlier then why the data was missing ?
      Sir please guide.

    • @sapabapbyrahulmehta
      @sapabapbyrahulmehta  Před 3 měsíci

      @@YashWankhedkar You can put again. It might be the case someone else deleted the data as other users might be also using the same system or you forgot to click on to save button.

  • @lakkhishawaa
    @lakkhishawaa Před 6 měsíci

    Thank u sir thank u god 🙏😇

  • @saikumarpalvai88
    @saikumarpalvai88 Před rokem +1

    Hello Sir,
    Can we create left outer joins for the database views ? I can see the inner join only working for the database views . How to create left or right outer joins for database views.?

    • @sapabapbyrahulmehta
      @sapabapbyrahulmehta  Před rokem

      Database Views always Implements Inner Join. Help View supports Left Outer Join. Previously SAP was not supporting Right Outer Join. Now CDS Views( ABAP on HANA) supports RIGHT Outer Join also.

  • @bhushangayake2840
    @bhushangayake2840 Před 5 měsíci

    Hello sir, In Database View after activating the view the key field column get clicked, I mean all the fields get assigned as a key field, why this is so?

    • @sapabapbyrahulmehta
      @sapabapbyrahulmehta  Před 5 měsíci

      It is in built behavior. All primary keys must be together and at the top. Suppose you are taking the fields from the first table - some are keys and some are non-keys. Then you are taking fields of second table - some are key and some are non-key. It is not possible that - Key, non-key, key, non-key. So SAP ticked the checkbox key for all the fields. Whenever you want information on anything, just do F1(technical help), you will get the full information on that.

  • @sonalishaw492
    @sonalishaw492 Před 2 lety

    Can you upload video for the remaining 2 view types .
    Also please upload videos search help and lock object.

    • @sapabapbyrahulmehta
      @sapabapbyrahulmehta  Před 2 lety

      Hello Sonali. The videos of Search help and lock object has not created yet, but soon will upload the videos of other 2 types of views.

    • @sonalishaw492
      @sonalishaw492 Před 2 lety

      @@sapabapbyrahulmehta thank you in advance