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
A field containing quantity amounts (data type quan) must be assigned to a referencetable and a reference field. Explain?
How to call other programs?
What is a data class? : abap data dictionary
Explain the different types of screen keywords?
What is the different between template and a table?
How to pass data from list to report?
What is runtime analysis?
What are the different types of internal table?
Can a transparent table exist in the data dictionary but not in the database physically?
Suppose there is check box along with the rows. The requirement is, select the require check boxes and press a used defined button to save all these checked row data to another table. How can you do it?
What is repository info. Systems? : abap data dictionary
Some Realtime Examples on Exits .
How many types of size categories and data classes are there?
What is a data dictionary? : sap abap data dictionary
How to insert a line into abap internal tables?