cancel
Showing results for 
Search instead for 
Did you mean: 

Copying Sales order Text to Billing and Accounting line item

Former Member
0 Kudos

Hi all, We have a requirement, where we enter a specific Header text in the Sales Order. Now, when we post the billing for this order, we would like to have the same text ( entered in header or reference area in Sales order ) to be populated in the accounting document, posted from billing. When the FI document is generated, there is a customer line item and a sales/ cash discount line items. We want to populate the Assignment field in the Customer line item/cash discount line item, with the same header text. Is this possible .. Thanks a lot Kris..

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

use the enhancement SDVFX001 - User exit header line in delivery to accounting or SDVFX004  - User exit G/L line in transfer to accounting [transaction CMOD].

Read text from sales order and assign into XACCIT-ZUONR.

Best regards

Eduard.

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

In Order to Copy the text into the Billing docuemnt,goto the text determination procedure that is assigned to your invoice.

Maintain the text type that has to be copied with the same Text Id as of your Sales Order and object as well.

In the Text Ids,please maintain the tick mark for "Reference/duplicate".

Regards,

Krishna.

ivano_raimondi
Active Contributor
0 Kudos

Hello,

it is not possible in the standard.

The FI document field BSEG-ZUONR is filled from field VBRK-ZUONR of SD invoice,

This is hardcoded.

The field VBRK-ZUONR of the SD invoice is filled depending on customizing copy control at header level (transaction VTFA for order-related billing, VTFL for delivery-related billing) field 'Assignment number' TVCPF-ORDNR_FI.

Notice that if TVCPF-ORDNR_FI = A, field VBRK-ZUONR 8and so BSEG-ZUONR) will be filled with VBKD-BSTKD ir VBAK-BSTNK.

I hope thse info help you.

Best regards,

Ivano.