Skip to Content
avatar image
Former Member

Upload Attachment to Lead/Opportunity in SAP CRM

Hi Experts,

I'm tring to Upload the Attachment document to Lead by using

Class cl_crm_documents

Method create_with_file

Exporting Parameters from Program are

file_name = filename(upload_text.txt)

directory = path(c:/users/......../)

business_object = ls_bor( snap has it values)

But in Importing Parameters in Program Im getting below values

loio = lv_loio

phio = lv_phio

error = lv_error.

How handle these error values.

Note : I'm writing SE38 report to Upload Attachment.

Advance Thanks,


lv-error.png (8.9 kB)
ls-bor.png (7.8 kB)
lv-loio.png (7.9 kB)
lv-phio.png (7.8 kB)
lv-error.png (8.9 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers