on 06-27-2016 9:01 AM
Hi,
I need to create a dropdown based on values of text table T157E, but I need to filter this table by language (SPRAS) and movement type (BWART). So my doubt is:
Changing the dropdown values via scripting is available in SP03 (New in Personas 3.0 SP03: Change a combo box's value set through scripting - SAP Imagineerin...) but not in SP02, unfortunately.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Before you do that...
I was intrigued by this question and actually was able to find a scripted solution for it. However, this would still require you to copy a standard function group in the backend (to simulate the search help call), and is somewhat cumbersome, but it works.
I'm not sure if this avenue is even interesting for you, so let me know. I may be able to spend some more time on this in the next few days.
Edit: Never mind, my solution still requires something that's only available in SP3. So this won't help you in SP2, I'm afraid.
Message was edited by: Tamas Hoznek
Thanks for the update. Unfortunately we are not able to upgrade to SP03 at this moment and I will have to work with SP02 for this project. I can see that Personas is still quite immature so I will try to get it updated soon in order to benefit of some quite basic functionality coming with SP03.
Kind Regards,
Marçal
Hi Tamas,
I have tried the link you have provided and it is working on web gui. however. when we run it on sap gui. filtering or the new values for the entries of combo box is not display. instead. it shows the original items of the combo box. i have also tried to create a new combo box but still it is displaying the unfiltered/old items on the list. is this not working on sap gui? by the way. we are using SAP logon 760 patch level 3.
I didn't test this in the Windows GUI, but check note 2080071 to see if your script contains something that is not supported there.
If this is a SAP GUI for Windows issue only and it's not covered in that note, then it may make sense to send a support incident to component BC-FES-GUI since they handle Personas problems in the Windows GUI.
Hi Tamas,
Its me again! I have had some success using the combo box value scripting, where i have created two drop down menus,
1. Plant
2.Storage Location
These are linked to text fields that support another script to complete a transaction.
The only issue i am facing is when i change the `Plant` drop down, the `Storage Location` drop down is not automatically updating. I have to select the `Storage Location` drop down and apply the blank value, and then i can select the `Storage Location` drop down again, and then the values are updated.
Is there a part of script i can apply somewhere, where it will automatically refresh/update the `Storage Location` drop down when a NEW plant is applied to the `Plant drop down?
Many Thanks,
Ben
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.