cancel
Showing results for 
Search instead for 
Did you mean: 

E26 253 Error while check in only while running FM

Former Member
0 Kudos

Dear Experts,

I am trying to run Function module BAPI_DOCUMENT_CHECKIN2, which is returning with the error message E 26 253 Error while check in and storing: D:\ XXX (Path) \XXX (file name). I have entered the following required input.

DOCUMENT DATA:

DOCUMENTTYPE :

DOCUMENTNUMBER :

DOCUMENTPART :

DOCUMENTVERSION :

PF_HTTP_DEST : SAPHTTP

PF_FTP_DEST : SAPFTP

DOCUMENT FILES:

DOCUMENTTYPE

DOCUMENTNUMBER

DOCUMENTPART

DOCUMENTVERSION

STORAGECATEGORY : DMS_C1_ST

WSAPPLICATION : PDF

DOCPATH D:\Path name

DOCFILE : File Name

Surprisingly I can check in the document in the transaction(CV01/02), it is not giving any error message.

I have tried using the other Function module, BAPI_DOCUMENT_CREATE2. I can create the document, but when I try to Check-In it gives me a error message.

I have checked the RFC connection and it is working fine. There is no authorisation issue involved as well.

I hope I have explained myself clearly.

Thanks and Regards

Vinay

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi,

Please check your entry once again,

    • Allocate document data

lf_doctype = 'DRW'.

lf_docnumber = '4711'.

lf_docversion = '000'.

lf_docpart = '00'.

lf_status = 'RE'. note: u are not enterd, status i guess, while u chek in the status should be changed from old to new.. try out by entring status,

    • Error occurred ??

IF ls_return-type CA 'EA'.

ROLLBACK WORK.

MESSAGE ID '26' TYPE 'I' NUMBER '000'

WITH ls_return-message.

Benkaraja ES,

??

Former Member
0 Kudos

Dear Benkaraja

Thanks for you relpy.

The document type is not active for status management, thus there is no status for the document.

Please advise if there are any other possible reason for such behaviour. Since I can check-in document manually, but not through BAPI

Also while recording the transaction for BDC, I can check in the document successfully.

Thanks and regards

Vinay

Former Member
0 Kudos

hi,

in DC10, at define status, u select field, No entry, and run Bapi.

benakaraj es

Former Member
0 Kudos

working fine..thanks a lot..

Answers (0)