Skip to Content
author's profile photo Former Member
Former Member

Add New Column to custom Webdynpro & adding Download excel option

Hi,

I am practising the tutorial created by Rich heilman [https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/2868] [original link is broken] [original link is broken] [original link is broken];.

This tutorial pulls of table slfight and shows the ALV Webdynrpo output.Now I want to add a extra column eg: Username in ALV webdynpro output and also enable excel download options.

Any ideas?

rgds

Vara

Edited by: Vara K on Jan 13, 2009 8:13 PM

Edited by: Vara K on Jan 13, 2009 8:13 PM

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jan 15, 2009 at 02:25 AM

    In blog, not ALV. Just a normal Table UI element.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 15, 2009 at 07:13 AM

    Hi,

    If you wanr ALV output, first you create a dictionary structure with output fields.

    second, in 'Used Components' you have to add component alv_table of component SALV_WD_TABLE.

    third, define the context nodes, and the attributes unto it.

    fourth, attach UI Element ViewContainer in your view, to store your alv_table.

    fifth, under 'Component Usage', select alv_table, then 'Interfacecontroller', drag the node containing the data you propose to display into the 'Data' node of the 'Interfacecontroller'.

    sixth, in the window, embed the alv_table in your ViewContainer, by righ clicking and choosing the embed view option.

    Activate and run the application.

    Regards,

    Prosenjit.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 15, 2009 at 02:48 PM

    I think you need to find a different tutorial blog if you want to use ALV. There is nothing in this blog that uses ALV. Rich is only using a normal Web Dynpro table.

    In order to add another field, just extend the context node that you bind to the ALV component.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Thank you prosejit for your input.

      I finally created alv report but working on some issues.

      Like removing COPY/RESET button, Changing sequence of the output columns, adding checkbox to one of alv output column.

      Any idea?

      rgds

      Vara

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.