cancel
Showing results for 
Search instead for 
Did you mean: 

Restrict Creation of PR on GL accounts

former_member147217
Participant
0 Kudos

Dear All ,

 

   I have a requirement to restict creation of PR through CJ20N on basis of the GL account entered . Is there any user exits or BADI which we can implement to Achive this . Also I require to attach a search help to GL field with those GL accounts which should only be accepted .

Please Let me know how to perform this activity.

Accepted Solutions (1)

Accepted Solutions (1)

former_member195427
Active Contributor
0 Kudos

Hi

Instead of BADI, I think you can achieve it using Validation (with error on PR creation) or with substitution of recommended G/L during PR creation.

Else

You can use std. BADI like EXIT_SAPLCOMK_005  ,EXIT_SAPLCOMK_013 etc.

Regards

Saurabh

former_member147217
Participant
0 Kudos

Hi Saurab ,

I am new to validation so am still not able to understand where do I exactly do the validation in Project Definition or in WBS elements . It will be a great help if you can just help me out with the steps to do it .

Regards ,

Disha Shah.

MTerence
Active Contributor
0 Kudos

Hi Disha,

Please refer this document, which explains how to create validation

Regards

Terence

former_member147217
Participant
0 Kudos

Hi saurab ,

I have used the user exit which you suggested and also added an elementary search help to the standard search help . Thank you all for your input . Issue is resolved .

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Disha,

You can follow this process, you need to create validation in tcode. GGBO prerequiste is project type, check mention gl's message assign proper wbs element and you have to maintain GL's in GS01.

i think it is useful for you....

if any clarification revert me back..

regards,

siddu

sanjeevc
Active Contributor
0 Kudos

Hi Disha,

No one can let you know how to create validation for it.

you have to google it then try with your self

Regards,
Sanjeev

MTerence
Active Contributor
0 Kudos

Hi Disha,

Have you tried to restrict using Validation ?

Regards

Terence

former_member147217
Participant
0 Kudos

I am not aware about validation . Can you help me some link .

MTerence
Active Contributor
0 Kudos

Hi Disha,

Use transaction OPSI to create validation.

Refer these threads for more information.

Regards

Terence