35 - Enhancements & Modifications - Customized New BADI - Using Filters Part1

Sdílet
Vložit
  • čas přidán 10. 09. 2024
  • -Checking the Execution of Various Implementations in Debugging Mode.
    -Creation of Filter Using SE18 Transaction Code.
    -Assign the Filter Values to First and Second Implementation.

Komentáře • 10

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

    Rahul each video is very good
    keep it up

  • @vikrant93080
    @vikrant93080 Před 21 dnem

    Hello Rahul. Thanks for the great tutorial video series across entire ABAP domain.
    I have a very basic question regarding the concept of multiple implementation BADI.
    So when a BADI has multiple implementations , the customer do not have control over the sequence of its execution. In different implementations we write different logic to populate different value in exporting/changing parameters and then control its calling through some parameter in Filter Value.
    So the question is why can't this be done using simple CASE or IF condition within 1 implementation over the Filter parameter and write the logic in respective IF condition based on the FILTER value. Why did SAP create the Multiple implementation provision and we need to implement same BADI multiple times for different Values of Filter parameter. Just for Example , in 1st implementation itself - IF country = 'USA' --> PVALUE = 'X' ELSEIF country = 'JAPAN' --> PVALUE = 'Y". Is there Business Scenario exists where we need to do multiple implementation.
    Thanks in advance.

    • @sapabapbyrahulmehta
      @sapabapbyrahulmehta  Před 19 dny

      Hello Vikrant - Thank you very much for your feedback. We can also use IF and ELSE conditions, but there are lots of disadvantages. Suppose there is a customer which has offices in India and US and there is a single implementation and we received the changes for India and US both. In that case one has to wait for the another to get the changes done. If there are separate implementations, there is no dependency and respective changes can be done independently that's why we prefer to do separate implementation.

    • @vikrant93080
      @vikrant93080 Před 15 dny +1

      @@sapabapbyrahulmehta Thank you so much for the response. It makes sense.

  • @RR-eu1sq
    @RR-eu1sq Před 6 měsíci +1

    sir instead of creating new implementation for value y can we edit the first enchancement implementation and we can give new Badi implementation and class under first new badi implementation and class.

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

      Yes You can , as enhancement implementation is the container for BADI implementations.

  • @jans475
    @jans475 Před 9 měsíci +1

    hello sir in case of filter concept what answer interviewer expect from our side.

  • @RR-eu1sq
    @RR-eu1sq Před 6 měsíci

    Bcz here we are using same Badi def and same method.if u see plz rply sir.i waiting