Use the Chrome developer tools to debug attachment uploads in the CRM WebClient UI: Select a file from the local, breakpoint trigger:
Front End Get user selected uploaded file name: Jerry.txt
After you click the Attach button, the event handler function for the ABAP background is triggered:
From the Network tab of the Chrome Developer tool, it is observed that the UI sends an HTTP POST request to the ABAP daemon:
The background handles all form parts in turn:
Remove the file name and file type from the corresponding form part:
As well as the actual file content (for security reasons, the contents of the form part cannot be observed in the Chrome Developer Tools Network tab)
However, the contents of the uploaded file that you see in the ABAP debugger are still consistent with the file's local UltraEdit open.
To get more original Jerry's technical articles, please follow the public number "Wang Zixi" or scan the QR code below:
How the files in the CRM WebClient UI are uploaded to the NetWeaver backend