cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Upload Originals using "BAPI_DOCUMENT_CHECKIN2"

MangeshP
Active Contributor
0 Kudos
662

Hi Friends

Here is scenario.

This DIR is created for the reports that are created in SAP EHS which uses SAP DMS framework to store the reports for Specifications in SAP DMS

The Document Type is "SBR" and originals are stored in SAP_SYSTEM" as shown below.

Presently there is requirement of uploading files to this DIR. In screenshot you are seeing file uploaded. But we are creating DIR without original.

SO we are trying to use "BAPI_DOCUMENT_CHECKIN2" for this purpose.

We are facing issues as we are not able to upload the original. I am maintaining the following parameters in BAPI.

Am I missing here something. Also do we have to use the "BAPI_DOCUMENT_SETCOMMITMODE" to uplaod the original.

I tried but this is not helping. Can anyone help us.

With Warm Regards

Mangesh Pande

Accepted Solutions (1)

Accepted Solutions (1)

ravichandran_r
Explorer
0 Kudos

Hi Mangesh,

Seems, you missed Data Carrier. Please check with Data Carrier value.

And You may have to maintain the Data Carrier as "S1 (SAP SYSTEM)" and Workstation application config in DMS.

Please maintain your settings like below screen shot:

Workstation application config:

There is an SAP note for the same. Will send you the note once get it.

Hope it will resolve your issue.

Thanks,

Ravi

MangeshP
Active Contributor
0 Kudos

Hi Ravi,

Thanks for your reply. The configurations you have specified are already done. They are part of SAP Standard configurations as they effect SAP EHS functionality.

With Warm Regards

Mangesh Pande

0 Kudos

Hi Mangesh,

do you have a solution meanwhile?

regards

Michael

MangeshP
Active Contributor
0 Kudos


Hi Michael,

We have develped program to uplaod. But the best possible solution we have found was migrate DRAP table.

With Warm Regards

Mangesh

Answers (0)