‎2007 Nov 27 1:54 PM
Hi Abapers,
Hi,
in Tcode BBG0 i try to create a validation (an error message) that limit the choice for users regarding a VAT code.
more explanation : when a user post a document (Tcode : FB01) with a treasury account : "511120" he must choose between two vat code : "V0" or "V4".
as result every cost account must be posted with this vat code : V0 or V4 when it is credited by 511120. otherwise the error message is displayed.
so i entered this :
Prerequisite : BSEG-HKONT = '511120'
Check : ( BSEG-MWSKZ = 'V0' ) OR ( BSEG-MWSKZ = 'V4' )
the error message is displayed if the prerequisite is met and if check is not fulfilled.
in the <b>ERP Financials Forum</b> they advise me to make a user exit for this problem.
so how to create a user exit for this transaction : GGB0 (please iam not a developper).
more details about my problem :
i hope your help
regards
Message was edited by:
jehade el aoumari
‎2007 Nov 28 9:42 AM
Hi jehade,
I have just finished working on adding a user exit in a validation so I would like to share this with you.
In summary:
a. Create a custom copy of the RGGBR000 module pool for validations
b. Declare the newly created ZRGGBR00 in GCX2
c. Modify the ZRGGBR00 to create a user exit procedure i.e. U100.
d. When creating the validation in OB28, you should be able to see the newly created procedure and use it in the Check section.
<a href="http://abapdeveloper.blogspot.com/2007/03/faq-about-validations-and-substitutions.html">http://abapdeveloper.blogspot.com/2007/03/faq-about-validations-and-substitutions.html</a>
<a href="http://abapdeveloper.blogspot.com/2007/03/faq-about-validations-and-substitutions_28.html">http://abapdeveloper.blogspot.com/2007/03/faq-about-validations-and-substitutions_28.html</a>
<a href="http://abapdeveloper.blogspot.com/2007/03/faq-about-validations-and-substitutions_1306.html">http://abapdeveloper.blogspot.com/2007/03/faq-about-validations-and-substitutions_1306.html</a>
Hope this helps.
Regards,
Oscean Tortona
‎2007 Nov 27 2:03 PM
hi,
ZGGBR000 is the program where you can add your routine, pls. ask help from developer, he has to have a look, how the other routines look in this program and he has to build something similar. When it is ready, you can call this exit from GGB0.
ec
‎2007 Nov 27 2:14 PM
‎2007 Nov 27 6:30 PM
‎2007 Nov 28 9:42 AM
Hi jehade,
I have just finished working on adding a user exit in a validation so I would like to share this with you.
In summary:
a. Create a custom copy of the RGGBR000 module pool for validations
b. Declare the newly created ZRGGBR00 in GCX2
c. Modify the ZRGGBR00 to create a user exit procedure i.e. U100.
d. When creating the validation in OB28, you should be able to see the newly created procedure and use it in the Check section.
<a href="http://abapdeveloper.blogspot.com/2007/03/faq-about-validations-and-substitutions.html">http://abapdeveloper.blogspot.com/2007/03/faq-about-validations-and-substitutions.html</a>
<a href="http://abapdeveloper.blogspot.com/2007/03/faq-about-validations-and-substitutions_28.html">http://abapdeveloper.blogspot.com/2007/03/faq-about-validations-and-substitutions_28.html</a>
<a href="http://abapdeveloper.blogspot.com/2007/03/faq-about-validations-and-substitutions_1306.html">http://abapdeveloper.blogspot.com/2007/03/faq-about-validations-and-substitutions_1306.html</a>
Hope this helps.
Regards,
Oscean Tortona