Skip to Content
0
Former Member
Jan 09, 2008 at 11:04 AM

reagrding for all entries

16 Views

hi to all.

i m using for all entries.

i declared two wrk areas,n itabs.

DATA: BEGIN OF WA_ZGLG,

GROUP_NAM LIKE ZGLG-GROUP_NAM,

RACCT LIKE ZGLG-RACCT,

END OF WA_ZGLG.

DATA: BEGIN OF WA_bsis,

*DATA: BEGIN OF WA,

HKONT LIKE BSIS-HKONT,

WERKS LIKE BSIS-WERKS,

SHKZG LIKE BSIS-SHKZG,

DMBTR LIKE BSIS-DMBTR,

GJAHR LIKE BSIS-GJAHR,

MONAT LIKE BSIS-MONAT,

BUDAT LIKE BSIS-BUDAT,

  • END OF WA.

END OF WA_bsis

DATA: IT_ZGLG LIKE TABLE OF WA_ZGLG WITH HEADER LINE,

IT_BSIS LIKE TABLE OF WA_BSIS WITH HEADER LINE.

SELECT GROUP_NAM

RACCT

FROM ZGLG

INTO corresponding fields of TABLE IT_ZGLG.

sort it_zglg by racct.

IF NOT IT_ZGLG[] IS INITIAL.

SELECT hkont

WERKS

shkzg

dmbtr

FROM bsis

INTO corresponding fields of TABLE IT_bsis

FOR ALL ENTRIES IN IT_ZGLG

WHERE HKONT = it_ZGLG-RACCT.

this is code,in debug i didnt get it_bsis values,n also in where condition it_zglg-racct(did nt get d value of this field).

what is error in my program.

plz suggest me

thanks n regards

satya

.