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 values preceding with SPACE in Authorization Object

Former Member
0 Kudos

Hi,

In IP interface, Users are planning data and posting it in planning cube but while doing, they have uploaded few master data values preceding with SPACE.  So the value preceding with SPACE has loaded in the corresponding master data. Now when User tries to select a value from F4 help, they are getting both correct master data and master data value preceding with SPACE.

For E.G.: In 0COMP_CODE, there is a company code "XYZ" (Correct once) and also it has value " XYZ" (Preceding with SPACE) due to User upload. 

We need to restrict the authorization for the User's to view only the right master data.

In order to do so, instead of "*" value for the authorization object, we tried restricting with values "0000" - "9999" and "A*", "B*", "C*", "D*"........ to "Z*" for the master data Info object. 

After this logic, when we try to view the data completely in back end cube we are facing an authorization issue but when we try to display the data for any particular selections for the master data Info Object in back end, we are able to see the data.

Kindly suggest us any ideas to restrict the value preceding with SPACE.

Thanks,

Manas.

3 REPLIES 3

Former Member
0 Kudos

Hi,

I can't think of any easily achievable technical solution.  Most importantly, why are you trying to use security to fix something that is a master data issue? If the data is fixed then the problem goes away (unless I have understood the question incorrectly)

Former Member
0 Kudos

Alex is correct. You must correct the error in the "manual upload".

But as a dirty trick to bridge the technical problem you can do this in the auth fields:

ABC  -> real correct value "ABC"

Alt + 0160 (let go of Alt key) ABC -> Keying in 0160 while holding the "Alt" key down inserts the ASCII code of "space" into the field. So there is an empty character there but it cannot be seen in the UI. ABC will follow shifted one space right.

But again! You must fix the source of the problem! There is no guarantee that Alt-codes will work forever!

Cheers,

Julius

Frank_Buchholz
Advisor
Advisor
0 Kudos

I aggree with Alex and Julius about the correct solution, and just like to add a tipp for the authorization.

Instead of 

     "0000" - "9999" and "A*", "B*", "C*", "D*"........  "Z*"

you can use 

     "A" - "Z"

     "Z*

     "0" - "9"

     "9*"

to catch anything which start with a letter or a digit.

Kind regards

Frank