Skip to Content
0
Former Member
Sep 22, 2005 at 06:51 AM

Cannot update user define field

32 Views

Hi,

I'm having problem update my user defined field which I added via SAPB1 under the marketing document. This is my code in VB when I try to update the field.

Also to note, I got no error when I call the update method.

Set oDoc = oCompany.GetBusinessObject(oStockTransfer)

oDoc.GetByKey (8)

oDoc.Lines.SetCurrentLine (0)

oDoc.Lines.UserFields("U_OB_STSta").Value = "A"

lngRetCode = oDoc.Update

If lngRetCode <> 0 Then

End If