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

Send Surveys as (interactive) pdfs only works in SAP namespace?


does anybody have experience with the API CL_UWS_FORM_PDF_API? it seems that you can send Surveys in pdf format but only in SAP namespace.

In method GET_NEW_FORM_NAME the system always generates a pdf form, hardcoded named like 'QPDF...', which does not work in customer systems.

Is there any customising possible?

Is this a bug?



Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Oct 12, 2010 at 10:45 AM


    Inside the Method the string QPDF_ is concatenate to the form name.

    that is the reason why the form name is alwyas started with QPDF_.

    For this i will suggest two solutions.

    Solution 1: If you are using a custom program,

    Create a new custom global class and inherit the class CL_UWS_FORM_PDF_API .

    and redefine the method GET_NEW_FORM_NAME with your logic.

    Solution2: Use the Enhancement frame work.

    1. GoTo SE24 and specify the Class CL_UWS_FORM_PDF_API.

    2. Goto Class in System menu click on Enhance and specify a Enhancement Implementation

    3. Then Place the Cursor in the Method GET_NEW_FORM_NAME and goto Edit System Menu

    Select Enhancement Operations and Add Overwrite Method.

    4. It will add exit under Overwrite Exit Column.Click on it and Specify your logic.

    5. Activate it and will solve your Problem.



    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.