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.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to create GOS view attachment list in ECC6

former_member463678
Participant
0 Kudos
370

Hi,

I created Z transaction. I have to create View attachment List to this transaction. How to create GOS view attachment list in ECC6. can anybody send sample code on this.

Thanks in advance.

Zakir.

1 ACCEPTED SOLUTION

Former Member
0 Kudos
73

Hi,

Use the class

CL_GOS_ATTACHMENTS

Check the links

http://help.sap.com/saphelp_nw04/helpdata/en/c4/3fe63659241157e10000009b38f889/frameset.htm

Regards,

Raj.

2 REPLIES 2

Former Member
0 Kudos
74

Hi,

Use the class

CL_GOS_ATTACHMENTS

Check the links

http://help.sap.com/saphelp_nw04/helpdata/en/c4/3fe63659241157e10000009b38f889/frameset.htm

Regards,

Raj.

0 Kudos
73

Hi all,

I've following problem with class CL_GOS_ATTACHMENTS.

Transaction IE01/02/03 (create/change/display equipment) starts and instantiate GOS manager, and related BAdI are called.

Then, when I choose one of available service, CL_GOS_ATTACHMENTS is instantiated, and inside that class a new GOS manager is instantiated, inspite of already existing instance.

As a result, related BAdI are called twice, but unfortunately second time some SY variables are not correctly filled, particularly SY-TCODE and SY-MODNO are both empty.

I've develop a workaround so that when sy-tcode is filled I save it somwhere, and when it's empty I filled it from saved value, does anyone know any other solution??

Many thanks

Regards

m@x