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

Error with BDS_BUSINESSDOCUMENT_CREATEF

Former Member
0 Likes
578

hi,

i have tried to use FM BDS_BUSINESSDOCUMENT_CREATEF to upload photos to business object 'employee'.

well, that works fine with a file, which is on my workstation with directory 'C:\..............'.

but it is NOT working with files which are on the application server. when i put in the directory '/usr/sap...........' and so on, i get sy-subrc = 4 when returning from BDS_BUSINESSDOCUMENT_CREATEF.

any ideas what is wrong there ? or do i have to take another function module to make it possible to load up from appl server ?

best regards, Martin

3 REPLIES 3
Read only

Former Member
0 Likes
468

hi there,

any ideas for my problem ?

b. reg, Martin

Read only

0 Likes
468

Hi Martyn,

Did you find any solution for this? I have the same requirement.. I need to attach a file from application server to a notification.

If you have any solution, please let me know.

Thanks,

Kishore

Read only

Former Member
0 Likes
468

Martin,

While uploading the photos from my Presentation, i am getting sy-subrc = 4. can u share the suggessions