on 05-18-2009 7:44 AM
Hi,
Can i create and error message for the cancellation of paid billing document? If yes, how can i create such.
Overview:
Accounting document is created upon creation of billing document. Upon payment, document cleared is the accounting document created. There are instances wherein accounting document was already cleared but our user is still able to reversed billing document. Now, i want to create an error message or user exist wherein, when a user will not be able to reverse the billing document if the accounting document attached to this billing document is already paid.
Thank you and best regards.
Rachelle
Yes very well through standard itself, you can address this issue.
Apply Routine 29 for the field Copying Requirements at header level in VTFL
Also Go to VOFA, select your billing type and assign routine 29 to the field "Copying Requirements"
This should solve your problem.
thanks
G. Lakshmipathi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rachel,
You can make use of the exit (Include) MV45AFZZ. The corresponding form routine is FORM USEREXIT_SAVE_DOCUMENT_PREPARE.
.
In this exit, For the given billing document ( which is going to be cancelled ), pick up the accouting document from BSEG tables.
For this accouting document, Pass this to BSAD Table ( Customer clleared items)
If BSEG-BELNR = BSAD-BELNR and
BSEG-Acc.Year = BSAD-Acc,year )..
Then throw a error message and EXIT.
So for all the cleared docments , user can not cancel the invoices.
Regards,
Sai
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
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.