Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Services for object for a custom document

Former Member
0 Likes
611

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

3 REPLIES 3
Read only

athavanraja
Active Contributor
0 Likes
551

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

Read only

0 Likes
551

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

Read only

0 Likes
551

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