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

Use of additional fields win IC Winclient BP Search

Hi

I’m trying to use the HOUSE_NUM2 field in structure CCMSEARCH_STRUCT to search for a BP in the IC Win Client (CIC0) in CRM.

I can get the HTML page to pass the field back to CCMSEARCH_STRUCT, but after several dynamic function calls the program ends up calling FM BAPI_BUPA_SEARCH which does not have the field HOUSE_NUM2 as an input parameter.

Is it possible to configure the search to call an FM that uses that field as well? (without repairing the SAP code)

I have followed these steps:

1) Copied O_ISU_BPFINDER_BUTTON to ZO_ISU_BPFINDER_BUTTON, changed the HTML and re-imported it.

The changes were to remove some fields (ie IBASE components) and add the new input field HOUSE_NUM2.

Here is the relevant HTML tag:

<TR>

<TH align=left width=28%><! %%STREET_NO% ></TH>

<TD width=72%><NOBR>

<INPUT name=HOUSE_NUM1 size=6 maxLength=10 type=TEXT/PLAIN>

<INPUT name=STREET size=25 maxLength=60 type=TEXT/PLAIN>

<INPUT name=HOUSE_NUM2 size=6 maxLength=10 type=TEXT/PLAIN>

</NOBR></TD></TR>

2) I have copied the entries for O_ISU_BPFINDER_BUTTON in transaction CRMC_CIC_SEARCH_CNTR and ensured that the followin entry is there:

ZO_ISU_BPFINDER_BUTTON CCMADDRESSFIELDS HOUSE_NUM2 X

3) I have created a new search profile in transaction CRMC_CIC_SEARCH_RULE with the following setttings:

HTML for BP Search = ZO_ISU_BPFINDER_BUTTON

Under priorities: CCMADDRESSFIELDS CCMCS_ADDR_SEARCH_CONTROL 1

(This is the only relevant entry from what I can tell in Debug mode)

Everything else works, and I can see the relevant data being passed to SAP, but by the time the actual search takes place in BAPI_BUPA_SEARCH HOUSE_NUM2 is not available as a search parameter.

I have searched these forums and come across a couple of threads that seems to imply that it should just work if I follow these steps, but I can only assume that I am using an incorrect search Function Module

Thanks for your help

Regards Esti

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 Aug 14, 2007 at 09:57 PM

    Hi Esti,

    As you are saying that this change needs to break SAP Std code, i suggest you to raise an OSS note so that SAP would directly help you find in finding the best solution which may be applying latest patches,etc..

    Importantly..

    ...when i see the BAPI_BUPA_SEARCH i could see the search parameter HOUSE_NO which can suffice ur purpose and one more thing is there is no data element called HOUSE_NUM2 in CRM5.0 system as i could see.

    Missing any latest service packs??

    Siva

    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.