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
What primary key and foreign key relationship
What are the problems in processing batch input sessions?
Differentiate between abap memory and sap memory?
How to convert the Unit for 'Distance' (The value from one Unit to another).
Describe the data classes?
What is gui status? How to create /edit gui status?
what is the transaction transaction for setting parameters rdisp/buffermode
What is meant by exclusive, not cumulative lock? : sap abap data dictionary
What are the uses of the information in the data dictionary? : abap data dictionary
How do you move on to the next screen in interactive reporting?
A field containing currency amounts (data type curr) must be assigned to a reference table and a reference field. Explain?
What is the function of the correction system?
How is conversion of data types done between abap/4 & db layer? : abap data dictionary
What is help view?
Which transaction code is used executing a report (type 1 program)? : abap data dictionary