3.1.11

SAP Note 16803 - Billing date order-related billing document

Symptom:

When billing an order (third party, pro forma invoice), the system copies the proposed billing date from the sales order.

Cause and prerequisites

This is the standard system behavior: for resource related billing, the system always copies the billing date stored in the sales order.

Solution
If you want to define a different billing date, you either have to assign the billing date transaction-based (by means of default data) or use a data transport routine.
This solution is only possible by means of a modification. For more information on this, ask your consultant.
Modification proposal: The current date is taken as the billing date.

For such a requirement, use a data transport routine (user exit) you can create yourself with Transaction VOFM.
In copying control for billing documents (TVCPF), check which data transport routine you use.
F5 - TA - TAN (for example) in field 'Data transfer VBRK/VBRP'.
Then call VOFM.
Data transfer -> Billing documents
Copy the FORM routine from above (-> 6XX) and enhance it as follows (a sample is specified):
...
FORM DATEN_KOPIEREN_6XX.
* Kopfdaten
* VBRK-xxxxx = ....
VBRK-FKDAT = SY-DATUM. <--- new line
...
ENDFORM.

Save and activate the routine.
Then store this routine in copying control for billing documents (TVCPF) under
F5 - SO - TAN (for example) in the 'Data transfer VBRK/VBRP' field.

You can only edit Transaction VOFM in client 000.

Additional key words

User exit

No comments:

Post a Comment