cancel
Showing results for 
Search instead for 
Did you mean: 

How to modify print layout of invoices?

Former Member
0 Kudos

Hi,

I would like to modify the print layout of invoices. I use the VF03 transaction to select an invoice, then "Billing document - issue output to" to show the selection dialogue with two message types (for two output versions) and then print invoices.

Now, I suppose the layouts are generated in SMARTFORMS, but I don't know which of the forms from the list is used to generate invoice layouts?

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Well, in SPRO I found that under S&D ... Define Forms there are form definitions. In one of themI found this code (this is just a part of the code):

DEFINE &MATBR& = ''

PERFORM MATBROJ IN PROGRAM ZINVOICE

USING &VBDKR-KUNRG&

CHANGING &MATBR&

ENDPERFORM

&'MB: 'MATBR&

Where is ZINVOICE program defined?

Former Member
0 Kudos

Hi,

V/40 is quite useful - however I see that my output is not SMARTFORMS but FORMS named ZRVINVOICE01 and ZRVINVOICE02 !

With SMARTFORMS transaction I can't see this output - how do I get to it?

claudia_neudeck
Active Contributor
0 Kudos

Hello,

Smart Forms allows you to execute simple modifications to the form and in the form logic by using simple graphical tools; in 90% of all cases, this won't include any programming effort. Thus, a user who is familiar with the tool but has only rudimentary programming knowledge can configure forms with data from an SAP system for the relevant business processes. The result of the form development is a Smart Form. After it is activated, the Smart Form is similar to a callable function module in the SAP system.

The logic of the form is mapped entirely in the Smart Form. To print a form, you call it from within an application program, in which you retrieve the application data to be merged into the form. As data retrieval and form logic are separated, you must only adapt the Smart Form if changes to the form logic are necessary. The application program passes the data via a function module interface to the Smart Form.

You can create your own formula for smartforms via the function builder.

Please have a look in the online help:

http://aiokeh.wdf.sap.corp:1080/SAPIrExtHelp/IWB_EXTHLP.ASP?_LOIO=a5de6838abce021ae10000009b38f842&_...

I hope that the information are helpful.

Regards

Claudia

If you are satisfied with the answer, please give Reward Points.

former_member217082
Active Contributor
0 Kudos

Hi marko

Go to V/40 and select your output type (RD00) and just to the left there will be tab processing routines. double click on it you can see the program and the smartforms that has been assigned to your output type.

After checking the smartform , use t.code smartforms and give the smartform name that is being used in your output type and ask your ABAP'er to change the layout

Regards

Srinath

Former Member
0 Kudos

Hi ,

Goto transaction V/40 and for your particular output type check the form which has been assigned to it.

Changes need to be made in that particular form and then you can view them in the print layout.

Reward points if it helps.

Regards

Karan

Edited by: Karan Bhatia on Jun 2, 2008 3:59 PM