Skip to Content
author's profile photo Former Member
Former Member

How to update OBTN udf using DIAPI in SAP 8.8

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Jul 24, 2012 at 08:56 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.