Pages

Monday, 13 October 2014

GGB0 Validation using User Exit

User exit for FI Transactions using (GGB0)
 
TCODE   : GGB0 validation
                OB28  for activating validation
                GCX2   user exit Program Config
                GS01   Set Creation
Program : RGGBR000 user exit program
Step 1 : create custom program for RGGBR000
   1 .Create custom (ZRGGBR000) program , with the copy of  standard Program  RGGBR000 .

   2. Maintained user exit name with in form (form get_exit_titles tables etab ) .
 Exits-name = (user defined name)
  3. Create form for that new user exit .
   form zpark using b_result.
         "Set Validation is true at initial stage
   b_result = b_true .
     “When your validation is unsuccessful just pass b_result in b_fales .
     * b_result = b_fales .
endform.      
Within form write your logic
Save and Activate the program .
Step2 : Assign the Custom Program in GCX2
After Assigning , user exit name will be appear in GGB0 exit TAB .
Step3 :  Create the Validation in GGB0 .
 
Maintained the User exit

Message:
Step:  Activate Validation (OB28) .

SET Creation (GS01 ) :
Press enter. Then below screen will appear .