Skip to Content
Former Member
Jan 22, 2011 at 09:42 AM

methods for custom busiiness object for achieving a functionality


Hi all,

I have a requirement wherein i need to create a business object. That is, i need to provide a screeen to the user to attach images which is stored in SAP system. For adding attachment, im calling OAAD tcode. The attachment has to be done against one business object. For uploading employee photo upload, the STD Business object, has lot of methods like CONFIRM , DISPLAY, etc. But in my Z Busines object, i have not written the CONFIRM method.

So when i try clicking a button (button - Create New Link) agianst the STD BO , PREL, it is showing me some screen. But when in cosse my own Z business object , it is giving me an error that method CONFIRM is not defined.

So, i want to know whether i need to write these methods in order to bring that functinality. I checked the coding of the std method. In that, they are passing the BO key attributes to one structure and a method in a std program is called with these key paratmers. But this std program and method is specific for employee photo upload. BUt i dont know which program need to be called for passing the key attributes of my business object.

So, how to achieve these functionalities for custom business object?

Can someone tell me how to solve this issue?