setContent(byte[]) method
Use this method to set the attachment's content.
Syntax
void
setContent
(
byte[]
content
)
Parameters
-
content –
The attachment's content as a byte array.
Usage
The
Blob
object which is saved to the database is generated automatically, when this method is called.
Created October 21, 2013. Send feedback on this help topic to Technical Publications:
pubs@sap.com