cancel
Showing results for 
Search instead for 
Did you mean: 

Simple generic question on document upload in ECC using EP

Former Member
0 Kudos

Hi Experts,

I have found that using R./3 transaction code pr05, we can upload the PDF related with Travel Expense in R/3 table.

My users want to do same using Java WD screen.

I am not sure how we can do so? I believe there should be a RFC. The input parameter for RFC will be pernr and tripno. After that users should be able to have 'Browse and Upload facility'.

As far as pernr is concerned, its easy to pass. How we will pass the PDF to RFC? Will it be using some binary format?

Where the PDF will get stored?

Regards,

Gary

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

could not get exact answer

Former Member
0 Kudos

Hi,

You have two options to pass a file to ECC:

1. send it as a binary type (not recommended)

2. upload to a preselected folder (using km file system repository) and send the filename to ECC.

in ECC whoever writes the RFC must take the file in insert it using the standard methods.

Aviad

Former Member
0 Kudos

Hi,

I would suggest you not to upload documents into ECC. Instead, upload the documents into EP knowledge management, store the reference of the file in ECC tables.

You can use Java KM APIs to upload/read documents into EP knowledge management from a WD java application

http://help.sap.com/saphelp_nw04s/helpdata/en/43/67cc2cd8be5f86e10000000a1553f6/frameset.htm

Regards

Srini