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

ALV grid Control

Hi All,

In a report there two screens with custom containers ,when i execute and navigate from screen1 to Screen2 i am able to select row of grid of screen2 and getting index correctly .But when i navigate back from Screen2 to Screen 1 then from screen 1 to screen 2 there if i select a row of grid of screen2 i am not getting index value as 1 it is always 0.The navigation of one screen to another screen is through button on application tool bar.Can u please help in resolving this problem

Thanks in advance.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Oct 14, 2010 at 04:55 AM

    To Capture the index of the selected cell use the method Check_changaed data of class CLGUI_ALv_GRId

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 14, 2010 at 06:49 AM

    Hello Aruna

    Have a look at blog [Against All Odds - Programming of Communicating ALV Grid Controls|http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/21504] [original link is broken] [original link is broken] [original link is broken];

    Perhaps the sample report helps you to overcome your problem.

    Regards

    Uwe

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 14, 2010 at 09:56 AM

    Hi aruna,

    try to check the values of count variables(if you have used for checking the index and screen no), u might have assigned a constant value, and put some incrementor whose value increases as u click the button.

    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.