on 05-03-2011 7:37 AM
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
Hi Lina,
Please go through below link:
http://help.sap.com/saphelp_nw70/helpdata/EN/42/fb2fe500553ee4e10000000a1553f7/frameset.htm
Regards,
Vaibhav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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]
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.
Can anyone please help me up on this.
Thanks,
Lina
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
24 | |
12 | |
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.