07-02-2015 12:33 PM
I'm looking for a user exit in transaction VF01
in order to prevent the sales document to generate an accounting document. I have tried RV60AFZZ where i am trying to set TVFK-rfbfk = 'X', Also i tried if i can do the same setting in Include LV60AA29.
I have even given a thought for setting vbrk-RFBSK = 'A' ( which means restricting the accounting doument generation) but none of them seem to be working.
07-02-2015 1:25 PM
I forgot to add that i require this for a particular document type.
07-02-2015 1:34 PM
In the billing document type, there is a setting whether to create accounting document or not. Just use that, instead of finding a user exit.
Thanks,
Juwin
07-02-2015 1:41 PM
Thanks Juwin for the reply but this is a configuaraton change and it can be changed by the user in vf03. I need to restrict this in a way that the user cannot remove the posting block at all.
07-02-2015 1:55 PM
07-02-2015 2:27 PM
Billing document is transferred to Accounting document using function module RV_ACCOUNTING_DOCUMENT_CREATE. There are some enhancement points in that function module, to throw an exception based on billing types.
I still feel that you shouldn't handle this situation through coding. There are configuration routes, which I have mentioned above, that would be prefferred.
Thanks,
Juwin