Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Restrict Accounting Document to get created from vf01.

Former Member
0 Kudos

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.

5 REPLIES 5

Former Member
0 Kudos

I forgot to add that i require this for a particular document type.

Juwin
Active Contributor
0 Kudos

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

0 Kudos

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.


Juwin
Active Contributor
0 Kudos

Can't you handle that through authorization ?

Juwin
Active Contributor
0 Kudos

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