on 03-07-2011 12:47 PM
Hi,
I am creating a Proforma invoice based on a sales order with a single line item having a billing plan at item level.
problem is that all items in billing plan are copied into the proforma invoice irrespective of its block status (at billin plan level).
e.g. if there are 2 lines in billing plan and one is not block and other is blocked. but when i create a proforma invoice F5, both line items from billing plan are copied into the proforma invoice document. i've maintained "008" in copy control at item level.
Any1 idea where to check this problem.
Hi,
System only checks the VBAP - FAKSP.
You have to create your own copying requirments from "008" and incoporate the code to check the Billing Block at billing plan level ie FPLT-FAKSP.
See current block of code written for normal billing block
Billing block
IF VBAP-FAKSP NE SPACE.
SELECT SINGLE * FROM TVFSP WHERE FAKSP = VBAP-FAKSP
AND FKART = TVFK-FKART.
IF SY-SUBRC = 0.
PERFORM VBFS_HINZUFUEGEN USING VBAP-POSNR '015' SPACE
SPACE SPACE.
SY-SUBRC = 4.
EXIT.
ENDIF.
SY-SUBRC = 0.
ENDIF.
Like Wise you have to write the code for FPLT-FAKSP and then user removes the block from header level.
and saves the order will be available for billing
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If you assign billing plan at item, it will give billing due dates so when ever you create invoice you have to specify due date,
or else
you have to run VF04, then you will get all due dates, select proper date and create proforma invoice
kapil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
96 | |
10 | |
9 | |
6 | |
3 | |
3 | |
3 | |
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.