How to Use Dynamic SQL in ABAP report
Dynamic where clause You can use an internal table to build a dynamic where clause: data: where_tab(30) occurs 1 with header line, where_clause(30) type c. * Build the where clause. Will look like this when finished* WHERE ZAFSTMD02 = ‘X’ AND rbusa = ‘5145’ * With a constant, result: ZAFSTMD01 = ‘X’concatenate ‘ZAFSTMD’ zcostcheck-zmaaned ‘ … Read more