Hello Reddy K
please refer bellow Sp and modify accordingly
if @object_type='112' and @transaction_type='A'
Begin
if exists(SELECT DISTINCT 'TRUE' FROM [dbo].[PCH1]
T0 where T0.[ItemCode] ISNULL and T0.DocEntry= @list_of_cols_val_tab_del)
Begin
set @error = '-2'
set @error_message = 'Please choose item ..'
end
End
--Ramudu