11 - ABAP Programming - Classical Reports - Multiple Database Tables(FOR ALL ENTRIES IN) Part4

แชร์
ฝัง
  • เผยแพร่เมื่อ 11 ก.ย. 2024
  • -Declaring a Final Internal Table of 6 Columns.
    -Moving the data of Header Internal table and Item Internal table in to Final Internal Table Using APPEND.
    -Displaying the Data From Final Internal Table.

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

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

    Sir.. you don't know what you are!!... you are really 'MESSENGER OF GOD ' for those who new to SAP ..SIR a request to you please start 'FIELD SYMBOL '... Thank you SIR

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

      Thank you very much for your kind Feedback. Sure Field-Symbols , I will cover as a part of ABAP Programming in the upcoming days.

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

    Sir, you cleared my concept of loop and read execution logic... Thanks a lot..

  • @saisshekar4167
    @saisshekar4167 3 หลายเดือนก่อน +1

    Sir , Could you please explain us this concept by using 4 tables .So it will be more understandable.
    You are way of teaching is excellent.

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

      Hello Sai - Please refer the playlist of Project Case Studies. There I explained with 3 tables - VBAK, VBAP and MAKT.
      th-cam.com/play/PLM3lhmHjSeIRh0kwuQXWx4IO2vuogr9Ng.html&si=BgZv45VJrRy9BG6b

  • @charan3059
    @charan3059 6 หลายเดือนก่อน +1

    Why you are looping lt_data? There is only one matching record right. Can we go with read statement for this.

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

      Hello Charan - The input to the program is using select-options, so we can pass multiple inputs - means multiple order numbers, so we need to go for loop only.

  • @pranjalgunjal8453
    @pranjalgunjal8453 9 วันที่ผ่านมา +1

    Sir, what if we use loop for item table first and then use read table in that loop for header table, will that work?

    • @sapabapbyrahulmehta
      @sapabapbyrahulmehta  9 วันที่ผ่านมา

      Hello Pranjal - Yes we can, but we can do this only if it is mandatory that for every order number the item data is mandatory. Example - Suppose order number 1 is in header table, but not in item table. If you put a loop on item table, order number 1 will never appear in the output. So it depends upon the scenario. Anyways, once you move forward, it is fully explained in detail.

    • @pranjalgunjal8453
      @pranjalgunjal8453 8 วันที่ผ่านมา +1

      @@sapabapbyrahulmehta Ok Sir, Understood. Thank you.

  • @user-sw3hv4hw9y
    @user-sw3hv4hw9y 20 วันที่ผ่านมา

    Hello, sir I am getting an error "lwa_data1 cannot be converted to the row type of lt_data1. The reverse is also not possible." What should I do??

    • @sapabapbyrahulmehta
      @sapabapbyrahulmehta  20 วันที่ผ่านมา

      Your internal table and work area must be of same type. Check the type of your internal table and work area.
      Either you are passing different structure for internal table and work area or you are using TYPE TABLE OF with both.
      Just cross check the video, you will get the answer.

  • @itsPranjalMalviya
    @itsPranjalMalviya 9 หลายเดือนก่อน +1

    Hi Rahul if i have 4 tables , then should i use 4 loops if i have more than 1 matching record?

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

      Yes - For One Matching Record in the Dependent table - READ Table , More than one matching record - LOOP.

  • @user-tn5pg8xm8i
    @user-tn5pg8xm8i 5 หลายเดือนก่อน +1

    Can I give loop statement to item table I’ll give read statement header table what should happen is it correct or not ….can we do like this…

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

      It will result in to data loss. if the entry is in header table, but not in item table. Suppose there is a order number 10 in header table but not in item table. When we loop on item, it will not appear in the output.

  • @shrutichakraborty2919
    @shrutichakraborty2919 2 หลายเดือนก่อน

    Can we use 'loop' for item table and 'read table' for header table?

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

      Once you proceed, I explained that part as well. You will automatically get the answer.

  • @user-ey3bj7hj9b
    @user-ey3bj7hj9b 3 หลายเดือนก่อน

    Sir if we not use for all entries then also it will fetch the records then y we are using for all entries.

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

      Please send your code of without using FOR ALL ENTRIES IN. I will explain based upon the code, so you will be able to understand in an effective manner.

  • @bhushangayake2840
    @bhushangayake2840 10 หลายเดือนก่อน

    Hello sir, if I've four tables and I am using the for all entries then in that case do I use 4 loops or is it okay if I use one loop and three read statements inside the loop?

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

      Hello Bhushan, It is totally depends upon the data of the table. If you are sure that you have exactly one matching record for the condition which you are passing, then you can go for read table, else you need to opt loop.

    • @bhushangayake2840
      @bhushangayake2840 10 หลายเดือนก่อน

      @@sapabapbyrahulmehta OK thanks sir

  • @rupeshrupi9331
    @rupeshrupi9331 8 หลายเดือนก่อน +1

    sir shall we do same process using subroutines?

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

      Hello Rupesh - The Subroutine is a modularization technique, It is totally your wish you want to use function module or Subroutines.

    • @rupeshrupi9331
      @rupeshrupi9331 8 หลายเดือนก่อน +1

      sir but how can we write the same program using subroutine I tired a lot, but iam getting only header table data

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

      @@rupeshrupi9331 Please refer the video no -29 to 35 in the Modularization Techniques playlist, I explained the same example.
      th-cam.com/play/PLM3lhmHjSeISM5OwWjUxLdjNWPqqOVivz.html&si=sCBpI9Yu0KOb7Moy

  • @InsaneGamer-lq6wc
    @InsaneGamer-lq6wc 2 หลายเดือนก่อน

    Hi Sir can we get you coaching on real time experience

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

      The question is not clear to me as in maximum videos I explained the real project work itself.

    • @InsaneGamer-lq6wc
      @InsaneGamer-lq6wc 2 หลายเดือนก่อน +1

      @@sapabapbyrahulmehta I have gone through your videos I already have knowledge on basic ABAP I want to learn more can I get coaching from you

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

      @@InsaneGamer-lq6wc Thank you for connecting, but I don't provide trainings.

    • @InsaneGamer-lq6wc
      @InsaneGamer-lq6wc 2 หลายเดือนก่อน

      @@sapabapbyrahulmehta thank you sir can I get your number I need some inputs and guidance from you.

  • @user-ey3bj7hj9b
    @user-ey3bj7hj9b 3 หลายเดือนก่อน

    Sir if we not use for all entries then also it will fetch the records then y we are using for all entries.