Application Development and Automation 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: 
Read only

Using exit in substitution

Former Member
0 Likes
676

Hi,

I have created a substitution through the path

Assign via Financial Accounting (New) -> General Ledger Accounting (New) -> Tools -> Validation/Substitution ->Substitution of Profit Centers in Customer Orders ->Define Substitution Rules -> via user-exit

In the substitution option I have given my exit U999.

When I double click on the exit U999,it is giving error as 'User exit U999 not declared in form pool RGGBS000'

Can anyone tell me what does this mean?Where have I gone wrong?

2 REPLIES 2
Read only

Former Member
0 Likes
487

Hello,

if you want to use an user exit in a substitution, you'll have to define this user exit in a copy of RGBBS000.

RGBBS000 is a standard programm.

You could just read the OSS-Note 48121 to check, what you'll have to do.

Regards Wolfgang

Read only

Former Member
0 Likes
487

Hi,

I had this problem in my previous project. In this case, I would advise that you create a subroutine pool called ZGGBS000. This will contain all user exits that you describe in your validation / substitutions.

First, you will have to append the user-exit name to a standard internal table. After this, you can write the code in a PERFORM - FORM structure, passing parameters as you require to the FORM code.

Check the internet for useful information on ZGGBS000 before implementing this.

Hope this helps! Do let me know if you want anything else!!

Cheers,

Shailesh.

Always provide feedback for useful answers!