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

ABAP keyword testing

Former Member
0 Likes
750

Hi All,

If i have a word with me is there any way to know if that particular word is an ABAP keyword or not.

Ex: If i give 'DATA' as input i should get output as its a keyword,

If i give 'TEST' as input i should get output as not a keyword.

Is there any function module or other solution for this?

Thanks in Advance,

Hi All,

If i have a word with me is there any way to know if that particular word is an ABAP keyword or not.

Ex: If i give 'DATA' as input i should get output as its a keyword,

If i give 'TEST' as input i should get output as not a keyword.

Is there any function module or other solution for this?

Thanks in Advance,

4 REPLIES 4
Read only

GauthamV
Active Contributor
0 Likes
693

Use this transaction.

ABAPHELP

Read only

Former Member
0 Likes
693

Try FM ''ABAP_DOCU_START"

Read only

Former Member
0 Likes
693

Hi,

You can use the below function module.

TERM_KEYWORDS_SEARCH.

Take a key word FOR ALL ENTRIES, and pass this to the variable SEARCH_TERM.

For the parameter, CONTEXT, pass EN as language key.

In the import parameter, RESULT table will have this entry, under the column TEXT.

You can also restrict your search based on the component type.

Regards,

Santhosh.

Read only

Former Member
0 Likes
693

To check wheather a given word is a abap keyword or not click on that keyword and press 'F1' help, u will get to know all the details regarding that keyword.