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 attachment from binary dataset

Former Member
0 Kudos
227

I am looking for a way to create a GOS attachment to a CRM business transaction where the source is a file on the application server which has been put there using RFC destination SAPFTPA.

We have CRM release 3.0 SP13 and cannot afford to implement additional SP's since the very next one SP14 switched from GOS to CM and we have already built other solutions on top of GOS attachments.

I have a feeling it is possible by opening the dataset in binary mode and reading 255 chunks into an internal table. The passing this table to the appropriate SAPoffice function module.

If I find the solution in the meantime I will update this thread.

1 REPLY 1

Former Member
0 Kudos
80

Hi,

Did you got a solution.. please update me.

For foreground process, I am using the below code and the file (.doc, .pdf) files are corrputed after uploading... do u hav a solution for this...

CALL FUNCTION 'GUI_UPLOAD'

EXPORTING

filename = p_file

TABLES

data_tab = lt_doc_content.

Thanks,

Jaffer Ali.S