Skip to Content
author's profile photo
Former Member

Read From Alv After Filter

Hi Experts,

I Want to tead The ALV after appliying a filter. that means.. if my alv contains 50 rows. after filter suppose it reduce to 10 lines. i want to read those 10 lines into an itab.

Please suggest asap

Regards

Sarath Satheesan

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    author's profile photo
    Former Member
    Posted on Sep 28, 2007 at 07:28 AM

    Hi Sarath,

    Try this code:

    DATA: lr_INTERFACECONTROLLER TYPE REF TO IWCI_SALV_WD_TABLE,

    l_VALUE type If_Salv_Wd_Table=>S_Type_Param_Get_Ui_Info.

    try.

    lr_INTERFACECONTROLLER = wd_This->wd_CpIfc_alv_invoice( ).

    catch CX_WDR_RT_EXCEPTION.

    endtry.

    if not lr_INTERFACECONTROLLER is initial.

    l_VALUE = lr_INTERFACECONTROLLER->Get_Ui_Info(

    ).

    endif.

    Regards,

    Shemim

    Add comment
    10|10000 characters needed characters exceeded