| Billing Spilt by Item Category
Is it possible to split invoice Item category wise. I mean If in sales order there is TAN and TANN then the invoice should split,is it possible? Naina Yes, it is possible. Create a modification of
copy control routine for billing and use VBAP-PSTYV as an additional split
criteria there.
Thank you for your reply. Can you please tell me the exact
steps what should I add under that(additional split criteria).
In trx VTFA (if your billing is sales order based) choose your billing
type and SO type, there select your item categories and there select the
field VBRK/VBRP data. In that field you will see the currently used routine.
With the help of your ABAP guy create a copy of that routine under a different
number and add your lines of code. Let's say you use routine 001.
* Header data
DATA: BEGIN OF ZUK,
ZUK-SPART = VBAK-SPART.
ENDFORM.
DATA: BEGIN OF ZUK,
ZUK-SPART = VBAK-SPART.
ENDFORM. After this routine is created and activated place it as the default
copy control routine instead of the old ones.
Fast Links:
SAP SD Books
Best regards,
All the site contents are Copyright © www.sap-img.com
and the content authors. All rights reserved.
|