on 10-11-2011 9:24 AM
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.
Check copy control from delivery document to billing document (VTFL) Data field in the item ex: Tan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
User | Count |
---|---|
107 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.