HANA SQL- Internal Table Operation-5

light111Use APPLY_FILTER( )  Function


APPLY_FILTER( ) function can be used on internal table or DB tables to get all the items that match the filter condition.

In below the APPLY_FILTER( ) is applied on the DB table and then on the internal table.

1

Program that calls the AMDP Procedure method.

2

The debug details-  The DB table consists of 26 records for the client and it gives back the result where the FLTYPE = X.

Result filter table – when filter is applied on the DB table.

3

Result filter table – when filter is applied on the internal table.

4

The source internal table-

5


 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s