cancel
Showing results for 
Search instead for 
Did you mean: 

Delete UDO

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

former_member233854
Active Contributor
0 Kudos

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();

Answers (0)