cancel
Showing results for 
Search instead for 
Did you mean: 

Search Functionality in Webdynpro

Former Member
0 Kudos

Hello Everyone,

I want to know if it is possible to include a "Search functionality" in the a custom developed webdynpro application by calling a Bapi (BAPI_PO_CREATE). I want to incude this search functionality attached to a field (Ex:- Vendor Number) so that the user can search from the list of Vendor's stored in SAP. Please help me in resolving this issue. I would appreciate your help.

Let me know , if you need more information.

Regards,

PG.

Accepted Solutions (1)

Accepted Solutions (1)

former_member201361
Active Contributor
0 Kudos

Hi,

Object Value Selector will fit for Search Query in web dynpro Java.

have a look to this for implementing OVS ..

[https://www.sdn.sap.com/irj/scn/wiki?path=/display/wdjava/valueHelp-ObjectValue+Selector]

Thanks and regards

Former Member
0 Kudos

Hi Fazal,

Thanks a lot for your reply. I have looked into your wiki and realised that that is for NW CE 7.1. But I am using NW 7.0. I am not much familiar with CE 7.1.So, could you help me in giving some suggestion regarding this issue. I would appreciate your help.

Regards,

PG.

former_member201361
Active Contributor
0 Kudos

Hi,

please check whether u will able to implement OVS in ur component by following this Steps :

create a Method in the component controller say "ovsListener" and return type is "com.sap.tc.webdynpro.promodel.api.IWDOVSContextNotificationListener "

to do this , in the pop up window , give the method name and in the return type ---> select browse --> select java type --> in the pop up give the class name .

if u get OVS Listener, then u can follow the Steps mentioned in my wiki .

Thanks and Regards'

Former Member
0 Kudos

Hi Fazal,

Thanks a lot for your reply. I have checked for the Java type and it is available in my NWDS as well:-) Thanks alot for that. My actual problem is as follows:-

"I have created a Webdynpro Development Component by calling a Remote RFC i.e(BAPI_PO_CREATE). Now I want to include the search functionality after a Inputfield (VENDOR NUMBER) so that when the user doesn't know what to enter in a field he can enter a search term as in SAP so that it would search in the backend from the list of Vendors. Did you get my requirement. Please help me in this regard. I would appreciate your help. Or can I contact you by any means so that I can share some screenshots which might help me understand in more detail. Please help me in this issue, I would appreciate your help.

Regards,

PG.

former_member201361
Active Contributor
0 Kudos

Hi ,

follow the Wiki , which i have given in my previuos post .

I have created a Webdynpro Development Component by calling a Remote RFC i.e(BAPI_PO_CREATE). Now I want to include the search functionality after a Inputfield (VENDOR NUMBER) so that when the user doesn't know what to enter in a field he can enter a search term as in SAP so that it would search in the backend from the list of Vendors.

if ur RFC can fetch values whatever the user gives , then follow the wiki document itself.

even , i had the same requirement in Employee search help which has three fileds in Table namely First name , second name and ecode.what we did is ,

we imported a model , which takes one input sau "ur search query(it can be first name , last name or ecode)". based on the serach query , the model will return all the employees based on the serach query.

see my business card

thanks and regards

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi..

You can create search help using OVS.

Check the following link..

https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a0ab331b-97c6-2a10-f982-c9f972c3...

Hope this helps to u..

Regards,

Alamelu

Former Member
0 Kudos

Hello,

Thanks a lot for your reply. My problem is not to include a OVS, I want to know the process of linking the "field" with the search functionality which is similar to the search functionality in SAP backend. How should I link that functionality in webdynpro.

And by the way, the link that you gave me is not working. Please have a look!

Please help me in resolving this issue. I would appreciate your help.

Regards,

PG.