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

User exit not being called

Former Member
0 Likes
2,809

Hi,

We have implemented user exit EXIT_SAPLMRMH_015, include ZXM08U26.

Problem 1:

When we tested in development system by processing a Idoc in debug, mode this user exit got called and the code in the user exit (include ZXM08U26) was executed.

Now we moved our changes to the quality system. Again we tested in quality by processing a idoc in debug mode. The user exit is getting called, but the code is not getting executed ( its not going inside include ZXM08U26). Why?

Problem 2:

In quality when I try to put break points in include ZXM08U26, a message pops up saying "The position of a breakpoint could not be ascertained". Why cant I put breakpoints?

The project (in CMOD) and the include (ZXM08U26) are all active in quality.

Thanks in advance.

Mick

Hi,

We have implemented user exit EXIT_SAPLMRMH_015, include ZXM08U26.

Problem 1:

When we tested in development system by processing a Idoc in debug, mode this user exit got called and the code in the user exit (include ZXM08U26) was executed.

Now we moved our changes to the quality system. Again we tested in quality by processing a idoc in debug mode. The user exit is getting called, but the code is not getting executed ( its not going inside include ZXM08U26). Why?

Problem 2:

In quality when I try to put break points in include ZXM08U26, a message pops up saying "The position of a breakpoint could not be ascertained". Why cant I put breakpoints?

The project (in CMOD) and the include (ZXM08U26) are all active in quality.

Thanks in advance.

Mick

7 REPLIES 7
Read only

Former Member
0 Likes
1,412

When you create/change a project, you must create a correction. This correction contains only the attributes and the SAP enhancements associated with a project, as well as a program that is automatically started with the transport and activates the project in the target system. Since activating a project affects all components, you should transport all components associated with a project at the same time, in other words with the same transport request. To ensure that the project is activated automatically in the target system, the correction that contains the program concerned must also be in the same transport request. If this is not the case, or the project has not been activated in the target system for other reaons, you can also activate it by manually starting the program (RSMODACT).

Read only

0 Likes
1,412

Thanks Vivek.

After I executed the program RSMODACT, the code in the include got executed.

Will I face the same problem if I now move this code to production?

Would really appreciate, if you could provide step by step sequence of what corrective action I should take before moving the code to production.

Please help as I am a little new to this.

Regards,

Mick

Read only

0 Likes
1,412

you can check if you have authorization to execute RSMODACT in production server. If you have, then you can transport same requests (I guess you have more than one) to production & then run RSMODACT.

Or you can activate everything again; proj, include etc. in devp server & make new request. You may also include objects of older request & then take that req. again to Test & Production.

Read only

0 Likes
1,412

Hi,

Checked that the project in CMOD is already activated, the include in the exit is also activated in development. The exit calls a custom function module, dynamically, this custom function module is also activated. So why isnt it working in quality? Is there anything else that I need to check?.

Also if I execute RSMODACT in production, will it not activate other inactive components of this project (CMOD) in production, which could lead to some negative impact?

Thanks,

Mick

Read only

0 Likes
1,412

Hi,

Activate the User Exit Function Module where you have written the code and try once again.

Regards,

Satish

Read only

0 Likes
1,412

Forgot to add that we have implemented only one component of the project in CMOD at this point in time. There are some other components in the same project which have been activated earlier.

So should we activate only this one component, the include, custom fuction module and put it in a new CTS and move from development to quality?

Read only

Former Member
0 Likes
1,412

Hi,

Plese check whether any customising setting is not missing in Quality.

regards

Sourabh