on 07-18-2008 9:37 AM
Hello,
I have created an Interactive Form with ZCI type.
I placed a text field MATNR on the form.
Then I placed a Native WD UI element 'Value Help' as mentioned in the below link: http://help.sap.com/saphelp_nw70/helpdata/EN/42/fb2fe500553ee4e10000000a1553f7/frameset.htm
This form was then embeded into Web Dynpro ABAP view.
The problem is that when I click on the F4 button, nothing happens.
Is anything else needs to be done?
Thanks
Sagar
Hi Amol,
After binding the Context variable in the view, and in the Adobe Layout Designer from the Library go to WebDynpro Native Tab and drag and drop the Value Help and for this automatically JavaScript is being generated, go that script and edit the line
Var fieldname = "yourfieldname";
Note: Don't forget to link the context attribute to search help. ie. in the context properties of the attributes select the input help mode as dictionary search help and specify the name of the search help present in data dictionary.
And now go to Utilities and click on u201CInsert Web Dynpro Scriptu201D.
Also make sure that you specify the Layout as ZCI Layout in the Propertioes of the Adobe Form.
Ragards,
Amol Patil.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The problem has been solved.
The ADOBE Interface has to be XML Schema Based interface and not ABAP-Dictionary or Smartform compatible.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Amol,
I am working on Adobe Interactive Form using Web Dynpro ABAP.
I am using a XML schema based interface.
I created a .xsd file and loaded it. But I am encountering errors. Please let me know what are the contents I should put in the .xsd file. Right now, the .xsd file contains just brief text to avoid an empty file.
Thanks and Regards,
Bruce.
Hi Amol ,
Have you mentioned the name of the field in the script as given in the link..
"**INSERT_NAME_HERE** "
give the field name in there .. it will work ..
for .eg if your field name is MATNR ..
insert the name of the field in the script
var fieldName = "MATNR";
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok, now I am trying to specify the search help name dynamically in WDDOINIT method of the view controller.
But I can not find the appropriate method in if_wd_context_element.
I was able to set the value to 'TEST' dynamically as shown below:
DATA lo_nd_ztest_interactive_af TYPE REF TO if_wd_context_node.
DATA lo_el_ztest_interactive_af TYPE REF TO if_wd_context_element.
DATA ls_ztest_interactive_af TYPE wd_this->element_ztest_interactive_af.
DATA lv_matnr LIKE ls_ztest_interactive_af-matnr.
navigate from <CONTEXT> to <ZTEST_INTERACTIVE_AF> via lead selection
lo_nd_ztest_interactive_af = wd_context->get_child_node( name = wd_this->wdctx_ztest_interactive_af ).
get element via lead selection
lo_el_ztest_interactive_af = lo_nd_ztest_interactive_af->get_element( ).
get single attribute
lo_el_ztest_interactive_af->set_attribute(
EXPORTING
name = `MATNR`
value = 'TEST' ).
But how do I set the value help property?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Guys,
Any help here?
Thanks
Sagar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
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.