SAP SQL INJ ADBC SCRTY
Get Example source ABAP code based on a different SAP table
SQL Injections Using ADBC
When
To prevent SQL Injections, make sure that SQL statements passed to ADBC contain as few parts as possible that originate from outside of the program. If the statements do contain parts from outside the program, the content of these parts should not be chained to the SQL statement. Instead these content should be addressed using the
Example ABAP Coding
In the following program section, the key value
ABEXA 01273
ABAP_EXAMPLE_END
Example ABAP Coding
In this example, the same functionality is used as in the previous example. Here it is not necessary to mask the value, because the input is connected to a parameter (and not chained).
ABEXA 01274
ABAP_EXAMPLE_END