cancel
Showing results for 
Search instead for 
Did you mean: 

regarding invoice

Former Member
0 Kudos

HI friends

I hav created sales order with two diiferent materials, after that delivery also created and at the time of billing in VF01 it showing two materials but

I want to create individual invice for each material

how it is possible,

plz reply me

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello Friend,

Please note that there is a field in billing document header ZUKRI which can be basically used for creation of different invoices for different items in order / delivery.

For this goto copy control from Delivery Document to Billing Document.

Here enter your delivery & billing document type.

Then goto item & choose your item category which you are using.

The goto item category details. Here you can enter a routine in Data VBRK/VBRP "xxx"

This xxx routine you can get it written from you ABAPer. You can choose certain value from the two items which is unique in them & then pass this in VBRK - ZUKRI which will lead to splliting of the invoice.

Also see some reference code for your help below:

FORM DATEN_KOPIEREN_801.

*{ INSERT DSCK901770 1

TABLES : SER01, OBJK.

DATA: BEGIN OF ZUK,

MODUL(3) VALUE '801',

EQUNR LIKE OBJK-EQUNR,

VGBEL LIKE VBRP-VGBEL,

END OF ZUK.

SELECT SINGLE OBKNR FROM SER01 INTO SER01-OBKNR

WHERE LIEF_NR = LIPS-VBELN

AND POSNR = LIPS-POSNR.

SELECT SINGLE EQUNR FROM OBJK INTO OBJK-EQUNR

WHERE OBKNR = SER01-OBKNR.

ZUK-EQUNR = OBJK-EQUNR.

ZUK-VGBEL = VBRP-VGBEL.

VBRK-ZUKRI = ZUK.

CONDENSE VBRK-ZUKRI NO-GAPS.

*} INSERT

ENDFORM.

Hope this is very much helpful for you, & solves your issue.

Regards,

Dhananjay

Answers (3)

Answers (3)

Former Member
0 Kudos

Dear friends

Is it possible through invoice split

plz reply me

jignesh_mehta3
Active Contributor
0 Kudos

Dear Venkata,

You can maintain K in Billing revelance in Item Category Definition (VOV7)

Then while create Invoice (VF01) Enter the Delivery number & click on Selection list. You can copy required materials (line items) to be billed from here.

Hope this helps...

Reward if useful.. .

Thanks,

Jignesh Mehta

Lakshmipathi
Active Contributor
0 Kudos

Dear Venkata Ramana

If chapter ID or division of that material is different, then you can achieve this by maintaining routine 351 for the field Data VBRK/VBRP in VTFL.

If it is same, then you need to apply an user exit to achieve this.

Besides the above, you need to maintain in IMG <--> SD --> Billing -> Billing Docs -> Country specific features --> Maintain Maximum Number of Line Items. There for your sales organization, assign a numeric value according to your requirement.

thanks

G. Lakshmipathi

Former Member
0 Kudos

Dear Lakshimipathy

wht does the routine 351 means in the field data VBRK/VBRP

I hav checked in system in the field data VBRK/VBRP the routine 351 is not there in 6.0 versoin

Lakshmipathi
Active Contributor
0 Kudos

Dear Venkata Ramana

It should be there in VTFL. For information, I am referring the field in item category and I hope, you have also checked the same.

To check whether this routine is available, go to VOFM, select from the Menu Bar Data Transfer --> Billing documents.

thanks

G. Lakshmipathi