0% found this document useful (0 votes)
68 views

SD Invoice Split From Sales Order

This SAP note describes an issue where the billing document splits into multiple documents if certain fields have different values at the item level in the sales order. Specifically, if the customer sales district, price group customer, customer group, geographical region, or price list type fields differ, multiple invoices will be generated. The note provides a solution of using a data transfer routine to copy these fields from the customer master to the invoice header for releases before 3.0, and to leave these fields empty for releases 3.0 and above. It also cautions that the "new pricing" function may not work correctly if grouping by price list type in release 2.2.

Uploaded by

曹龙
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
68 views

SD Invoice Split From Sales Order

This SAP note describes an issue where the billing document splits into multiple documents if certain fields have different values at the item level in the sales order. Specifically, if the customer sales district, price group customer, customer group, geographical region, or price list type fields differ, multiple invoices will be generated. The note provides a solution of using a data transfer routine to copy these fields from the customer master to the invoice header for releases before 3.0, and to leave these fields empty for releases 3.0 and above. It also cautions that the "new pricing" function may not work correctly if grouping by price list type in release 2.2.

Uploaded by

曹龙
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

2018-12-19 36832

36832 - Invoice split in fields from the sales order


版本 4 Type SAP Note
语言 英语 Master Language 德语
优先级 建议/附加信息 Category 咨询
Release Status 发布给客户 Released On 13.11.2000
Component SD-BIL-IV ( 处理开票凭证 )

Please find the original document at https://launchpad.support.sap.com/#/notes/ 36832

症状

The system creates several billing documents instead of only one, if the
following fields have different values on item level in the sales order this is
based on:

• Customer sales district BZIRK

• Price group customer KDGRP

• Customer group KONDA

• Geographical region REGIO

• Price list type PLTYP

其他条款

Invoice split, split, VF01, TVCPF, data transfer


Data transfer routine

原因和前提

The fields specified above are transferred from the customer master record via
the sales order to the invoice header (table VBRK) and become a split criterion.

解决方案

In Release 3.0, the fields specified above are transferred to the invoice line
item and are therefore no longer needed in the billing document header VBRK.
However, the fields specified above will still be filled in the billing document
header for reasons of upward compatibility.

This can only be solved with a modification.Please contact your consultant.


Consider attached Note 170183.

Please use a data transfer routine (user exit) for such a request that you can
create yourself with transaction VOFM.
Check the copying control for billing documents (TVCPF) for the data transfer
routine you want to use for your transaction, for example,

F2 - LF - TAN in field 'Data VBRK/VBRP'.

Then call VOFM:


'Data transfer --> billing documents'

© 2018 SAP SE or an SAP affiliate company. All rights reserved 1 of 3


2018-12-19 36832

Copy the above FORM routine (-> 6XX) and enhance it as follows):

For releases before 3.0


*****************************************************************
FORM DATEN_KOPIEREN_6XX.
* Kopfdaten
* VBRK-xxxxx = ....
VBRK-BZIRK = KUAGV-BZIRK. <--- insert
VBRK-KDGRP = KUAGV-KDGRP. <--- insert
VBRK-KONDA = KUAGV-KONDA. <--- insert
VBRK-REGIO = KUAGV-REGIO. <--- insert
VBRK-PLTYP = KUAGV-PLTYP. <--- insert

...
ENDFORM

Für Releases ab 3.0


*****************************************************************
FORM DATEN_KOPIEREN_6XX.
* Kopfdaten
* VBRK-xxxxx = ....
VBRK-BZIRK = SPACE. <--- insert
VBRK-KDGRP = SPACE. <--- insert
VBRK-KONDA = SPACE. <--- insert
VBRK-REGIO = SPACE. <--- insert
VBRK-PLTYP = SPACE. <--- insert

...
ENDFORM

Please consider the following in Release 2.2 !!!


The 'New pricing' function will not consider the price list type from the order
item in the billing document if you group the 'Price list type' PLTYP field
together according to the sold-to party group as above.

软件组件

软件组件 版本

SAP_APPL 22A - 22J

SAP_APPL 30A - 31I

SAP_APPL 40A - 40B

SAP_APPL 45A - 45B

SAP_APPL 46A - 46B

SAP_APPL 46C - 46C

© 2018 SAP SE or an SAP affiliate company. All rights reserved 2 of 3


2018-12-19 36832
SAP_BASIS 46D - 46D

© 2018 SAP SE or an SAP affiliate company. All rights reserved 3 of 3

You might also like