on 06-04-2009 7:13 AM
Dear Friends,
I am creating one invoice against multiple delivereis.
The scenario is as below
1) Multiple sales orders are created with different PO number.
2) One delivery is created agaist each sales order.
3) Finally one invoice will be created by using all delivery numbers in VF01
But I get a split message due to the PO number being different.
Please let me know where can i find the ABAP code / Routine / Exit which results into this split due to PO number being different.
Also let me know the code / routine / program name.
Thanks for your help in advance
Regards,
Dhananjay
Hi,
Please check the copy control routine in VTFL and see whether the in data VBRK/VBRP 's Routine should be 007.
Thanks,
Raja
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks
I checked 007 but couldnt fid relevant code regarding PO number in it.
See the code
FORM DATEN_KOPIEREN_007 .
Header data
VBRK-xxxxx = ............
Item data
VBRP-xxxxx = ............
Additional split criteria
DATA: BEGIN OF ZUK,
MODUL(3) VALUE '001',
VTWEG LIKE VBAK-VTWEG,
SPART LIKE VBAK-SPART,
ABTNR LIKE LIPS-ABTNR,
EMPST LIKE LIPS-EMPST,
END OF ZUK.
ZUK-SPART = VBAK-SPART.
ZUK-VTWEG = VBAK-VTWEG.
ZUK-ABTNR = LIPS-ABTNR.
ZUK-EMPST = LIPS-EMPST.
VBRK-ZUKRI = ZUK.
ENDFORM.
Please suggest
Regards,
Dhananjay
Edited by: Dhananjay. on Jun 4, 2009 12:02 PM
Dhananjaya,
As PO number is header data so it will make invoice to split.
Check in header for VTFL, by selecting billing and delivery type and clicking on detail.
Copying requirements 003 Header/dlv.-related
Determ.export data : Leave it blank
Allocation number : Leave it blank
Reference number : Leave it blank
Check also the Copying requirements it should be 004.
Thanks,
Raja
Issue Closed
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
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.