cancel
Showing results for 
Search instead for 
Did you mean: 

Make Account assignment field mandatory in VF01 at item level

Former Member
0 Kudos

Hi All,

I want to Make Account assignment field mandatory in VF01 at item level in accounting block.

Please guide.

Thanks ,

Salman Zahir

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member188076
Active Contributor
0 Kudos

Hi

Why you want to make the Account Assignment group ( VBRK-KTGRD or VBRP-KTGRM) mandatory in Billing, ie., VF01??

As a best practice you can make these fields mandatory in Customer master Data and Material Master data and from there it will flow to documents automatically. And on the basis of this system will determine the accounts correctly.

Regards

Amitesh Anand

Former Member
0 Kudos

Hi,

Goto T.Code:SE51

Program name:SAPMV60A

Screen number:6106

Select Flow Logic.

Click on Change.

Click on elelment list tab.

Search for VBRP-KTGRM field.

Two options you are going to identify.Select the entry which is having the "type of screen element" as "I/O".

Click on special attributes.

Input is enabled as "Possible".Change it to "Required" from drop down.

Save.

It will be appeared as mandatory.

One more way is use of an exit.

Ask your ABAPer to check for this field entry while saving the invoice.As we know incompletion log will not work out here in invoice,so we are going for an exit.

If there is a value for this field then only we can save the invoice,else not.

Regards,

Krishna.

Former Member
0 Kudos

Hi Krishna,

Thanks for your reply, but when I am trying to change in SE51 it is asking the access key.

What do I do?

Thanks,

Salman Zahir

Former Member
0 Kudos

Hi

Please take help of your ABAPer to edit. Anyways solution suggested above requires changes in STANDARD SAP which is not recommended under best practices. And also to amend standard sap you reqiure access key separately from SAP.

Better go for user exits with the help of your ABAPers.

you can use:

USEREXIT_ACCOUNT_PREP_KOMKCV

USEREXIT_ACCOUNT_PREP_KOMPCV

try and revert