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

PDF Issue

Hi All,

Please help me, it is very urgent!

I have created one component with tow views

Component Name: viewInvoiceComp

Views Names :searchView, ResultView

In the search view I have defined one UI element for bill id and i have created one action buttton as "Show Invoice".

After Clicking on the button "Show Invoice", we can get the invoice details in the table format for that perticular bill in the Result View.

invoice details wil be displayed in the rows ..That is.for one bill id ...it will display invoice details in one row...

Here my requirement is in the Result View, along with invoice details in the row, i need to add one more column as a link "Download in PDF". to view the invoice details in the pdf form.

Note: I have gone through the sdn material example, in that material, wdDoInit() method they have set the table fields to the pdf form...so according my requirement it will not be worked out.

Regards

Chandra

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jan 10, 2008 at 04:34 AM

    Hey Chandra,

    I happen to do the same just a week back. It is easy after you have done it.

    1. Create a new view.

    2. Add a interactive form

    3. Create an attribute called pdfSource in the node as binary.

    4. I set the display type as native and mode as generatePdf.

    5. Set the datasource as the node which contains your results.

    6. Then edit the form.

    7. Drag all the required attaributes.

    8. You have to play with the different settings there according to your needs.

    Follow the instructions in [https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8d7b9e7d-0c01-0010-2495-947691554cb7]

    Regards,

    Muthaiah

    Add a comment
    10|10000 characters needed characters exceeded

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.