Hello,
what do you want to change in F4 of process order or while doing confirmation??
Please check below threads
Automatic batch determination in process order | SCN
Batch Determination for Process and Production Orders - Batch Management (LO-BM) - SAP Library
Hope this well help you ..!!
Regards,
Amit Sharma