cancel
Showing results for 
Search instead for 
Did you mean: 

Adding fields to the Result list in SALES CYCLE

Former Member
0 Kudos

Dear Experts,

Like the above case of having a phone number in the inbox,i came across the same thing but relate to sales.

My problem is ..when ever i go to sales cyle->lead once i press search button i get some list of values displayed....and they are abt some 7 fields displayed over there....

now I have to assign 2 more fields land Phone and Mobile.

i am using

Component : BT108S_LEA

View : Result

context node: Result

pls let me know wht should i do and how should i proceed...

I need help from you all.

Also if i go with the above methods,likes discussed with phone on inbox, the enhancement created will be a client dependent or client-independent one...??

Any changes further would reflect on later stage or not...

Thanks in advance..Awating the reply...

Thanks,

Saurabh

pls experts ..solve my problem..suggest me something

Edited by: Saurabh Agrawal on Jun 9, 2008 3:15 PM

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Saurabh

I fully agree with Masood. Personally I would do step 1 to 5 and in the getter method, I would the following, if you want to display in mobile of the prospect (You should just navigate to another partner if the mobile number should come from somewhere else):

entity ?= current.

coll = entity->get_related_entities(

iv_relation_name = 'BTADVSLea' ). "#EC NOTEXT

current = coll->get_current( ).

IF current IS NOT BOUND.

RETURN.

ENDIF.

entity ?= current.

coll = entity->get_related_entities(

iv_relation_name = 'BTOrderHeader' ). "#EC NOTEXT

current = coll->get_current( ).

IF current IS NOT BOUND.

RETURN.

ENDIF.

entity ?= current.

coll = entity->get_related_entities(

iv_relation_name = 'BTHeaderPartnerSetOrderHeader' ). "#EC NOTEXT

current = coll->get_current( ).

IF current IS NOT BOUND.

RETURN.

ENDIF.

entity ?= current.

coll = entity->get_related_entities(

iv_relation_name = ' BTPartner_00000021_MAIN' ). "#EC NOTEXT

current = coll->get_current( ).

IF current IS NOT BOUND.

RETURN.

ENDIF.

entity ?= current.

coll = entity->get_related_entities(

iv_relation_name = 'BTPartnerAddress' ). "#EC NOTEXT

current = coll->get_current( ).

IF current IS NOT BOUND.

RETURN.

ENDIF.

TRY.

dref = current->get_property( 'TEL_NOMOB' ). "#EC NOTEXT

CATCH cx_crm_cic_parameter_error.

ENDTRY.

CATCH cx_sy_ref_is_initial cx_sy_move_cast_error

cx_crm_genil_model_error.

RETURN.

ENDTRY.

IF dref IS NOT BOUND.

value =

' BTADVSLea/ BTOrderHeader... not bound'."#EC NOTEXT

RETURN.

ENDIF.

TRY.

value = if_bsp_model_util~convert_to_string( data_ref = dref

attribute_path = attribute_path ).

CATCH cx_bsp_conv_illegal_ref.

Best regards,

Peter Damgaard

Former Member
0 Kudos

Thanks Peter and Masood,

i have to hold this issue for some time..because i came to know tht once i apply the patches and updates this will not get updated.as the standard things has been updated...

if u have some more information regarding the enhancement and then its effect on the patches then pls let me know...

and thanks a lots for the best help.

Saurabh.

Former Member
0 Kudos

Hi Saurabh,

I guess the component you are trying to add is supported by

EEWB. Once it is confirmed that EEWB supports it,in the wizard check the checkbox SEARCHENABLED.

Hope it Helps...

Imran.

Former Member
0 Kudos

i tryed using tht...but was not successful...

i got some material..which was doing tht in inbox...

but i could not do it they way it was described...

pls..if u dont mind then let me know wht all in need to do...some context nodes has to be creatd or wht...

pls let me know...

and pls let me know in steps..one by one...

thanks,

Former Member
0 Kudos

Hi Saurabh,

I still believe that this component is supported by EEWB Business Object: CRM Business Transaction.

But,since you tried let us go with the other method.

The other method is to Create Value Nodes.

Here come the steps...

1. Go to the view RESULT, create value nodes for the context node using wizard.

2. Read wizard directions carefully and specify the datatype and other things.

3. Once created, generate the GETTER nad SETTER methods.

4. The fields will now be available in the UI Configuration Tool for adding to the UI.

5.In the getter setter methods code explicitly where the fields should be saved and retrieved from.

6.You can either extend the structure CRMST_QUERY_R_LEA_BTIL and follow steps to enhance the GENIL Layer.This steps to enhance layer by layer you can get in SDN itself.

7.Or create a cusom table as required, save and retrieve the data in the GET and SET methods.

8.Anyhow,you can check out any standard value nodes and understand them.

The value nodes are present among the attributes of the context node and do not begin with 'STRUCT.'.

Reward if useful,

Imran.