Function C1F2_SUBSTANCES_DELETE trying to get an update to CDPOS table
I work in HES dept or EH&S. I use transaction CG02 to edit substance/specifications. I am using the C1F2_SUBSTANCES_DELETE function in an abap program to delete a regulation on a real substance. This works well using i_addinf, i_flg_prop, i_flg_prop_data and i_flg_prop_header as exporting and the same x_api_header_tab, x_api_prop_tab,x_api_prop_data_tab and x_api_prop_header_tab as the tables.
If I do a manual update of the specification within the property tree it writes a record to the CDPOS table with a tablename of RCGCHDCCH and put a U in change indicator column. This is OK.
Now the question:
How do i get the C1F2_SUBSTANCES_DELETE function to write a record to the CDPOS table, if possible with the tablename of RCGCHDCCH and a D in change indicator column.