cancel
Showing results for 
Search instead for 
Did you mean: 

Regarding Invoice for batches

Former Member
0 Kudos

Hi currently I am doing scenario where I am doing Batch split in Delivery & then invoicing, in that i am facing one problem that is when i am creating invoice in VF01 billing document type(F2) the batch split item showas 0 value & 0 quantity & the main item shows the respective value & respective quantity but client wants billing to be done on Number of batch split during delivery.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Check copy control from delivery document to billing document (VTFL) Data field in the item ex: Tan

Former Member
0 Kudos

what exactly copy control need in VTFL

Former Member
0 Kudos

In item Data field (VTFL) Change from 001 to 003 - single invoice or you can control in delivery item category determination

Answers (2)

Answers (2)

prasanna_kumar4
Active Contributor
0 Kudos

HI

Kindly check the following links i think its solve your issue

check and Revert

Regards,

Prasanna

Former Member
0 Kudos

Hi ,

you mean to say that your client is asking for the billing to be taken out with the number of batches and its quantities with its price.right ?...Discuss with your abapers who can help it out very easily.. My client's requirement was same , our abaper did a great job.. if you want how to do the coding to acheive this , let me know. I do what i can..

With Regards

S.Siva

Former Member
0 Kudos

kindly share the same thing to us

Former Member
0 Kudos

Hi Tushar ,

you want the invoice print out should contain all the batch split and its price , isnt it ? you need to show this only in invoice layout , correct me if i am wrong?

With Regards

S.Siva

Former Member
0 Kudos

Hi ,

We brought this in excise Layout and send you the coding for your ref. and check with your abapers and modify accordingly as per your requirement.

SELECT SINGLE *

INTO ls_vbrp

FROM vbrp

WHERE vbeln = j_1iexcdtl-rdoc2

AND posnr = j_1iexcdtl-ritem2.

IF sy-subrc = 0.

w_tax_det-ass_val = ls_vbrp-kzwi4.

l_tot_ass_value = w_tax_det-ass_val.

CONDENSE l_tot_ass_value NO-GAPS.

w_tax_det-ass_rate = w_tax_det-ass_val / j_1iexcdtl-menge.

l_ass_rate = w_tax_det-ass_rate.

CONDENSE l_ass_rate NO-GAPS.

g_tot_ass_val = g_tot_ass_val + w_tax_det-ass_val.

w_tax_det-mrp = ls_vbrp-kzwi3.

w_tax_det-mrp_rate = w_tax_det-mrp / j_1iexcdtl-menge.

l_mrp_rate = w_tax_det-mrp_rate.

CONDENSE l_mrp_rate NO-GAPS.

  • w_tax_det-totex = ls_vbrp-kzwi5 - ls_vbrp-kzwi6.

  • l_tot_ex = w_tax_det-totex.

w_tax_det-totex = j_1iexcdtl-exbed.

l_tot_ex = w_tax_det-totex.

CONDENSE l_tot_ex NO-GAPS.

g_tot_ex = g_tot_ex + w_tax_det-totex.

w_tax_det-dnpl = ls_vbrp-kzwi6.

l_tot_dnpl = w_tax_det-dnpl.

CONDENSE l_tot_dnpl NO-GAPS.

w_tax_det-rdnpl = w_tax_det-dnpl / j_1iexcdtl-menge.

l_dnpl = w_tax_det-rdnpl.

CONDENSE l_dnpl NO-GAPS.

g_tot_dnpl = g_tot_dnpl + w_tax_det-dnpl.

g_tot_disc = g_tot_disc + ls_vbrp-kzwi2.

SELECT SINGLE kwmeng FROM vbap

INTO l_qty

WHERE vbeln = ls_vbrp-aubel

AND posnr = ls_vbrp-aupos.

ENDIF.

With Regards

S.Siva