2011 Aug 26 10:39 AM
Hi,
I have created a new routine 600 in VOFM->Billing documents. My requirement is to create single invoice per order.
My functional consultant told that the configuration has been done in VTFL. I have generated the routine in RV80HGEN as well.
But when I put the break point in routine and execute the billing in VF04, it is neither stoping at that point or it is achieving my requirement.
Any clues?
2011 Aug 26 11:41 AM
Hi
Check to the tcode VTFA (copy rules from SO to invoice), not only VTFL (copy rules from delivery to invoice).
See these notes, they help always:
Note 326560 - Various problems when using VOFM functions
Note 327220 - VOFM function and its objects
I think that you are using the subroutine to manage the splitting, populating the structure ZUK. Remember that this subroutine populate the field ZUKRI, so, you must avoid to create a record with more than 40 character. For further information see SAP Note 11162 - Invoice split criteria in billing document.
If you need anything, please, let me know.
I hope this helps you
Regards
Eduardo
Hi
Check to the tcode VTFA (copy rules from SO to invoice), not only VTFL (copy rules from delivery to invoice).
See these notes, they help always:
Note 326560 - Various problems when using VOFM functions
Note 327220 - VOFM function and its objects
I think that you are using the subroutine to manage the splitting, populating the structure ZUK. Remember that this subroutine populate the field ZUKRI, so, you must avoid to create a record with more than 40 character. For further information see SAP Note 11162 - Invoice split criteria in billing document.
If you need anything, please, let me know.
I hope this helps you
Regards
Eduardo
2011 Aug 26 11:41 AM
Hi
Check to the tcode VTFA (copy rules from SO to invoice), not only VTFL (copy rules from delivery to invoice).
See these notes, they help always:
Note 326560 - Various problems when using VOFM functions
Note 327220 - VOFM function and its objects
I think that you are using the subroutine to manage the splitting, populating the structure ZUK. Remember that this subroutine populate the field ZUKRI, so, you must avoid to create a record with more than 40 character. For further information see SAP Note 11162 - Invoice split criteria in billing document.
If you need anything, please, let me know.
I hope this helps you
Regards
Eduardo
2011 Aug 26 12:37 PM
Hi,
Thanks for the reply.
I have afew queries on this routines as I am new to this entirely.
Is this routine 'Billing documents' get triggered when t-code VF04 is executed for maintaining billing list?
2011 Aug 26 1:03 PM
Hi
I think that the name of your routine must be RV60C600. You have to set it in tcodes VTFL and VTFA for the item in the field for data VBRK/VBRP. See Note 28683 - PERFORM_NOT_FOUND: VOFM routine is not active, because the system do a PERFORM daten_kopieren_600 IN PROGRAM RV60C600 (if I remember well) where the name of subroutine and report is built with the name of subroutine in customizing transactions.
I hope this helps you
Regards
Eduardo
PD: I forgot it. Yes, with VF04 it works.
Edited by: E_Hinojosa on Aug 26, 2011 2:03 PM
2011 Aug 26 9:41 PM
There is no VOFM -> Billing Documents but there is VOFM -> Data transfer -> Billing Documents, which is where the standard example is located for the invoice split.
To split the invoices by order # all you need to do is, basically, put order # in ZUKRI field. Of course, the routine needs to be assigned in the copy control in configuration (see your SD expert for this). Also I'm assuming you're talking about order-related billing scenario because in the delivery-related scenario this field would need to be passed to the delivery and the to billing.
For testing use VF01 instead of VF04. VF04 runs in background and there is no guarantee breakpoint will be activated.
2012 Feb 22 7:29 AM
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |