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

ALV - Maybe a NEW problem to get changed data, after input from ALV

Hi all,

I have tried to search an existing post to solve this ALV problem, with key words 'ALV' and 'refresh', but I don't find the good one... so sorry if the problem have already been solved.

<u>An example of the problem and process should be more clear than words :</u>

1) CALL ALV

CALL METHOD grid1->set_table_for_first_display
     EXPORTING
               is_layout        = gs_layout
               is_variant       = gs_variant "&see below
               i_save           = x_save     "&see below
               I_BYPASSING_BUFFER = 'X'
     CHANGING
               it_outtab        = t_zppegam[]
               it_fieldcatalog  = GT_field_cat_entete[].

2) User edit values from cells from ALV.

For example, insert a new line with '+' button, and <u>fills each cells</u>.

3) The problem is that at the beginning of the PAI

there is a blank line into internal table t_zppegam,

instead of the line with the data filled into cells ALV by user

3') Internal table t_zppegam have the good data only if user clik on the button refresh of ALV, before go throw PAI.

Have any suggestions? Thank you for your help.

Best Regards,

Tony.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Feb 28, 2007 at 02:53 PM

    Hi all,

    I have just solved my problem...

    I have found this one into SE38 / BCALV_GRID_EDIT fifth program.

    data: l_valid(1) type c.
    call method grid1->check_changed_data importing e_valid = l_valid.

    Tony

    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.