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
Explain how many types of tables exist and what are they in data dictionary?
What is the t-code to display batch input sessions? : abap bdc
What are pooled tables? : abap data dictionary
What actually happens in real-time recruitment? : sap abap hr
what is the t-code to link technical and functional operation?
WHY CLUSTER TABLE CALLED AS CLUSTER TABLE.
What is a data dictionary? : sap abap data dictionary
What are the control break events in abap? : abap data dictionary
how do you transport lsmw data from one system to another?
How do you validate the selection criteria of a report? And how do you display initialvalues in a selection screen?
What does an EXEC SQL stmt do in ABAP? What is the disadvantage of using it?
Can you define a field without a data element? : abap data dictionary
Explain the components of selection table?
What are the different types of locks? : abap data dictionary
What is the difference between the exits created in M.M and S&D?