When I want to save the entry of the address fields, only the 4 standards fields: City, Province/country and Postal code are saved and not the two custom fields: Address line1 and address line 2, which become cleared.
The problem only occurs in NEW Mode and not in EDIT Mode. ( business partner ).
T tried DO_PREPARE_OUTPUT, DO_HANDLE_DATA methods and on Even handler EH ONSAVE but the both fields are not saved in table BUT000.
The 4 standards fields: are assigned to the Design Layer: BP_ACCOUNT, STANDARDADDRESS.
and No assignation for the 2 custom fields. Then I assigned them to the same design layer but nothing happened.
Context node: HEADER
Ui component: BP_ADDR
Object type : BP_ADDRESS