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: 

Upload photo in background with rfc

abdullahgunes
Participant
0 Kudos

Hi ;

I want to upload personel photo to PA30 screen , and for this I created a function with batch input. But when i  connect to sap from other systems  with rfc , i am getting error messages. It's saying 'Permission Denied' and i can't upload photo.

Anybody know anything , how can i do this work?

1 REPLY 1

Former Member
0 Kudos

Hi Abdullah,

have you tested by uploading photo manually in PA30.

Is sysyem having all settings like content repository,document type HRICOLFOTO maintained with document class such as jpg,bmp(type of image you are uploading).

You have written batch input program in function module right.there is no necessary to create as there is a standard program which will upload photos into PA30.

Program name: OA_UPLOAD_AND_LINK

Give inputs as mentioned below.

Note:

place all employee photos in a folder, maintain the photo names with

their employee id

File path for documents:

Enter the Path in which employee photos present.

File name extension:

In which format employee photos present.

Ex:Jpg, bmp or gif etc

Business object :PREL

Document type :HRICOLFOTO

Hope it may helpful..