2009 Jun 23 7:49 AM
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,
2009 Jun 23 7:52 AM
2009 Jun 23 7:57 AM
2009 Jun 23 8:00 AM
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.
2009 Jul 13 10:00 AM
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.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |