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 is the purpose of at first and at last?
performance tuning concepts
What is the difference between synchronous and asynchronous updates?
What is lock object ? : abap data dictionary
What is meant by hot spots? : abap data dictionary
A function module can be called from a transaction screen outside an abap/4 program. State true or false. : abap modularization
In order to upload purchase order details, how you handle multiple values for a single field?
What are the different types of abap/4 programs?
Can you define a field without a data element? : abap data dictionary
What is the difference between synchronous and asynchronous update? : abap bdc
What are the function modules used in a sap script driver program?
How can we send data to external programs?
How many structures can be created in a Ztable ?
Explain how to create any functions? How to go about it?
What is the difference between abap and hr abap? : abap hr