Hi,
I am unable to delete master data for my IOBJ because the IOBJ is contained in an ADSO. When I try to delete my master data the system tells me "ADSO <MYDSO> contains IOBJ <MYIOBJ>; MD deletion not possible. There is not transaction data in the ADSOs.
I searched high and low for any related threads or OSS Notes and found nothing.
I would hate to revert back to classic DSO to get around this, but this is a big problem for me and testing.
We are on BW 7.4 SP09
Here's the message:
ADSO <MY_DSO> contains IOBJ <MY_IOBJ>; MD deletion not possible
Message No. RSMD_UC_MESSAGES010
I Found the code problem, but could use some help with what it means.
Anyone have any ideas why they would cancel MD Delete if an IOBJ is used in ADSO?
Read the following text. What is a MUK?
**********************************************************************************************
* start of handle usage in ADSO (coding only for SP08 valid)
* usage of IOBJ in an ADSO (metadata) will end the MD-Deletion before the regular
* where used check are executed; this will be replaced by a
* new MUK entry with SP09
DATA: l_t_chabas_iobj TYPE rs_t_used_by,
l_t_adso TYPE rso_t_tlogo_asc,
l_s_adso TYPE rso_s_tlogo_asc,
l_s_msg TYPE bal_s_msg,
l_string TYPE string.
FIELD-SYMBOLS: <l_s_chabas_iobj> TYPE rs_s_used_by.
CALL FUNCTION 'RSD_IOBJ_USAGE'
EXPORTING
i_iobjnm = i_iobjnm
i_bypass_buffer = rs_c_false
i_objvers = rs_c_objvers-active
IMPORTING
e_t_chabas_iobj = l_t_chabas_iobj
e_t_adso = l_t_adso
EXCEPTIONS
illegal_input = 1.
IF sy-subrc <> 0.
x_message_s( i_repid = sy-repid i_text = 'ADSO_IF_UC~GET_USING_OBJECTS' ).
ENDIF.
LOOP AT l_t_adso INTO l_s_adso.
MESSAGE e010(rsmd_uc_messages) WITH l_s_adso-objnm i_iobjnm INTO l_string.
MOVE-CORRESPONDING sy TO l_s_msg.
APPEND l_s_msg TO e_t_msg.
ENDLOOP.
Message was edited by: Kenneth Murray I set a break-point and removed the entries from l_t_adso and it seems to work fine. Still would like to know why they do this. I would imagine this is a big problem for lots of people, but I haven't seen anyone complain about it! -strange.