I'm trying to access the address given for a new customer in user exit EXIT_SAPMF02D_001. I need Street4, which is not available on the i_kna1 object, and therefore I'm trying to play with the i_addrhandle parameter.
Can this be used with function module GET_ADDR to read addresses before the customer is saved, the following code gives me exception 1.
ls_addr1-addrhandle = i_addrhandle. CALL FUNCTION 'ADDR_GET' EXPORTING address_selection = ls_addr1 IMPORTING address_value = ls_addr1_val EXCEPTIONS parameter_error = 1 address_not_exist = 2 version_not_exist = 3 internal_error = 4 OTHERS = 5