Documentation on help.sap.com seems to be outdated. The "void addAttachmentObject(String var1, Attachment var2)" method of the "com.sap.gateway.ip.core.customdev.util.Message" Class in "script.api-2.14.0" has been marked as "deprecated".
We should now use the "void addAttachmentObject(String var1, AttachmentWrapper var2)" method instead.
Issue description
Documentation on help.sap.com seems to be outdated. The "void addAttachmentObject(String var1, Attachment var2)" method of the "com.sap.gateway.ip.core.customdev.util.Message" Class in "script.api-2.14.0" has been marked as "deprecated". We should now use the "void addAttachmentObject(String var1, AttachmentWrapper var2)" method instead.
Feedback Type (Optional)
outdated information
Page Title on SAP Help Portal (prefilled)
Create Attachments
Page URL on SAP Help Portal (prefilled)
https://help.sap.com/docs/cloud-integration/sap-cloud-integration/create-attachments