Skip to Content
0
Former Member
Jul 11, 2006 at 12:03 AM

Type, Types, Data, Like

76 Views

Hi,

<b>Doubt 1:</b>

Can anybody explain me the difference between Type, Types, Data, Like in SIMPLE WORDS

and how to use them while defining Internal Table and Work Area.

I did like this

TABLES: SPFLI.

TYPES: BEGIN OF STRUCT,

CARRID LIKE SPFLI-CARRID,

CITYFROM LIKE SPFLI-CITYFROM,

CITYTO LIKE SPFLI-CITYTO,

ARRTIME LIKE SPFLI-ARRTIME,

END OF STRUCT.

DATA: ITAB LIKE STRUCT OCCURS 0 WITH HEADER LINE.

Its giving some Error, and i want to define Inter Table an d Work Area seperately.

Please explain me in SIMPLE WORDS.

<b>Doubt 2:</b> in SELECT-OPTIONS

INITIALIZATION.

TABLES: SPFLI.

SELECT-OPTIONS: PARRTIME FOR SPFLI-ARRTIME.

PARRTIME-SIGN = 'I'.

PARRTIME-OPTION = 'BT'.

PARRTIME-LOW = 200000.

PARRTIME-HIGH = 240000.

When i activate and run, in select options its showing

PARRTIME 00:00:00 TO 00:00:00

What is solution.

Thanks

Jen