2008 Jul 16 1:32 PM
Dear abapes,
I have some problem in alv grid.
I am posting my code.
DATA: BEGIN OF ITAB,
CARRID LIKE SFLIGHT-CARRID,
CONNID LIKE SFLIGHT-CONNID,
FLDATE LIKE SFLIGHT-FLDATE,
END OF ITAB.
DATA: ALV_ITAB TYPE TABLE OF ITAB,
WA_ALV_ITAB LIKE LINE OF ALV_ITAB.
SELECT * INTO CORRESPONDING FIELDS OF TABLE ALV_ITAB FROM SFLIGHT.
while selecting no datas are being fetched rather it is showing 2 columns one are showing.
one is keypart and other one is funpart.
Kindly tell me the reason.
Thanks
Ansuman
2008 Jul 17 4:44 AM
Hi,
Try this :
TYPES: BEGIN OF itab,
carrid LIKE sflight-carrid,
connid LIKE sflight-connid,
fldate LIKE sflight-fldate,
END OF itab.
DATA: alv_itab TYPE STANDARD TABLE OF itab,
wa_alv_itab LIKE LINE OF alv_itab.
SELECT * INTO CORRESPONDING FIELDS OF TABLE alv_itab FROM sflight.
Reward if helpful.
Regards,
Avishek.
2008 Jul 17 4:44 AM
Hi,
Try this :
TYPES: BEGIN OF itab,
carrid LIKE sflight-carrid,
connid LIKE sflight-connid,
fldate LIKE sflight-fldate,
END OF itab.
DATA: alv_itab TYPE STANDARD TABLE OF itab,
wa_alv_itab LIKE LINE OF alv_itab.
SELECT * INTO CORRESPONDING FIELDS OF TABLE alv_itab FROM sflight.
Reward if helpful.
Regards,
Avishek.