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

general

Former Member
0 Likes
779

hi all

what is

set extend check off.

what does it do

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
749

Hi

It's a tool to check the program, here the system does several controls (not only the syntax checking).

For example it checks if fms are called correctly, if all variables declarated are used.

So there are some kinds of error you don't want to consider as errors, you can use that statament to hide them. In this way the system'll skip them while doing extended check.

For example:

WRITE: 'Bye Bye'.

It wont't get any dumps, but the system consider it an error because it doesn't use a text symbol to write a texts (so it can't translate it).

If you wan't to see it when you check your progtam:

SET EXTENDED CHECK OFF.

WRITE: 'Bye Bye'.

SET EXTENDED CHECK ON.

Max

5 REPLIES 5
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
749

This turns off the "Extended ABAP syntax checker", it is a deeper syntax checker which helps in writing correct code.

The correct statement is.

set extend<b>ed</b> check off.

REgards,

Rich Heilman

Read only

0 Likes
749

ok then what does it do

Read only

0 Likes
749

BTW, the extended check program is transaction SLIN.

Regards,

Rich Heilman

Read only

Former Member
0 Likes
750

Hi

It's a tool to check the program, here the system does several controls (not only the syntax checking).

For example it checks if fms are called correctly, if all variables declarated are used.

So there are some kinds of error you don't want to consider as errors, you can use that statament to hide them. In this way the system'll skip them while doing extended check.

For example:

WRITE: 'Bye Bye'.

It wont't get any dumps, but the system consider it an error because it doesn't use a text symbol to write a texts (so it can't translate it).

If you wan't to see it when you check your progtam:

SET EXTENDED CHECK OFF.

WRITE: 'Bye Bye'.

SET EXTENDED CHECK ON.

Max

Read only

ferry_lianto
Active Contributor
0 Likes
749

Hi Kiran,

Please check this example from SAP Help perhaps it may help.

The statement SELECT SINGLE reads a single line from the database table TDOKUIMGR. Although this table has several key fields, the entry in the NODE_ID column of the WHERE condition is unique. The warning in the extended program check that the specified key may not be unique is therefore deactivated.

...

SET EXTENDED CHECK OFF.

SELECT SINGLE ref_object

FROM tdokuimgr

INTO docu_object

WHERE node_id = node_key.

SET EXTENDED CHECK ON.

Regards,

Ferry Lianto