triopark.blogg.se

Delete itab from wa
Delete itab from wa















However, we can get rid of the initial cause of the problem and it is the only right way of doing here. This message cannot be supressed, as it has been already stated in your previous question. Is there any way to suppress this insuppresible warning?įailing that, is there any way to avoid it? I can probably do so by using a temporary unsorted table as an intermediate and then just APPENDing the rows into the sorted table, but I balk at creating a useless (million-row) internal table just to bypass what seems to be a glaring oversight.

DELETE ITAB FROM WA CODE

Aside from causing useless warnings while developing, in some environments I wouldn't be able to transport code with syntax check warnings in it! I understand the reason for the warning but I know at build time with 100% certainty that no loop will be active on the internal table that I'm inserting new records into. To determine statically if a LOOP is active over "LT_TABLE_NAME"īut " Cannot be hidden using a pragma" just doesn't work for me. In the table "LT_TABLE_NAME" a row was to be changed,

delete itab from wa

However, when I add that code, I get a syntax check warning with internal message code " MESSAGE GJK", in EPC it says: Program: ZCL_CLASS Method METHOD_NAME Row: 301

delete itab from wa

As the loop I'm in has a sort order that's different from that of the sorted table, I have to use an INSERT INTO statement instead of an APPEND TO as the latter risks violating the sort order causing a dump. I am adding a new entry to a sorted internal table inside a loop.















Delete itab from wa