Skip to Content
0
Former Member
Jul 17, 2007 at 08:03 AM

Allow start of program sapftp in VB for CVAPI_DOC_CREATE

142 Views

Hi,

I wrote a VB program that creates documents in SAP via the RFC function module CVAPI_DOC_CREATE.

I already wrote a PHP version of the same program and it works.

Before calling function CVAPI_DOC_CREATE, there is an instruction that allows the sap server to start program sapftp on the client. SAPFTP program is then used to transfer files from client to R/3 server.

PHP version : $rc = saprfc_allow_start_program ("sapftp");

Java version: JCO.setMiddlewareProperty("jco.middleware.allow_start_of_programs", "sapftp")

Does any one knows the VB version of this instruction ?

Thanks for any help you can provide

Abdel SIDHOM