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

how can i know the number of lines in field-symbol internal table

how can i know the number of lines in field-symbol internal table

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 Sep 09, 2009 at 04:38 AM

    Hi,

    If your field symbol has been defined as an internal table :

    Use std describe as

    Data: l type i.

    describe <fs> lines l.

    'l' will contain the number of lines as needed.

    FYI

    The size of this storage area in a field symbols depends on the number of table lines which is not fixed, but determined dynamically at runtime.

    Regards,

    Amit

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 09, 2009 at 06:07 AM
    num_lines = lines( <table> ).
    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 09, 2009 at 06:24 AM

    Hi Rama,

    Check out with this [Link|http://help.sap.com/saphelp_nw04/helpdata/en/7b/fb96c8882811d295a90000e8353423/frameset.htm]

    Hope, it would help you.

    with regards,

    Mamta Kumari

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 09, 2009 at 06:38 AM

    describe lines <field symbol> will give u the number of lines.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 09, 2009 at 06:45 AM

    Hi,

    You can use DESCRIBE statement as we use for internal tables.

    Rgds,

    Sripal

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 23, 2009 at 10:43 AM

    thanks'

    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.