Where the data captured data is stored in ALV Interactive
Reports using usercommand??
I_callback_usercommand
Answer Posted / dilip
We need pass a value to user command parameter i.e.
I_callback_user command = 'USER_COMMAND'.
Then we need to explicitly create Form ( subroutine ) with name USER_COMMAND.
FORM USER_COMMAND USING OK_CODE LIKE SY-UCOMM
SELFIELD TYPE SLIS_SELFIELD.
.
CASE COMMAND.
WHEN '&IC1'. " When ever user click on the action will be
" stored under this sy-ucomm value
*--- selfield structure will actually hold the table index of internal table/value base on which we can build our logic furter.
READ TABLE T_EKKO INTO LWA_EKKO INDEX SELFIELD-TABINDEX.
IF SY-SUBRC = 0.
ENDIF.
WHEN OTHERS.
ENDCASE.
ENDFORM
| Is This Answer Correct ? | 17 Yes | 0 No |
Post New Answer View All Answers
how to track records from data dictionary?
Difference between sy-tabix and sy-index? Where it is used?
When was the sap abap being created?
How many main windows will be there in a page window?
What is an abap/4 query? : abap hr
Explain the advantage of structures?
Folder types in smatforms? 2)What is Command line?
What is the difference between tables and structures?
What is the diff between database view and maintenance view?
How do you write a function module in sap?
What is the difference between semi-monthly and Bi-weekly payroll area
What are the different types of the variable in the sap abap?
Type casting and error handling
What is a projection view? : abap data dictionary
What is the difference between bdc_open_group and bdc_open_dataset. : abap bdc