Skip to Content
avatar image
Former Member

Programatically creating structure and additonal files

Gents,

From outside SAP, we have the requirement to create a document structure and create additional files (Autocad DWG tiff backgrounds).

We have successfully used the web services from "Technical Document Management Connectivity" for most other operations, both from Java and .Net clients).

The problem as such, is that the web services does not support structures and additional files.

Hence we have a few options:

1. Create a web service of FM BAPI_DOCUMENT_CREATE2. Works OK, but interface and functionality is not as good as the web service.

2. Create our own web service, based on DocumentERPCreateRequestConfirmation_In_V1

In addition, we have the issue of the documentation stating that additional files are not supported, but looking through the code, it looks like it should be working.

Anybody have any experience of creating additional files using BAPIs? What about structures from web services?

Regards,

Espen Leknes

Regards,

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Apr 01, 2011 at 12:17 PM

    Hello Espen,

    I wrote a little program (VB.NET) which uses some webservices that correspond to several document bapis (bapi_document_create, bapi_document_change). In this approach a folder is created in the first step and than attached to the parent folder via bapi_document_change on the parent document. We use this to created folders for each month in a year automatically.

    regards

    Daniel

    Add comment
    10|10000 characters needed characters exceeded