Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Cancel a record in a UDO through code

Hi.

I have created a UDO.

I have hadded a right click menu to duplicate a record, but i want to cancel de old one.

I can do it through the right click menu. but how can i do it through code.

Tks in advance

replied

Hi Nelson

In normal circumstances like if you were working with marketing docs. You would say

if Ojournal.getbykey("10") then

ojournal.close

end if

But i think you can't use the getbykey on UDO entries.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question