cancel
Showing results for 
Search instead for 
Did you mean: 

What is the easiest way to download a document from SAP DMS with C#?

Former Member
0 Kudos

Hi,

I've been sifting through this forum and looked at various posts and sample code, but so far my quest hasn't been fruitful.

What is the easiest way to download a physical document file from SAP DMS using C#? I'm using the NCo 3 (SAP .NET

Connector 3).

Requirements

- As few dependencies as possible (not adding or changing functionality in SAP)

- C# code (MS Visual Studio 2012)

- SAP Environment: NetWeaver 7.4.0

Thanks for all help.

Regards,

Frank

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

We've been using BAPI_DOCUMENT_CHECKOUT2, but there seems to be a limitation. From what I've found on Google, you must enable the use of the SAPGUI through the flag UseSAPGUI when connecting to SAP.  It works, but my issue is that when I use it on a web server, I end up with some error when trying to start the GUI.  There is very little recent information for this out there right now.

Answers (1)

Answers (1)

Former Member
0 Kudos

What I've found/tried so far

- SAP seems to have disabled call backs in saphttp and sapftp from NCo 3 for security reasons

- Function module "SCMS_DOC_READ" cannot be used for 'remote' calls