‎2008 Sep 08 3:38 AM
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
‎2008 Sep 08 11:55 AM
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
‎2008 Sep 08 11:48 AM
Click on the documentation button of code inspector messages.
buffers are switched on for the table CSKB in technical settings of SE11.
‎2008 Sep 08 11:55 AM
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
‎2008 Sep 08 12:00 PM