Skip to Content
0
Former Member
Mar 03, 2011 at 01:04 PM

How to determine Creation mode in badi BADI_CRM_BP_UIU_DEFAULTS

81 Views

Hello all,

I am using BADI_CRM_BP_UIU_DEFAULTS and method IF_UIU_BP_DEFAULTS~GET_DEFAULT_VALUES to prefill several fields with default values, when creating a business partner or data belonging to the business partner.

Does anybody have a good way to check if the badi is entered in creation mode? (i currently check if the field i want to add the default value in is already filled, but this isn't bulletproof, because the user could have cleared the field) Obviously I don't want the values to be adjusted to default values when I enter the screens in change mode.

Regards,

Martijn.