cancel
Showing results for 
Search instead for 
Did you mean: 

how to generate and display the pdf form as a web dynpro abap view .

Former Member
0 Kudos

<b>how to generate and display the pdf form as a web dynpro abap view</b>

Hi friends,

requirements :

1.)what classes and methods are used to do that,

2.) what function modules are required,

3.)the sequence of operation to achieve the task,

(if possible , a example code will be helpful).

thanks,

sureshbabu

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

hi im jung

thanks for read this contents.

i try to run this sample (how to generate and display the pdf form as a web dynpro abap view .)

but i cannot compile method name by displaypdf.

where is find txt base source ?

Former Member
0 Kudos

Hi,

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

please take a look at the above PDF tutorial which contains the step by step procedure to display the PDF in WD ABAP.

Regards

Ajith V

S-H
Active Participant
0 Kudos

Hi Sureshbabu,

There are different ways to do display the PDF from as WebDynpro View.

The simple which i followed was:

Run the report in background mode (using submit statement, dn't forget to give printer as LOCL), get the spool id programatically. Use the FM's CONVERT_OTFSPOOLJOB_2_PDF or CONVERT_ABAPSPOOLJOB_2_PDF.

Which returns the ouput of table tline, convert this to xtring and bind it to xtring attribute.

In view add a interactive form and bind the xstring attribute to the Interactive form.

By following the above steps, we can display the result in the PDF in WD ABAP.

Also look inthe thread

Best regards,

Suresh

Former Member
0 Kudos

Please look into the following link,

/people/thomas.jung/blog/2006/06/20/web-dynpro-abap-demonstration-videos