2010 Jul 14 11:17 AM
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
2010 Jul 14 11:53 AM
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
2010 Jul 14 11:53 AM
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
2011 May 18 4:08 PM
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
2024 Feb 28 6:52 AM
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..
2024 Feb 29 11:23 AM
Hi ,
Have you solved this issue? I am also facing this. Can you help me if it is solved?
2024 Sep 10 10:17 PM
Hey guys, I was facing the same problem, my files were being saved but with 0 kbs, the solution found was to upload the file through the API_CV_ATTACHMENT_SRV api.
Tks
2025 Jan 16 9:12 AM
We need to use only the API service not BAPI_CREATE_DOCUMENT2 to avoid files were being saved but with 0 kbs.
Thank you
Raghav