cancel
Showing results for 
Search instead for 
Did you mean: 

cliking on individual value in a ALV column

Former Member
0 Kudos

Hi

I have a ALV report developed in ABAP WD. lets say i have 10 columns and one of the column contains sales order numbers. my requirelement is , the user would be able to click on one of the values in sales order column and in a new window the sales order should be displyed ( va03 tcode). how can we do this. any sample code.

thanks

Edited by: sudhakar murthy on Oct 20, 2008 12:40 PM

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Sudhakar,

You can do this using LinktoAction URL Ui element when you click SalesOrder Number.But you cann't use Call Transaction statement to call the VA03 from Web Dynrpo ABAP.

check this blog how to give Link URL to Action to sales orer.

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/snippets/webDynproABAP-UsingUIelementsinALVcomponentcells

To call transaction code you have to create an iView for Tcode VA03 in portal and call the iView from your application,to do this check this Forum thread.

OR create an RFC Function module to call the transaction code.then use that Function module from your application

Answers (1)

Answers (1)

uday_gubbala2
Active Contributor
0 Kudos

Hi Sudhakar,

Go through this [blog |https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/bd28494a-0801-0010-45a3-fc359d82d3e8]for information on how you can handle the onClick event of the ALV. Once you manage to extract the sales order number the user has clicked up on you can then display the details in a popup window. You cannot directly call the VA03 TCODE from WDA.

If you are working in Portal, you can create Transactional iView for VA01 and in Web Dynpro you can navigate to this page using Portal API IF_WD_PORTAL_INTEGRATION

You have a Web Dynpro Version of VA01 by name LORD_MAINTAIN_COMP in WDA. May be check around if you an equivalent version for VA03. You can then navigate to that web dynpro ABAP component.

You could also call the VA03 transaction via the Integrated ITS (SAPGUI for HTML) via a normal linkToURL or Exit Plug.

Regards,

Uday