‎2007 Feb 13 7:09 PM
Hi everyone,
We have a custom transaction to create a custom document called enquiry. Upon saving, the document number will be generated and stored in a table. I would like to add the functionality of Services for Object in the transaction to be able to attach documents to the enquiry. I would like to ask if it is possible to create a business object for this custom document to be able to utilize the Services for Object functionality.
Thanks!
Eric
‎2007 Feb 14 8:57 AM
you can choose to create BO for this or simply have a another identifier for this object and youc an use class OT to upload documents to BDS.
all you need is call of this FM whicih will automatically put the icon for GOS
SWU_OBJECT_PUBLISH
alternatively you can use class cl_gos_manager
Raja
‎2007 Feb 23 6:00 AM
Hi Raja,
Thanks for your reply. But I think I should create first a business object since one of the parameters of FM SWU_OBJECT_PUBLISH relates to an object type. I am not yet familiar with business objects.
Thanks
‎2007 Feb 24 11:23 AM
just go to transaction SBDSV1 and enter desired name in the class name and set type as OT (other)
after this you can use this class name with type OT in the mentioned FM
Regards
Raja