
data bcs_exception type ref to cx_bcs.
Try.
catch cx_bcs into bcs_exception.
message i865(so) with bcs_exception->error_type.
endtry.
call function 'SO_ADDRESS_ID_GET'
exporting
address = i_address
address_type = i_addr_type
no_intern = l_no_intern
no_adradmi = l_no_adradmi
usage = l_pers_ref
visname = i_visname
importing
addrnumber = l_addrnumber
persnumber = l_persnumber
lfdnr = l_consnumber
exceptions
address_not_found = 1
address_not_created = 2
parameter_error = 3
x_error = 4
others = 5.
if sy-subrc <> 0.
raise exception type cx_address_bcs
exporting
error_type = cx_address_bcs=>not_found.
endif.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
2 | |
2 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 |