I am trying to attach a document to a CRM Service Order from BSP.
Im using the following FM
cl_crm_documents=>create_with_file
When I test the FM from SE37 transaction, I am able to attach a file from a local disk succesfully and the service order is getting updated. But If I call this FM from BSP, trying to do the same operation, document cannot attach to service order and Method returns the following error: Error loading file <NameFile> (Class of message CRM_DOCUMENTS and number 100).
Thanks in advance.