Is this possible through a routine - SD

Development (ABAP Development WorkBench, ABAP/4 programming)

Moderators: Snowy, thx4allthefish, YuriT, Gothmog

Post Reply
sdbeginner
Posts: 4
Joined: Sat Aug 23, 2008 1:06 pm

Is this possible through a routine - SD

Post by sdbeginner » Sun Aug 24, 2008 11:18 pm

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

ib
Posts: 3216
Joined: Fri Oct 17, 2003 5:41 am
Location: Oil Patch, Scotland

Re: Is this possible through a routine - SD

Post by ib » Mon Aug 25, 2008 3:48 am

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'?
Regards.
ib
___________________________________
SAPFans help those who help themselves !

wilhitern1
Posts: 135
Joined: Thu May 15, 2008 4:25 pm
Location: Butterball LLC., Goldsboro, NC, USA
Contact:

Re: Is this possible through a routine - SD

Post by wilhitern1 » Mon Aug 25, 2008 12:23 pm

This sounds like it would be better handled through authorizations. Have you exhausted those options?
Neal Wilhite (WilhiteRN1)Image

ib
Posts: 3216
Joined: Fri Oct 17, 2003 5:41 am
Location: Oil Patch, Scotland

Re: Is this possible through a routine - SD

Post by ib » Tue Aug 26, 2008 3:01 am

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?
Regards.
ib
___________________________________
SAPFans help those who help themselves !

sdbeginner
Posts: 4
Joined: Sat Aug 23, 2008 1:06 pm

Re: Is this possible through a routine - SD

Post by sdbeginner » Tue Aug 26, 2008 8:24 pm

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

ib
Posts: 3216
Joined: Fri Oct 17, 2003 5:41 am
Location: Oil Patch, Scotland

Re: Is this possible through a routine - SD

Post by ib » Wed Aug 27, 2008 2:16 am

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?
Regards.
ib
___________________________________
SAPFans help those who help themselves !

Rich
Posts: 7116
Joined: Thu Oct 31, 2002 4:47 pm
Location: Liverpool
Contact:

Re: Is this possible through a routine - SD

Post by Rich » Thu Aug 28, 2008 1:24 am

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).
Regards

Rich

Image
Abap KC:http://www.richard-harper.me.uk/Kb
SFMDR:http://www.se37.com

Post Reply