‎2006 Aug 17 3:44 AM
I have a custom screen with an ALV output and some push buttons. When I select one of the rows in ALV and click on a pushbutton, it does go the next screen. But, if I come back and select another row in ALV, the table parameter <b>ET_ROW_NO</b> returns with no entries. Couldn't figure out myself. Can anybody please help me?
Thanks,
Chandu
‎2006 Aug 17 3:49 AM
Hi,
Try to refresh the display in the user command.
FORM USER_COMMAND
USING rv_UCOMM TYPE SYUCOMM
rs_SELFIELD TYPE SLIS_SELFIELD.
P_SELFIELD-REFRESH = 'X'
ENDFORM.
This might work...
Thanks
Naren
‎2006 Aug 17 4:31 AM
‎2006 Aug 17 7:36 AM
I aint refreshing any key. Do I have to? If so, what key?
Thanks,
Chandu
‎2006 Aug 17 7:42 AM
Hi,
In your PBO during creation of your object, maintain a flag. Consider the following :
IF FLAG = 'X'.
CREATE OBJECT DUMMY....
CALL METHOD DUMMY->SET_TABLE_FOR_FIRST_DISPLAY....
ENDIF.
If you maintain this, the object will not be initialised every time.
Try this and if helpful reward points.
Courtesy : Sakthi Seithur
Regards