Posts

Showing posts with the label SAP Dynamic Selection

Dynamic Table Selection

REPORT zdany_dynamic_select. * We use some parameters to dynamically control the select, this is not very * clever but this is just a test program !! PARAMETER : p_tabnam TYPE tabname DEFAULT 'SFLIGHT',             p_selfl1 TYPE edpline DEFAULT 'CARRID',             p_selfl2 TYPE edpline DEFAULT 'CONNID',             p_selfl3 TYPE edpline DEFAULT 'FLDATE',             p_selfl4 TYPE edpline DEFAULT 'PRICE',             p_selfl5 TYPE edpline DEFAULT 'CURRENCY',             p_where1 TYPE edpline DEFAULT 'PRICE > 300',             p_where2 TYPE edpline DEFAULT 'AND CURRENCY = ''EUR'''. FIELD-SYMBOLS :  TYPE ANY TABLE,                  TYPE ANY,                  TYPE ANY. ...