on 07-20-2008 3:57 PM
Hi Friends,
can you please let me know how to provide the f4help to the input field which is read only using abap webdynpro.
Thanks,
Mahesh
Hi Mahesh
Use Freely Programmed Input Help, using OVS and dictionary search help like this will disable the COPY button
Abhi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
Use OVS and dictionary search help .
Regards,
Muneesh Gitta.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
Web Dynpro provides two types of pre-implemented search helps :
1. ABAP Dictionary Search help
2. OVS
One more help is Freely programmed search help.
[Input Help|http://help.sap.com/saphelp_nw04s/helpdata/en/b3/4d3642eca5033be10000000a1550b0/frameset.htm]
I have created a blog on implementing OVS help in WDA. You can refer that for sample code.
In addition, you can also provide help through Drop Downs and Select options.
[Working with select-options in WDA|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c09fec07-0dab-2a10-dbbe-c9a26bdff03e]
I hope this will help.
Thanks
Shruti
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
u create an input help for a data element which will contain the values u want to show for F4 .
create a inputfield element and make its property read only
create a attribute and in type field enter this new data element for which you have created input help.
F4 OPTION WITH READ ONLY INPUT FIELD WILL BE CREATED.
if any doubts feel free to ask.
regards
panky
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
>
> By Using data element i tried but it is not working ( i mean getting the f4 help but it will not copy back to the read only inputfiled).
>
>
> Thanks,
> Mahesh
It isn't going to work for display fields. The standard search helps will look at the source field status and not allow a copy of the values back if they are not enabled for input. Otherwise you could imagine this might become a problem when you have transactions in display mode - you wouldn't want people to accidentally change input fields you didn't intend simply because they have a standard value help attached to them.
So the earlier suggestions of just attaching a DDic or OVS to the field isn't going to achieve what you want. You should take the suggestion of using the self-programmed value help. With this approach you have given access to the original context attribute and can decide what you want to do when in display mode.
Hello Thomas,
it seems that since applying EhP4 and related support packs, using a freely programmed value help also has a check on whether the field is read only or not. - And does not display when field is marked read only...
Is there anyway to get around this?
--- Edit
Have noted response in post
Seems a shame that functionality has been removed just because some coders can't check the values provided in the interfaces given to them - makes it very difficult to provide functionality to allow value helps that select specific values without allowing for users to make input errors - eg I want to ensure that user has selected correct 16 digit value - so I provide a search help - I don't want them to be allowed to type it in - or potentially I want to return the text of the selection - hide the 16 digit value form the user, but allow the text field to have the value help dropdown...
Guess I'll just have to change all my freely programmed value helps to being called from buttons on the screen.
Thanks,
Chris
Edited by: Chris Paine on Feb 4, 2010 11:27 AM
>Guess I'll just have to change all my freely programmed value helps to being called from buttons on the screen.
That would be my suggestion.
I believe the change is not just to protect programmers who don't check the display flag. One of the newer items in the SAP UX Guide is that value help should not be triggered at all from display only fields. From a User Experience standpoint it has been decided that this can lead to user confusion. Of course we could debate the pros/cons of such an approach, but it appears that SAP UX has made up their mind on this particular pattern.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
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.