cancel
Showing results for 
Search instead for 
Did you mean: 

New search help on CRMD_ORDER locator

Former Member
0 Kudos

Hi Experts,

I have created a new search id in the search type SAL_SALES. I have copied the function group CRM_1O_LOCATOR in order to modify the logic to satisfy the customer requirements. Before doing any mkodification I have decided to test the search pressing start button and the search threw a dump. I have debugged and I have found the error....the search try to use a method of the class cl_crm_1o_locator through the instance gv_application. The problem is that gv_application is null and the exception OBJECTS_OBJREF_NOT_ASSIGNED, because of accessing via 'NULL' object reference is not possible. The standard create this reference object via the constructor method of the class CL_CRM_1O_NAVIG, where call the FM CRM_1O_LOCATOR and pass this reference to variable gv_application of the function group CRM_1O_LOCATOR, and then call ascreen of my ZFunction group, thus that my own gv_appliocation is never instantiated. Anyone have dealt with this????

Best Regards,

Rosa

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

I do not know if it is possible or not but isnt there a BADI to handle customer logic in CRM ORDR Locator? I am not sure if there is one to meet your requirement, but you can certainly explore this if not already done so. Another thing, there is a transaction (I dont remember the code) where you can customize a lot of things about CRM ORDER Locator. You can check if your requirement is possible through some customizing in that. Other possibility that looks to me is, in case your gv_application is still not instantiated, you need to make a Z of cl_crm_10_navig and write logic to instantiate from your Z FG, because the standard class is still trying to look from standard FG probably.

I dont know if these ideas are of any help. Ignore if have already explored them.

Former Member
0 Kudos

Hi,

I haven't found any badi related with search locator CRMD_ORDER. I have not found any customizing transaction for CRMD_ORDER. Regarding doing a Z of class CL_CRM_1O_NAVIG and write my own logic in order to instantiate gv_application, I think it won´t resolve the problem, because how I do to call the constructor of my Z CL_CRM_1O_NAVIG?. The standard do so through the control program of the transaction CRMD_ORDER. Therefore I should do a standard modification, and this is what I am trying to avoid.

Anyway, I appreciate all your suggestions and I reward you with some points.

If you found out any clue about it, please let me know it.

Kind Regards,

Rosa

Answers (2)

Answers (2)

Former Member
0 Kudos

My requirement is

Whenever I execute CRMD_BUS2000115 transaction I want to display addition fields in the “Search for Business Transaction Screen”. i.e. I have to add existing and new fields to “Search for Business Transaction Screen”.

How is it possible?

I tried the following option but unable to process further anyone can help.

I have copied the function group CRM_1O_LOCATOR into Z_CRM_10_LOCATOR along with all the function modules to Z function module in the function group.

I went to SPRO “Define Search in Locator” now where do I set my Z program and Z function module?

Cheers

Former Member
0 Kudos

Hi Pradipta,

you must create a new search id. go to SPRO --> Customer Relationship Management --> Interaction Center Winclient --> Visible Components --> Navigation Area --> Define Search in Locator.

There, you create your new search id and assign it your own function module and screen. Remember that you must create also an elementary search that corresponds with this new search id, and you must aasign it to the corresponding compound search help for CRMD_BUS2000115.

Hope it helps.

Best Regards,

Rosa

GopalakrishnanS
Participant
0 Kudos

Hi Rosa,

Are you able to resolve this issue. if so please provide the complete steps in enhancing the search locator for service contract CRMD_BUS2000112 to include additional fields in the "Find" tab and retrieve the results.

I tried to create search id in search type SAL_SERVICEKONTRAKTE but not able to complete it.

@ Other members:

As anyone did GUI enhancement particular for crmd_order transaction on search locator.

Thanks,

Gopalakrishnan S.

Former Member
0 Kudos

I hope you would have checked if any solutions arise from customizing transaction LOCA_CUST.

Also I got several BADIs which get called while CRMD_ORDER is launched

these are:

BUS_LOCA_HIDE_SEARCH

CRM_ORDER_AUTH_CHECK

CRM_ORDERADM_SCENARI

CRM_ORDER_FIELDCHECK

CRM_ORDERADM_H_BADI

CRM_ORDER_STATUS etc etc

I dont know if you are already aware of them. if not may be you can have a look at them.

Your problem appears to be interesting. what is the purpose of creating a new search Id in your case? Generally SAP provides flexibility. I am interested in knowing details of your requirement like why there is such a need.

Former Member
0 Kudos

Hi,

First of all, I wish you a happy new year!!!!

I am going to explain you why I want create a new search Id. Really I want a search like 'General' search Id (search type 'Sales'). But I want that Status listbox shows user status instead of system status or whatever it shows. I have read that you can maintan table view CRMV_STATUS_PROC in order to add the status you want to display. But what must I do with the rest of the status I don´t want display...does it suffice marking the checkbox of display field for every status in the table?

Besides, I want to add a new column in the layout of the result table of the search. I want to add the description of the business partner from a specific partner function for every sales order. How can I achieve this?

Thank you very much for your interest.

Best Regards,

Rosa