Quantcast
Channel: SCN : All Content - SAP CRM: Webclient UI - Framework
Viewing all articles
Browse latest Browse all 4552

How to read attach document to Order or transaction

$
0
0

Hi all,

 

I am using the class for attaching the document

 

*Class for attaching the file to bussiness objects

  CALL METHOD cl_crm_documents=>create_with_file

    EXPORTING

      file_name       = lv_filename

      directory       = lv_path

      business_object = ls_bor

    IMPORTING

      loio            = lv_loio

      error           = lv_error.

  IF lv_error IS INITIAL.

*class to rename document and folder

    CALL METHOD cl_crm_documents=>rename_object

      EXPORTING

        is_io   = lv_loio

        iv_name = lv_filename_aux.

 

Our requierment is user will get message when he is trying to uplo


Viewing all articles
Browse latest Browse all 4552

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>