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

Services for object using cl_gos_manager

Former Member
0 Kudos

Hello All,

I have a selection screen with material no as a parameter. After I execute the screen I get some details for that material. I want to replicate "Services for object" functionality as in ME23N in my Program. I am able to add attachments using cl_gos_manager. But when I add a document to a material I am able to see the attachment with all the materials.

I have created a object using SWO1.

Then I have created an object for the class cl_gos_manager.

How do I make the attachments material specific.

Thanking you all in anticipation.




Active Contributor
0 Kudos

Are you setting a unique object key for each material and passing it to the method when you create the attachment?

Former Member
0 Kudos

ok done