cancel
Showing results for 
Search instead for 
Did you mean: 

INVOICE SPLIT AND CONSOLIDATION

Former Member
0 Kudos

Hi Everyone!

Do you happen to know any site that I can search for information on invoice split and consilidation? Or perhaps you can share with me some of the documents you have.

I'll promise to reward points for those who'll give me answers. Thanks!!

Accepted Solutions (1)

Accepted Solutions (1)

sailaja_vadlamudi
Contributor
0 Kudos

Answers (1)

Answers (1)

Manoj_Mahajan78
Active Contributor
0 Kudos

Hi Clarey,

Invoice Split by Item Category-

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.

FORM DATEN_KOPIEREN_001.

  • Header data

  • VBRK-xxxxx = ............

  • Item data

  • VBRP-xxxxx = ............

  • Additional split criteria

DATA: BEGIN OF ZUK,

MODUL(3) VALUE '001',

VTWEG LIKE VBAK-VTWEG,

SPART LIKE VBAK-SPART,

END OF ZUK.

ZUK-SPART = VBAK-SPART.

ZUK-VTWEG = VBAK-VTWEG.

VBRK-ZUKRI = ZUK.

ENDFORM.

This is how it should look after modification:

  • Header data

  • VBRK-xxxxx = ............

  • Item data

  • VBRP-xxxxx = ............

  • Additional split criteria

DATA: BEGIN OF ZUK,

MODUL(3) VALUE '001',

VTWEG LIKE VBAK-VTWEG,

SPART LIKE VBAK-SPART,

PSTYV LIKE VBAP-PSTYV, <- New line

END OF ZUK.

ZUK-SPART = VBAK-SPART.

ZUK-VTWEG = VBAK-VTWEG.

ZUK-PSTYV = VBAP-PSTYV. <- New line

VBRK-ZUKRI = ZUK.

ENDFORM.

After this routine is created and activated place it as the default copy control routine instead of the old ones.

REWARD POINTS IF U FINDS THIS AS USEFUL...

Regds

MM