on 11-19-2008 2:02 PM
Hi!
I'm trying to set the ColumnPreferences for some UDFs in the BP master data. I'm using the example in the help file (UpdateColumnPreferences()) but I'm setting the EditableInForm to tNO for some fields instead of the width. After I have performed the UpdateColumnPreferences I get them again and can see that my new settings are set as supposed. I can also see that the values are stored in the table CPRF.
But it doesn't work in the form! It works only if I use the Tools->Userdefined Fields->Settings and click the Active checkbox for a field.
I've tried to login again but it doesn't help. And a funny thing, when logging out the values in CPRF reverts back to its inital settings!
Is there anyone out there that got this to work?
Regards
Lars Jönson
Hi David!
Thanks for the solution. Even if I just did what you suggested before you suggested it (do you follow me?) it's a helpful answer because it means that I will drop my efforts to get it to work in the code. And that means hours spared.
I know that you are not a moderator, I was just hoping that a moderator should read it and react.
Regards
Lars Jönson
LittleFish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi David!
That's actually what I just did, I updated the table when all was logged out. Worked fine!
But it would be nice to have a list of these "old problems" that is "common knowledge" among you all. Could spare us a lot of hours and pain... That's a task for the moderators of the forum, please start making such a list.
Regards
Lars Jönson
LittleFish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Lars,
that's an old problem.
the best time to change the "CPRF" settings is when no user is "logged in" in SAP.
thats how i do it: All Users logout - Now Change CPRF Table - Login again
lg David
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
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.