cancel
Showing results for 
Search instead for 
Did you mean: 

Value help in Online Form

Former Member
0 Kudos

Hi,

I am creating an online form.using webdynpro.

My requirement is that I require value help in dropdowns directly from the Sap.

I have tried using 'Value help drop down list' from webdynpronative tab in object library.But still it is not working.

Kindly help.

Thanks,

Lina

Accepted Solutions (0)

Answers (2)

Answers (2)

vaibhav_tiwari
Contributor
0 Kudos
Former Member
0 Kudos

Hi,

I have followed the following steps for the creation of field with search help.

1.I have created a Z table having one field LAND1 to which I have attached the search help H_T005_LAND.

2.In se80,I have created a webdynpro component.

3.In the context tab of Main View,I have created a Node Adobe .

In adobe ,I have created another node of type Z table in which it has a field LAND1.

When I click display on Land1,it shows

Input help mode : automatic

Determined Input Help : H_T005_LAND automatically.

4.I have created an attribute to context :PDF_source of type xstring.

5.In layout tab,in properties I have binded the data source to context binding i.e.adobe and pdfsource binded to pdf source of context,have checked the enabled property.

6.I have created a Z form with interface of type xml schema based.

7.In layout,in object library from webdynpronative tab i have dragged and dropped value help drop down list.

8.In the object pallete ,in binding tab of value help drop down list ,I have binded the land1field without updating any properties.

9.In utilities ,i have inserted webdynpro script.

10.I have saved and activated the form,interface and webdyn component.

11.Then I have created webdyn application and test.

12.In the output ,I m gtn the field with dropdown .I am able to insert the value but F4 is not working.

Kindly help where I have made a mistake.

Thanks,

Lina

Former Member
0 Kudos

If I were you I would use the Enumerated Drop Down List. I have never had any problems using that. Check out this link....It should help. Just look at the second part of the article called Static/Context based Value Help.

[http://careerabap.blogspot.com/2011/02/value-help-in-adobe-interactive-forms.html]

Former Member
0 Kudos

Hi Josh,

In this forum,it is required to create a text and value field .I am not v clear on that part.

Can u please elaborate how to do that?

Do you know any other link where search help is attached from data dictionary is being described from the scratch.

Thanks & Regards,

Lina

Former Member
0 Kudos

Hii Vaibhav,

I am not v clear with the procedure being described in this link.

If its possible,Please explain how exactly the search help is getting attached to the Pdf form.

Thanks,

Lina

Former Member
0 Kudos

Hi Lina,

Yes, there are two elements to the enumerated drop down, the value and the text. The value is self-explanatory...it will be the value of a specific record. The text is what will be displayed in the drop down. You could set these to be the same if you wish. I have done that before.

So in your case...it might look something like this....

DATA: lr_node_info TYPE REF to if_wd_context_node_info,
      lt_value_set TYPE wdr_context_attr_value_list.

lr_node_info = wd_context->get_node_info( ).
lr_node_info = lr_node_info->get_child_node(wd_this->wdctx_YOUR_NODE).

select land1 AS value landx AS text FROM T005 
       into table lt_value_set
       where spras = sy-langu.

lr_node_info->set_attribute_value_set(
       exporting
         name      = 'ATTRIBUTE_NAME'
         value_set = lt_value_set ).

Then you would just create the enumerated drop down in your form and bind it to your attribute.

Former Member
0 Kudos

Can anyone please help me up on this.

Thanks,

Lina

Former Member
0 Kudos

Only the OVS can be displayed using the Value Help Drop-Down List control. Is it necessary in your form to have the value help in a drop down or could you just use the standard value help control?

Former Member
0 Kudos

Hi Josh,

I need search help from standard data dictionary.

Thanks,

Lina