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 using cl_gos_manager

Former Member
0 Likes
862

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.

Regards,

Anju

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.

Regards,

Anju

2 REPLIES 2
Read only

christine_evans
Active Contributor
0 Likes
727

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

Read only

Former Member
0 Likes
727

ok done