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


Please Help Members By Posting Answers For Below Questions

How can we upload a text file having delimiters in to legacy system? : abap bdc

612


On ABAP, Did you set up a workflow? Are you familiar with all steps for setting up a workflow?

594


What is the difference between native sql & open sql? : abap data dictionary

598


What is a persistent class?

967


How to get that a secondary index is attached to a select query?

943






What is the tcode to create indexes?

589


Hat are the different types of mode (run code) in call transaction method?

573


why particularly lock object name starts with EZ OR EY?

1506


What is an “on request field” statement?

648


Name the abap/4 modularization techniques?

646


When, how and how would you control changes to standard SAP objects.

1426


While doing bdc exp va01 transaction sometime in the item level data shows only 4 items and other times it will show 6 line items, how will you maintain this kind of screen resolutions scenerio? : abap bdc

762


What are clustered tables?

610


What are the kinds of foreign key fields?

532


What is a data class? : abap data dictionary

629