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 are matchcodes?
What are the dynapro keywords?
What are aggregated objects
What are the drill-down features provided by abap/4 in interactive lists?
What is append search help? : sap abap data dictionary
How to transfer the objects? Have to transferred any objects?
What are the parameters used in each function?
What are the events in screen programming?
Can we create a gui status in a program from the object browser?
Name some data dictionary objects?
Explain what are standard layouts sets in the sap script?
What is buffering in abap?
What are the function modules used in a sap script driver program?
What is the symbol to do “concatenation” operation in nw abap 7.4 ?
What are user exits? What is involved in writing them? What precations are needed?