Invoice SPlit Functionality in SAP SD ZUKRI 1736651710
Invoice SPlit Functionality in SAP SD ZUKRI 1736651710
Date: 29-Dec-2024
LinkedIn Profile: www.linkedin.com/in/vidya-sagar-jagati
- SAP uses standard data transfer routines in the copying control configuration (e.g.,
VTFL for delivery to billing or VTFA for order to billing) to populate ZUKRI.
- Review or configure the Header Data Transfer Routine. The standard routine typically
used is 003, which calculates ZUKRI based on standard criteria.
T-code: VTFL
Created By: Vidya Sagar Jagati
Date: 29-Dec-2024
LinkedIn Profile: www.linkedin.com/in/vidya-sagar-jagati
2. Program/Function Module:
- Each routine corresponds to a form routine written in ABAP.
- It is located in the SAP development environment under the program associated with
copying control.
Example:
FORM DATEN_KOPIEREN_ZXXX USING FAKTOR.
DATA: BEGIN OF ZUK,
VTWEG LIKE VBAK-VTWEG,
SPART LIKE VBAK-SPART,
VGBEL LIKE VBRP-VGBEL,
ZMATGRP LIKE VBRP-MATKL, " Custom Material Group Field
END OF ZUK.
CLEAR ZUK.
ZUK-VTWEG = VBAK-VTWEG.
ZUK-SPART = VBAK-SPART.
ZUK-VGBEL = VBRP-VGBEL.
ZUK-ZMATGRP = VBRP-MATKL. " Custom Field Logic
VBRK-ZUKRI = ZUK.
ENDFORM.
Created By: Vidya Sagar Jagati
Date: 29-Dec-2024
LinkedIn Profile: www.linkedin.com/in/vidya-sagar-jagati
Debugging and Analysis
To analyze ZUKRI logic during invoice creation:
- Use transaction VF01.
- Set a breakpoint in the routine (e.g., in Include RV60C003 or your custom routine).
- Check the values of ZUK and VBRK-ZUKRI at runtime to ensure correctness.