Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Losing the current line in ALV using OO

Dear Gurus , I made a report using OO .

My screen has a custom container and below this i have drawn some icons.

I want when i hit a button to give a value to this icon .

I didi it but my problem is that i lose the current line in ALV when i call the screen again .

Look my code ..

......

call screen 100 .

......

&----


*& Form HANDLE_BUTTON_CLICK

&----


  • text

----


  • -->ES_ROW_NO text

  • -->ES_COL_ID text

  • -->IS_ROW_NO text

----


FORM HANDLE_BUTTON_CLICK USING I_COLUMN_ID TYPE LVC_S_COL

IS_ROW_NO TYPE LVC_S_ROID.

READ TABLE ITAB INDEX IS_ROW_NO-ROW_ID .

IF SY-SUBRC = 0 AND I_COLUMN_ID-FIELDNAME = 'MATKL' .

PERFORM CHECK_CUST. -


> i put the values in icons for the screen

CALL SCREEN 100. -


>i call the screen again ... IS IT RIGHT ?

ENDIF.

Please help ....

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question