Skip to Content
author's profile photo Former Member
Former Member

formatted search & programming addons

Hi all,

I have noticed a strange behaviour which happenes whenever a formatted search is used.


A formatted search reacts to a change in the field "ItemCode".

The search is bound to another field (ie. "OcrCode")

Here, it writes a new value.

In SBO, the field does change as planned.

However a flickering in the itemcode box indicates that more is happening.

If I want to use the event of a field which is bound to a formatted search, I am receiving many more gotfocus events than usual.

I guess this is because the search enters a value in field "OcrCode" and the returns to "ItemCode".

These additional events created by SAP and not by the user mess up my logic.

Did anybody else notice or come up with a solution?

Is it better not to use formatted searches in an existing SAP form?

The aim here is to add more logic to the form. (Like: "if you change the quantity of a template item, all the items below will change quantity accordingly")

Sorry for another riddle, but if I do not ask, I will get no answers.

TIA Lutz

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Feb 04, 2004 at 12:38 PM

    I usually solve thoe problems by catching a succeeding event (on a different item)

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Alon, thank you for responding on this.

      We solved the problem by reacting to the next event SAP creates after it has carried out all formatted searches. In our case (after adding a template item) this is the gotfocus event of the item description.

      Also, during any operation carried out by the addon, we do not listen to SAPs events (we know whats happening, since we created the events by our programmatic action).

      Thanks again

      Lutz Morrien

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.