Skip to Content
avatar image
Former Member

Write back BADI with 2 filters

Hi , I want to call the Write back BADI for Input schedule and only imports to the cube. Thinking if this is possible I added 2 filters to the BADI . But the problem is when i input the data through input form the BADI is triggered , not triggered when i run the import package.


capture.png (12.9 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Dec 09, 2016 at 02:54 PM

    Sorry, but it's working with DM! Just insert the endless loop at the beginning of your badi code and in SM50 you can debug the triggered badi code.

      DATA i_d TYPE C. " for bg debug.
    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Vadim,

      Thanks for replying. I don't see anything in the SM50. I guess the WB BADI is not executed at all if start the import Package.

  • Dec 09, 2016 at 03:31 PM

    It's executed! Just checked in my system :) And can see and debug with endless loop using SM50.

    Please check other filter values, may be some error here...

    Model and Environment names are case sensitive!

    Add comment
    10|10000 characters needed characters exceeded

    • Create a simple test case with transactional data import from text file. Run it and check the log to ensure that some records are written to cube. The uncomment endless loop and run the package again. Look on SM50 - don't forget to refresh the screen of SM50.

      You will see the badi triggered!

      sm50.png (116.2 kB)