Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2740

Extended Program Check - Syntax check warning in "Select Single"

$
0
0

Dear All,

 

I have written the following code segment :-

 

============================================================

DATA: l_mat_desc TYPE maktx.

 

SELECT SINGLE maktx FROM makt INTO l_mat_desc

  WHERE matnr EQ '000000000000000007'.

 

IF sy-subrc = 0.

  WRITE: l_mat_desc.

ENDIF.

==============================================================

 

Now when I perform an extended program check, I get the following warning:-

 

"

Syntax check warning. This warning is only displayed in SLIN In "SELECT SINGLE ...", the WHERE condition for a key field does not test for equality or the FROM clause contains a join. This means the result is possibly not unique. Internal message code: MESSAGE GSB

"

Could you please tell me the reason for the same?

 

Thanks in advance!

 

Best Regards,

Harish


Viewing all articles
Browse latest Browse all 2740

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>