cancel
Showing results for 
Search instead for 
Did you mean: 

Business Place and Section Code mandatory

Former Member
0 Kudos

Hi Experts,

How to make Business place and Scetion code madatory field in MIRO and FB60. bcoz while posting a entry to vendor it is not asking B place and S Code.

Thanks in advance

JAved

Accepted Solutions (0)

Answers (4)

Answers (4)

saikrishna_vallurupalli
Active Contributor
0 Kudos

write the validation like this

Prerequisite

SYST-TCODE = 'FB60' AND BSEG-KOART = 'K' OR

SYST-TCODE = 'MIRO' AND BSEG-KOART = 'K' OR

SYST-TCODE = 'FB65' AND BSEG-KOART = 'K' OR

BSEG-BSCHL = '29' AND BSEG-UMSKZ = 'A' AND

BSEG-KOART = 'K'

Check

BSEG-SECCO = 'XXXX'

BSEG-BUPLA = 'XXXX'

Messge

create your own message and put the error message

better you create the separate validation class for section code and business place through GGB0 and activate the validation through OB28.

Former Member
0 Kudos

HI Krishna,

I applied your code the result is- validation working for both FI t-codes (FB60 & FB65).

But is not appling for MIRO.

What is the reasong???????

Can you please answer me.

Regards

partha

Former Member
0 Kudos

Hi Javed,

U will have to write a validation for the same.

Prerequisite:

( BKPF-BUKRS = 'XXXX' OR BKPF-BUKRS = 'YYYY' )

AND BSEG-KOART = 'K' AND BSEG-UMSKS <> 'W'

Check:

BSEG-BUPLA not equal (blank)

Message:

Error

Regards,

Kiran

Former Member
0 Kudos

You certainly have to create a validation for making the field mandatory, you can use OB28 for the same.

Hope this helps.

Regards,

J

Former Member
0 Kudos

hi Javed,

Better you write validation for that.

Thanks & regards

Amar