on 07-25-2008 7:25 AM
hi all
i have customer po number in the tax invoice, now from this CPO nomber i have to get the total quantity from the sales order for that cutomer p.o. number.
right now i am getting bill quantity in tax invoice, i want total quantity for that cust. p.o. in tax invoice in the sales order.
thanx
rocky
Hello,
U can use the below logic for the progtram
Get the material number from VBRP
fetch the PO number from the VBAK table for that invocie
check table EKPO for that material and the PO number
You can get the quantities from the PO and print the same
hope it helps ,
Thanks
Akasha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can go to VBAK table and pass your Customer PO Number to get the corresponding sales order number...
Once you get your sales order number, through VBAP table, you can get the sales order quantities..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
110 | |
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.