Search help in web dynpro for a individual element of structure
Hi ALL,
I'm a screen where i have imported the structure from DDIC into the context of the view.
The issue I'm facing is how to attach a search help for a particular element of structure.
Example: Z_structure:
name
Id
city.
Here i have a created search help for city that is "z_city_srhp" in DDIC.
please provide a solution how to attach this search help to city.
Thanks in Advance,
LalitKumar.
HI,
IN the context select the CITY attribute.
Properties will be diplsayed. Select dictionary search help and give the seach help name.
Regards,
MAdhu
Similar Messages
-
Search Help with Web Dynpro call on another system
Hi all,
I have to create a search help with web dynpro on a field but the database is on another system... How can I do?
Many Thanks in advance...I would use a search help exit. Nothing WDA specific here, as this has been possible long before WDA came around. With a search help exit you define the search help like normal, but instead of database table or view being the source of selection, you have a function module. Within the coding of this function module you can call an RFC to read data from another system or call a web service if you need to bridge over to something that isn't ABAP based.
You can read more about Search Help Exits here:
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/cf/21ee52446011d189700000e8322d00/frameset.htm -
Hi all,
I have to create a search help with web dynpro on a field but the database is on another system... How can I do?
Many Thanks in advance...I would use a search help exit. Nothing WDA specific here, as this has been possible long before WDA came around. With a search help exit you define the search help like normal, but instead of database table or view being the source of selection, you have a function module. Within the coding of this function module you can call an RFC to read data from another system or call a web service if you need to bridge over to something that isn't ABAP based.
You can read more about Search Help Exits here:
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/cf/21ee52446011d189700000e8322d00/frameset.htm -
Search help in web dynpro Java i-view
Hi experts!!
I am new to EP so i need some help..
I am trying to implement some web dynpro i-views and i would like to know if there is any way to have F4 search help for fields in form template that correspond to R/3 fields. In other words i want to take the search help values from the R/3.
Should i create a model to call a BAPI for search help??? Or is there any other way?????
Thanx in advance...!!!
PS: will reward points to usefull answers.Hi You can create Value Help in Webdynpro to show F4 Help values.
Follow this link
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/2833ce90-0201-0010-f1af-d3cfe1155b16
Reward Points if Helpful
Edited by: Praveen Kommineni on May 7, 2008 8:05 PM -
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. -
CALL SEARCH HELP IN WEB DYNPRO
Description :
My web dynpro contains some buttons and allow some interaction...
One of the buttons is : 'LOAD DATA'...
I'd like to call a search help when the user PRESSES this button, how can i do that ? maybe a reusable component ???
Thank you...Hi Stephan,
Well there is a way by which you can achieve this functionality... You need to call the static method HANDLE_VALUE_HELP of class CL_WDR_VALUE_HELP_HANDLER. To use it we simply need to pass in a reference to the context element, and the name of an attribute. It will then run the value help defined in the context for that attribute.
However being SAP internal, the method could change or disappear at any time. So this isn't a reliable approach. You would be better off following the approach suggested by the other users. I am however just quoting it for your inspection.
Suppose I have a context node by name NODE1 & an attribute MATNR under it of type MARA-MATNR. Now up on click on a button I want the search help MAT1 for MATNR to be displayed. Below is the coding for the buttons action handler:
method ONACTIONCALL_VALUE_HELP .
data: wd_node type ref to if_wd_context_node,
wd_element type ref to if_wD_context_element.
wd_node = wd_context->get_child_node( name = 'NODE1' ).
wd_element = wd_node->get_element( index = 1 ).
CALL METHOD CL_WDR_VALUE_HELP_HANDLER=>HANDLE_VALUE_HELP
EXPORTING
CONTEXT_ELEMENT = wd_element
CONTEXT_ATTRIBUTE = 'MATNR'.
endmethod.
Regards,
Uday -
How to put dynamic search help in web dynpro ABAP.
Hi,
I have a table element with two columns in my web dynpro ABAP.Both the columns are F4 helps.
Based on the value of the first column,the F4 help of second column must change dynamically.Kindly tell me how to do this.
Thanks & Regards,
Raji.Hi ,
Use this code to dynamically assign search help and to deactivate search helps.
data lo_nd_info type if_wd_context_node_info.
lo_nd_info = lo_nd->get_node_info( ).
CALL METHOD lo_nd_info->set_attribute_value_help
EXPORTING
name = 'ATTR1' " Your attribute Name
value_help_mode = '121' " Valid value help mode
value_help = 'Z187442'. " Search help name
The various possible values that you can pass to value_help_mode are as shown below.
deactivated 101
automatic 111
ddic 121
ovs 131 -
Search help in Web Dynpro in ABAP
Hi,
I am starting with WD for ABAP (NW04s). I am using PA0022 table as model and displaying these values on the view. By default most of the fields like country, education centre, Faculty, Branch, Score come with an F4 option. But the value displayed in these fields are always key fields(Numeric), which would not make any sense for the end user. Now I would like the Text/Descriptions to be displayed against each field.
Can anyone help me out.
Regards,
<i><b>Seema.</b></i>Hi Phil
This is the dump i m getting,
Note
The following error text was processed in the system D35 : Attribut LANGU konnte nicht gefunden werden. ¥ꯂ¦
The error occurred on the application server RETHR6_D35_01 and in the work process 0 .
The termination type was: RABAX_STATE
The ABAP call stack was:
Method: IF_WD_CONTEXT_NODE_INFO~GET_ATTRIBUTE of program CL_WDR_CONTEXT_NODE_INFO======CP
Method: GET_AND_FORMAT of program CL_WDR_DATA_CONTAINER=========CP
Method: IF_WDR_SHLP_CONTEXT_MANAGER~GET_VALUES of program CL_WDR_DEFAULT_SHLP_CONTEXT===CP
Method: CREATE_SEARCH_HELP of program CL_WDR_DDIC_SEARCH_HELP=======CP
Method: CONSTRUCTOR of program CL_WDR_VALUE_HELP_HANDLER=====CP
Method: HANDLE_DD_SHLP of program CL_WDR_VALUE_HELP_HANDLER=====CP
Method: HANDLE_VALUE_HELP of program CL_WDR_VALUE_HELP_HANDLER=====CP
Method: HANDLE_AFTER_UPDATE_DATA of program /1WDA/LSTANDARD===============CP
Method: IF_WDR_CLIENT~AFTER_CLIENT_UPDATES of program CL_WDR_CLIENT_SSR=============CP
Method: DO_AFTER_TRANSPORT of program CL_WDR_WINDOW_PHASE_MODEL=====CP
Plz help me out.
Regards,
Seema -
Web dynpro for abap how to create a customize search help in alv column
hi:
Web dynpro for abap how to create a customize search help in alv column and put search help value into alv column?
Are there specific examples ?
thanks!!HI:
I want to created a freely programed help which include date&time,and put help value to alv column.
I have created a freely programed help in web dynpro for abpa application,I refer:
**************** - WebDynpro for ABAP
but have a problem!
If you focus on the the input field in the first row, you get the value help
However if I go to the second row and focus on the same input field in this column, I don't get the value help:
What is a good way to solve similar problems?
thanks -
Close OVS Help via Button in Web Dynpro for ABAP
Hello!
Is it possible to use a close-button in a "ovs help popup"? I tried to fire a "Type-Exit Outbound-Plug" of window controller of the "ovs help window" but it didn't work.
Thanks for help
JoergHello Joerg,
in Web Dynpro for ABAP there is currently no possibility to subscribe to the close event of the OVS popup.
Regards, Ariane. -
Web Dynpro For ABAP(NET310) certification Help
hi,
i have attended the training for Web Dynpro For ABAP(NET310) and want to do certification in that...plz help me on that if someone have certification Questions ..
thx in advance...
Dineshcheck this site for SAP Certification and Interview Questions and Training materials
http://www.erpfusion.net -
Select Options and Search Help in ABAP Dynpro
Hi Guys,
I am new to ABAP WD. We are workin on ABAP Stack of the Portal with no DB Tables n data. we have to fetch the data from R/3 and display it on the Dynpro screen.
But here the problem is the Standard Search Help attached to the data elements cannot fetch any data, as by default it searchs the ABAP stack for the data. Is there any work around for the same wherein i can fetch the data from R/3 and display it when user requests for the search help.?
Please let me know.
Thanks and Regards,
SagarHi,
You can also use freely programmed help here.......
Please check the following links for
OVS
http://help.sap.com/saphelp_nw04s/helpdata/en/47/9ef8c99b5e3c5ce10000000a421937/frameset.htm
OVS Help in Web Dynpro ABAP
Freely programmed
http://help.sap.com/saphelp_nw04s/helpdata/en/47/9ef8cc9b5e3c5ce10000000a421937/frameset.htm
regards
Pranav -
How to create value help in web-dynpro-abap
Hi ,
can anybody tell me detailed step for creating value help in web-dynpro-abap .Hi,
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
There is a blog on implementing OVS help in WDA. You can refer below link for sample code.
/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.
Raj. -
Dynamic DropDowns using Web Dynpro for ABAP
Hi,
I'm creating my first Web Dynpro for my new client.
The requirement is this:
There are three fields to be displayed on a screen - FieldA, FieldB, FieldC.
All three should appear as DropDowns on the screen.
FieldA determines the possible value list of FieldB.
Once Field B is selected, FieldA and FieldB determines the possible value list of FieldC.
Each of the fields have their own "master" and text tables. (eg: like T005 and T005T).
There is also a "matrix" table that contains all three fields (as Primary Keys). Note: There is also a "Disabled flag" field.
So basically we have 3 tables containing the master records.
We use these values to build a matrix of combinations:
FieldA FieldB FieldC Disabled
A111 B111 C111 ' '
A111 B111 C222 ' '
A111 B111 C333 'X'
A222 B111 C111 ' '
A222 B111 C333 ' '
A222 B222 C111 ' '
Now, we want to display the three fields on a Web Dynpro View.
I've created View Context as follows:
CONTEXT
+-- Header_Data (node)
+-- FIELDA_NODE (node)
+-- FIELDA_CODE (attribute)
+-- FIELDA_TEXT (attribute)
FIELDA_NODE is based on the Disctionary Structore of FieldA's text table (which contains, the LANGU field, and the FieldA Code and Text fields)
Cardinality and Selection are both 0..1
FIELDA_CODE (attribute) has Input Value Mode of "Automatic". When I chose this, SAP derived the Type of Input Help as "Search Help" and Determined Input Help as "ZFIELDA_SH" (which I created using the "master" and text tables).
(Note: FIELDB and FIELDC are defined the same way).
I then created the Layout:
For FEILDA_CODE, I created a DropDownByKey (using the context menu item "Create Container Form"). So now, FIELDA_CODE's property selectedKey is "...HEADER_DATA.FIELDA_NODE.FIELDA_CODE" (as per above View Context).
Now when I run the Web Dynpro Application, I get the error:
Context Path HEADER_DATA.FIELDA_NODE.FIELDA_CODE Cannot Be Resolved (Last Node Is Empty) ?ꯀ ??
Can anybody help with this?
I have no idea why it's doing this. I assume I've missed a step or done something completely wrong!
I've tried DropDownByIndex for FIELDA_CODE, and got the error message:
The ASSERT condition was violated.
(Note: One way that does work is to create a Supply Function (node property) for the FIELDA_NODE. And create a DropDownByIndex for the FIELDA_TEXT field/attribute.)
But, I feel this should be un-necessary. Since I have the master and text tables, I have the Search Help, I should be able to create a DropDownByKey field - without need for any coding.
Also, once FieldA is working.
How can I restrict FieldB and FieldC (based on the matrix table above)?
I created an OnSelect event for FIELDA, but in the EventHandler module I wasn't sure
(1) what was the easiest way to get the selected value of FIELDA, and
(2) how to the restrict the possible values of FIELDB.
Any help would of great value!
Thank you in advance.
Rajendra
PS: Sorry for the long winded explanation, but it's the only way to describe what I've done so far.Hi Rajendra,
In order to use a DropDownByIndex the needs to be set to multiple. Currently, the node is 0..1. Please set it to 0..N and it should work.
The reason why the DropDownByKey does not work is that the node has no element. Using 0..1 means that initially no element is present. You need to supply one.
In summary, a better design would be to decouple the places where the dropdownbykey and dropdownbyindex get their data from or to use two dropdownbyindex with a master/detail relationship.
Best regards,
Thomas -
Hello Seniors,
I am new to Web DynPro for ABAP. Could you please give me some information or send some basic documents for Web DynPro for ABAP. Please send some basic scenarios also.
Thank you,
Chaitanya.C.NHi Chaitanya,
Here is some information about Webdynpro for ABAP.
1) This is basic Info of WD ABAP
As the name suggests Web Dynpro for ABAP uses exactly the same meta model as its cousin Web Dynpro for Java. A Web Dynpro component, a Web Dynpro view, a Web Dynpro model, a Web Dynpro controller have the same semantics both for ABAP and Java. The main difference is the designtime environment, the development infrastructure and the runtime environment.
The designtime environment is properly embedded in the ABAP Workbench where Web Dynpro artifacts are simply a new category like BSP applications or classical dynpro based applications before. Also no surprises regarding the development infrastructure. The correction and transport system keeps track on all changes that are done, versions them and helps to propagate the Web Dynpro application from development to production like you would do with ordinary BSP or dynpro-based applications.
Last not least the execution platform is the ABAP server that produces application content ready to be integrated in the NetWeaver Portal seamlessly. Features like portal eventing can be used between applications written in ABAP or applications developed with Java.
2 ) I can give you links that can help you a lot.
First of all start doing SAP SDN tutorials .
Create some compenents with BAPI , Component usage and ALV .
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/02e1fa45-0801-0010-10a0-f1cf47e8c943
/people/marilyn.pratt/blog/2005/12/20/web-dynpro-for-abap
Try to Download demo tutorials from SDN library & Try to search WebDynpro ABAP WebLogs .
Also, SAP has provided you with ample demo example of WD ABAP already bundled with SAP . Just Try out Components starting with WDR . I can tell you few like WDR_TEST_EVENTS ( It shows how every UI elments to use )
See packages like SWDP_DEMO , SALV_WD_DEMO
there are many more .
We can call BAPI through a service call in web dynpro application. Thus automatically backgroud code for BAPI execution will be generated.
To start with Web dynpro ABAP you can try following tutorial:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a282c952-0801-0010-1eb5-87953e036712
You can start with tutorials and all. There are around six tutorials in SDN library.
Web Dynpro for ABAP
http://help.sap.com/saphelp_erp2005/helpdata/en/a5/1a1e3e7181b60ae10000000a114084/frameset.htm
best tutorials in wbdynpro for ABAP to start with :
https://www.sdn.sap.com/irj/sdn/developerareas/webdynpro?rid=/webcontent/uuid/fed073e5-0901-0010-4eb4-c9882aac7b11 [original link is broken] [original link is broken]
Have a look at the following SDN WDA Wiki . There you can find all relevant information.
https://wiki.sdn.sap.com/wiki/display/WDABAP/Main
Also you can search weblogs on web dynpro ABAP.
http://help.sap.com/saphelp_nw2004s/helpdata/en/45/19bf8c16f25d7ae10000000a11466f/frameset.htm
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/02e1fa45-0801-0010-10a0-f1cf47e8c943
/people/marilyn.pratt/blog/2005/12/20/web-dynpro-for-abap
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/02e1fa45-0801-0010-10a0-f1cf47e8c943
http://help.sap.com/saphelp_nw04s/helpdata/en/77/3545415ea6f523e10000000a155106/frameset.htm
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/wdabap/main&
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a282c952-0801-0010-1eb5-87953e036712
You can start with tutorials and all. There are around six tutorials in SDN library.
Web Dynpro for ABAP
http://help.sap.com/saphelp_erp2005/helpdata/en/a5/1a1e3e7181b60ae10000000a114084/frameset.htm
best tutorials in wbdynpro for ABAP to start with :
https://www.sdn.sap.com/irj/sdn/developerareas/webdynpro?rid=/webcontent/uuid/fed073e5-0901-0010-4eb4-c9882aac7b11 [original link is broken] [original link is broken]
http://www.****************/Tutorials/WebDynproABAP/TextRadioButton/page1.htm
reward points for helpful answers.
Thanks,
Raghava Vakada.
Maybe you are looking for
-
LSMW BAPI Open Sales Order Load - How to update conditions?
Hello gurus, I was using the BAPI SALESORDER_CREATEFROMDAT2 to upload open sales orders. Wanted to overwrite the default PR00 pricing condition that gets pulled from the customer-material info record, with the price that was existing in the original
-
Hello I lived in Australia for 3.5 years, using a 3G and a 4G iphone. In April I moved back to the USA and would like to use one of these iphones. I understand Australia iphones use a GSM language and AT&T is the only carrier that will allow me to
-
Apparently, I have either a problem with one of my extension sockets, or it is a piece of phone equipment plugged into one extension socket that is draining the other one thus rendering me with a Internet connection speed that is lower than I could g
-
This is the second time since I got my new 5s that when I wake up it isn't on and not charged. I cannot get it to turn on. The last time it did this was about a week ago and it spontaneously turned on later in the day with minimal charge. What is goi
-
Adobe Ilustrator giving me low ram error even though there is plenty of ram
One of my users is getting the message "The operation cannot complete because there isn't enough memory (RAM) available" error when opening a file in illustrator. I had them send me a screen show of the memory utilization in task manager and it is a