3 weeks ago - last edited 3 weeks ago
import com.sap.gateway.ip.core.customdev.util.Message
import java.text.SimpleDateFormat
def Message processData(Message message) {
def date = new Date()
def sdf = new SimpleDateFormat("yyyyMMdd_HHmmss")
def timestamp = sdf.format(date)
def fileName = "Invoice_" + timestamp + ".pdf"
message.setProperty("dynamicFilename", fileName)
return message
}
Request clarification before answering.
User | Count |
---|---|
68 | |
12 | |
12 | |
7 | |
7 | |
4 | |
4 | |
4 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.