I need to create an approval procedure in GRPO if the OITB.[ItmsGrpNam] ='PVC Resin' .I've created an approval procedure using the following query and created an approval template using this .But it is not working .Please help me someone to archive this .
SELECT T0.[DocNum], T1.[Dscription], T1.[ItemCode], T2.[ItmsGrpNam] FROM OPDN T0
INNER JOIN PDN1 T1 ON T0.DocEntry = T1.DocEntry, OITB T2 WHERE T2.[ItmsGrpNam] ='PVC Resin'