Skip to Content
0
Former Member
Feb 12, 2009 at 07:39 AM

DMS BAPI RFC Open DMS document from external application

459 Views

Hello,

I want open a document stored in DMS through RFC BAPI, from an external application (for example .NET)

EasyDNS run OK: I have included the bapi Z_EASYDMS_ECL_OPEN_DOCUMENT (code from a SAP note) in the system and I can open ECL/EAI & local documents (pdf, word, ...)

If I run Z_EASYDMS_ECL_OPEN_DOCUMENT from SE37 run OK: I can see every document, document is downloaded to local system and then open.

But when I call bapi Z_EASYDMS_ECL_OPEN_DOCUMENT from my external application through RFC I don't receive any result: document is not download to local system.

I have debugged the bapi (with SM50) and I have see that the calling entry in bapi, run and then ... crash.

I have detected the fail in OLE_FLUSH_CALL: system has a dump.

Summary:

- EasyDMS run Ok

- SE37 Z_EASYDMS_ECL_OPEN_DOCUMENT run ok

- Z_EASYDMS_ECL_OPEN_DOCUMENT dump at OLE_FLUSH_CALL

Any idea?

thanks in advance,