Skip to Content

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

Can't set document ownercode

I'm trying to set de ownercode of a Delivery Note, this is my code:

DNote.CardCode = MyCardCode

DNote.DocDate = Today

DNote.DocDueDate = Today

DNote.DocumentsOwner = MyId

.....more code

I add correctly the SBO object(result=0):

Res=DNote.add

When i go to SBO, i can see the delivery note created, but its ownercode is empty!!!

What's wrong?

Thanks!

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