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

what is user exit?

Former Member
0 Likes
623

User exit is used for what?

When we need a user exit?

if possible Any code sample would be very nice.

Thank you very much.

Deniz.

User exit is used for what?

When we need a user exit?

if possible Any code sample would be very nice.

Thank you very much.

Deniz.

3 REPLIES 3
Read only

Former Member
0 Likes
599

There are following type of user exits

1. For Extending the business content.

This is used to enhance standard datasources to add your own fields which is not available with respective datasource.It is done Enhancement: RSAP0001

The components for the enhancement are the function modules:

- EXIT_SAPLRSAP_001 (Transaction Data)

- EXIT_SAPLRSAP_002 (Master Data Attributes)

- EXIT_SAPLRSAP_003 (Texts)

- EXIT_SAPLRSAP_004 (Hierarchies)

2. User Exit after Data loading The function exit is called each time an InfoCube update is successful or fails.It is not called if the status is (remains) indifferent (yellow).

3. User Exit for Variables

This is used for custome variables. the Enhancement is RSR00001.The component for the enhancement is the function module EXIT_SAPLRRS0_001.

4. User-Exit for Virtual characteristics and key figures A virtual characteristic / key figure is an object of the InfoCube. The values are derived at query run time.

The Enhancement is RSR00002.The components for the enhancement are the function modules EXIT_SAPMRSRU_001 and EXIT_SAPMRSRU_999.

5.User Exit in BEx

When the first query is added to a workbook, the Analyzer will also add a VBA subroutine to the workbook:

Sub SAPBEXonRefresh(queryID as String, resultArea as Range

This subroutine will be called each time a query is refreshed in the workbook.

Read only

Former Member
Read only

Former Member
0 Likes
599

Please go through this link which will explain you user exists in detail with example:

http://sap.niraj.tripod.com/id21.html

Please reward the helpful entries.

Regards,

Raman.