Application Development and Automation 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: 
Read only

regarding report

Former Member
0 Likes
703

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?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
680

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

7 REPLIES 7
Read only

former_member156446
Active Contributor
Read only

Former Member
0 Likes
680

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

Read only

Former Member
0 Likes
680

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

Read only

Former Member
0 Likes
680

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

Read only

Former Member
0 Likes
680

HI,

U can use at line selection.

This will give you line selected .

You can use that for getting further details for selected line.

Read only

Former Member
0 Likes
681

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

Read only

Former Member
0 Likes
680

thanks