Skip to Content
avatar image
Former Member

Upload Image in Document TAB in BP

I need to upload a image under the document tab in BP transaction programmatically.

Can anyone suggest any Function module through which i can update the same and also delete the same if required.

What are the tables in which this data is stored. Kindly help,its urgent.Thank you in advance.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    May 14, 2010 at 03:29 PM

    Hi Dilip,

    Please go through the following code,

    • aqui le pasamos el guid del documento sap crm que estemos tratando

    CALL METHOD cl_crm_documents=>create_with_file

    EXPORTING

    • aqui le pasamos el nombre del fichero que queremos anexar

    file_name = filename

    • 'c:\' "aqui le pasamos la ruta del fichero que queremos anexar

    directory = path

    business_object = ls_bor

    IMPORTING

    loio = lv_loio

    phio = lv_phio

    error = lv_error.

    Let me know if you more info on this.

    Regards,

    Abhijit G. Borkar

    Add comment
    10|10000 characters needed characters exceeded