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

Report

In report we specify tables as

TABLES: ekko,ekpo......

Is it necessary to mention.bcoz in some pgms its working without mentioning the reqd table.Y it is so?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

6 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Nov 22, 2007 at 09:11 AM

    No its not necessary to mention tables like that

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 22, 2007 at 09:14 AM

    hi,

    no its not necessary, its for documentation only...

    But if u using select-options for selection criteria than its necessary to declare tables for the field u using in that.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 22, 2007 at 09:15 AM

    Hi,

    No its not, if u r using any field from these table in ur selection screen then

    u have to mentioned it.

    Regards,

    Prashant

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 22, 2007 at 09:17 AM

    Hi,

    It's necessary in case if ur referring any table fields means.

    Eg:-

    In select-options u refer the table field in ekpo . without declaring TABLES in the declaration statement.Error will be raised.

    <b>select-options num for ekpo-matnr.</b>

    Then. Tables keyword will allocate the workarea too for the corresponding table u used in select query.

    select * from ekpo.

    <b>num = ekpo-matnr.</b> *Temporary work area will created if u declare TABLES *

    endselect.

    Regards

    Bala.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 22, 2007 at 09:35 AM

    hi khanna,

    Mentioning TABLES: ekko,ekpo...... is not necessary unless and untill the select query that you are using does not have a work area to store retrived values.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 22, 2007 at 09:46 AM

    Hi Khanna,

    No it is not necessary to declare tables: to use those tables.

    Tht statement creates a fieldstring same as of the structure of the given table.

    tht fieldstring can be used as work area or if u want to use any field in tht table

    u can use by declaring like tht.

    Plzzzz reward if useful.

    Thanks and regards

    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.