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

Conversion of Smart form to PDF in Webdypro UI

Hi Gurus,

I want to display a smart form as PDF by converting OTF to PDF and thereby passing the PDF format data to Interactive Form UI element in a Webdynpro application (via portal iview). Do I need ADS server for publishing the OTF converted PDF data in the Interactive Form UI element of the WDA framework.

Is there a better way to display a smartform in Webdynpro application by avoiding ADS?

Regards,

Subhadip

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 15, 2009 at 10:10 AM

    Hi Thomas,

    Great to see reply from you. I still cherish the memories of your TechEd sessions that I have attended in 2007.

    Well back to the topic I'm able to publish a Smartform as PDF via OTF conversion and passing the binary PDF string to pdfsource. While I'm testing the webdynpro application in the WebAS backend I can see the PDF screen with data but when I'm trying to run it from prortal as an iview I can only see a blank screen even without the PDF container. Can you please suggest me whether ADS is a requirement in this kind of scenario (ie portal integration via iview) or this different issue altogether. In case if you feel it's not due to ADS can you please give me a clue on the issue.

    Regards,

    Subhadip

    Add a comment
    10|10000 characters needed characters exceeded

    • ADS has nothing to do with this. If you supply a pdfSource then no call to ADS will occur. If it did try to call ADS and none existed you would get a short dump instead of just a blank screen.

      If it works standalone, then it should work in the portal. Issue must be somewhere else, but it is difficult to say where. Do any of the SAP sample interactiveForms applications work in your Portal? Do any other non interactiveForm applications work in the Portal? Make sure that you don't have the interactiveForm marked as interactive - no reason to do so with such a conversion and it could lead to problems if it is trying to use the old acf based active-x control within the portal.

  • Posted on Jan 14, 2009 at 12:59 PM

    >Do I need ADS server for publishing the OTF converted PDF data in the Interactive Form UI element of the WDA framework.

    No this doesn't require The ADS. ABAP has long had the functionality to convert OTF to PDF before the ADS was part of the architecture. When you use the interactiveForm UI element and supply a binary string with the PDF content for the pdfSource property, then no call is made to the ADS. The raw content you have bound to the UI element is used for the output.

    Add a comment
    10|10000 characters needed characters exceeded

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

    Hi Shubhadip,

    Do check following document to display smartform in web dynpro:

    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0de1eb8-0b98-2910-7996-8a3c2fcf6785

    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.