cancel
Showing results for 
Search instead for 
Did you mean: 

Validation rule for making Section code as mandatory while posting document

Former Member
0 Kudos

Hi All,

Good Morning!

While posting document through FB60 or MIRO or FB65 or F-48 or F-43, I have to make one filed i.e. Section code as mandatory field while posting document. Can anybody guide me how to create validation rule and how to define this.

Waiting for ur reply.

regards

Srinivas

Accepted Solutions (0)

Answers (2)

Answers (2)

ravi_nagh
Active Contributor
0 Kudos

HI,

Do like this.

Prerequisite

BKPF-BUKRS = 'IN47' AND BSEG-KOART = 'K' AND

BSEG-QSSKZ <> ''

Check

BSEG-SECCO <> ''

Message

Vendor Subject to W/Tax. Provide Section Code !!

Activate it and let me know

Regards

Ravinagh Boni

Former Member
0 Kudos

Hi Srinivas

Use T.Code OB28 for creating a validation. Give the Company code for which you want the Validation for. Specify whether you want to do the validation at line item level or header level. In your case its line item level and then double click on that lien item. Give the name for your validation and select step button. It will ask for the prerequisite,there you give all the t.codes such as MIRO, FB6o etc and then in the next step give the rule that check for the field Section Code by giving its tech name. and then give it as an error msg.

Regards

Rajaram