Skip to Content

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

SP Transaction Notification

Hi all.

I need some help creating a Stored Procedure. My client would like to make it impossible to choose a certain payment term when adding vendors. Can someone please help me with the syntax of such a SP?

Thanks and regards, Runar.

replied

should be just a simple IF clause in the "Add Code Here" Part

IF(@object_type='2' AND (@transaction_type='A'))

BEGIN

--do validation here so you need another If clause that set's error to a non 0 value when error condition is met

END

hope it helps,

Matt

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question