Skip to Content
0
Former Member
Jan 08, 2008 at 09:01 AM

Delete Bapi Structure of a SyncBo

14 Views

Hi, i need to delete a structure (040) of a SyncBo, i did this by the next code:

SyncBo syncBo = getSyncBoInstance("Y01_ORD_TR", topSyncKey);

SyncBoDescriptor sbd = syncBo.getSyncBoDescriptor();

RowDescriptor trd = sbd.getRowDescriptor("040");

Row row = syncBo.getRow(trd,syncKeyToDelete);

syncBo.deleteRow(row);

With this code appears in the merep_mon a "M" message for the TOP structure, and for the 040 structure a "D" message, but it doesn't call to the Bapi "Delete", what can i do to the Bapi Delete is executed ?

Thanks.