on 05-30-2016 11:55 AM
Dear all,
It try to delete Master data with this Function call:
CALL FUNCTION 'RSDMDD_DELETE_MASTER_DATA'
EXPORTING
i_iobjnm = 'HRCHZBDAT'
* I_T_CHAVL =
i_flag_delete_all = rs_c_true
i_flag_delete_sids = rs_c_true
i_flag_dialog = rs_c_false
* I_FLAG_DELETE_TEXTS = RS_C_TRUE
* I_FLAG_FORCE_DELETE = RS_C_FALSE
* I_FLAG_SIMULATION = RS_C_FALSE
i_flag_log = rs_c_false
i_usage_protocol = rs_c_false
* I_SEARCH_MODE = 'O'
* I_T_EXPR =
* I_STORAGE_SELECTION = '*'
* IMPORTING
* E_PROT_OBJECT =
* E_PROT_SUBOBJECT =
* E_PROT_EXTNUM =
* E_T_MSG =
* E_T_VALSID_USED =
* E_RESULT =
.
CALL FUNCTION 'DB_COMMIT'.
But after running of that function I get the result that there is no master data to delete. I get the same info if I try to click right mouse button on the info object in RSA1 and then delete master data. But if I go to this info object in RSD1 I find data in the P-table and I see it in the maintain dialog (Internet explorer). I can select a row in this dialog and delete the row but why don't this work with this function or with the right mouse button?
Thanks!
First of all, I'd recommend using RSDMD_DEL_MASTER_DATA instead as it has online documentation.
In I_T_CHAVL you must specify the entries to delete. This parameter has type RSD_T_CHAVL which is a table of strings. For a simple infoobject, it's just the infoobject's value. For compounded you must give the full compound.
E.g. if obj1 (length . with alpha conversion) is compounded with obj2 (length 3) - then if obj2 = ABC and obj1 = 345, the entry must be ABC0000345.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
77 | |
9 | |
7 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.