2022 Dec 29 8:37 AM
Hi Team
Trying to solve a Challenge
Not able to how to get it.
we have a sales order with 1 line item which is created on date( 27.12.2022).
we are returning this by creating return SO because of some reason (like excess qty, etc) though VA01. Return delivery is created on (28.12.2022).
We go to VL02N and perform Post Goods Receipt on(29.12.2022). A new Invoice will be created with date(29.12.2022).
but the problem is in invoice erdat is creating based on SY-datum. but FKDAT(Billing Date) is filling based on its return delivery which is 28.12.2022.
now the requirement is FKDAT also need to be filled same as ERDAT.
The change needs to be done when VL2O1 creates invoice after POST GOODS RECEIPT.
2022 Dec 29 12:24 PM
You should be able to set this using standard customizing of "copying control": copying from delivery to invoice (tcode VTFL). For "billing type / delivery type" affected set data transfer routine (at item level) to 11 ("Bill. date= Today").
Setting this customizing may be too late for your documents already created (will affect future documents) - in this case for an existing delivery you can fill FKDAT manually in VF01 while creating an invoice.
regards