Application Development 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: 

Print Preview in ALV not showing

Former Member
0 Kudos

Hello everyone.

I'm developing a report wich takes everything from table NAST and add some hotspots and buttons to make it more dynamic and quicker than taking the OBJKY and going to T-code to do it.

I have added in my report a button wich do Print Preview with function RV_MESSAGE_DIALOG, but what happen is that the document printed stay hidden or maybe my ALV is on top of it.

My question is: Is there any other function to do this or is this function prepared to work outside the standard?

If you need more info about how my report work just let me know.

BR!

1 REPLY 1

Jelena
Active Contributor
0 Kudos

Depending on the application, there might already be a standard SAP transaction that does this. E.g. for billing there is VF31 that shows a list of documents with output and you can do print / preview from there. Similar transactions exist for all sales and purchasing documents, I believe. Make sure you're not reinventing the bicycle.

Regarding other function, have you tried search? Google -> "print preview function site:sap.com".

Edit: when asking about ALV, we also need to specify what kind of ALV technique is used.