on 10-04-2010 3:46 PM
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.