Page 1 of 1

Is this possible through a routine - SD

Posted: Sun Aug 24, 2008 11:18 pm
by sdbeginner
Dear Gurus,

Wanted your help on this. I would like to stop certain users from posting the billing document to accounting for a certain billing type. This shouldnt affect other users and other billing types. Is this possible.. Please help. Thanks

SDB

Re: Is this possible through a routine - SD

Posted: Mon Aug 25, 2008 3:48 am
by ib
A Billing Type can be set to be blocked for posting on creation (VOFA - doc type > Posting block). If the users with access to VF01 or whatever to create, do not also have access to VF02 - change, they will not be able to 'release to accounting'?

Re: Is this possible through a routine - SD

Posted: Mon Aug 25, 2008 12:23 pm
by wilhitern1
This sounds like it would be better handled through authorizations. Have you exhausted those options?

Re: Is this possible through a routine - SD

Posted: Tue Aug 26, 2008 3:01 am
by ib
wilhitern1 wrote:This sounds like it would be better handled through authorizations. Have you exhausted those options?
You can only control this with S_TCODE for the different billing transactions, as suggested - there is no authorisation object that will preclude a created invoice being passed to accounting automatically - only the posting block will do that.

Having said that, there is probably something you could try in user exists, but it really wouldn't be worth the effort?

Re: Is this possible through a routine - SD

Posted: Tue Aug 26, 2008 8:24 pm
by sdbeginner
IB and Wilhitern Thanks for your inputs. IB i have to give authorization for the user to change the billing document as he has to enter foreign trade data if he misses out on previous session and as you know if he goes to VF02 it would allow him to post the document to accounting. May be i need to look at from authorizations or user exit..thanks again

SDB

Re: Is this possible through a routine - SD

Posted: Wed Aug 27, 2008 2:16 am
by ib
I suppose altering the interface for VF02 so that the 'release' was never available, would be a step too far? Maybe you could set up so that blocked invoices could only be released with VFX3 so that that function wasn't needed in VF02?

Just a thought ....

Try searching around for mention exits in the SD/FI interface on this site .... perhaps there'll be some ideas there?

Re: Is this possible through a routine - SD

Posted: Thu Aug 28, 2008 1:24 am
by Rich
ib wrote:I suppose altering the interface for VF02 so that the 'release' was never available, would be a step too far? Maybe you could set up so that blocked invoices could only be released with VFX3 so that that function wasn't needed in VF02?

Just a thought ....

Try searching around for mention exits in the SD/FI interface on this site .... perhaps there'll be some ideas there?
You should be able to do this using FI Validations (have a look at topic 0007 - User Exits in the Abappers Knowledge Corner).