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

Print program behind VF02

Former Member
0 Likes
597

Hi!

I am now creating a custom transaction to print the billing document instead of using vf02. What is the best approach? I went to SAPMV60A and found FMs RV_MESSAGE_DIALOG, RV_MESSAGE_PREVIEW. Also RV_BILLING_PRINT_PREFERENCE and RV_BILLING_PRINT_VIEW. Should I use these? I wonder if I can sunbit RSNAST00 and return. Or is there any other way like BDC to do this.

Apprecaite any suggestions

1 REPLY 1
Read only

Former Member
0 Likes
393

You should create a Sap script which would have the design of your billing document printout.

You can get the billing document details from VBRK and VBRP tables.

Then run this script in your report program using FMs.

open_form

write_form

close_Form.

I hope this helps.

regards

PS: reward if useful