cancel
Showing results for 
Search instead for 
Did you mean: 

file upload program to archive server

Aiswariyaah
Newcomer
0 Kudos

It is a simple program to upload file into archive server. all the values are getting uploaded properly in the table toa01 while for the reserve field , the values getting are only * and not updating the values same as data being uploaded only for the reserve field. Did i made mistake in declaring the data? 

 

 

DATA DOC_TYPE TYPE string.
       doc_type wa_table-reserve.

    CALL FUNCTION 'ARCHIV_CONNECTION_INSERT'
      EXPORTING
        archiv_id             wa_table-archiv_id
        arc_doc_id            wa_table-arc_doc_id
        ar_date               wa_table-ar_date
        ar_object             wa_table-ar_object
        del_date              wa_table-del_date
       MANDANT               SY-MANDT
        object_id             wa_table-object_id
        sap_object            wa_table-sap_object
        doc_type              ' '
*       BARCODE               = ' '
*       FILENAME              = ' '
*       DESCR                 = ' '
*       CREATOR               = ' '
      EXCEPTIONS
        error_connectiontable 1
        OTHERS                2.
    IF sy-subrc 0.

Accepted Solutions (0)

Answers (0)