cancel
Showing results for 
Search instead for 
Did you mean: 

Custom Drop Down Miss Value - CRM 7

Former Member
0 Kudos

Hi all,

We are working on  the implementing of an upgrade CRM 7.

I need your help with the following issue.

-------------------------------------------------------------------------------------

DROP DOWN LIST

BT126H_APPT/ApptDetails

BTSUBJECTG Base Entity BTSubject

STRUCT.CONC_KEY

-------------------------------------------------------------------------------------

Situation.

I have added custom Logic in the methods: GET_V.

Problem.

On "Enter" Event - Or "Save" Event

The value of Drop Down List is missing.

Note.

  • Code Attached.

Thanks and Regards,

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi all,

The values of Drop Down (KEY) should be CONCADENATE with #.

Thanks and Regards,

Answers (2)

Answers (2)

kumar5
Active Contributor
0 Kudos

This may be because your value is not set for the entity when you select one value from dropdown.

You can check Setter method of the field for the same. Is it getting called when you select a value from the drop down? And also debug it and find whether you are getting the selected value in drop down here or not.

Thanks

Kumar Gaurav.

Former Member
0 Kudos

Method SET_CONC_KEY is worwing OK (Standard)

Method GET_CONC_KEY is not working... Is Standard too.

Both methods are being called.

Thanks!

Former Member
0 Kudos

Hi,

have you checked in collection whether you have right value in it after execution of set method ?

If yes then create a watch point to that attribute so that you can get the exact place where it is clearing it.

Regards,

Vidyasagar

Former Member
0 Kudos

Is the statement " CHECK gr_owner IS BOUND." passing on save/enter event, have you debugged, what is gr_owner referring to ?

If you can explain the requirement then it would be easier to understand.

--Shobhit

Former Member
0 Kudos

Thanks for your reply.

I need set the Drop Down List "Result" and then save.

But when I press "Enter" or "Save", the Drop Down List go back to initial value.

GR_OWNER is a reference of other Context Node for get "Reason" value.

Always is Bound.

Former Member
0 Kudos

From your code i can understand is that you want to change the ddlb of Reason field based on particular reason value and logged in user country ( with some other dependency in custom table), if you want to change the ddlb of Result attr based on reason field then you should have this code in get_v_of result attribute.

Correct me if im wrong.

Former Member
0 Kudos

Drop Down "Result" is filled depending of the value in Drop Down "Reason".

It is working OK.

The problem is that when I select a value of "Result" and then press "Enter" or "Save".

The value selected is missing.

If I press enter, "Result" go back to empty selected value.

Thanks!!

Former Member
0 Kudos

There are many SAP bugs for activities reason/result please raise message to SAP after debugging if any custom code is not clearing up that entity/attribute. The issue is that the value which you are setting is getting cleared from the entity on second roundtrip.

There is a similar note 1537041   which might give you some pointers.

Thanks,

Shobhit