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 structure of bdcmsgcoll? : abap bdc
What is an Unpack command?
Which database object is used for storing the system variables? : abap data dictionary
Why cant we use Normal function module for data transfer?
What is the use of a pretty printer?
Can you define a field without a data element?
What are datasets in abap?
Explain the difference between tables and structures?
What are the events in abap/4 language? : abap hr
What is the meaning of abap editor integrated with abap data dictionary? : abap data dictionary
hi,i worked mostly in core abap.know iam assigned to XI utility project.can u experts let me know what r the basic things i need to learn to work in XI utility project.i already searched in forum.thanks in advance.
How can we set the tablespaces and extent sizes ?
SAP Script for Billing in which Billing document number was displayed as header, Bill Type, Bill Category, Bill Item, Cost, Base Unit of Measurement and Material number were categorically displayed for each billing document number. plz mention the detail coding Tahnks, Rahul
What are differences between at selection-screen and at selection-screen output?
Why grouping of fields is required? What is the max no of modification groups for each field?