Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Copy Controls differences

Hi all i am really hoping someone can point me in the right direction, or where i check the setting etc.....

We have a copy control routine set (see code below) in all our systems, but for some reason in DEV we are able to create three single invoices for three single deliveries. But in our QA client we get 2 bills and the split seems to be by material.

I can see no difference with config or even the routine we are using.... any suggestions what else i can check?

This is set at "Data:VBRK/VBRP level (also if this is changed to SAP standard 003 makes no difference)

The code : -

DATA: BEGIN OF ZUK,

MODUL(3) VALUE '003',

VTWEG LIKE VBAK-VTWEG,

SPART LIKE VBAK-SPART,

VGBEL LIKE VBRP-VGBEL,

MATNR LIKE VBAP-MATNR, "Billing Interface Changes

END OF ZUK.

ZUK-VTWEG = VBAK-VTWEG.

ZUK-SPART = VBAK-SPART.

ZUK-MATNR = VBAP-MATNR. "Billing Interface Changes

IF KURGV-PERFK = SPACE.

ZUK-VGBEL = VBRP-VGBEL.

ENDIF.

VBRK-ZUKRI = ZUK.

CLEAR VBRP-WAVWR.

IF LIKP-LFART EQ 'ZOIL'.

MOVE LIKP-LIFEX TO VBRP-AUGRU_AUFT.

ENDIF.

*} INSERT

ENDFORM.

Edited by: Steve Cane on Sep 26, 2008 10:44 AM

Former Member

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question