Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

problem with user defined approval query

Hi

Sorry me for my english

I have a problem with approval query

DECLARE @DocDate DATETIME
SET @DocDate = (SELECT $[OINV.DocDate])

IF (DATEDIFF(DAY,@DocDate,GETDATE())) != 0

BEGIN
SELECT DISTINCT 'TRUE'
END

the query works with the previous invoices, but today's invoices show me a error colud not commit transaction

Can Help me?

Thanks

Felipe Loyola

Former Member

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question