Skip to Content
avatar image
Former Member

cliking on individual value in a ALV column

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

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Oct 20, 2008 at 11:42 AM

    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.

    calling-a-transaction-code

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

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 20, 2008 at 11:40 AM

    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

    Add comment
    10|10000 characters needed characters exceeded