cancel
Showing results for 
Search instead for 
Did you mean: 

Mass Upload documents in background

Former Member
0 Kudos

Hi,

We have to upload some 1corer documents(original files) in SAP-DMS. All documents currently stored on windows server.(Like File System).

I created program using FM: BAPI_DOCUMENT_CREATE2 & it's running fine from my pc (OS: Windows)

But we have some network issues, many time server disconnect from PCs. When it disconnect it affects my uploading also.

So am thinking to copy all documents(original files) to SAP Application server, so my uploading will not affect & also increase the upload speed & also i can upload files in background (mins make job schedule wise).

My SAP Application server OS is AIX 5.0 & I have separate KPro server.

Any body knows what parameters i have to pass to FML BAPI_DOCUMENT_CREATE2, specially file path.

Help would be appreciated.

Thanks & Regards,

Sunny

Accepted Solutions (0)

Answers (1)

Answers (1)

Makal
Active Contributor
0 Kudos

Dear Sunny

I have not used BAPI, I always preferred LSMW.

But for BAPI_DOCUMENT_CREATE2 at least you'll have to pass following parameters

DOCUMENTYPE

DOCUMENTNUMBER

DOCUMENTVERSION

DOCUMENTPART

USERNAME

STATUSEXTERN

STATUSINTERN

CADINDICATOR

CREATEDATE

Also refer following thread, which has discussion for this BAPI

I hope it'll be helpful to you.

Regards

Amaresh Makal