I need to trigger an event/task when an advertisement is created on the system. There is no standard object type...
By submitting your personal information, you agree that TechTarget and its partners may contact you regarding relevant content, products and special offers.
for an advertisement. Have you ever created and used a new object type, with no inheritance from an existing SAP standard object type with success?
Yes, I have created a new object type with no inheritance from a standard SAP object type. The new object is created inheriting from interface IFSAP (this is done automatically). This interface defines two methods which all Business Objects must have, ExistanceCheck and Display. It is your choice whether you would want to implement these methods. I would recommend to implement the DISPLAY method. The interface IFSAP also implements OBJECTTYPE attribute which will return the object type.
Hint: Don?t forget to set the Release Status of your object type to IMPLEMENTED (at least). Otherwise, you will not be able to call any methods or access any attributes of your new Business Object type.
Dig Deeper on SAP workflow development
Related Q&A from Alon Raskin
An SAP user has created a user decision step in an SAP workflow item and wants to know how an end user can send an attachment to other users.continue reading
Find out how to configure clients so that the same version of an SAP workflow item is used when the workflow is triggered in separate clients.continue reading
A SearchSAP.com reader wants to know how to hide the forward button in an SAP Business Workplace toolbar.continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.