How to add data's like name, date, and batch number into an HMI

I want to input data like name, date. and batch numbers into an HMI

How do i do the programming for this on a siemens S7-300 PLC and a comfi panel

You can define a new string tag on the plc tags or on the HMI tag. To input your data or whatever you need.