Skip to Content
0
Former Member
Jul 20, 2007 at 05:47 AM

for all entries

18 Views

DATA:I_SKB1 LIKE SKB1 OCCURS 2 WITH HEADER LINE,

I_BKPF LIKE BKPF OCCURS 2 WITH HEADER LINE.

SELECT BUKRS SAKNR

FROM SKB1

INTO TABLE I_SKB1

WHERE BUKRS IN COMPCODE

AND SAKNR IN GLACCT.

IF NOT I_SKB1[] IS INITIAL.

SELECT BUKRS BELNR BLART

FROM BKPF

INTO TABLE I_BKPF

FOR ALL ENTRIES IN I_SKB1

WHERE BUKRS = I_SKB1-BUKRS.

ENDIF.

i have written the above query, syntactically its correct but its not giving any output

anybody help me pls..

Regards,

pandu...