cancel
Showing results for 
Search instead for 
Did you mean: 

SAP CRM Unable to Enter/Modify date type from Opportunity Header

Former Member
0 Kudos

Hi Frds,

I have added date type context node(BTDate) in the opportunity Header. I have follow the process of changing super class and get DATA attribute and move it to Configuration. Also modify ON_NEW_FOCUS method.


Followed the below link exactly.



Behaviour:

1) The date field was disable so i change get_i method and make it editable

2) When entered date in the field it get reset to blank field.

During debug i figure it out that the entity is not change able and thus exceptional rise.

Please advice what need to do.

Thanks,

Rajan

Accepted Solutions (0)

Answers (1)

Answers (1)

kapilpatil
Active Contributor
0 Kudos

Hello Rajan,

Please check the following:

1. Date type configuration -

          a. Is there a date rule assigned ? There is should not be one if you expect user to enter

          b. Screen area configuration, 'only disp.Field' is unchecked

2. Component Workbench - Setter getter methods are implemented and get_i method is implemented

                                    

3. View configuration - Verify if date is editable.

Thanks,

Kapil  

Former Member
0 Kudos

Thanks Kapil.

Issue was, some how the bol relation was not created or it is not getting found after relationship BTHeaderDatesSet.

But now issue is that there is a Duration which use to display(only total month) the difference of two date type. for this date rule has created but I don't have any idea how to modify this date rule to display total month.

Please correct if somewhere I am wrong.

Please help.

Thanks,

Rajan

kapilpatil
Active Contributor
0 Kudos

Hello Rajan,

Is your original issue resolved? Kindly acknowledge the same.

For date rule i advise you to open a new thread.

Thanks,

Kapil Patil