‎2008 Jul 11 6:34 AM
hi
i have make 1 report in which i want: if will click on some field in output display then i can able to see details about that particular field...............which concept i should use?
‎2008 Jul 11 6:48 AM
Hi Rahul,
If you want tomake your repert interactive then you can use the command *"set hotspot on".
Following code may be helpful....
at line-selection.
get cursor field field_name value field_value.
if field_name eq 'ITAB_ZVBAP-ZVBELN'.
call transaction 'ZVA03_101917'.
endif.
Rward if helpful.
Thanks,
Manish
‎2008 Jul 11 6:37 AM
‎2008 Jul 11 6:45 AM
hi
i have make 1 report in which i want: if will click on some field in output display then i can able to see details about that particular field...............which concept i should use?
Hi ,
u have to make your report interactive for this purpose. in ur report u can follow these code lines :
AT LINE-SELECTION.
GET CURSOR FIELD fvalue VALUE s_zvbeln.
IF fvalue CS 'itab1-zvbeln'.
SET PARAMETER ID 'sal' FIELD itab1-zvbeln.
CALL TRANSACTION ' name of ur transaction' AND SKIP FIRST SCREEN.
This is an eg. u can put fields name according to ur report requirnments.
i hope it will help u.
regards
saurabh
‎2008 Jul 11 6:45 AM
HI Rahul,
Write the code for the second list (when clicked on first list) in the AT LINE-SELECTION Event.
Suppose you have VBAK data in first list and if you click on a Sales order then you need Iteam(VBAP) details,
write the following in AT LINE-SELECTION.
Select * from VBAP
into table it_vbap
where vbeln = it_vbak-vbeln.
Now write the fields using WRITE.
Hope this helps you.
Regards,
Chandra Sekhar
‎2008 Jul 11 6:46 AM
HI,
for that u need to capture the ucomm and write a case as
CASE r_ucomm.
WHEN '&IC1'.
PERFORM call_transaction USING rs.
ENDCASE.
CLEAR r_ucomm.
and accordingly call the accociated transaction.
regards,
babu
‎2008 Jul 11 6:46 AM
HI,
U can use at line selection.
This will give you line selected .
You can use that for getting further details for selected line.
‎2008 Jul 11 6:48 AM
Hi Rahul,
If you want tomake your repert interactive then you can use the command *"set hotspot on".
Following code may be helpful....
at line-selection.
get cursor field field_name value field_value.
if field_name eq 'ITAB_ZVBAP-ZVBELN'.
call transaction 'ZVA03_101917'.
endif.
Rward if helpful.
Thanks,
Manish
‎2008 Sep 17 2:02 PM