cancel
Showing results for 
Search instead for 
Did you mean: 

Using ArchiveLink without known BusinessObject

former_member184588
Active Participant
0 Kudos

Hi,

I have a PDF file (without barcode) and would like to store this file within a content repository. This document shall be bind later (after a approval workflow is confirmed) via GOS to the associated purchase order document. What is the correct way to store the file within the CR? Do I need to create an entry via OAC3 for the document type and the object type? Is it possible to store the file without the doc_type? What is the currect object type for purchase orders?

I have already seen

https://archive.sap.com/discussions/thread/3378528 but maybe there is an easier way?

Regards, Vanessa

I am trying to save a file to the content repository via SMCS_AO_TABLE_CREATE

 CALL FUNCTION 'SCMS_AO_TABLE_CREATE'
      EXPORTING
        mandt             = sy-mandt
        arc_id            = lv_contrep
        doc_type          = lv_doc_type
        length            = lv_len
      IMPORTING
        doc_id            = e_arc_doc_id
      TABLES
        data              = lt_data
      EXCEPTIONS
        error_http        = '01'
        error_archiv      = '02'
        error_kernel      = '03'
        error_config      = '04'
        blocked_by_policy = '05'.

Accepted Solutions (0)

Answers (0)