Skip to Content
0
Former Member
Mar 27, 2007 at 07:55 AM

Problem with FOR ALL ENTRIES IN

25 Views

This is my simple source code.

TABLES: stpo.

DATA: t_stpo LIKE stpo OCCURS 0 WITH HEADER LINE,

t_stpo_itm LIKE stpo OCCURS 0 WITH HEADER LINE,

t_stpo-stlnr = '00000058'.

t_stpo-stlkn = '00000003'.

append t_stpo.

t_stpo-stlnr = '00000058'.

t_stpo-stlkn = '00000007'.

append t_stpo.

SELECT * FROM stpo INTO TABLE t_stpo_itm

FOR ALL ENTRIES IN t_stpo

WHERE stlnr = t_stpo-stlnr " BOM No.

AND stlkn <> t_stpo-stlkn. " BOM item node number

-


The output from this source including BOM item node number 00000003, 00000007 but at SQL stlkn <> t_stpo-stlkn doesn't effected.

Could Anyone please tell me why?

Are there something wrong?

Thank you in advance.