2025 Apr 19 2:17 PM - edited 2025 Apr 19 2:56 PM
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 |
---|---|
77 | |
22 | |
9 | |
7 | |
6 | |
5 | |
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.