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

Output Type

Former Member
0 Likes
617

Hi All,

I have a requirement where the users would click on the Invoice number on the ALV List. The users expect the invoice to be displayed in PDF format . Is there any function module which I can use?

Thanks...

1 ACCEPTED SOLUTION
Read only

Arockiadoss
Explorer
0 Likes
591

I am not sure how far this work-around would help you: the FM CONVERT_ABAPSPOOLJOB_2_PDF converts any given spool ID into a PDF document.

May be, upon clicking the Invoice Number in ALV, you need to print it in the background, capture its spool ID and pass it on to the above FM.

2 REPLIES 2
Read only

Arockiadoss
Explorer
0 Likes
592

I am not sure how far this work-around would help you: the FM CONVERT_ABAPSPOOLJOB_2_PDF converts any given spool ID into a PDF document.

May be, upon clicking the Invoice Number in ALV, you need to print it in the background, capture its spool ID and pass it on to the above FM.

Read only

former_member191735
Active Contributor
0 Likes
591

Upon clicking on invoice number, why dont you call transaction VF31 in background. Fill all the parameters in background. If that is not possible, use submit program command skip first screen. Fill required selection screen parameters in the program.

Or if you want to write program urself to create pdf, pleas search this forum there are too many threads on this.