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

smart form invoice

Former Member
0 Likes
1,564

Hi All!

can any one help using smart forms . i am supposed to create an invoice using smart forms. r there any std. programs like tht exists in sap scripts. plz do help me.

thanx in advance.

with regards,

DurgaPrasad.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,298

Hii

set this

<b>i_control_param-PREVIEW = 'X'.</b>

Whenever you display a form through a related Transaction(e.g: VF02) YOU get a window on which you have to press the 'Print Preview' button . On pressing that u get another window with print options(like 'Print Immediately' , 'Delete after Output') . You have to press the Print Preview button in this window(again) to view the smart form.

Regards

Naresh

Hi All!

can any one help using smart forms . i am supposed to create an invoice using smart forms. r there any std. programs like tht exists in sap scripts. plz do help me.

thanx in advance.

with regards,

DurgaPrasad.

8 REPLIES 8
Read only

Former Member
0 Likes
1,298

Hi Durga,

here you go..

Smartform: LB_BIL_INVOICE

Print (driver program): RLB_INVOICE.

I spent a lot of time on invoices and buzz me if you have any questions.

Regards,

Ram.

Read only

Former Member
0 Likes
1,298

Hii

Smart Forms based on a invoice list (transaction VF23)

<b>LB_BIL_INVOICE</b>

and

program <b>RLB_INVOICE</b>

Tools -> Word processing -> Layout sets.

Utilities -> Copy from client

• Enter the name of the layout set in layout name.

• Enter target layout set name

• Click execute

The SAP standard layout set uses D German as the original language. In order to modify the copied layout set, the original language of the set must be changed to the language in which you are working.

To convert language:

Utilities – Convert original language

Click OK.

You will have to configure your TEMPLETE nodes

Regards

Naresh

Read only

0 Likes
1,298

how ca i c the print preview i understand tht it is a mail configured prog. how to c the print preview.

thanx in advance.

Read only

0 Likes
1,298

If you are using VF02 tcode, just enter the invoice number and dont go inside tcode. on the main screen you have to follow this path.

Billing Documnet -> Issue Output to -> Screen.

Then enter the corresponding details.

Regards,

Ram

Read only

0 Likes
1,298

dear ram,

thanx for ur advice . actually im a beginner in smart forms . i worked on billing docs (vf01,vf02,vf03). but i didnot understand how is smart form being accessed here. u provided me with the form and print program .isn't it like we dont execute the print program to c the form output.plz be clear coz im getting struck and im working alone on R&D server.so i dont have any specifications like tht.plz help in this regard.

thanks in advance

DurgaPrasad

Read only

0 Likes
1,298

Hi Durga Prasad,

Dont worry. Smartform or Scripts are much much easier work to do for ABAP programmers.

The details i have provided here are standard forms. follow the path to place output type in billing document.

Choose billing document in VF02 and press ENTER.

Now choose the Menu path: GOTO -> Header -> Output. You will get a new screen.

Now place the cursor under output and enter RD00 and then press ENTER. automatically, medium, parnter, language and other details will be filled (it depends on config in NACE output types)

Select that row entry and click on 'Further Data' Button in the application tool bar and choose dispatch time in the next screen

(for your purpose choose option 4 - Send immediately when saving application)

Then come back one step and you will see again your output type.

Now, select that row again and this time press 'Communication Button' on the application toolbar and enter the printer name and no of messages (copies).

come back one step and now save it. Automactically you will get printout. you can check it in SP01 and select the spool number for print view.

(Or) In the dispath time, select option 1 'Send application with periodic schedule'. and save it.

now you can check the print preview directly instead of goving to SP01 tcode to chcck the spool.

Let me know if you have any questions.

Regards,

Ram

Read only

Former Member
0 Likes
1,298
Read only

Former Member
0 Likes
1,299

Hii

set this

<b>i_control_param-PREVIEW = 'X'.</b>

Whenever you display a form through a related Transaction(e.g: VF02) YOU get a window on which you have to press the 'Print Preview' button . On pressing that u get another window with print options(like 'Print Immediately' , 'Delete after Output') . You have to press the Print Preview button in this window(again) to view the smart form.

Regards

Naresh