cancel
Showing results for 
Search instead for 
Did you mean: 

Problem in executing BAPI_DOCUMENT_CREATE2 in background

former_member216388
Participant
0 Kudos


Hello SAP Gurus,

My requirement is to upload documents from application server(AL11) / presentation server (PC) to DMS.

For the above requirement I'am using BAPI "BAPI_DOCUMENT_CREATE2".

When i execute the program in foreground i have no issues , but when executing in background getting error :
"Error in checkin & storing file "...

Regards,

Madan Shetty.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

In Addition to Deepak's reply also make sure you have selected the correct content server category to upload the files from PC.

Thanks

Pravin

former_member188883
Active Contributor
0 Kudos

Hi Madan,

Also Add the the BAPI_DOCUMENT_CREATE2 parameter PF_HTTP_DEST with value SAPHTTPA. Make sure that one is also on sm59. Plus check the server where files are has been created as SAP app server on AL11


Hope this helps.


Regards,

Deepak Kori