[email protected]
My Account
  • Home
  • Blog
  • eBooks
  • ECC/S4 system Access
  • About
  • Contact Us
  • My account

No products in the cart.

  • Home
  • Blog
  • eBooks
  • ECC/S4 system Access
  • About
  • Contact Us
  • My account

No products in the cart.

  • Home
  • Blog
  • eBooks
  • ECC/S4 system Access
  • About
  • Contact Us
  • My account

No products in the cart.

  • Home
  • Blog
  • eBooks
  • ECC/S4 system Access
  • About
  • Contact Us
  • My account
Blog
Home FICO How to use user exit in substitution and validation rules?
FICO

How to use user exit in substitution and validation rules?

SAP College January 13, 2022 0 Comments

Introduction

We know that substitution and validation rules are used to validate and substitute data from master data & transactional data in SAP Finance Module. It is widely used in across sub-modules as it gives more flexibility to functional consultant further to end users via set maintenance.

I am presuming that you already know about substitution & validation rules, if not you can learn through these slides to understand basics of validation & substitution rules.

Steps in validation & substitution rule:

Validation–

  1. Prerequisite
  2. Check
  3. Message

Substitution –

  1. Prerequisite
  2. Substitute

We can easily understand the function of both rules with below diagram:

We have option to put user exit in check step of validation and substitute step of substitution

So prerequisite remains open for use in both cases, so once the prerequisite rules are being match then only user exit will trigger to make changes (substitution) or to decide whether error msg should be displayed or not (validation)

Validation & Substitution rule transaction codes

You can remember transaction codes in below sequence

GGB0 – Validation rule creation

GGB1 – Substitution rule creation

GGB4 – Assignment of Validation & Substitution rules

These three transactions you all need for validation & substitution rules.

How to check user exit in validation/substitution

Let’s go to GGB0

GGB0 – Transaction code

This is one validation rule, where in check step, user exit ZEVAL is used.

By clicking on check, you can go inside check condition:

GGB0 – Transaction code

Select the user exit and click on ABAP Routine (as mentioned above)

And you will be redirected to the section code for this user exit.

ABAP Editor

Also Read: Everything about OB52 authorization group

Here you can setup breakpoint, to debug the errors or to find out how user exit is working.

But this should be somewhere assigned, for system to know which program to check for user exit. And that we will see now.

How to create user exit for substitution and validation in SAP FICO?

In GGB0/GGB1 transactions, we have predefined list of user exit to select from. But that should be created somewhere, right?

Go to transaction GCX2

GCX2 – Trasaction Code

In this transaction code GCX2, you have to assign GBLR (Validation) & GBLS (substitution) Application area to z programs in which ABAPer will be writing code for all user exits.

To create z program, you can copy standard program RGGBR000 

ABAP team will write user exit name in subroutine ‘GET_EXIT_TITLES’,

Under user exit code will be written as per the specification / requirements.

So in our example we used user exit ZEVAL. This name will be written in program assigned above in (GCX2). In this program there will be blocks of code for multiple user exits. In our case system will only run the program block of code written for ZEVAL user exit.

This is how user exit is link to program and it is used in substitution and validation rules.

This brings us to an end. Hope you enjoy and learn something. We publish such blogs once in every week, if you want to get notified of new blogposts, then you can register to below newsletter:

You can also stay connected with us on below platforms:

YouTube

LinkedIn FICO Page

LinkedIn ABAP Page

LinkedIn Logistics Page

Instagram

17
1566 Views
AboutSAP College
SAP College is a knowledge portal for all of those who want to learn SAP. This is a one-stop reference for your entire SAP needs. Here you will find blogs that will help you to point out daily support issues. The blog covers technical, educational, and psychological aspects of working with SAP, mostly from the point of view of consultants or people responsible for implementing SAP software.
In Socials:
PrevEverything about OB52 authorization groupJanuary 9, 2022
Top 10 books to learn SAP ABAPJanuary 27, 2022Next

Related Posts

FICO

Note to Payee Functionality

Note to Payee is a functionality available in SAP DME to meet legal / bank...

SAP College December 18, 2021
FICO

Everything about General Ledger account – Part 2

This is the second blog of the series read the first blog here. Everything about...

SAP College July 17, 2020

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

  • Home
  • About
  • Contact
Categories
  • ABAP 8
  • FICO 18
  • General SAP 23
  • MM 1
  • SD 2
Products
  • What has been changed in New Asset Accounting ₹151.06 ₹119.00
  • Learn to Debug ABAP Programs ₹499.00 ₹449.00
  • ECC 6.0 EHP7 - Functional Server ₹649.00 – ₹3,499.00
  • S4HANA 2021 – ABAP Server ₹1,849.00 – ₹11,999.00
Sign Up to get update of latest Blogs

Find Us

Address
123 Main Street
New York, NY 10001

Hours
Monday–Friday: 9:00AM–5:00PM
Saturday & Sunday: 11:00AM–3:00PM

SAP College is a knowledge portal for all of those who wants to learn SAP. This is a one-stop reference for your entire SAP needs.

sap_college

Few insights about Brexit from the SAP's latest we Few insights about Brexit from the SAP's latest webinar. Brexit is still open with all the possibilities and still everything is clear... as said... they are very close to the deal and yet too far from the deal.

#SAP #ERP #SAPERP #brexit #sapcommunity #s4hana
To read full blog and more like this one visit the To read full blog and more like this one visit the website mentioned in bio.... 
@sap_college 

#sap #saphana #SAPUI5 #saperp #sapcommunity #S4 #s4hana
End-User Manual - Asset Accounting in S4 In this f End-User Manual - Asset Accounting in S4
In this free document, you will get a broader picture of how end-user transactions are changed/affected with New Asset Accounting.
All the information about new transactions and obsolete transactions in S4.

You will learn the newly introduced topics in below areas:

1. Asset Master data
2. Asset Accounting business transactions
3. Month-End closing activities
4. Year-End closing activities
5. Asset Accounting - Information System

Download this free book now from the link in bio

https://lnkd.in/gtvPz-U

#SAP #s4hana #sapcommunity #erp #sapfico #saperp #fico #accounting #assetaccounting #s4 #HANA
Follow SAP College on LinkedIn and stay up to date Follow SAP College on LinkedIn and stay up to date with SAP's new releases. New blog post everyday. eBooks review. Free books. Documents. And many more....

#SAP #S4 #SAPCOMMUNITY #S4HANA #ERP #SAPUI5 #SAPERP
Follow on Instagram
This error message is only visible to WordPress admins

Error: API requests are being delayed for this account. New posts will not be retrieved.

Log in as an administrator and view the Instagram Feed settings page for more details.

Contacts
Website: https://sapcollege.co/
Email: [email protected]
Facebook Page
Terms & Condition

Copyright © 2020 SAP College by Smarksys Technologies. All Rights Reserved.