Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

text elements in ABAP queries

Former Member
0 Likes
920

Hi All ,

Is it possible use text elements in ABAP queries. if

possible could you please provide the way.

Thanks in Advance.

Thanks & Regards,

Chandra Mohan

1 REPLY 1
Read only

0 Likes
542

Hi Chandra,

It is possible to use text elements in ABAP Queries. For use of text-symbols in a query, consider the following example:

DATA: lt_scarr TYPE TABLE OF scarr.
SELECT * FROM scarr INTO TABLE lt_scarr WHERE carrid = text-001.

text-001 is defined as 'LH'.

For use of selection-texts with select options in a report, consider the following link:

http://help.sap.com/saphelp_sm32/helpdata/en/e3/960a0beb0711d194d100a0c94260a5/content.htm

Best regards,

Georg