Video 6: OData Service - Deep Entity Set Part 1

Поділитися
Вставка
  • Опубліковано 21 жов 2024

КОМЕНТАРІ • 74

  • @shravantej
    @shravantej 2 роки тому +6

    Very informative tutorial ...Your channel is underrated...Your should have no less than 1 lakh subscribers .....Excellent content with easy explanation .....Thanks a lot sir for all your effort...

  • @hallamarwen7357
    @hallamarwen7357 2 роки тому

    thank you , this is one of the clearest tuto that i have seen

    • @just2shareji
      @just2shareji  2 роки тому +1

      Welcome, and glad my videos are useful.

  • @rajdeep36
    @rajdeep36 2 роки тому

    Outstanding tutorial, cleared all my doubts on deep entity.. hats off ❤️❤️

  • @pratikvaidya4u
    @pratikvaidya4u 10 місяців тому

    Thank you for this tutorial.. Very well explained.

  • @ronitabiswas253
    @ronitabiswas253 Рік тому

    Very helpful video. Exactly what I was looking for.

  • @sagarjadhav1282
    @sagarjadhav1282 Місяць тому

    How can we add deep entity set (it includes multiple header and items) in this method?

  • @RuchiGargAgrawal
    @RuchiGargAgrawal Рік тому

    Excellent content and very easy and good explanation for odata beginners. Thanks a lot !! Is there a way I can buy rental system to practice all these. Any insights would be really helpful!

    • @just2shareji
      @just2shareji  Рік тому

      Thank you.
      Please contact:
      Nag - +91 99639 23973
      Das - +91 98303 17009

  • @abhilashreddy1495
    @abhilashreddy1495 2 роки тому

    Great channel and great video

  • @iqboladahamjonov9835
    @iqboladahamjonov9835 2 роки тому

    Thank you for the tutorials. It would be nice if you could produce one full Fiori project using CDS, CDS annotations, OData and Fiori view app in the future.

  • @Usharani-ys5cc
    @Usharani-ys5cc 3 місяці тому

    Hi Ganesh, while using navigation HDRTOITEMNAV in debugger we can see the ship details in er_entityset but when it displayed in url it only has header and item ? May i know where ship details are getting deleted?

    • @just2shareji
      @just2shareji  Місяць тому

      Could you try adding the entity name using IF condition?

  • @dravikrish7323
    @dravikrish7323 Рік тому

    Dear Ganesh may I know which software you used for dat flow diagrams?

  • @AshokKumar-eh2ry
    @AshokKumar-eh2ry 2 роки тому

    Nice Explanation
    Can we pass parameters to the Associations
    like /header/?$expand=item(num=100001) something like this

  • @murthyp3559
    @murthyp3559 2 роки тому

    Hi Ganesh, Good Morning!... How we can declare Date and time fields in entity type and the how we need to fill the et_* internal table with select query can you please explain this because am geeting the 500 error when am trying to fill data and time fileds by using select query.

  • @prakashm9870
    @prakashm9870 2 роки тому

    great , deep explanation.

  • @radhikabolla1937
    @radhikabolla1937 2 роки тому

    Very informative thank you so much .

  • @murthyp3559
    @murthyp3559 2 роки тому

    When am select the Null check box entity type the error will not coming but date and time values was not coming it is comes with value is 'true' .

  • @devendrapatel6389
    @devendrapatel6389 10 місяців тому

    Very informative video 👍

  • @Brahmareddyn2439
    @Brahmareddyn2439 Рік тому

    Hi Sir , when I am executing URI whatever you have provided it's not triggering our particular method(i.e debugging mode ) then what is the issue ? Could you please help on this

    • @just2shareji
      @just2shareji  Рік тому

      If you get success message with 200 as status code then please find the below reasons.
      1. Breakpoint in the method might be session - please change to external.
      2. If you are using Trusted RFC connection, then they might be disabled the debugging option.
      3. Navigation path is case-sensitive, please check.

    • @Brahmareddyn2439
      @Brahmareddyn2439 Рік тому

      @@just2shareji could you please elaborate 2 nd point . It's very helpful to us

    • @Brahmareddyn2439
      @Brahmareddyn2439 Рік тому

      Thank you Sir , issue resolved..
      Thank you for helping

  • @akhilbanavath3440
    @akhilbanavath3440 6 місяців тому

    Hi sir, could you make a video on how to use shortcuts in sap. Because it will be helpful for us and reduce coding time.
    Thanks for sharing your knowledge with us.

  • @satishbabar6552
    @satishbabar6552 Рік тому

    It's not imp(we can understand) but at 47:46, append wa_deep_entity to it_deep_entity should be one line above i.e in between two endloop.

    • @just2shareji
      @just2shareji  Рік тому

      Thank you for noticing and letting me know... :)

    • @sadullahtanrikulu
      @sadullahtanrikulu Рік тому

      Awesome videos Ganesh, and thanks @satishbabar6552 I got the point but now in my customer table when it comes to second customer, I also able to see the first customers record as in navigation property(itab), still something not correct right?

    • @satishbabar6552
      @satishbabar6552 Рік тому

      @@sadullahtanrikulu Probably you need to debug yourself first... and I think you'll get the solution..

  • @hemalathatc6341
    @hemalathatc6341 2 роки тому

    Nice Video .. Thanks a lot

  • @venkataabhilashdasam6658
    @venkataabhilashdasam6658 2 роки тому

    Thank you sir, Guru deva namo namaha

  • @rajumandi
    @rajumandi 6 місяців тому

    hi Sir, I am not getting the values in the item entity set but fields are there

    • @just2shareji
      @just2shareji  6 місяців тому +1

      Hope fully, it might get overwrite from other entity set... Did you check in the debugging, and your can use IF condition to avoid the same.

    • @rajumandi
      @rajumandi 6 місяців тому

      @@just2shareji As I am using case statement so it should no overwrite?

    • @rajumandi
      @rajumandi 6 місяців тому

      @@just2shareji
      data : it_deep_entity type table of zcl_zrm_odata4_deep_mpc_ext=>ST_DEEP,
      wa_deep_entity like line of it_deep_entity.
      data : it_head type table of ztest_h,
      it_item type table of zcl_zrm_odata4_deep_mpc_ext=>TS_SITEM. "ztest_i.
      data : wa_odata_item type zcl_zrm_odata4_deep_mpc_ext=>TS_SITEM,
      wa_odata_head type zcl_zrm_odata4_deep_mpc_ext=>TS_SHEAD.
      BREAK-POINT.
      CASE IV_ENTITY_SET_NAME.
      WHEN 'sheadSet'.
      select * from ztest_h into table it_head.
      if sy-subrc eq 0.
      select BUS_ID
      BUS_COMP
      MODEL_NAM from ztest_i into table it_item
      for all entries in it_head
      where BUS_ID = it_head-BUS_ID.
      endif.
      loop at it_head into data(ls_head).
      MOVE-CORRESPONDING ls_head to wa_deep_entity.
      LOOP AT it_item into data(ls_item) where bus_id = ls_head-bus_id.
      MOVE-CORRESPONDING ls_item to wa_odata_item.
      append wa_odata_item to wa_deep_entity-HDR_TO_ITEM.
      append wa_deep_entity to it_deep_entity.
      * CLEAR WA_DEEP_ENTITY.
      ENDLOOP.
      endloop.
      CALL METHOD me->/IWBEP/IF_MGW_CONV_SRV_RUNTIME~COPY_DATA_TO_REF
      EXPORTING
      IS_DATA = it_deep_entity
      CHANGING
      CR_DATA = er_entityset
      .
      ENDCASE.

    • @rajumandi
      @rajumandi 6 місяців тому

      My header data is coming but items are not coming..

    • @sapabap9977
      @sapabap9977 4 місяці тому +1

      @@rajumandi Nope, same for IF & CASE. Any luck in the debugging?

  • @anirudhreddy8756
    @anirudhreddy8756 8 місяців тому

    Bro in debugging am getting crct values but output am getting only header values not item values what to do plz reply 🥹🥹🥹 tried whole day but not getting

    • @just2shareji
      @just2shareji  8 місяців тому

      Hope that might overwrite... keep an IF condition, it make sure the code executes for the particular entity...

  • @AravindA-gz3fk
    @AravindA-gz3fk Рік тому

    can you tell me how to use new syntax for the nested loop

    • @just2shareji
      @just2shareji  Рік тому

      I believe had a video on this, could you please check the ABAP on HANA playlist

  • @rajumandi
    @rajumandi 5 місяців тому

    Dear Sir , I found the another issue as all my items data are coming but for header details only key field values are coming rest header fields are not coming

    • @just2shareji
      @just2shareji  5 місяців тому +1

      Do the fields are coming as empty or even the field itself not reflecting? Please drop an Email, would be easy to see any screen shots or piece of code if required.

    • @rajumandi
      @rajumandi 5 місяців тому

      @@just2shareji fields are there but no values...

    • @sapabap9977
      @sapabap9977 4 місяці тому +1

      @@rajumandi Hope I responded through Email.

    • @rajumandi
      @rajumandi 4 місяці тому

      @@sapabap9977 yes

  • @shivaprasad8233
    @shivaprasad8233 2 роки тому

    Iam not clear why you have kept append statement to fill it_deep_entity table after the outer loop.. I think it should be inside the outer loop.

    • @just2shareji
      @just2shareji  2 роки тому

      Correct Shiva, and thanks for letting me know. The Append must be inside the outer loop.

    • @sriramkumar8331
      @sriramkumar8331 Рік тому

      Will the output change?

    • @shivaprasad8233
      @shivaprasad8233 Рік тому

      @@sriramkumar8331 the it_deep_entity table gets updated with only one record always that is final record.

  • @abapabap6717
    @abapabap6717 6 місяців тому

    Hi can i have all odata related videos. please reply.

    • @just2shareji
      @just2shareji  6 місяців тому

      Mostly all the concepts videos are in one playlist, and it is called "OData Service". Other playlist are SV and QR, this has few quick videos regarding OData.

  • @venkateshbathula-ub7pd
    @venkateshbathula-ub7pd Рік тому

    Get deep entity set I have created but only one association can be created

    • @just2shareji
      @just2shareji  Рік тому

      Could you please share with some screen shot to my Email me if you have still issues.

  • @mdsaber6315
    @mdsaber6315 Рік тому

    Thank you so much!

  • @ron693
    @ron693 Місяць тому

    Best one❤ty

  • @yuvarajg4297
    @yuvarajg4297 2 роки тому

    nice info brother

  • @vivandh1404
    @vivandh1404 11 місяців тому

    one Correction, ur code was going loop
    so when i applied this at last of code in exapnd method, it wasnt going loop
    CONSTANTS : c_expanded_tech_clauses TYPE string VALUE 'NAVHTOI1,NAVHTOI2'.
    INSERT c_expanded_tech_clauses INTO TABLE et_expanded_tech_clauses.
    By the Way, Thanks u very much sir for giving Clarity.

    • @just2shareji
      @just2shareji  11 місяців тому

      Thank you Vivek for letting me know this.. Appreciate

  • @omkar575
    @omkar575 Рік тому

    Hi can you please explain the pagination also sir

    • @just2shareji
      @just2shareji  Рік тому

      I am not sure, could you please check the playlist for pagination. - we can achieve with TOP and SKIP options.

  • @manikantaprathi6
    @manikantaprathi6 2 роки тому

    I have added the overall data to er_entity successfully but while executing it's showing internal server error, Please help me in this problem

    • @manikantaprathi6
      @manikantaprathi6 2 роки тому

      @@just2shareji thank you for your response and my issue was resolved

  • @satyampandey6467
    @satyampandey6467 Рік тому

    I am following the same step and get the data in header but their is no data in item table.
    "Aktyp" : "",
    "Insobject" : "PO-Test01-01",
    "InsobjectCategory" : "10",
    "InsobjectDescription" : "Test Policy",
    "InsobjectExt" : "",
    "UsernameBusinessCreate" : "",
    "ObjectReference" : "Product 123",
    "BasecontractType" : "",
    "BasecontractId" : "",
    "BasecontractItemType" : "",
    "BasecontractItemId" : "",
    "BasecontractBusinessSystem" : "",
    "ValidFrom" : "",
    "Partner" : "",
    "PartnerExt" : "",
    "insocreatetopartnernav" : {
    "results" : [
    ]
    },
    }
    I am getting the data on debugging time in 'insocreatetopartnernav' , but after full execution at sap gateway my 'insocreatetopartnernav' is empty.
    What are the possible reason for this issue.
    Thanks

    • @just2shareji
      @just2shareji  Рік тому +1

      Please try to have a IF condition on entity name... because the method might call for all the entity..