on 04-18-2018 7:39 AM
Hi
As per the current settings, user can change the Payment Block 'B' in the document using FB02 transaction.
We want to prevent this. Only a specified person should be able to change this.
If I do setting in OB32, it is not changeable by anybody.
How can I achieve this ?
I'm not sure if this can be solved using Authorisation settings.
You can create a validation (with exit) which checks if the payment block differs from the previous value (look it up in the database)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There are many tutorials on validations.
https://www.saptutorial.org/create-validation-user-exit/
I would start OB28, create a validation on line item level.
Use a user exit on the validation (c_exit_param_none) with some code like this :
-------------------------------------------------------------------------------
Select on the table what the current value of the field is.
check if it differs from the value you are validating.
Raise B_true or B_false.
-------------------------------------------------------------------------------
You will need an ABAP developer for this (also don't forget to regenerate),I've used logic like this succesfully.
In the condition part of the validation you can exclude users for this check with a set as mentioned below (google on how to use sets)
Hi nikki.saju
You need to create a simple set using GS01 for table BKPF for field BKPF-UNAME
The below wiki should be handy for you to write a validation step
https://wiki.scn.sap.com/wiki/display/ERPFI/Validation+and+Substitution
I would also suggest that you put in where exactly you are struck up in the solution already provided. I guess narasimhulu.konnipati and bjanse have already guided you in the right direction.
Thanks & Regards
Sanil Bhandari
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Write a validation in GGB0 with the authorized Users list by creating a set in GS01.
This should work.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.