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

A field containing quantity amounts (data type quan) must be assigned to a referencetable and a reference field. Explain?

1001


How to call other programs?

1130


What is a data class? : abap data dictionary

1229


Explain the different types of screen keywords?

1135


What is the different between template and a table?

1201


How to pass data from list to report?

1039


What is runtime analysis?

1217


What are the different types of internal table?

1179


Can a transparent table exist in the data dictionary but not in the database physically?

1097


Suppose there is check box along with the rows. The requirement is, select the require check boxes and press a used defined button to save all these checked row data to another table. How can you do it?

2101


What is repository info. Systems? : abap data dictionary

1066


Some Realtime Examples on Exits .

2216


How many types of size categories and data classes are there?

1123


What is a data dictionary? : sap abap data dictionary

1008


How to insert a line into abap internal tables?

1127