Skip to Content
0
Former Member
Nov 11, 2007 at 01:45 AM

how to create internal type

16 Views

Hi all,

I created a normal table 'ZNLMEVENTS' with 4 fields. I entered data. Now i created a function module with below code. Problem i have is i get only one record inspite of having more rows. How to get all rows shown.. i came to know its possible thru making the table as internal. I dont know how to do that. kinldy help me.

FUNCTION ZNLM_ALARAMEVENTS.

*"----


""Local Interface:

*" EXPORTING

*" VALUE(ALARMEVENTS) TYPE ZNLMEVENTS

*"----


select * from znlmevents into table alarmevents.

ENDFUNCTION.

I am very new to ABAP language.

Thanks,

Raghavendra