2009 Feb 10 6:05 AM
Hi,
I am displaying one ALV using class.
When user clicks on INSERT then user will fill the entries in cells.
When user press ENTER , validation should be done.
Can u pls help me.
2009 Feb 10 6:12 AM
Hi,
u perform those things in ur program by calling
at user-commnd.
set pf-status 'GUI'.
case sy-ucomm.
when 'INSERT.
perform insertions.
when 'ENTER'.
perform validations.
endcase.
Regards
Kiran
Hi,
u perform those things in ur program by calling
at user-commnd.
set pf-status 'GUI'.
case sy-ucomm.
when 'INSERT.
perform insertions.
when 'ENTER'.
perform validations.
endcase.
Regards
Kiran
2009 Feb 10 6:11 AM
HI
you can use case sy-ucomm
when ' ' (enter)
perform validations
endcase.
2009 Feb 10 6:12 AM
Hi,
u perform those things in ur program by calling
at user-commnd.
set pf-status 'GUI'.
case sy-ucomm.
when 'INSERT.
perform insertions.
when 'ENTER'.
perform validations.
endcase.
Regards
Kiran
2009 Feb 10 6:13 AM
2009 Feb 10 6:15 AM
I mean to say in the GRID. I am making GRID using class.
And ENTER means through KEYBOARD.
2009 Feb 10 6:19 AM
2009 Feb 10 6:25 AM
Hi Sandeep ,
i dont think u can find a event for Enter in the Custom control , what else u can do is ,,when user press enter i.e outside of screen , then refresh the ur grid by calling method refresh_display_table or check_changed_data ( check for emthod ).
ex.
call method g_grid%->check_changed_data.
call method g_grid%->refresh_table_display.
regards
Prabhu
Edited by: Prabhu Peram on Feb 10, 2009 2:26 PM
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |