09-12-2012 1:36 PM
Hello Sap Experts ,
I have created a copy Z by standard SAP program (RGGBS000).
This program I use for I modify an user exist (U100).
I have made a few tests in transaction FB60.
I can not understand why is not trigger my U100.
I put break point in Zprogram is not catch it .
Can help somebody with a solution?
thank you
09-12-2012 2:14 PM
- (SM30 on V_T80D or SPRO)Did you register the name of your z-include ?
- (OBBH or SPRO) At which call point of substitution did you attach your exit, did you set an activation level for your substitution, are you sure to fulfill the selection criteria ?
Regards,
Raymond
09-12-2012 2:14 PM
- (SM30 on V_T80D or SPRO)Did you register the name of your z-include ?
- (OBBH or SPRO) At which call point of substitution did you attach your exit, did you set an activation level for your substitution, are you sure to fulfill the selection criteria ?
Regards,
Raymond
09-12-2012 2:25 PM
Hello Raymond ,
yes, I renamed the includes from Zprogram with Z.
I created the logic condition at prerequisite and substitution.
At substitution I selected "only exist" and I completed the field with my form U100.
Then I executed the program RGUGBR00.
I put the break point at the beginning of the form and it is not trigger.
Thank you for a solution
09-12-2012 2:27 PM
Try to put a break point in FM FI_SUBSTITUTION_ITEM and FI_SUBSTITUTION_HEADER wich call the routines and some generated code.
Regards,
Raymond
09-12-2012 2:35 PM
Hello Raymond,
Yes , in V_T80D the name of program Z has been saved .
I have observed that when I have put a break-point at the beginning of the program it is caught.
But , It is jumpped over my form (U100).
Thank you ,
09-12-2012 2:46 PM
So try to find the generated code that executes the "prerequisites" check.
(Read first Note 842318 - Frequently asked questions about validations + substitutions which contains many hints on this subject)
- use G_CLIENT_ENCODE to convert client to 2 characters used in generated includes
- look at includes GBT__FIB (Substitutions) and GBT__FIC (Substitution conditions) replacing __ with the result of the FM
Regards,
Raymond
09-13-2012 8:07 AM
Hello Raymond,
Thank you for all answers.
The problem is from Substitution logical.
I hope to solve it .
Many thanks ,