cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

Hello,

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?

Thanks,

Michael

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

HI,

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.

Thanks.

UmaS.