cancel
Showing results for 
Search instead for 
Did you mean: 

How to update OBTN udf using DIAPI in SAP 8.8

Former Member
0 Kudos

Hi

How to update OBTN udf using DIAPI in SAP 8.8

While i'm  updating batch No. Its throwing the following error

Stock posting failed public memeber userfields  on type 'BatchnumberClass' not found

This is my Code

Stockissue.Lines.BatchNumbers.UserFields.Fields.Item("U_lotnum").Value = oMatrix2.Columns.Item("PalletNo").Cells.Item .Specific.value.Trim

but the above code working fine in 8.81

Thanks,

Sudhir

Accepted Solutions (0)

Answers (1)

Answers (1)

Johan_H
Active Contributor
0 Kudos

Hi Sudhir,

As the error says, this property is not available in 8.8 yet.

You did not hear this from me: because this is a user field, you could use a direct update query as a workaround.

Regards,

Johan