Search help in webdynpro abap
hi all,
I am new to webdynpro abap.i want to implement search help for input feilds in my application,.can anyone give me step by step procedure to create search help
thanx in advance.
regards,
Anusha
Hi Anusha,
Web Dynpro provides two types of pre-implemented search helps :
1. ABAP Dictionary Search help
2. OVS
[Input Help for WDA|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.
[OVS help in WDA|/people/shruti.rathour/blog/2008/05/05/ovs-help-in-web-dynpro-abap]
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]
Plz reward if helpful.
Thanks.
Shruti
Similar Messages
-
Organizational Structure Search Help in Webdynpro ABAP
Hi,
I need an organizational structure search help in webdynpro abap.
It should list the organizational structure in tree view like RH_OBJID_REQUEST lists.
I tried to use RH_OBJID_REQUEST function in webdynpro but I got " A RAISE statement in the program
"CL_GUI_CUSTOM_CONTAINER=======CP" raised theexception condition "CNTL_ERROR" short dump.
Is there such a function for webdynpro abap and how can I achive this with select options?
Thanks in advance..
MERALGreat article. I also had this probelm a year ago. My problems questions are:
Is it possible to select more then one entry in the tree?
What about selecting all childrens with one click?
In my solution I inserted this tree, into a table and the table had a checkbox, row, so the user can check the required org units, (more then one) and there was a separate button, for "select all children" -
Clear error message on F4 standard search help in webdynpro abap
Hi Gurus,
We have a check on the data entered by the user in our webdynpro producing a error message if the data are not correct. My problem is that this message is also diplayed in the search help afterwards when the user clicks on the search help. I know how to clear an error message but I can't find the event triggered by the F4 search help to put my code. The search help is a standard search help and thus I can't modify it.
All I want is to find the event triggered when the user clicks on the search help. The field is in an alv but the alv click or alv action are not triggered when the user clicks on the search help.
Thanks for your help in advance guys.Yes. It is called a Freely Defined Value Help if you want to have complete control of the UI that is displayed in the dialog:
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/47/9ef8cc9b5e3c5ce10000000a421937/frameset.htm -
Dynamic Search Help in webdynpro abap
Hi,
I have 2 fields in my UI- say Object Type and Object Name. Both the fields are search helps which i have created.
Based on the selection made in the Object Type, the Object Name search help will be populated with values accordingly.
For Ex: Object Type can have values - Program, Project Cluster, etc.
If i select Program, then in my Object Name search help i should get values ERP Package 5.0, Netweaver, etc
and if i select Project Cluster, then in my Object Name search help i should get values HCM, FIN, etc.
How can i do this?
Regards,
Wilma.Hi Ralf.
I checked the test application WDR_TEST_DDIC_SHLP. If it had behaved like the way you explained, then it would perfectly match my requirement.
But in the test application, in the search help for Country, there are no values for the country that i can select and only cities can be selected. The entry that i select in the input help for Country forms the input for the city field.
Kindly check and let me know.
Regards,
Victoria Wilma -
Custom search help in webdynpro ABAP
Hi,
I have a requirement where I have to display a popup with tree ALV on F4 for a field in a webdnpro ABAP application. Is it possible to call a popup on pressing F4 for a field. If yes please let me know how.
Regards
NilanjanYes. It is called a Freely Defined Value Help if you want to have complete control of the UI that is displayed in the dialog:
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/47/9ef8cc9b5e3c5ce10000000a421937/frameset.htm -
How to create generic search help in wd abap
Hi experts,
How to create generic search help in wd abap.
Regards...
Arun.Hi Arun,
Following links have step by step procedures for creating search helps and other related topics.
<a href="http://help.sap.com/saphelp_nw04s/helpdata/en/3d/e53642e2a3ab04e10000000a1550b0/content.htm">ABAP Dictionary Search Help for WD</a>
<a href="http://help.sap.com/saphelp_nw04s/helpdata/en/9b/c51c42735b5133e10000000a155106/content.htm">Input Help in WD ABAP</a>
<a href="http://help.sap.com/saphelp_nw04s/helpdata/en/cf/21ee2b446011d189700000e8322d00/content.htm">Search Helps</a>
<a href="http://help.sap.com/saphelp_nw04s/helpdata/en/cf/21ee5f446011d189700000e8322d00/content.htm">Creating Elementary Search Help</a>
Regards,
Neha
<i><b>PS:Reward if helpful</b></i> -
Search Help in Webdynpro For ABAP
Hi Experts,
In my application I want to attach search help to a field. My problem is that table field for which I am creating search help contains duplicate values. I dont want those duplicate values. How can I achieve this?
I am using trfgr field of table T510.
Please help.
Thanks & Regards,
Pratibha ShuklaI have coded like this . But I am getting short dumb. It says field symbol not assigned. Please help.
FUNCTION zexit_search_trfgr.
*"*"Local Interface:
*" TABLES
*" SHLP_TAB TYPE SHLP_DESCT
*" RECORD_TAB STRUCTURE SEAHLPRES
*" CHANGING
*" REFERENCE(SHLP) TYPE SHLP_DESCR
*" REFERENCE(CALLCONTROL) LIKE DDSHF4CTRL STRUCTURE DDSHF4CTRL
DATA : BEGIN OF it_trfgr OCCURS 10,
trfgr TYPE pa0008-trfgr,
END OF it_trfgr.
DATA : itab LIKE LINE OF it_trfgr.
IF callcontrol-step = 'SELECT'.
*******Fetch trfgr from table t510
SELECT DISTINCT trfgr FROM t510 INTO TABLE it_trfgr WHERE molga = 40.
CALL FUNCTION 'F4UT_RESULTS_MAP'
EXPORTING
SOURCE_STRUCTURE = 'T510'
* APPLY_RESTRICTIONS = ' '
TABLES
shlp_tab = shlp_tab
record_tab = record_tab
source_tab = it_trfgr
changing
shlp = shlp
callcontrol = callcontrol
* EXCEPTIONS
* ILLEGAL_STRUCTURE = 1
* OTHERS = 2
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDIF. -
Trigger Automatic Search Help in WebDynpro for ABAP
I have a WDA application for creating a Purchase Order. The first screen has 2 options - one for creating a PO from scratch; and one for copying an original PO.
The second view ('Copy PO') for copying a PO has a single field (PO document) with a Search Help attached (freely programmed). The Search Help works well.
Now for the question:
When firing the second screen ('Copy PO'), I would like to trigger the Search Help without actually entering the view. Is there some way of firing an event that triggers the Search Help without entering the 'Copy PO' view?
Any help would be gratefully accepted.hi gareth.......
a solution for you.....
instead of triggering a search help....
in you wddoinit method... call a popup which ahs a table with all the required values...
so when the user selects one... it has to be bound to an attribute....
which is then passed to the po field.
---regards,
alex b justin -
How to create an elementary and collective search help in webdynpro
Hi all,
my requirement is i have to create an collective search help. and that should be same as other tcode search help functionality.
and now the ztcode is in r3 system and my webynpro development is going on bw system how to copy that tcode from r3 to bw system. and then for my input field is cost center and for this input field i should create the search help functionalty.kindly help me how to achieve this functionality i am new to this webdynpro so kindly send me the detail steps.
Thanks & Regards,
NaveenHi Naveen,
There's no difference to using a collective search help or a regular search help.
in the attribute of the context that you want the search helps to appear for - specify that the input help is of type dictionary search help, then specify that the input help is your collective search help.
Search helps in WDA, if search help is available at dictionary level, no need to create any search help, you get automatically.
If you want to create search help for any input field, another option is using OVS. we have WDR_OVS component for search helps, you need to reuse this component in your custom component, just change some coding according to your requirements you get search help.
Go through these documentation and helps...
http://help.sap.com/saphelp_nw73/helpdata/en/cf/21ee45446011d189700000e8322d00/frameset.htm
http://help.sap.com/saphelp_nw73/helpdata/en/3d/e53642e2a3ab04e10000000a1550b0/content.htm
OVS search help..
http://wiki.sdn.sap.com/wiki/display/Snippets/OVSSearchHelpinWebDynproAbap
freely programmed inputhelp
http://wiki.sdn.sap.com/wiki/display/WDABAP/Freelyprogrammedinput+help
http://wiki.sdn.sap.com/wiki/display/WDABAP/UsingSearchhelpattachmentsforWebDynproABAP
Thanks,
Kris. -
Search Help in Webdynpro displays specific text in German language
We have created a custom search help which is being displayed using a custom Webdynpro application. We found that for this search help, although all other texts are displayed in English, a specific text ( 'Show filter criteria' ) is being displayed in German. Also, the same problem exists for search helps used in certain standard Webdynpro applications as well ( eg. WDT_FLIGHTLIST, TEST_DDIC ). Is there any SAP note to address this issue?
Hi,
see SAP note 1050954
Regards, Heidi -
F4 help in webdynpro abap application
Hi Experts,
how to keep the f4 help to input field if user press f4 a pop up window should display same as in xk03 t code payment methods
if u click on payment it will display pop up window in that pop up window it should display all payment methods types.
Thanks & Regards
PradeepHi Pradeep,
Create a search help with the values you require in se11 transaction.
Then assign this search help to the context attribute of your field. This should work.
Assignment is done in the same place that you set cardinality etc.
I don't have access to a system right now, so can't give precise details.
Let me know if you require more help.
Cheers,
Mz -
Hi all,
In a webdyn pro application i have an attribute in the context node of component controller.
I want to set a value to this attribute from a function in component controller.
Can any one help me in getting started?
Thanks,
Bala.That's pretty basic, you should check out the tutorials on WDA.
https://www.sdn.sap.com/irj/sdn/nw-ui?rid=/webcontent/uuid/00545e6d-0679-2910-acab-8073ce9a1659 [original link is broken]
Basically you want to use the wizard to generate the source code which will give you access to the object of the context node, then you can use the SET_ATTRIBUTE method to set the value of the context node.
Regards,
Rich Heilman -
Dynamic Search Help in WDA Table
Hello Expert,
I would like to assign the standard search help for Webdynpro abap table in item level,
I know using the below code we can assign the search help for particular input field ,
DATA lo_nd_info TYPE REF TO if_wd_context_node_info.
lo_nd_info = lo_nd_eqt_partner->get_node_info( ).
CALL METHOD lo_nd_info->set_attribute_value_help
EXPORTING
name = 'PARTNER' " Your attribute Name
value_help_mode = '121' " Valid value help mode
value_help = 'DEBI'. " Search help name.
But my scenario is i have one table which is having threee columns,
Partner type partner name,
so based on the partner type i would like to call the standard search help ,
if the line item 1 is having partner type 'KU' then i need to assign DEBI search help
if the line item 2 is having Partner type 'LI' or 'AG' then i need to assign KRED search help ,
If the line item 3 is having Partner type 'AP' then i need to assign VKNK search help
so please help me to achieve the same.
Thanks,
SankarOne method to achieve this functionality would be :
1. Find out the maintenance screen and function group of the table maintenance generator say 2000 and ZFGRP.
2. Go to SE80 and open ZFGRP screen number 2000.
3. For Field number 1 , it is assumed that there is already a standard search help for it.
4. For field 2 - create a module in Process on Value Request Event in PAI of the maintenance screen ( Similar to any module pool program)
5. Use FM DYNP_VALUES_READ to read the value of field 1 on the screen ( Because this is before enter is pressed and field 1 on the module pool porogram would not be populated with value )
6. While creating internal table for this FM, filter out all the values that are not required based on value obtained above.
call the FM F4IF_INT_TABLE_VALUE_REQUEST( In Process on Value request event of field 2 in PAI) -
To get f4 search help in Abap Web dynpro
Hi web Dynpro Experts,
i want to achieve XK03 Tcode payment mode search help functionality in abap webdynpro,in clearly When i press f4 i payment mode input field a view should open with different payment modes like
a.ebanking payment method,
b.ebanking treasury pay method,
c.cheque ..etc..with check boxes when i select a and b methods types it should concatinate and shown as ab in payment methods field.
I checked for this there is no predefined search helpin data element level(dzwels),and domain level,i hope it is provided by programming.
if i want to achieve f4 search help through free programming?how to do that?
how to re use the same screen design which is in XK03?
please guide me to come out of this issue
Thanks in advance
Vijay
Edited by: vijay kumar on Apr 17, 2010 10:17 AMhi friends my question is answere...thanks for ur support
-
Hallo dear all,
i defined a search help in the ABAP Dictionary and want to use it in a web dynpro. The search help is based on the data base table /BIC/PSCPLPROD (selection method).
It shall be used in a web dynpro that presents select-options (among others) for the field /BIC/SFINCUST of the table /BIC/SCPLPROD.
How can i realize that the selct-options field can automatically use the predefined search help?
I must explain additionally that the mentioned select options field is alreday linked to an other search help which unfortenately is unseless in this case. So Iwant to "overwrite" this link with the link to my search help on the DDIC.
Your answer would really minimize my project troubles. Many thanks in advance.
Best regards Dorothea.why can't you have another field and have the required search help attched to it.
if you can control this at Dictionary level then the Problems at WebDynpro side is minimum.
Maybe you are looking for
-
I dont have a home button at all, where can i get a new one and how much will it be?
some months ago my home button got stuck so i took it out myself,now i dont have a homebutton at all. where can i get a new 1 & how much will it be?
-
Problem using iPod to backup files
Sorry to double post, but I just realized that I'd somehow managed to post this on the Mac forum. Using WinXP Pro SP2, I connected my 60G iPod and checked Enable disk use. I then tried several times to transfer files to the iPod, but kept getting the
-
Any BAPI or FM to update Goods Issue tables In SD
Hi All, Is there any function module or BAPI which can update the tables LIKP LIPS. I am trying update the some fields in this table which are coming from legacy system. Please assist waiting for your reply Badari
-
welcome to support.mozilla.com before you can use your new account you must activate it-this ensures the e-mail address you used is valid and belongs to you.To account,click the link below or copy and paste the whole thing into your browser's bar: ht
-
AppletContext within ActionListener..Help!!
Hello, How can I use AppletContext in actionlistener that is being called by an applet in another class. All I need is on click on that applet, I wanted to open a document or an HTML page. I am using this code, Please see below and help me. import ja