Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot trigger an user exist (form U100) from substitution

Former Member
0 Kudos


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

1 ACCEPTED SOLUTION

raymond_giuseppi
Active Contributor
0 Kudos

- (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

6 REPLIES 6

raymond_giuseppi
Active Contributor
0 Kudos

- (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

0 Kudos

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

0 Kudos

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

0 Kudos

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 ,

0 Kudos

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

0 Kudos

Hello Raymond,

Thank you for all answers.

The problem is from Substitution logical.

I hope to solve it .

Many thanks ,