2009 Nov 26 3:31 PM
hi this is saroj,
my issue is about alv report.
1) two tables are there suppose vbak, vbap.
in a interactive alv report while double clicking ' vbeln ' of ' vbak ' it should show 'posnr' of vbap.
suppose in a selection screen i gave selection range 1 to 5 of' 'vbeln'.so after double clicking
the first record it should show 'posnr' related to first 'vbeln' record. but it is showing all the 5 records
of 'posnr'.so how can i get the single record after double clicking single 'vbeln'.
my code is as below.
case sy-ucomm ( or fcode type sy-ucomm).
when '&ic1'.
read table it_ekko into wa_ekko index selfield-tabindex(check this code ,i can not recall exactly this code).
perform select_data.
perform build_cat.
perform grid_dis.
endcase.
please solve the issue.
regards
saroj.
<LOCKED BY MODERATOR - USE APPROPRIATE TITLES>
Edited by: Alvaro Tejada Galindo on Dec 14, 2009 4:23 PM
hi this is saroj,
my issue is about alv report.
1) two tables are there suppose vbak, vbap.
in a interactive alv report while double clicking ' vbeln ' of ' vbak ' it should show 'posnr' of vbap.
suppose in a selection screen i gave selection range 1 to 5 of' 'vbeln'.so after double clicking
the first record it should show 'posnr' related to first 'vbeln' record. but it is showing all the 5 records
of 'posnr'.so how can i get the single record after double clicking single 'vbeln'.
my code is as below.
case sy-ucomm ( or fcode type sy-ucomm).
when '&ic1'.
read table it_ekko into wa_ekko index selfield-tabindex(check this code ,i can not recall exactly this code).
perform select_data.
perform build_cat.
perform grid_dis.
endcase.
please solve the issue.
regards
saroj.
<LOCKED BY MODERATOR - USE APPROPRIATE TITLES>
Edited by: Alvaro Tejada Galindo on Dec 14, 2009 4:23 PM
2009 Nov 26 3:44 PM
Hi Saroj,
Do as below :-
case sy-ucomm
when '&IC1'.
read table it_ekko into wa_ekko index selfield-tabindex
if wa_ekko-ebeln = selfield-value
Do further processing
endif.
perform select_data.
perform build_cat.
perform grid_dis.
endcase.
Regards
Abhii
Edited by: Abhii on Nov 26, 2009 4:44 PM
2009 Nov 26 4:02 PM
HI Saroj ,
you need to ristrict the number of records based on the selected value.
It will be easy for you, you need to just get the selected line VBELN.
Hope you get it
2009 Dec 14 5:35 AM