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

Invoice printing from customer program

Former Member
0 Likes
2,059

Hi!

My question is how is it possible to call the printing of an SD invoice output? Is there a function module for it or i just have to get the name of the output program and submit it?

Regards,

Zoltan

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,290

Hi,

There is no function module available to print the smartform, either you have to print from Transaction or by submitting the print program.

Regards,

Satish

6 REPLIES 6
Read only

Former Member
0 Likes
1,290

Hi

If you wants to use your own custom program then better write your own code to fetch the data from VBRK and VBRP and other related tables and design your own script with your own windows and data

so first freeze the output ? means what data exactly you wants to have? similar to std one.

If you need the std one then you can use the std program and form

and trigger the output from VF02 or vf03.

if it has to happen from your own custom program better write your own code and call your custom form and use

Regards

anji

Read only

0 Likes
1,290

Hi!

I don't want to rewrite all the standard or currently used scripts and programs, i just have to do the same in my program like when the user prints out the output of one existing invoice. So i get an invoice and i have to print it out in my program like in VF02 or VF03.

Regards,

Zoltan

Read only

0 Likes
1,290

to print ur invoice from VF02 just go to header click on billing document and further on to issue output from their u can print ur invoice on smart form or script as whatever is configured on your sytem.

plz reward points if helps.

regards,

rahul

Read only

Former Member
0 Likes
1,291

Hi,

There is no function module available to print the smartform, either you have to print from Transaction or by submitting the print program.

Regards,

Satish

Read only

0 Likes
1,290

Hi Satish,

my problem is when i submit the print program (perform the printer form routine in the print program) the structures which are needed by the program are not filled. So how can i fill these structures for the print program before calling the print form routine?

Regards,

Zoltan

Read only

0 Likes
1,290

Ok, so 10 point is mine.

Solution:

SUBMIT rsnast00 WITH SELECTION-TABLE lt_seltab AND RETURN.