cancel
Showing results for 
Search instead for 
Did you mean: 

Need to upload file in originals via BAPI of CV01N with KPRO flag off

0 Kudos

Hello There,

i have created DMS using BAPI_DOCUMENT_CREATE2.

and in customizing KPRO flag is OFF. am not able to attach the files to originals via BAPI.

Let me know if anybody has some solution for this scenario.

Thank you

Accepted Solutions (1)

Accepted Solutions (1)

christoph_hopf
Advisor
Advisor

Hi,

please check where you add your file data. Because if "Use KPRO" flag is not set then the data needs to be passed in table DOCUMENTDATA. In case the flag is set the data has to passed to table DOCUMENTFILES.

Best regards,

Christoph

0 Kudos

Hello Christoph,

it worked. Thank You so much.

But am not able to do Check-in original via BAPI_DOCUMENT_CHECKIN2.

Am i missing something here?

Thank You,

Sangeeta

christoph_hopf
Advisor
Advisor
0 Kudos

Hi Sangeeta,

could you please tell me which data you hand over to the BAPI_DOCUMENT_CHECKIN2?

Best regards,

Christoph

Answers (1)

Answers (1)

0 Kudos

Hi Christoph,

I have to upload 5 to 6 files in original. and those files can be viewed by anyone.

if I upload one file and do check in as original then it's working for me. but if I upload multiple files for the single document then am not able to upload the files and do Check in.

Thanks,

Sangeeta