on 2018 Apr 23 2:40 PM
Hi experts,
My need is very simple, yet i can't find a solution...When i create a custom control in my PERSONAS screen (label, input field etc.), i want to give it a custom ID! For now, i'm having a generated ID which is not very friendly to read like :
"wnd[0]/usr/txtPersonas_152448904728053" => not good looking
How can i change that "txtPersonas_152448904728053" by a useful text? (Found nothing in advanced option)
I want to do that because i have to duplicate my flavor manually from IW52 to IW53 (because there is no official copy function for a flavor from one tcode to another which are alike) and i have a lot of scripts using my screen's elements => I would like to avoid to go on each of my script and adapt the control's IDs.
Do i have to use the overwrite ID concept? Even if it's not the purpose of this concept?!
PERSONAS 3.0 SP05
Kind regards,
Alexandre
As Cris mentioned, you cannot rename the controls. These IDs are generated automatically and there is no feature to edit them.
We are going to add the feature of copying a flavor between transaction codes in the soon upcoming SP07, but if you cannot wait until then, I can offer you a hack to do this.
This will result in your copied flavor, assigned to the other transaction that is 100% equivalent to the original flavor, so your scripts will still work the same like in the original transaction.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Tamas,
Thanks for the tip. I'll give it a try. The copy is a workaround ok. Now, i have checked that if i want to use the same ID for the same control in different flavors, i have to create a model. But it is quite heavy to do especially when i want to apply this concept to all my custom fields (or at least 80% of them).
Working with the same ID for a custom field available in several screens is, for me, better for maintenance and makes the documentation of the screens easier to write.
Maybe you should add a functionality that can easily transform a normal custom field in a model custom field (add the option in the "Conception" toolbar). Like we select the field we want to transform, we push "Transform into model" or "Replace model" (if it is already existing). It will be easier to do than open a new browser, open the "Create Template" mode, make the changes, reload the other browser to see the changes.
Regards,
Alexandre
Hi Alexandre,
AFAIK, this is not possible.
Even though the name might be not good looking, you can always use the editor to pick the correct name.
Regards,
Cris
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
57 | |
11 | |
7 | |
6 | |
6 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.