I wish to program an interface to insert document attached (in particular : the pictures) in the Crm product in a specified repertory. (transaction : COMMPR01, tab : « Document »)
I found and tested methods CL_CRM_DOCUMENTS-CREATE_WITH_FILE
To create, the picture (if there is located in my computer = presentation server) is well inserted into the article (parameter business object)in the repertory desired (parameter: parent_folder) but I have a problem.
=> I want to insert pictures which are located in MY SAP SERVER. (in MY LEGACY SYSTEM) (/usr/sap/filein..)
I have the same problem with the function FM : COM_PROD_MATERIAL_MAINTAIN_API
By advance, thank you for your assistance.