‎2008 Jan 29 3:13 AM
Hi all, i understand that there's such a SYNTAX-CHECK keyword in ABAP programming. how do i use it? i'm actually writing a program that allows users to key in ABAP codings in a text editor, check for syntax error before saving into a table.
please help me as i'll reward handsomely for any help rendered. thanks ((:
Leslie
‎2008 Jan 29 2:13 PM
Leslie - this would be extremely dangerous. A user would be able to sabotage your system with very little difficulty and no audit trail.
Why not use ABAP Query or Report Writer?
Better check your requirement with management.
Rob
‎2008 Jan 29 3:17 AM
‎2008 Jan 29 3:22 AM
Hi Rich Heilman,
i don't get your meaning of "it clearly states that it is for internal use only. ;)"
sorry 😛
Leslie
‎2008 Jan 29 3:27 AM
Hi,
This keyword is not to be used by the ABAPers. They are used by only SAP. Thats why it is referred as internal use only.
Regards,
Atish
‎2008 Jan 29 3:28 AM
That's funny, looks like it has been removed from the new version of SAP Help, but here is what it used to say.
SYNTAX-CHECK
Note
This statement is for internal use only.
Incompatible changes or further developments may occur at any time without warning or notice.
Basic form
SYNTAX-CHECK FOR itab ...MESSAGE f ...LINE g ...WORD h.
Regards,
Rich Heilman
‎2008 Jan 29 3:45 AM
whoa. i saw this line of codes "SYNTAX-CHECK FOR itab ...MESSAGE f ...LINE g ...WORD h." before and wanna implement to my program. seems that i can't use it now. haha.
i understand there's some syntax check FM like RS_SYNTAX_CHECK, etc. how do i use them? is there a sample code available? is there a transaction code for me to view the components inside it?
thanks (:
Leslie
‎2008 Jan 29 7:12 AM
hi Rich Heilman,
is there any other same function modules or keywords that does the same as SYNTAX-CHECK?
thanks (:
‎2008 Jan 29 2:13 PM
Leslie - this would be extremely dangerous. A user would be able to sabotage your system with very little difficulty and no audit trail.
Why not use ABAP Query or Report Writer?
Better check your requirement with management.
Rob