Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Empty Internal Table

append lines of itab to ntab.

sort ntab by belnr.

Hi all,

can u plz tell me that in foll. code why ntab is showing all values but not gtab ..?

gtab is showing blank i.e. no records in it..

plzzz

thankx in advance....

delete adjacent duplicates from ntab comparing belnr.

CALL FUNCTION 'HR_IT_SHOW_ANY_TABLE_ON_ALV'

TABLES

table = ntab.

select buzei bschl belnr gsber hkont zuonr kostl dmbtr sgtxt

into corresponding fields of gtab

CALL FUNCTION 'HR_IT_SHOW_ANY_TABLE_ON_ALV'

TABLES

table = gtab.

from bseg

where belnr = ntab-belnr.

append gtab.

endselect.

Tags:
Not what you were looking for? View more on this topic or Ask a question