Skip to Content

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

SP Code to make plant field mandatory in GRPO ?

hi all,

How to make plant field mandatory in GRPO using Stored procedure notification ?

Expecting your valuable reply.

Jeyakanthan

replied

Petr,

That is exactly correct, thanks for pointing..... it was a oversight

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

BEGIN

IF EXISTS (SELECT DocEntry FROM [dbo\].[PDN1\] WHERE (OcrCode IS NULL OR OcrCode = '') AND DocEntry = @list_of_cols_val_tab_del)

BEGIN

SELECT @error =1, @error_message = 'Profit Center cannot be blank'

END

END

0 View this answer in context

Helpful Answer

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