cancel
Showing results for 
Search instead for 
Did you mean: 

F4 Value Help on Adobe Interactive Form with Web Dynpro ABAP

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

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.

Former Member
0 Kudos

The problem has been solved.

The ADOBE Interface has to be XML Schema Based interface and not ABAP-Dictionary or Smartform compatible.

Former Member
0 Kudos

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.

Former Member
0 Kudos

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";

Former Member
0 Kudos

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?

Former Member
0 Kudos

Hello Guys,

Any help here?

Thanks

Sagar