14.01.2020 Views

ABAP_to_the_Future

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Calling BAdIs 6.5

Figure 6.27 Setting Filter Values

Figure 6.28 Adding a Specific Value for a Filter

That took some doing, but now you’re finished. Now it’s time to explain how to

call this BAdI from your own program.

6.5 Calling BAdIs

Listing 6.4 is the code for calling the BAdI. By now, you know that the filter values

for the BAdI are constants. Almost all the time, you can derive organizational

elements from a running program (e.g., getting the current country from the

249

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!