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

SAPEVENT - Action to my own Serch Help

Hello,

i have a problem with my search help folder in the CIC.

I want to start the customer search help with my own criteria.

My own criteria i can code in a Search help exit ( i create - no Problem ).

But i have to have two kinds of Views ( normal and my own )

In order to do this, i create a new Button.

What i have done till now was:

- Create a Button in the HTML- Template ( CRM_CIC_SEARCH_DISPLAY )

- The text of the my own Button i create in the FB CCMCS_GET_TEXTS_FOR_HTML.

- I Create my own SAPEVENT in HTML:

SAPEVENT:FIND - Search

!!! my own: SAPEVENT:FIND2 - Search

...

later in the HTML-Code -- my own Find- button

...

TR

TD BUTTON on-click=FIND()

TR

TD BUTTON on-click=FIND2()

If i have a look to the HTML- Coding in the Template Search (CIC), i see that Coding (find and my own

find2) :

SAPEVENT:UNDO - Reset() + Delete SAPEVENT:FIND - Search SAPEVENT:FIND2 - Search SAPEVENT:OKAY - Confirm

SAPEVENT:LEAN_SAVE -

...

and later

...

function FIND()

{ document.FORM1.action = "SAPEVENT:FIND"; document.FORM1.submit(); function FIND2() {

document.FORM1.action = "SAPEVENT:FIND"; document.FORM1.submit(); }

- In the Functiongroup CRM_CIC_BP_SUB in the include LCRM_CIC_BP_SUBF10 i Insert the action find2:

CASE edaction.

*{ INSERT DCTK902670 5

*

WHEN 'FIND2'.

PERFORM process_search TABLES edquery_table.

CALL FUNCTION gs_csearch_ss_methods-flush_data

EXPORTING

set_exec_script = 'X'.

*} INSERT

WHEN 'FIND'.

PERFORM process_search TABLES edquery_table.

CALL FUNCTION gs_csearch_ss_methods-flush_data

EXPORTING

set_exec_script = 'X'.

Now I need help with the Coding. Where can i transferred a Parameter to the serchhelp ?

I hope anyone can show me the place in the Coding?

Or someone have an other idea to realize the Task.

kind regards

Torsten

( The editor has serious problems with preserved words

like "onClick")

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Nov 23, 2007 at 11:39 AM

    Hallo,

    i find the answer myself ( a consultant show me the way ):

    before i perform the Search, i have to set a global veriable.

    WHEN 'FIND2'.

    PERFORM process_search TABLES edquery_table.

    in the Searchhelp, i get the global variable to decide, what to do.

    Sincerely

    Torsten

    Add a comment
    10|10000 characters needed characters exceeded

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.