Skip to Content
0
Former Member
May 14, 2010 at 09:41 AM

Get the error "Make an entry" in the date field

52 Views

Hallo Experts,

I have the following problem. I have a date filed with value help. In the Getter-Method, I inserted the following code to get a value help:

CALL METHOD CL_CRM_UIU_BT_DATE_TOOLS=>GET_DATE
    EXPORTING
      IV_ATTRIBUTE_PATH   = ATTRIBUTE_PATH
      IR_BTDATE           = current
      IR_MODEL_UTIL       = me
    RECEIVING
      RV_VALUE            = value
    EXCEPTIONS
      CONVERSION_ERROR    = 1
*    others              = 2

so far is everything is ok, I can select my date in the field. But the problem is, if I select an other button without any funktion (no event) in the same viewset I get the error message: Make an entry in field "Date". By the way, the field date is a mandantoy field.

My intention is, that the entry of the date filed is still exist (without to save) if I push an other button to invoke an event.

Could anyone help me?

Best regards,

John