08-30-2014 6:02 AM
Hi frds,
FI- Posting document created smart form
My customer is asking Document values greater than RS : 250000/- restrict to view some users ..........
How to acheive this requirement...........
08-30-2014 6:11 AM
Hi Kabil
Their can be two ways i can think of.. One is you create authorization object with a field actvt as 01/02. 01 will be assigned to those who have authorization below 250000 and 02 who have more.
So in your program before calling smart form check the amount value and then based on it do authorization for ACTVT.
Secondly which i would not do is maintain list in custom table
Nabheet
09-01-2014 7:22 AM
Hi Kabil,
a third option to the suggestions Nabheet Madan mentioned is to look for a property to recognize the special users.
This might be a common role or authority, that no other users will own.
For checking roles you can access table AGR_USERS, for check checking special authorities you need a matching AUTHORITY-CHECK in your report.
Regards,
Klaus
09-01-2014 9:41 AM
As already written, I would better use an authorization check, you could insert it in BAdI FI_AUTHORITY_ITEM, but as this BAdI only provides BSEG you may be required to loop at other items of the document in your code (check actual requirement)
This will provide check for FB03, but you may have to add the check in other "list" reports (e.g. ALV item lists).
Regards,
Raymond
09-01-2014 3:00 PM
Dear Raymond,
I have planned up to create authority object and going to keep check based on users.............