Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Value of the previous cell when I double click a cell in ALV Grid.

Former Member
0 Kudos

Hi !

Suppose I have an internal table GT_ITAB and I use ALV Grid to print it on the screen. The colums are as below:

Invoice No Invoice Data Customer No Amount

[--


] [
] [

] [
--


]

90001231 15.01.2009 100024 5

Customer No Fields is Hot Spot and when I click it uses Call Transaction 'FD10N' and Skip First Screen.

But the Problem is that :

Callback subroutine that is defined for "i_callback_user_command" receives the input and

p_selfield type slis_selfield structure has the value by means of p_selfield-value.

Problem : How can I get also the value of Invoice Data Cell. I need "15.01.2009" to set the Year field of FD10n.

I know that it is possible because SAP has examples of it.

Please advice.

Erkan VAROL.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi ,

In teh structure slis_selfield there is a field tabindex , you can get the index of the record selected from this field and use this to read the internal table being displayed in the alv to get the entrired row.

Regards

Arun

1 REPLY 1

Former Member
0 Kudos

Hi ,

In teh structure slis_selfield there is a field tabindex , you can get the index of the record selected from this field and use this to read the internal table being displayed in the alv to get the entrired row.

Regards

Arun