‎2008 May 26 4:59 AM
Hello,
I am new to ABAP. I am trying to pass the the internal table to function module. For that i am referring the book "Learn ABAP in 21 Days". The the screens mentioned in that book are not same as that of the ABAP editor which i am using.
Is anybody have new document (PDF, Links etc) regarding the same??
Thanks,
Prashant
‎2008 May 26 5:07 AM
‎2008 May 26 5:07 AM
‎2008 May 26 5:08 AM
‎2008 May 26 7:27 AM
Hi,
Here is a simple example of passing an internal table "itab" to a function module "REUSE_ALV_LIST_DISPALY".
It displays the internal table data into a list format.
data : itab like ztest213 occurs 0 with header line.
tables : ztest213 .
select * from ztest213 into table itab.
loop at itab.
call function 'REUSE_ALV_LIST_DISPLAY'
exporting
I_INTERFACE_CHECK = ' '
I_BYPASSING_BUFFER =
I_BUFFER_ACTIVE = ' '
I_CALLBACK_PROGRAM = ' '
I_CALLBACK_PF_STATUS_SET = ' '
I_CALLBACK_USER_COMMAND = ' '
i_structure_name = 'ztest213'
IS_LAYOUT =
IT_FIELDCAT =
IT_EXCLUDING =
IT_SPECIAL_GROUPS =
IT_SORT =
IT_FILTER =
IS_SEL_HIDE =
I_DEFAULT = 'X'
I_SAVE = ' '
IS_VARIANT =
IT_EVENTS =
IT_EVENT_EXIT =
IS_PRINT =
IS_REPREP_ID =
I_SCREEN_START_COLUMN = 0
I_SCREEN_START_LINE = 0
I_SCREEN_END_COLUMN = 0
I_SCREEN_END_LINE = 0
IR_SALV_LIST_ADAPTER =
IT_EXCEPT_QINFO =
I_SUPPRESS_EMPTY_DATA = ABAP_FALSE
IMPORTING
E_EXIT_CAUSED_BY_CALLER =
ES_EXIT_CAUSED_BY_USER =
tables
t_outtab = itab
exceptions
program_error = 1
others = 2
.
if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
endloop.
Hope it helps.
Reward Points if useful.
Regards
Megha Sharma
‎2008 May 26 7:33 AM
Hi Genius,
Its not matter that ABAP 21 days is not same as ABAP editor,,,,the main thing is Concept.
and i think that ABAP 21 Days is the best for fresher.
So if you are not able to understand that book,,you should again read that book....
you read and read more...and also the language is very easy...
one day you will catch your problem...
Cheers....
Kind Regards
Yogesh