Search found 2 matches

by androb
Sun Feb 16, 2014 4:57 pm
Forum: ABAP
Topic: Fetching field names from work area
Replies: 5
Views: 1719

Re: Fetching field names from work area

Hi, You can use a DO cycle for each record: FIELD-SYMBOLS: <lv_field> TYPE ANY. DO. * ls_record is the currently processes record of the select statement ASSIGN COMPONENT sy-index OF STRUCTURE ls_record TO <lv_field>. IF sy-subrc NE 0. EXIT. ENDIF. * here you can do anything with <lv_field> ENDDO. R...
by androb
Sun Feb 16, 2014 4:53 pm
Forum: ABAP
Topic: SQL command as string
Replies: 3
Views: 1950

Re: SQL command as string

Hi,

Grogan is right, this is possible. Until 7.00 not all syntax variations were accepted thoug. For example, subqueries are not supported. I'm not sure about 7.02 and 7.40.

Regards,
Andy