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
Can you create a table with fields not referring to data elements? : abap data dictionary
In the `select' statement what is group by ?
What is bdc programming in sap?
what is call back in alv?
What are the parameter types for a method?
Can a transparent table exist in data dictionary but not in the data base physically? : sap abap data dictionary
What is luw or data base transaction ?
Describe the data classes?
What is the difference between refresh and free statements?
How to select valid lines for secondary list?
what is sap scriptview ?
Does the bdc-insert function allow multiple transactions to be processed by sap? : abap bdc
Explain the data types of internal tables?
Print options in smartforms?
singleton class