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

Select Statement error

Former Member
0 Likes
681

Hi Experts,

I wrote my select statements as follows. But when I do code inspector check i get the following warning message. Can anyone help me with this issue.

Thanks in advance.

SELECT agjahr aperbl aversn bkostl bkokrs akstar

awrttp abeknz awkg001 awkg002 a~wkg003

awkg004 awkg005 awkg006 awkg007 a~wkg008

awkg009 awkg010 awkg011 awkg012 a~wkg013

awkg014 awkg015 a~wkg016

INTO CORRESPONDING FIELDS OF TABLE gt_sapgl_to_cim

FROM cosp AS a INNER JOIN cskb AS b

ON akstar = bkstar

WHERE b~kostl IN s_kostl

AND a~gjahr IN s_gjahr

AND a~kstar IN s_kstar

AND b~kokrs = '1000'.

Warning displayed is:

Program ZRGAI_SAPGL_TO_CIM Include ZRGAI_SAPGL_TO_CIM Row 503 Column 35

Buffered Table CSKB in a JOIN

==> Buffered Table CSKB in a JOIN

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
621

Hi Nani,

First of all this is a warning message as you have stated in your query and i think there should be no need to worry.

Secondly if you check the 'Technical Settings' of both the tables you will see that one of the tables is buffered (CSKB) and one of the tables is not buffered (COSP). Since you are joining both these tables the system is detecting an inconsistency and displaying the following message.

If you really need to remove this message you can do the foll :

1. First select data from COSP into a certain table.

2. Select data from CSKB for all entries in COSP into another table.

This will be same as inner join but will result in no Code inspector error i hope

Regards,

Pramod

3 REPLIES 3
Read only

Former Member
0 Likes
621

Click on the documentation button of code inspector messages.

buffers are switched on for the table CSKB in technical settings of SE11.

Read only

Former Member
0 Likes
622

Hi Nani,

First of all this is a warning message as you have stated in your query and i think there should be no need to worry.

Secondly if you check the 'Technical Settings' of both the tables you will see that one of the tables is buffered (CSKB) and one of the tables is not buffered (COSP). Since you are joining both these tables the system is detecting an inconsistency and displaying the following message.

If you really need to remove this message you can do the foll :

1. First select data from COSP into a certain table.

2. Select data from CSKB for all entries in COSP into another table.

This will be same as inner join but will result in no Code inspector error i hope

Regards,

Pramod

Read only

Former Member
0 Likes
621

This message will come from CI if you are trying to join a buffered table.

If the performance is not a factor of requirement, ignore it.

Please check the below message.

Regards,