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

Intractive report

Former Member
0 Likes
939

I was developed a interactive, it was displayed the sales order details, when i was clicks on sales order no (only), it has to go the VA03 transaction.

But my report it works like when ever i clicks on particular SALES ORDER LINE, it is going to VA03, I don't want like this.

Ple give your suggestions.

I was developed a interactive, it was displayed the sales order details, when i was clicks on sales order no (only), it has to go the VA03 transaction.

But my report it works like when ever i clicks on particular SALES ORDER LINE, it is going to VA03, I don't want like this.

Ple give your suggestions.

7 REPLIES 7
Read only

Former Member
0 Likes
906

Hi,

I hope u are using get cursor field command

get cursor field fnam value fval.

call transaction after comparing fnam with the work area name..

ex

If fnam = 'W_VBAK-VBELN'.

Call transaction 'VA03'.

EndIf.

Read only

Former Member
0 Likes
906

You have a couple of options.

1. Output the VBELN field as a hotspot.

2. Use the command GET CURSOR FIELD.....Then do a check on the field that the user has clicked on.

You could also output the VBELN field as a different color.

Read only

Former Member
0 Likes
906

Hi,

Instead of Hide statement, use Hot spot for that particular field. It will solve ur problem.

If u still have doubt refer program demo_list_format_hotspot on abapdocu transaction.

Rewards if useful.

Regards,

U. Uma

Read only

Former Member
0 Likes
906

Hi Gouri,

Try this,

If u click somewhere else except vbeln it'll give an error <b>'CLICK ON SALES ORDER"</b>

AT LINE-SELECTION.

get cursor field d_field value d_value.

CASE d_field.

WHEN 'WA_FINAL-VBELN'.

SET PARAMETER ID: 'AUN' FIELD d_value.

CALL TRANSACTION 'VA03' AND SKIP FIRST SCREEN.

WHEN OTHERS.

message e222.

ENDCASE.

reward points if helpful,

shreya

Read only

0 Likes
906

Hi Shreya

Now it working fine, Thanks for your help.

Thanks,

Gourisankar.

Read only

Former Member
0 Likes
906

Also ,

d_field(40) type c,

d_value(40) type c,

Read only

Former Member
0 Likes
906

Hi,

Use Check.

CHECK logexp.

If you need more details on that take F1 help on Check.

Hope it would be helpful for you.

Regards,

Varun.