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: 

AL11 directory file to DMS Data upload

Former Member
0 Kudos

Hi,

I have uploaded my .pdf ( or any extension ) in my AL11 directory using CG3Z . Now i want to create document

using uploadedfile as originals. Which BAPI should i use and which parameters to pass?

Thanks

Parag

1 ACCEPTED SOLUTION

former_member182387
Active Participant
0 Kudos

Hi,

You can use the BAPI "BAPI_DOCUMENT_CREATE2"

and pass the details of originals in teh Table parameter DOCUMENTFILES" ( You can directly give the AL11 link)

PLease study the documentation of this BAPI for more details

4 REPLIES 4

former_member182387
Active Participant
0 Kudos

Hi,

You can use the BAPI "BAPI_DOCUMENT_CREATE2"

and pass the details of originals in teh Table parameter DOCUMENTFILES" ( You can directly give the AL11 link)

PLease study the documentation of this BAPI for more details

0 Kudos

Hi,

Where do i have to put the path of the al11 link?

I had put it in: documentfiles-docfile, like /var/load/Data/manuals/123.pdf

I get an error.

Edited by: Niki Vandersteen on May 18, 2011 5:09 PM

0 Kudos

hello,

I have tried this and document number for DMS is getting generated but the file size is zero KB but i can see the file is stored properly in AL11 directory can you help me how to achieve the correct method please..

 

Srija
Discoverer
0 Kudos

Hi ,

Have you solved this issue? I am also facing this. Can you help me if it is solved?