CDS View with input parameters Part 7 ABAP on HANA Course

Sdílet
Vložit
  • čas přidán 10. 09. 2024
  • ABAP CDS View with input parameters
    Define a Parameterized view.
    Call a parameterized view with open SQL.
    ABAP CDS Views: Default values in parameters
    @Environment parameter in sap
    Code :-
    saptechnomania...

Komentáře • 35

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

    Excellent knowledge share and information. Truly enlighten! A suggestion request for consideration: A video on Hierarchies creation would help a lot. Preferably say Cost Center or GL Account for example or any simple master data Hierarchy.

  • @abaper347
    @abaper347 Před 4 měsíci

    🤟 Thank you for sharing information in simple & easy to understand way

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

    Sir your video are very good learning material. I read them and get confidence to crack interview on SAP HANA.thank you very much

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

    Thank you

  • @user-cr4fh3qo4e
    @user-cr4fh3qo4e Před 7 dny

    Hello, Can you please help me with how I can write AND in where condition for Select Query for the example you are writing in where condition empid = 1 but I want it as empid = 1 and empid = 2 in where condition of select..
    Thank you

  • @user-cr4fh3qo4e
    @user-cr4fh3qo4e Před 7 dny

    Can you please help as I need values from two different domains but the AND condition is not working

  • @venu..8786
    @venu..8786 Před 7 měsíci

    Hi,
    Why cant we pass parameters to associated CDS view ex : cds a assication cds b(parameter) .. for cds b we cannot pass paraemters..could you please let us know why

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

      Yes you can't that is restriction when we are using cds . SAP not given this option

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

    i created a simple CDS view entity ..i can see lot of entries in SE11 for the same table..in view only one entry is coming..what could be the reason

  • @CutieSaanvi2017
    @CutieSaanvi2017 Před 7 měsíci

    Hi! Is it possible to use select options in CDS views? With parameter we can give only single value, if we want to get multiple values, how it can be handled?

    • @SAPTECHNOMANIAC
      @SAPTECHNOMANIAC  Před 7 měsíci

      you have to call cds in your select and apply where condition in CDS not possible to add select option

  • @akshayakumar823
    @akshayakumar823 Před 7 měsíci

    Hi, is there a way we can get the field values from sales order (va01) tcode and use it inside cds view ?

    • @SAPTECHNOMANIAC
      @SAPTECHNOMANIAC  Před 7 měsíci

      Sales order tcode fields will be available in vbak,vbap or other related table you can fetch from that table

  • @im_shrey
    @im_shrey Před rokem

    Hi brother, when I use @Environment.systemField : #USER_DATE in consumption view, the bex query with this consumption view doesn't show any date. Requirement is to get user timezone date not the system date as default value. Any suggestions on how to achieve this ?

    • @SAPTECHNOMANIAC
      @SAPTECHNOMANIAC  Před 8 měsíci

      Ideally it should come .I didn't tried with BEX query..

  • @Utubeuser16
    @Utubeuser16 Před 10 měsíci

    Hi bro, why I'm not able to use semantic.amount.currencycode in define view entity getting error as can't be used in filed list

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

      You are working with CDS entity or DDDIC CDS view

  • @guptarahul97480
    @guptarahul97480 Před rokem

    Is there any way where i could write an query to an custom table or standard table using the table name received in parameters.

    • @SAPTECHNOMANIAC
      @SAPTECHNOMANIAC  Před 8 měsíci +1

      Never tried. As per dynamic thing not possible in CDS

  • @sandeshatram2158
    @sandeshatram2158 Před 8 měsíci

    In above we are using vbap and vbak table field "MATNR" as parameters.
    but if client requirement is for two parameters such as MATNR and POSNR but the client condition is that they want to fetch data by any one of the parameter even they use MATNR or POSNR any one of the field,, then how it will occure
    as we required both parameters as non manditory then how it will be done..

    • @SAPTECHNOMANIAC
      @SAPTECHNOMANIAC  Před 8 měsíci +1

      Where are you consuming your CDS ? If you are consuming in SQL then you can pass there where condition. It is not possible to pass non mandatory parameter apart of environment annotation parameter …

    • @sandeshatram2158
      @sandeshatram2158 Před 7 měsíci

      @@SAPTECHNOMANIAC 👍👍 got it sir

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

    suppose I don't want to make vbeln as mandatory in that case what shall we do ?

    • @SAPTECHNOMANIAC
      @SAPTECHNOMANIAC  Před 4 měsíci

      This is the limitation when we are using parameter. it's not possible non mandatory parameter apart from some system fields ...

  • @gururajanraghu5989
    @gururajanraghu5989 Před 2 lety

    Can we pass the default value for CDS View based OData service ?

  • @sandeepreddy2319
    @sandeepreddy2319 Před 2 lety

    Hi bro, Can you explain regarding about AMDP's

    • @SAPTECHNOMANIAC
      @SAPTECHNOMANIAC  Před 2 lety

      Sure I will explain it in the upcoming video.

    • @SAPTECHNOMANIAC
      @SAPTECHNOMANIAC  Před rokem +2

      AMDP in detail you can watch video series got completed :- czcams.com/video/fkU-H6iUQXI/video.html

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

    Thank you