SAP HANA - Default Values in Business Partners (BP).

Most of the times, client comes up with a requirement wherein they want some fields to be defaulted in Business Partner. One such requirement is to default the communication language to 'EN'. Here we are going to talk about all the steps to achieve the same. Step 1: Create a function group via SE80. (For example, ZFG_MM_BP). Step 2: Create a new function module ZBUP_BUPA_EVENT_ISSTA (or probably any name in the customer name space Y* or Z*) with the following source code (only): FUNCTION zbup_bupa_event_issta. *"---------------------------------------------------------------------- *"*"Local Interface: *"---------------------------------------------------------------------- DATA: lwa_default TYPE busdefault. lwa_default-langu = sy-langu. CALL FUNCTION 'BUP_BUPA_FIELDVALUES_SET' EXPORTING i_busdefault = lwa_default. ENDFUNCTION. Save the function module and activate the same as well as function group. Step 3: Navigate to...