on 09-06-2011 8:27 AM
Hi
Not able to upload and created Document in SAP DMS Repository using Function BAPI_DOCUMENT_CREATE2.
I'm using this BAPI directly from SE37.
Alwasy it is giving Error - E26 253 Error while checking in and storing:c:\ZANALYSIS_PATTERN.XLS
Inputs I have given -
In Document Data -
Document Type - SDC
Document Version- 00
Document Part - 000
Description - TEST
In Document Files -
Document Type - SDC
Document Version- 00
Document Part - 000
Storage Category - ZHCL_CS
WS Application - XLS
DocPath - C:\
DocFile - C:\ZANALYSIS_PATTERN.XLS
Language - EN
CheckedIn - X
PF_FTP_DEST - SAPFTPA
PF_HTTP_DEST - SAPHTTPA
DEFAULTCLASS - X
Please advice if I had skipped something and mentioned anything wrong.
Thanks
Prashant
Hi,
I know this is a very late response, but using a Bapi_Document_create2 or any other for that matter from Se37 will run successfull as you describe giving the internal document number. But it won't create as you need a commit work and wait function afterwards.
Therefore in Cv02n or cv03n it will say document does not exist.
Phillip
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Prashant,
Are you able to upload the same document via CV01N using the same storage category - ZHCL_CS ?
Regards,
Vivek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
I am also uploading a pdf file to dms through bapi_document_checkin.
I am getting error E26 253 Error while checking in and storing:C:\DOCUMENTS AND SETTINGS\AGARW01S\DESKTOP\10 2_VIEW 1.PDF
Inputs I have given -
In Document Data -
Document Type - SPE
Document Version- A
Document Part - 000
Description - UPLOAD
In Document Files -
Document Type - SPE
Document Version- A
Document Part - 000
Storage Category - DMS_C1_ST
WS Application - PDF
DocPath - C:\DOCUMENTS AND SETTINGS\AGARW01S\DESKTOP\10 2_VIEW 1.PDF
DocFile - 10 2_VIEW 1.PDF
Language - EN
CheckedIn - X
PF_FTP_DEST - SAPFTPA
PF_HTTP_DEST - SAPHTTPA
can u please help me as it is urgent.
Shilpa
Hi Shilpa,
I think that maybe the data in
DocPath - C:\DOCUMENTS AND SETTINGS\AGARW01S\DESKTOP\10 2_VIEW 1.PDF
DocFile - 10 2_VIEW 1.PDF
could cause this issue. Because here you enter the filename '10 2_VIEW 1.PDF' in both fields. I would recommend you to fill the filename only in field DocFile and so the data should look like:
DocPath - C:\DOCUMENTS AND SETTINGS\AGARW01S\DESKTOP\
DocFile - 10 2_VIEW 1.PDF
For further information please see the SAP note 766277 where you will find a detailed documentation on all DMS BAPIs in the attachment area of the note.
Best regards,
Christoph
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.