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: 

coping originating document no.in VF01

Former Member
0 Kudos

Hi,

While creating invoice (i.e VF01) when u scroll to right at item level u will find three columns in the end which are as follows:

originating doc (It is taking Sales document no.)

Sales doc (it will take sales document no.)

Reference doc (it will take delivery doc no.)

i want to know from where the originating document is populated while copying from delivery? If it is from copy control then plz suggest me the exact routine or any other settings.

Thanks

2 REPLIES 2

Former Member
0 Kudos

Hi,

The copy routines are defined in transaction VOFM. The exact copy routine used needs to be determined from configuration (as you can change the default).

Follow the IMG path:

- Sales and Distribution->Billing->Billing Documents->Maintain Copy Control for Billing Documents

- Select Copying control: Delivery document to billing document

From here select your source and target document type.

For example and LF to an F2 uses routine 003 (Header/Dlv-related).

Also check your item level routine by item category in the same config node. Again the standard LF to F2 for item category TAN uses routine 001.

Hope this helps.

Pete

Former Member
0 Kudos

no proper answer but i am closing the thread