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

Empty Table

Hi all,

I'm new to ABAP and I tried to call a function module and provide that module with a table declared on the tables stripe. As the debug of the program shows, before I called the function module the ITAB is filled, but within the function module the ITAB is empty.

Any hints? What do I wrong??

Regards

Björn

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    Posted on Nov 23, 2004 at 01:24 PM

    Hi,

    TABLES parameters are (obsolete) formal parameters that are typed as internal standard tables with header lines.

    If an internal table without header line or a table body is transferred as an actual parameter to such a formal parameter, then an empty local header line is generated in the procedure. If an internal table with header line is used as the actual parameter, then both the table body and the header line are passed to the procedure.

    A header line is an obsolete work area of an internal table, which has the same line type and the same name as the internal table.

    Header lines are a common source of confusion. You distinguish header lines from the table body by adding [] to the table body.

    Maybe that helps.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 23, 2004 at 01:09 PM

    Hi Björn,

    Could you please post the coding of calling the FM to clarify you problem?

    Regards,

    John.

    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.