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

How to refresh the data

Hi friends,

I have a problem while I am executing my function module.When I enter the input the input parameters and if I execute I am getting the output.If I come back to the

input screen and if i give some other input values it is showing the same output.

But if I go to the first screen and If I execute the fm it is giving the correct output.

I think I am not clearing the output table.My output internal table is itab.

Could anyone tellme how to refresh the data and where should I write this statement , whether at the begining or after the ENDFUNCTION.

Thanks in advance,

Vishnu.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Best Answer
    Posted on Nov 29, 2007 at 08:58 PM

    In your function module if you are using the internal variables, ranges and tables than you need to first clear them before passing any new data before doing that.

    Regards,

    Naimesh Patel

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 29, 2007 at 08:38 PM

    What is your program type ?

    is it module pool ?

    if so write the refresh itab in PBO of your screen.

    if it is report then write the refresh itab in start-of-selection ( Starting).

    Thanks

    Seshu

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 29, 2007 at 08:46 PM

    Hi Vish,

    Are you using any append or modify statements? Clear work area after every append and modify statements. that will be enough.

    Regards,

    Satish

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 29, 2007 at 08:46 PM

    Try to refresh your itab

    refresh: itab[].

    -Pavan

    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.