on 2022 Aug 24 9:39 PM
Dears,
I have a task that requires me to upload a file (image, pdf) to CRMD_ORDER.
What I have found is the image name is saved in CRMORDERLOIO after getting it from SKWG_BREL. Also, I have found a class CL_CRM_DOCUMENT but it does not update in the CRMD_ORDER itself.
The task itself I want to send attachment document in CRMD_ORDER from a web service
Best Regards,
Help others by sharing your knowledge.
AnswerRequest clarification before answering.
Thanks: sandra.rossi , thalesvb
I have debug CRMD_ORDER, I found the solution is to upload the file to application server then user the path of the application server to class method of CRMD_ORDER it`s work for me ,
Ref:
https://answers.sap.com/questions/10249889/get-url-for-a-file-in-application-server-in-al11.html
https://blogs.sap.com/2013/11/29/how-to-create-attachment-for-your-business-object-via-code/
Mahmoud Farag
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
8 | |
6 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.