Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 to track records from data dictionary?

2095


Difference between sy-tabix and sy-index? Where it is used?

945


When was the sap abap being created?

1153


How many main windows will be there in a page window?

969


What is an abap/4 query? : abap hr

1088


Explain the advantage of structures?

969


Folder types in smatforms? 2)What is Command line?

2424


What is the difference between tables and structures?

1134


What is the diff between database view and maintenance view?

1051


How do you write a function module in sap?

1075


What is the difference between semi-monthly and Bi-weekly payroll area

3460


What are the different types of the variable in the sap abap?

1134


Type casting and error handling

1429


What is a projection view? : abap data dictionary

1073


What is the difference between bdc_open_group and bdc_open_dataset. : abap bdc

1175