Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Line item issue

Former Member
0 Likes
369

Hi,

I used a custom program.it displays the sales order details.we can change/view the details.If I have more Line items it populating more than one page.After scroll down if i select any cell and enter on it, it is comming to begining of the page. It is not staying at the place where I clicked(double click or Enter).

Is there any way to stay the cursor at the same place after enter or double click also.

Please any one can reply for this.

Thanks

Murali

Hi,

I used a custom program.it displays the sales order details.we can change/view the details.If I have more Line items it populating more than one page.After scroll down if i select any cell and enter on it, it is comming to begining of the page. It is not staying at the place where I clicked(double click or Enter).

Is there any way to stay the cursor at the same place after enter or double click also.

Please any one can reply for this.

Thanks

Murali

1 REPLY 1
Read only

Former Member
0 Likes
340

Assuming you are using OO ALV... Call the REFRESH_TABLE_DISPLAY method with STABLE parameter as below


  DATA LS_STABLE TYPE LVC_S_STBL.

  IF gr_container IS INITIAL.
...
    set_table_for_first_display
...
  ELSE.
    LS_STABLE-ROW = 'X'.
    LS_STABLE-COL = 'X'.
    CALL METHOD gr_alv->refresh_table_display
      EXPORTING
        IS_STABLE     = LS_STABLE
      EXCEPTIONS
        finished       = 1
        OTHERS         = 2.
  ENDIF.