Skip to Content
author's profile photo Former Member
Former Member

Data statement cretaes a Structure or Table

Hi friends,

I ahve one syntax... like this...

TYPES : BEGIN OF ITAB,

MATNR LIKE MARA-MATNR,

AEDAT LIKE MARA-AEDAT,

END OF ITAB.

DATA : JTAB TYPE ITAB..

I know that JATB is work as WORKAREA.. but .my doubt is Now JTAB is a structure.. or it's a table... because.. i use type statement in the second declaration..

thanks

Babu

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • Best Answer
    Posted on Jul 02, 2007 at 11:18 AM

    Hi,

    Its a strucutre.

    COZ in your TYPES statement you are using BEGIN OF to start declaring a STRUCTURE TYPE not a TABLE TYPE

    Regards,

    Sesh

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 02, 2007 at 11:19 AM

    Its a structure.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 02, 2007 at 11:19 AM

    Hi babu,

    this would be a structure.

    regards,

    kiran

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 02, 2007 at 11:20 AM

    structure.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 02, 2007 at 11:36 AM

    Thanks

    but can we write a select statement on structure... .. i mean can we get data directly from JTAB..

    ex: select matnr aedat from mara into table JTAB.

    can i write like this..

    thanks

    babu

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.