on 10-24-2012 8:23 AM
hi experts,
basically i am a bi consultant , i have to develop a reports for unbilled quantity , can anybody tell me how to know the unbilled quantity.
tnx,
praveen,
Hello Praveen,
you can get all the necessary information from table VBFA.
This table contains the subsequent documents created for a specific sales order item:
- VBFA-VBELV sales order
- VBFA-POSNV sales order item
- VBFA-VBTYP_N SD document category of subsequent document (so you can search for billing)
- VBFA-RFMNG reference quantity
Best regards,
Ivano.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Praveen,
a sales order has 3 items.
VBAP:
POSNR PSTYV KWMENG
000010 TAN 1,000 not delivered
000020 TAN 2,000 partially delivered and billed
000030 TAD 3,000 not relevant for delivery, partailly billed
VBFA:
POSNV VBTYP_N RFMNG
-------------------------------------------
000020 J 1,000
000020 M 1,000
000020 R 1,000
000030 M 2,000
Item 10 has not VBFA record with VBTYP_M containing billing SD document category, so unbilled quantity is the total item order quantity VBAP-KWMENG.
Item 20 and 30 are partailly billed, so the unbilled quantity is VBAP-KWMENG - VBFA-RFMNG
Best regards,
Ivano.
Hi Praven,
in delivery creation, in the overview screen of the delivery you can change the quantity.
In billing creation the quantity can be changed as explained in SAP KBA 1585194.
Best regards,
Ivano.
Hi Praveen,
why do you say the value is the same ?
In the example above item 20 has VBAP-KWMENG = 2, that is the quantity in sales order item, whilst VBFA record has RFMNG = 1.
VBFA-RFMNG specifies how much of an item quantity has already been processed in a
subsequent document.
Please check the F1 help of these fields.
Best regards,
Ivano.
Hi Praveen,
instead of check if a specific invoice is cancelled, you could simply count the number of invoice and invoice cancellations directly in VBFA.
You can get that info by the field VBTYP_N in table VBFA, as it specify the kind of billing type.
Example 'M' is an invoice, 'N' is a cancellation.
Best regards,
Ivano.
Hi,
If you are doing Delivery related billing then after PGI you have not billed this scenario will come.
For that use standard Tcode VF04.
But in this case you only get the Header level info.
So plz try to fetch the data directly from the table VBUK where check the Total gds mvt stat.(WBSTK)=C and doc Category (VBTYP) = J.
And fetch the Item data from VBUP table accordingly.
For further clarification do let me know.
Thanks,
Suman
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
97 | |
11 | |
11 | |
6 | |
6 | |
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.