Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

I canu00B4t modifyRowInDB, but not appear error...

Hi, i have a problem... i´m doing a SmartSync Project, and i want modify a row with the method modifyRowInDB.

My steps are:

public void modificarIMP (String BO, String m, Vector lista) {

for (int i = 0; i < lista.size(); i++) {

try {

dbAccess.modifyRowInDB(BO,(String)lista.elementAt(i), m, 4);

} catch (SmartSyncException e) {


} catch (PersistenceException e) {





lista = Vector of SYNC_KEY

m = new value

4 = column for modified

public void modifyRowInDB(

String syBName,

String syncKey,

String newValue,

int col)

throws SmartSyncException, PersistenceException {

String syncBoName = syBName;

// Set default Syncboname for this example in case value is null.

SyncBo syncBo = getSyncBoInstance(syncBoName, syncKey);

SmartSyncTransactionManager transactionManager;

// A transaction manager is valid for one action starting with beginTransaction and ending with commit/rollback

// In this example we commit (save) every modification - no rollback.

transactionManager = dataFacade.getSmartSyncTransactionManager();


setHeaderFieldValue(syncBo, arrayHeaderFieldNames[col], newValue);

//Commit the transaction



Not appear error, but not modify the row, what happend?


Former Member
Former Member replied

Hi Victor,

well, your problem seems to be the Modify handler - so in your case the select statements. Probably you only send the information what you want to change, but not what item you are talking about.



0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question