Skip to Content

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

Adding child rows to an existing syncBO

Hello All,

I am trying to add a child row to an <i>existing</i> syncBO. The code section looks like this:

transactionManager.beginTransaction();

Row newCaseRow = newSyncBo.createEmptyRow(rd);

//modify fields

newCaseRow.modifyFieldValue(fd, caseId);

newCaseRow.modifyFieldValue(fd2, newPallet);

newCaseRow.modifyFieldValue(fd3, "3");

newSyncBo.insertRow(newCaseRow);

transactionManager.commit();

The changes persist locally on the device, but when I synchronize, I never see the new data on the MI server.

I know that my backend MODIFY BAPI wrapper works because I am successfully able to delete child rows from a syncBO. But for some reason the uploader never seems to recognize any child records. I have read some of the other forum posts on this subject and have tried creating an unlinked copy of the syncBO, but this didn't seem to work either.

Any other suggestions?

Thanks!

nick

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question