Where to Specify output Directory

Iam getting this message after in craeted a new module and try to validate.
TCPDF ERROR: Unable to create output file: error-diroutput-not-defined-for-this-object=mypestrecord/MYOBJECT2404-0002/MYOBJECT2404-0002.pdf

where do i define the object, kindly help, iam stuck

Hello all,
I am getting the same message
anybody got a clue?
Thanks in advance.

@ishaana10
Did you find a solution?
Anyone can help my version is 19.0.2?
Thanks in advance.

Its a pitty that no one knows about “where to declare the output directory”.
I am stuck too in V20.0.3
Greetings,
Pete