Quantcast
Channel: SCN : All Content - SAP CRM: Webclient UI - Framework
Viewing all articles
Browse latest Browse all 4552

Search help in Web UI

$
0
0

Hi WEB UI experts,


I was told to develop a custom search help replacing drop down for an attribute. I developed it but somehow it is not working correctly as expected. I think i am missing something here. Please help.

 

To get a brief idea about what i have done/developed till now, please see the below details.

 

1)  I added piece of code to enable search help (already developed in se11) in GET_V method of NAME (Prospect Contact) attribute.

 

2)  In search help, i have taken 4 parameters as an input (Account ID, Last name, First name, Contact ID) & few parameters as an output parameters including Contact ID.

 

3) To get the selected row from search help result list, i did outbound mapping into GET_V method of NAME attribute as mentioned below.

                    ls_attr-context_attr = 'NAME'.

                    ls_attr-f4_attr         = 'CONTACT_ID'.

                    appending ls_attr to Outbound mapping table.

 

After selecting the row, i am getting contact id as well but here the problem is contact id should come with its name & address like 123456/ XYZ/ New York. For this thing, i have already written code into GET method of NAME attribute. But this is not being triggered. Any help, much appreciated.

 

4) The another problem is, in search help pop up i want to pass some initial value to ACCOUNT_ID field as users should not get option to select contacts for other account. As account info is existing in some different Context Node (PROSPECT) so i added a new value node: ACCOUNT_ID into PROSPECTCONTACT Context Node where NAME attribute is existing (Please note both are value attributes). After i did InBound Mapping in GET_V method of NAME attribute like below mentioned:

 

                    ls_attr-context_attr = 'ACCOUNT_ID.

                    ls_attr-f4_attr         = 'ACCOUNT_ID'.

                    appending ls_attr to Inbound mapping table.

 

I have checked into run time, i am getting account ID into newly added value attribute: Account_ID, but it is not being set to search help pop level into Account ID field.

 

Any help, much appreciated.

 

Thanks & Regards,

Shakun.


Viewing all articles
Browse latest Browse all 4552

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>