cancel
Showing results for 
Search instead for 
Did you mean: 

Find Function does not work in UDO??? 2005A PL39

Former Member
0 Kudos

Hi Guys,

I am posting a question about the Find functionality in UDO. I have created a UDO (Document Type) and my customized form linked to the registered UDO. I set the Find column to DocEntry and DocNum column. (Note: DocEntry & DocNum are default fields created automatically by SAP)

I linked one of my EditText to the DocNum field. The problem is that it does not allow me to find the document based on DocNum. Instead, it allows me to find records from others fields (for i.e. Remarks, CardCode, Date, etc). It is very funny because i register the UDO with Find column to DocNum & DocEntry!!!

Does anybody out there having the same problem? Or maybe somebody has any clues if it is allowed to find a record based on the DocNum? Or is this a bug in this patch level?

I am currently running on 2005A SP01 PL39.

Many Thanks,

Harianto

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi All

I created a form based on a UDO and it did not work because I found that the problem is in the code.

Try:

1) Build a form for your UDO using B1DE UDO Form Generator;

2) Load the form generated by your code.

In the case if not, occurs do the following: comment the code at the events and check again functionality.

I has posted similar question on this [Thread: UDO Form: Search functionality|;

Now my form works.

Best Regards

Sierdna S.

Edited by: Sierdna S on Oct 20, 2008 1:35 PM

Former Member
0 Kudos

Hi

I have the same problem of find functionality in the form based UDO (MASTER_DATA).

I also noticed that after activation of the search by pressing "Find" (menuuid = "1281") form in the video is cleared, however, the fields remain dirty (see in the statusbar).

Why is dirty?

Regards

Sierdna S.

P.S. SAP B1 2005A SP01 PL46.

Former Member
0 Kudos

Harianto,

I think u cant set the default variable as find field. But if u want to do the DocEntry mean i have to store that docentry in another userdefined field.

Regards,

Anitha

Former Member
0 Kudos

Hi All,

Anybody has any clues what needs to be done for this problem? Or is this not achievable?

Many Thanks,

Harianto

Former Member
0 Kudos

hi

i also got same problem with 'find' i write code for find.

i used recordset for find.

regards,

Rajesh Saini

Former Member
0 Kudos

Hi,

i also have the same problem by using SBO 2007A PL37.

Did you find a solution?

regards

Markus

YatseaLi
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello all,

It works fine in my B1 2007. (2007 A, PL 30)

I guess that it has wrong something in the form definition attached to UDO.

-Make sure that the find default service is enabled in the UDO registration

-Make sure the Uid of Ok button is 1

By the way, my form srf is generated by UDO Form Generator in B1DE.

My UDO example, Documents Object, find services field: DocNum, CardCode:

Kind Regards

-Yatsea

YatseaLi
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello,

Set AffectsFormMode="1" for the find field in the form, then it works fine.

Kind Regards

-Yatsea