‎2007 Jan 11 5:58 AM
Hi All,
I am facing problem while creating Invoice Pro Forma Ind D_ZXEP.
please look below to find out the process i am following.
First i create a VMI Consign using transaction VA01 for a line item
After that i create delivery using transcation VL01 and complete the PICKING
REQUEST for corresponding line item Ex 10 and its component ex 90001
and GOODS MOVEMENT and COnsignment fill up.
No i create invoice using transaction VF01.
When i press save its create two invoice, first for item 10 with qty 0 and second for line item component 90001 for the given qty.
But it should create one Pro Forma Ind D_ZXEP.
Please help me to know to solution for the above problem.
Thanks
Piyush Mathur
‎2007 Jan 12 4:45 PM
Piyush, this doesn't look like an ABAP issue to me, you might want to post your questions in the SD functional area forum to get a better response.
All I can suggest as a developer is to look at the VOFM routines (VOFM transaction) for the Data Transfer -> Billing Documents. See routines 1 and 7 and check if you have any custom routines for invoice split.
Also once we had an unwanted invoice split and I had to debug the transaction. According to my old notes, the crucial place was in the include LV60AA29, at perform xvbpap_identisch. You might want to put a breakpoint there and debug your VF01.
‎2007 Jan 12 5:06 PM
this is not a abap issue: it is caused by the batch split in delivery creation.
You have to summarize the batch items into the main item in delivery, thisi controlled in the copy control customizing, tcode VTFL.
Here you must set the field TVCPFLP-FKMGK in your item category to G, cumulated batch quantity. Ask to a SD consultant for it.
You cannot recover already existing deliveries, the old one are gone. It works on the new one.
reward points if helpful
regards
Roberto Mazzali