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: 

How to Create edit delete and list the attachments to list to in Z screen

ponrajasekharan
Participant
0 Kudos
832

Hi Friends ,

I have a requirement , In a Z Transaction need to attach multiple files with different extensions.

I have tried class cl_gos_document_service to create and display with Radio Buttons in a demo report it is working.

Please help me for the attachments how to incorporate in Ztransactions screen . With Create, edit, display, and list events .

Thank you .

Ponrajasekharan

1 ACCEPTED SOLUTION

RaymondGiuseppi
Active Contributor
569

Just define (if not already done) a Z_object in BOR with interface IFGOSASERV redefine GOSAddObjects. Then create an instance of cl_gos_manager in your z-transaction reference to your Z-BOR, you can select allowed services in the constructor method, so can handle display/update mode and/or authorizations yourself, and no adaptatoin of any dynpro should be required. (Use search tool, there is a document describing the process)

7 REPLIES 7

RaymondGiuseppi
Active Contributor
570

Just define (if not already done) a Z_object in BOR with interface IFGOSASERV redefine GOSAddObjects. Then create an instance of cl_gos_manager in your z-transaction reference to your Z-BOR, you can select allowed services in the constructor method, so can handle display/update mode and/or authorizations yourself, and no adaptatoin of any dynpro should be required. (Use search tool, there is a document describing the process)

0 Kudos
569

I'm Unable to open the Microsoft Word file.

Can you attach with PDF format.

Thank You .

Ponrajasekharan

569

It's already a pdf, just change the suffix to .pdf

0 Kudos
569

Hi Raymond

While doing the 5th point ,

'5. Position on method GOSAddObjects and press F6 (redefine). Insert the following code:''

Where to insert the code ?

Thank You .

Ponrajasekharan

569

Click on the line and on program (if function key no longer valid).

0 Kudos
569

Thanks Done

ErvinSzolke
Product and Topic Expert
Product and Topic Expert
0 Kudos
569

Hi,

please note that I removed the tag Support Services as the question is rather product specific

Regards

Ervin