cancel
Showing results for 
Search instead for 
Did you mean: 

Own Validation & Substitution - Urgent

raja_thangamani
Active Contributor
0 Kudos

Hi,

Anybody could tell me how do Create my Own Exits for Validation & Substitution.

And I promise to return and reward the answers.

Thanks in advance..

Raja T.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Raja,

I understood from your question that you need to create your own Exit routines for Rules/Substitution for Validation & Substitution.

I have created my own Exit routines for Financial Accounting.

The standard programs are available for Validation and Substitution for Financial Accounting.

1. RGGBR000 ( Validation )

2. RGGBS000 ( Substitution )

You need to copy this to Z - Program ( ZGGBR000 ) and add your own exits. You can understand the program logic by seeing the existing sample user exits in this program.

After that, configure your Z program in SPRO

SPRO --> Financial Accounting --> Special Purpose Ledger --> Basic Settings --> User Exits --> Maintain Client-Specific User Exits

GBLR - Validations

GBLS - Substitution

Now you can able to see your exits and use it in OB28/OBBH transaction codes.

Check this link for more information

http://help.sap.com/saphelp_pserv463/helpdata/EN/5b/d231a843c611d182b30000e829fbfe/frameset.htm

Regards,

Govind.

raja_thangamani
Active Contributor
0 Kudos

Hi,

Thanks for all your support. Valuable input.Still i have some queries,the FORMS which i created in ZRGGBR000, from where this will be called, i mean PERFORM for the created Routine.

Do i need to any steps to create my own exits or any more steps to create my Own Exits?.

How this Exits will be called.

Definitely i will give you the Value points.

Thanks,

Raja T.

Former Member
0 Kudos

For example, you have created a FORM called U333 in ZRGGBR000. This form U333 should return the output value true / false for the field b_result.

After you assigned this program in SPRO, you can able to see the exit U333 in OB28 under steps -> Prerequisite / Check. You can make use of this exit in your validation.

Let me know if you need more clarifications.

Thanks & Regards,

Govind.

raja_thangamani
Active Contributor
0 Kudos

Hi,

Thanks for you immediate responce. I would like to know how to activate my validation & How to test whether my validation is getting triggered or not.

one more question, what is Bool data? what is the content of that?

Thanks,

Raja T

Former Member
0 Kudos

Hi

In the transaction code OB28, you need to give the company code, call point, your validation name and Activation level - 1.

When you do the posting based on your requirement, you will come to know, Whether it is triggering or not.

Thanks & Regards,

Govind.

raja_thangamani
Active Contributor
0 Kudos

How to test whether my validation is getting triggered or not.

What is Bool data? what is the content of that?

Thanks,

Raja T

Former Member
0 Kudos

Can you explain me What is your requirement? Is it for document posting in FI?

In the transaction code OB28, if the activation level is 1 then it is activated for the specified company code for FI module.

I hope, you know how to create Validation / Substitution.

I don't have any idea about Bool data.

Thanks & Regards,

Govind.

raja_thangamani
Active Contributor
0 Kudos

Hi,

Its for FI Transaction Code F110(Payment run). Before executing the transaction i need to do some validation. I have create a Customer exits to achieve this also i create Validation along with the Steps. But its not getting triggered even though i have activated the Validation thro OB28. Can you give me some input. It will be greatful for me.

With regards,

Raja T

Former Member
0 Kudos

The Validation ( OB28 ) is only used for FI document posting.

I am not sure whether this will work for F110 - Payment run.

What is the validation do you want to do, before execute F110?

Thanks & Regards,

Govind.

raja_thangamani
Active Contributor
0 Kudos

Its BKPF-BLART = 'KZ' OR BKPF-BKART = 'RE' AND SYST-TCODe ='F110'.

Raja T.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Raja,

I find this to be almost identical to your other post.

However, here I did not quite understand what you mean by "exits" for validation and substitution. If you are talking about a standard program for which you want to create your own user-exist, then I'm afraid that is not possible. SAP Programs have predetermined user-exits where it makes sense to have customer-specific code, e.g., validations.

And if you are talking about a custom program, although you can create user-exits there, there's no need to have a user-exit there, since the program is anyways in the customer namespace.

Is this what you were looking for?

Regards,

Anand Mandalika.