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: 

Routine for copying sales order header text to invoice

Former Member
0 Kudos

Hi friends,

My requirement is to copy header texts from sales orders when creating an invoice (VF01). In T-Code VOTX the system suggests two routines :

1 - DATEN_KOPIEREN_01 include LV45TE01

2 - DATEN_KOPIEREN_02 include LV45TE02

Does anyone already use one of these routines? When invoicing more than one sales order does the routines work fot this case ?

Best Regards.

2 REPLIES 2

Former Member
0 Kudos

Hello.

.....goto transaction VOFM

Menue: Copying requirements -> Billing documents

...or maybe: Data transfer -> Billing documents

Put a break-point and the header routine......for long-text you should use transaction VOTXN

Edited by: Erik Hoven on Feb 24, 2009 12:28 PM

Former Member
0 Kudos

Thanks for the reply Erik.

Using VOFM>Data transfer> texts is it possible to copy more than one sales orders header text into the new created invoice (by filling structure REFERENZ??)?

Can anyone help on this by giving a piece of code ?

Thank you in advance !