SAP Message UPF603 - Front end function cannot be executed in batch

UPF603 : Front end function cannot be executed in batch