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: 

Attach PDF file in background

Former Member
0 Kudos

hi all,

My requirement is i need to create a PDF file of one report and attech it to 'services for Object' of CJ20N,

in background.

Is there any direct function module or bapi to do this.

i tried to use FM 'SO_OBJECT_INSERT'

and BINARY_RELATION_CREATE

But i am not getting desired result. When i tried to attech PDF file and open atteched pdf form CJ20N it gave error that content of file cannot be read ,, i think some conversion error occured.

If anybody can help on this issue.....

<removed_by_moderator>

Thanks,

Edited by: Julius Bussche on Jun 24, 2008 9:33 PM

1 ACCEPTED SOLUTION

Jelena
Active Contributor
0 Kudos

Hi,

I ran into the same issue and had to use FM SO_CONVERT_CONTENTS_BIN to convert the file data after reading it into memory. I have a feeling this affects the Unicode systems only.

Hope this helps.

1 REPLY 1

Jelena
Active Contributor
0 Kudos

Hi,

I ran into the same issue and had to use FM SO_CONVERT_CONTENTS_BIN to convert the file data after reading it into memory. I have a feeling this affects the Unicode systems only.

Hope this helps.