User Tools

Site Tools


abap:tips

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

abap:tips [2016/07/26 14:44] – created ginkoabap:tips [2017/03/02 17:16] (current) ginko
Line 15: Line 15:
  
 Les ''CASE'' et ''WHEN'' peuvent même recevoir des méthodes fonctionnelles et des fonctions abap prédéfinies. Les ''CASE'' et ''WHEN'' peuvent même recevoir des méthodes fonctionnelles et des fonctions abap prédéfinies.
 +
 +===== String table / dynamic where clause =====
 +La méthode la plus simple pour formater une clause where dynamique :
 +<code abap>  DATA wlv_where_typo TYPE string.
 +  DATA wlt_where_typo TYPE TABLE OF string.
 +
 +  APPEND 'm~matkl LIKE wlv_matkl' TO wlt_where_typo.
 +  APPEND 'm~saiso = iv_saiso' TO wlt_where_typo.
 +
 +  CONCATENATE LINES OF wlt_where_typo INTO wlv_where_typo SEPARATED BY ' AND '.</code>
 +
abap/tips.txt · Last modified: 2017/03/02 17:16 by ginko