Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Custom control for PDF

Former Member
0 Likes
1,009

Hi

I would like to show PDF document in the z_zyx program in screen 2001. if any one have the code for this please help on this or some help docment/URL.

Regards,

Lakshmikanth.T.V

Hi

I would like to show PDF document in the z_zyx program in screen 2001. if any one have the code for this please help on this or some help docment/URL.

Regards,

Lakshmikanth.T.V

4 REPLIES 4
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
822

Check out this thread, you might want to look into the class CL_GUI_PDF_VIEWER.

Regards,

Rich Heilman

Read only

0 Likes
822

Hi Rich Heilman,

Your reply helped me to a very great extent but i would like to convert OTF to PDF from the spool and then show it in the dynpro 2001. can you help me on this. In the link which you have sent the PDF is taken from the presentation server.

Regards

Lakshmikanth.T.V

Read only

0 Likes
822

Hmmm...... not sure what the best way to go is, but one way is to use the function module to convert to PDF, then download the PDF to the presentation and then display into the container, seems like the long way around, but it might work.

Regards,

Rich Heilman

Read only

0 Likes
822

Hi Venkat,

You can use function module HR_EFI_SHOW_PDF_FORM to display the adobe form in a pop up window. Before you use this you might have to get the OTF data from the SAP Script or the Smart form by adjusting either the OPEN_FORM in the case of SAP Script or the generated function module in the case of a smartforms.

Hope this helps

Sudhi