SVS, EVS, and OVS, Value Help and Search Help
what and how to use SVS, EVS, and OVS, Value Help and Search Help in abap webdynpro...Can anyone please give example link or document...As i am able to get on ovs but unable to get rest of other
SVS and EVS are Web Dynpro Java specific types of value help. They do not exist in Web Dynpro ABAP. In Web Dynpro ABAP we have Data Dictionary based Search Help, OVS, and Freely Programmed Value Help. In WDA 7.02 we have the slight variant on DDic Search Help called Suggest Values. It doesn't change the development model, just the runtime user experience.
You can read more about each of the types of WDA based value help in the online help:
http://help.sap.com/saphelp_nw73ehp1/helpdata/en/47/9b298c66eb3376e10000000a421937/frameset.htm
Similar Messages
-
Help for search help and currency and quantity fields
hi,
please help me for creating search help and when the currency and quantity fields are used please expalin this with steps as i am a learner..
regards
raj.Hi Rachu,
Welcome To SDN
Help On Search Help
Go to se11
Select radio button Search help
click on create
and select elementary seacrh help
selection method---->tablename or viewname
press f1 in search help exit we will get a FM named as
F4IF_SHLP_EXIT_EXAMPLE.copy that FM from se37 in to Zprogram.we have a record_tab for copying the view by using this tab we can restrict the values from the view or table.this values are populate into another table .Then ,
come to se11
and in our seacrh help we will pass components of the search help
Source: https://forums.sdn.sap.com/click.jspa?searchID=14985345&messageID=5618016
Help On Currency and Quantity Fields:
Whenever you have to maintain fields for currencies and quantites u need to refer them to currency key and quantity key which also have to be present in the table.
If suppose you are creating a table for Employee. And suppose that fields would be like :
EMPID -
employee id
EMPNAME
employee name
DEPARTMENT --- department
SALARY -- salary ( Data Type u2013 CURR )
WEIGHT -
weight of the employee ( Data Type -- QUAN )
Now the fields SALARY AND WEIGHT fields should refer to currency and quantity keys. So you need to have two more fields like
CURRKEY --- Data Type ( Cuky )
Quantity --- Data Type ( Unit )
Now we have to attach the field Currkey to the field Salary
And the field Quantity to the field Weight
So when u create a table you can see a tab Currency / Quantity fields.
Here You can give the reference table and the reference field against the salary and weight fields.
Source: https://forums.sdn.sap.com/click.jspa?searchID=14985456&messageID=5692074 -
Selecting multiple values from a search help
Hi Experts
Anyone knows if it is possible to select multiple values from a search help?
Thanks
GauravHi,
You cannot select mutiple values from search help as it is linked to inputfield and hence it will accept single value only. But at the same time, you may able to pass row of values to different inputfields.
Refer http://help.sap.com/saphelp_dm40/helpdata/en/3d/e53642e2a3ab04e10000000a1550b0/content.htm
Thanks,
Chandra -
How Can I get multi column values from dynamic search help?
Hi Gurus;
I'm using dynamic search help in my program.
I want to get multi column values from search help. But I dont know solution for this issue.
I'm using F4IF_INT_TABLE_VALUE_REQUEST FM.
How Can I get multi column values from dynamic search help?
Thanks.Believe it or not, the same FM worked for me in a dynpro. I will try to explain here how it works in custom screen and then you can do your work for other screens or program types. I am not going to write my actual work but will explain in general.
I have 4 fields (FLD1, FLD2, FLD3, FLD4) and i made the search based on FLD2 and when user click on a line (could be any field), then this would bring the line on to the screens.
There are like 3 steps.
You have your value_tab for my fields FLD1, FLD2, FLD3 and FLD4. This is just the data that we pass into the FM. (data: IT_VALTAB type table of ZVAL_TABLE)
Next map the screen fields into an internal table (data: It_dynpfld type table of dselc ). I also have other internal tables defined (just to keep it straight, i will be putting here) data: It_return type standard table of ddshretval.
Next step is to call the function module. Make sure you have values in IT_VALTAB.
call function 'F4IF_INT_TABLE_VALUE_REQUEST'
exporting
retfield = 'FLD2'
value_org = 'S'
tables
value_tab = It_VALTAB
return_tab = It_return
dynpfld_mapping = It_dynpfld
exceptions
parameter_error = 1
no_values_found = 2
others = 3.
if sy-subrc <> 0.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
else.
perform get_selected_fields tables It_return.
endif.
The code within the perform GET_SELECTED_FIELDS - We need to map the result fields after user selects it. The code goes like this. This is step is to update the dynpro fields.
I need a internal table as well as a work area here. like,
data: lt_fields type table of dynpread,
la_fields type dynpread.
field-symbols: <fs_return> type ddshretval.
so fill out LT_FIELDS from the IT_RETURN table
loop at lt_return assigning <fs_return>.
la_fields-fieldname = <fs_return>-retfield.
la_fields-fieldvalue = <fs_return>-fieldval.
append la_fields to lt_fields.
clear: la_fields.
endloop.
Call the FM to update the dynpro
call function 'DYNP_VALUES_UPDATE'
exporting
dyname = sy-repid
dynumb = '1002' "This is my screen number. You could use 1000 for selection screen (hope so)
tables
dynpfields = lt_fields
exceptions
invalid_abapworkarea = 1
invalid_dynprofield = 2
invalid_dynproname = 3
invalid_dynpronummer = 4
invalid_request = 5
no_fielddescription = 6
undefind_error = 7
others = 8.
if sy-subrc <> 0.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
endif.
good luck -
Validate values while displaying search help records
Hi Experts,
I have created one serach help. This search help was using by so many programs.
Based on the material type I need to restrict some values while displaying search help.
Suppose search help contain three rows.
Material type --- Material --- Material Desc
A1 --- 12345 --- XXXXXXXXXXX
A2 --- 4586 --- XXXXXXXXXXX
A3 --- 2345 --- XXXXXXXXXXX
A1 --- 852 --- XXXXXXXXXXXX
In my module pool program, I need to display A2 and A3 material type records only.
How can we acheive this?
I checked search help exit by creating new. none of the table contains those records. What code I need to write in search help exit?.
Pls help me.
Thanks in advance
RaghuHi check[ My wiki|https://wiki.sdn.sap.com/wiki/x/du0] for the code
-
How to add Value Table or Search Help for a field which is on Standard SAP?
Hi All,
I have a field HERST (tcode IE01) which doesnt have any value table or search Help. I have the same field in a Z table which I should display for the standard screen field in tcode IE01. So Pls suggest me on this.
Thanks in advance.
Regards
Jaker.Hi, Tamas,
I found the reason. The function Z_WEBRFC_READ_DATA_SH had a string concatenation error.
CONCATENATE '{"results":[{"key": "shlpname", "value": "' l_shlp '"},"key": "fieldname", "value": "' l_field '"}]}' INTO htmldoc-line.
The correct code is like:
CONCATENATE '{"results":[{"key": "shlpname", "value": "' l_shlp '"},{"key": "fieldname", "value": "' l_field '"}]}' INTO htmldoc-line.
Another question is, I can't get any words in Chinese from WebRFC. It returns error when I try it. How can I configure it?
Xin -
Process On Value Request with Search Help Problem
I have a screen with a field that has a custom search help attached to it. I am using Process On Value-Request which ultimately uses function module F4IF_FIELD_VALUE_REQUEST to return the selected value from the search help. The value is then moved to the screen field.
THE PROBLEM: If I enter a value in a field on the screen, then use the search help from a different field the first value I entered gets cleared. Here is a code sample. Any suggestions as to why this is happening?
NOTE: The values that get cleared are fields on the screen that I do not reference at all in user_command_2501.
*****SCREEN 2500 FLOW LOGIC*********
PROCESS BEFORE OUTPUT.
MODULE status_2500.
PROCESS AFTER INPUT.
MODULE user_command_2500.
PROCESS ON VALUE-REQUEST.
FIELD makt-matnr MODULE user_command_2501.
MODULE user_command_2501 INPUT.
ok_code = sy-ucomm.
CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
EXPORTING
searchhelp = 'ZWS_ASSETMATR'
fieldname = ' '
tabname = ' '
TABLES
return_tab = search_itab
EXCEPTIONS
no_values_found = 1.
MOVE search_itab-fieldval TO: makt-matnr.
REFRESH search_itab.
SELECT SINGLE maktg FROM makt INTO crea_description
WHERE matnr = search_itab-fieldval.
MOVE 'I' TO scrn_attr_sw.
sy-ucomm = 'ENTER'.
LEAVE SCREEN.
CALL SCREEN 2500.
ENDMODULE. " user_command_2501 INPUT
Message was edited by: Jason DeLuca
Message was edited by: Jason DeLucaHi Jason
It seems you should first revise your code since your POV is not implemented so good.
Regards
*--Serdar <a href="https://www.sdn.sap.com:443http://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.sdn.businesscard.sdnbusinesscard?u=qbk%2bsag%2bjiw%3d">[ BC ]</a> -
hi,
i want to know the functionality with example on "search help".
how r they useful?....how r they created??...and how to use them in dialog program??
thanksHi Kunal,
There are 3 ways:
1)In the PAI of the screen, add a module Process on value request. For example:
PROCESS AFTER INPUT.
MODULE USER_COMMAND_100.
PROCESS ON VALUE-REQUEST.
FIELD field_name MODULE value_request_for_field_name.
*field_name is the field for which you require search help.
In the Module value_request_for_field_name call this function 'F4IF_INT_TABLE_VALUE_REQUEST'.
2)The above procedure can be used if the field you have defined doesnt have an existing search help.If it already has search help and the field in the screen is taken from the dictionary,then in the attributes,u can check from from dictionary under the dictionary tab.
3)A manual search help can also be created in the se11 transaction by clicking on the search help radio button and giving the table and field name for which search help is required.
Creating Elementary Search Helps
Procedure
In the initial screen of the ABAP Dictionary, select object class Search help, enter the name of the search help and choose Create.
A dialog box appears in which you must select the type of search help.
Select Elementary search help and choose .
The maintenance screen for elementary search helps appears.
Enter an explanatory text in the field Short text.
You can for example find the search help at a later time using this short text.
In the Definition tab page enter the selection method of the search help.
You can enter the name of a table or a view (database view, projection view or help view) here. If you enter a table that has a text table, the name of the text table is automatically entered in the corresponding field.
Using the input help (F4 help), select fields of the selection method as parameter in the Search help parameter area. Select the fields that should be used in the dialog box for value selection or in the hit list.
If the selection method is a table that has a text table, both the fields of the table and the fields of the text table are offered in the input help.
The data element of the parameter is automatically copied from the selection method. The data element defines the output attributes and the F1 help of the parameter in the hit list and in the dialog box for value selection.
You can assign the parameter another data element. To do so, select the Mod flag. The Data element field is now ready for input. Then select a data element with the input help (F4 help). Only data elements whose data type, length and number of decimal places is the same as those of the previous data element can be assigned.
This removes the link between the data element of the search help parameter and the data element of the selection method field having the same name. If you cancel the Mod flag, the data element of the assigned table field is used again.
Define the attributes of the search help parameters.
Select the IMP flag if it is an import parameter. Select the EXP flag if it is an export parameter.
You can define the dialog for the input help with the fields LPos, SPos and SDis. Enter the parameter position in the hit list in LPos. If you enter nothing or the value 0 here, the parameter is not displayed in the hit list.
Enter the parameter position in the dialog box for value selection in SPos. If you enter nothing or the value 0 here, the parameter is not displayed in the dialog box for value selection.
Set the SDis flag if the parameter should be a pure display field in the dialog box for value selection. The user is thus informed that the contents of the parameter restrict the value, but he cannot change this restriction. This makes sense for example when the parameter is an import parameter or if it has a default value.
You can assign the parameter a default value in the Default value field.
Select the dialog type of the search help.
The dialog type defines how the hit list is displayed in the input help.
Save your entries.
A dialog box appears in which you have to assign the search help a development class.
Choose .
Do not forget to link the search help to a screen field. The search help attachment is not part of the search help definition; it is part of the object definition to which the search help is attached.
Result
The search help is activated. You can find information about the activation flow in the activation log, which you can display with Utilities ® Activation log. If errors occurred during activation, the activation log is automatically displayed.
Please check this link on how to create search help.
http://www.sapdevelopment.co.uk/dictionary/shelp/shelp_basic.htm
1) after creation of search help, you can assign this to database field in change mode of table and double clicking of the field name.
2) in screen field, double click to see the attributes and give your search help there.
Refer this link
http://help.sap.com/saphelp_erp2005/helpdata/en/cf/21ee93446011d189700000e8322d00/frameset.htm
Hope this resolves your query.
Reward all the helpful answers.
Regards -
Hi all! this time i need a simple thing. I have two parameters p_vblnr and p_chect.The firstone has a Search help that i did with se11 and the second one has a standard search help for chects. I want to create a search help for p_chect that only visualice the values related to p_vblnr parameter and <b>replace the standard search help for that field</b>.
Ej: if p_vblnr is '10021562' i want the search help to visualice the chects related to that vblnr.
is this possible??????
i promise rewards points for help!!!!
thank in advance!Andrew,
Try following sample code.
CLEAR: t_dynp_flds,
t_dynp_flds[].
t_dynp_flds-fieldname = 'LFA1-STCD1'. " ur first parameter
APPEND t_dynp_flds.
CLEAR t_dynp_flds.
*--- Read screen field values before PAI field transport
CALL FUNCTION 'DYNP_VALUES_READ'
EXPORTING
dyname = 'ZFFI'
dynumb = '1000'
TABLES
dynpfields = t_dynp_flds
EXCEPTIONS
invalid_abapworkarea = 1
invalid_dynprofield = 2
invalid_dynproname = 3
invalid_dynpronummer = 4
invalid_request = 5
no_fielddescription = 6
invalid_parameter = 7
undefind_error = 8
double_conversion = 9
stepl_not_found = 10
OTHERS = 11.
IF sy-subrc EQ 0.
READ TABLE t_dynp_flds WITH KEY fieldname = 'LFA1-STCD1'.
IF sy-subrc EQ 0.
MOVE t_dynp_flds-fieldvalue TO lfa1-stcd1.
ENDIF.
ENDIF.
IF NOT lfa1-stcd1 IS INITIAL.
g_stcd = lfa1-stcd1.
Clear fields
CLEAR : t_taxid1,
t_taxid1[].
t_taxid1-gap2 = space.
Select vendor and taxids from Vendor Master table
SELECT lifnr
name1
FROM lfa1
INTO (t_taxid1-lifnr, t_taxid1-name1)
WHERE stcd1 <> g_stcd AND
stcd2 <> g_stcd AND
stcd3 <> g_stcd.
APPEND t_taxid1.
CLEAR t_taxid1.
ENDSELECT.
IF sy-subrc NE 0.
No table entries found
MESSAGE s001(zffi).
EXIT.
ENDIF.
SORT t_taxid1 BY lifnr.
DELETE ADJACENT DUPLICATES FROM t_taxid1 COMPARING lifnr.
CLEAR : g_pop_idx.
Function module to get Tax code values
CALL FUNCTION 'POPUP_WITH_TABLE_DISPLAY'
EXPORTING
endpos_col = 85
endpos_row = 20
startpos_col = 20
startpos_row = 10
titletext = 'List of Assign Vendors'(t11)
IMPORTING
choise = g_pop_idx
TABLES
valuetab = t_taxid1
EXCEPTIONS
break_off = 1
OTHERS = 2.
IF sy-subrc EQ 0.
READ TABLE t_taxid1 INDEX g_pop_idx.
IF sy-subrc EQ 0.
CLEAR : t_dynp_flds,
t_dynp_flds[].
Append screen values
t_dynp_flds-fieldname = 'G_LIFNR'.
t_dynp_flds-fieldvalue = t_taxid1-lifnr.
APPEND t_dynp_flds.
CLEAR t_dynp_flds.
Change screen field contents w/o PBO
CALL FUNCTION 'DYNP_VALUES_UPDATE'
EXPORTING
dyname = 'ZFFI'
dynumb = '1000'
TABLES
dynpfields = t_dynp_flds
EXCEPTIONS
invalid_abapworkarea = 1
invalid_dynprofield = 2
invalid_dynproname = 3
invalid_dynpronummer = 4
invalid_request = 5
no_fielddescription = 6
undefind_error = 7
OTHERS = 8.
IF sy-subrc NE 0.
CLEAR : t_dynp_flds,
t_dynp_flds[],
lfa1-lifnr,
lfa1-stcd1,
lfa1-name1.
ENDIF.
ENDIF.
ENDIF.
ENDIF.
-Anu -
Help views ( search helps) in tables
Hello Experts,
we are creating customized infotypes.Can anyone tell me how to create help views ( search help ) in tables.
Regards,
Shilpa.Helli Shipa
You can create the search helps via se11 transaction and then attach the seach help from the field in table
Regards
Sonu Gupta -
Return multiple values from a search help
Dear All,
I have a table control on screen with fields:
doc.no
doc.type
doc.ver
doc.part
I've coded a search help for doc. no. which returns a single value i.e. doc. no from the search help.
But my reqmt. is that when the user selects a particular doc.no from search help, it should also return doc. type/ver/part
and the corresponding table control field should be populated.
I mean i require multiple values to be returned and populated in my screen.
Thanks in anticipationHi ,
Please check this thread where i had done some coding and the OP himself has found the solution
automatic population of search help value to another field in module pool ... if its a table control you have get the selected line by using fm DYNP_GET_STEPL. Then update the values to the respective fields using DYNP_VALUES_UPDATE. -
Transfer values from one search help to another
Is it possible to transfer values from screen of one search help to another. For example if I have the vendor master search help (XK02) and I go to the elementary search help "Vendors by Material" . On this screen I enter some data in the Material number field. Now when I do an F4 on the material field on this search help I will get the collective search help for Material number. My requirement is to have the material number from the first search help to be carried over to the second search help. Is there any way possible. I am manipulating my custom search helps through the search help exits(fetching data etc).
Hi Deepak,
Not very sure, but I think if you write code in search help exit, this may be possible. Use GET PARAMETER... SET .. in the exit to pass the values between search help.
Regards,
Atish -
Default multiple values in custom search help
Hi All,
I created a custom search help for the vendor. The fields in the search help are LIFNR (Vendor) and KTOKK (Account Group).
I would like to be able to set three default values for the account group. That is, when the user clicks on the dropdown to display the search help, I would like to have three values populated in the KTOKK field. Is this possible?
Any help would be appreciated.
Thanks!Hi,
I am not sure abt default values, but if you are using this search help in any report than you can set hot keys in your search help and using hot keys, you can set some default filter values in you report's parameter.
you can set variant in your report where parameter is having values like :: =,<hotkey>,<sel1>,<sel2>
here <hotkey> : wht you have assingned in search help.
<sel1> : one of those default values you want to display.
<sel2> : one of those default values you want to display for the second field.
hope it helps,
Regards,
Sagar -
How to get the short text values from F4 SEARCH HELP
Hi Friends,
My requirement is in Module -pool Screen Programming, i have Designed one field in a custom screen and provided a F4 search help to that field..
For eg the F4 help is displayed as below.
Value short text
1 A
2 B
3 C
4 D
5 E
6 F
7 G
When i select the first option (1) then value 1 appears in the field.
now i want the text relevant to the value 1 to appear by the side of the field.
Eg : 1 A (A should appear by the side of the value 1)
How do i achieve it?
Kindly help me.
Regards,
K.S.Kannan.
Edited by: kannan ks on Dec 8, 2008 4:05 PMhi
1) place a field adjacent to your value field on which F4 is operated
so now you will have 2 fields.
iam considering it as for ex: field1 & field2
2)
BOLD one is import in FM call
CLEAR: t_dynpfld_mapping,
e_dynpfld_mapping.
e_dynpfld_mapping-fldname = 'F0001'.
e_dynpfld_mapping-dyfldname = -
> name of field1 (for ex: your 1 value field name)
APPEND e_dynpfld_mapping TO t_dynpfld_mapping.
e_dynpfld_mapping-fldname = 'F0002'.
e_dynpfld_mapping-dyfldname = -
> name of field2 (for ex: your short text field name)
APPEND e_dynpfld_mapping TO t_dynpfld_mapping.
3))))))))
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield =
dynpprog = sy-repid
dynpnr = sy-dynnr
dynprofield = -
> name of field1 (for ex: your 1 value field name)
value_org = 'S'
TABLES
value_tab = itab
dynpfld_mapping = t_dynpfld_mapping
EXCEPTIONS
PARAMETER_ERROR = 1
NO_VALUES_FOUND = 2
OTHERS = 3 -
Import Export value of enhanced search help
Hi
i have created an elementary search help and inserted in VMVA which is standard search help for Sales order selection.
its working properly but when i select the value it doesn't pass to vbeln on va02 tcode kindly help me in this regard .
did i need to transport the value through programing ???
Regards
Ammaddone ............. parameter was not set
Maybe you are looking for
-
Report For Sub Contract Material
Dear Experts, Is there any standard report for finding the details of the subcontract. I tried through ME2O, MBLB where I am not getting the report I wanted. I want to take a montly report for all the subcontract work given to the vendor. (The work i
-
HT1918 How do I remove a credit card from my apple account?
I am trying to remove my credit card from my account because I have a gift card and it is not letting me remove it? Can someone please help me.
-
Please, help me with the ''Cannot connect to iTunes store'' problem
The same common problem can't be fixed .. I tried every possible solution, none of them worked.I tried changing date and time, reset network settings.None of them worked with me Please help me to solve this problem
-
Pourquoi photoshop CS6 se fige, lorsque je l'utilise sur mon écran thunderbolt ?
Bonjour à tous, Je suis un peu contrarié par ce problème: J'utilise le pack Master Collection CS6 dans le cadre de mon travail, sur un MacBook Pro 13" avec un écran thunderbolt display. Tout fonctionne normalement sur le petit 13", seulement lorsque
-
Reporting problems PowerPC applications
Anyone else running into this message and should we expect to see it surface with other products post Lion upgrade? Message when opening efax Messenger after having used it successfully on Snow Leopard 10.6.8: You can't open the application eFax Mess