cancel
Showing results for 
Search instead for 
Did you mean: 

Need to show PDF output of an invoice number on click of button in WDA

Former Member
0 Kudos

Hi All,

I have a requirement, where we have to show PDF output of an invoice on click of a button in WDA.

I created a report and tried to get the PDF data and then converted it into  xstring. and I used CL_GUI_CUSTOM_CONTAINER and CL_GUI_HTML_VIEWER to show the PDF output.


Later I called this report, from WDA on click of button, but CL_GUI* services are not supported by Web Dynpro.

Is there any other way to accomplish this task?

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Manish,

I have a very similar request you raised on "

Gowtham
Contributor
0 Kudos

Hi Manish,

You can achieve this by calling an Interactive form web Dynpro abap button click and passing values to it , actually where do you stored the PDF data ?

- Gowtham

Former Member
0 Kudos

Hi Gowtham,

Thanks for your reply.

I have PDF data in an internal table of type TLINE.

Later i convert PDF data to Xstring  and then calling the cl_gui services.

If you have any example of calling an Interactive form web Dynpro abap button click, please share.

It would be very helpful.

Gowtham
Contributor
0 Kudos

Hi Manish,

No need to call any GUI class in web dynpro abap , Kindly find the following links:

http://scn.sap.com/thread/1787951

SAPTechnical.COM - Demo scenario on Adobe Interactive Forms using ABAP WebDynpro

- Gowtham

Former Member
0 Kudos

Hi Gowtham,

Thanks for your valuable inputs.

I also got teh solution.

    

It is working perfectly fine.

Thanks for your efforts Gowtham,

Cheersss...

Gowtham
Contributor
0 Kudos

Thanks Manish , Kindly close this threat if your problem is resolved.

- Gowtham