Skip to Content
avatar image
Former Member

Delete UDO

Hello experts ,

I would like to know if there is any way to delete udo from sap using di api.I found the following threat that creates udo https://archive.sap.com/discussions/thread/3476351

Kind Regards ,

Ifigenia

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Mar 09 at 01:32 PM

    Yes, the idea is like any other object from SAP

    SAPbobsCOM.UserObjectsMD userObjectsMD = (SAPbobsCOM.UserObjectsMD)oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oUserObjectsMD);
    				userObjectsMD.GetByKey("UDO");
    				int errCode = userObjectsMD.Remove();
    
    Add comment
    10|10000 characters needed characters exceeded