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: 

Very Urjent Help Needed

Former Member
0 Kudos

Hi All,

Again i am here for your valuable suggestion and help.

I dont know User Exit. I got a situation like below. Plz give me some step by step process to resolve the issue, My time is very short.. so if u can give the exact full steps it will be very helpfull for me. The issue is as follows..

In existing system, the price comparison report is generated through standard

transaction code ME49. There is no field to capture remarks against the quotations.

An additional Z field for remarks is to be displayed in Price Comparison Report.

This Z field will be picked from transaction of Quotation maintenance.

Quotation maintenance (ME47)

Price Comparison Report (ME49)

Table for Quotation maintenance (RM06E, EKPO, and EKKO)

ZREMARKS, Z field needs to be added and displayed in Report of Price Comparison.

I am waiting for your valuable answer so that i can start and resolve this as soon as possible..

Best Regards

Sivaji Dutta

4 REPLIES 4

Former Member
0 Kudos

Hi,

Goto SMOD transaction give this 'AMPL0001' select the display radio button and click display...........

This user exit must be helpful for u........

If u r satisfied with this exit.........click test....

inside that u ll hav a screen exit SAPLMBAM where u can design ur own fields and using the include tables CI_AMPL u can store the along with the std tables........

this is applicable for ME49 also...........

Cheers,

Will.

0 Kudos

Hi,

Thanks a lot for your answer, but i know nothing about user exits.. so plz give me some details steps.. that will be very much helpfull for me..

Thanks again

Sivaji

0 Kudos

Hi,

First decide the fields u want to display in the screen....

Goto CMOD create a new Z project click enhancement assignment.....give this 'AMPL0001' click on components....

ull see a screen exit right......double click and create it..........design it as ur wish..........activate come back.......double click the include tables.........create the zfields as ur wish(dat u hav 2 store from the screen).......in the flow logic of ur screen create a module and inside it update zfields of DB tables...........don't forget 2 activate the project before running ur ME47.............

Cheers,

Will.

0 Kudos

Hi,

CMOD is the Project Management of SAP Enhancements (i.e., SMOD Enhancements). SMOD contains the actual enhancements and CMOD is the grouping of those SMOD enhancements.

User exits (Function module exits) are exits developed by SAP. The exit is implementerd as a call to a function module. The code for the function module is written by the developer. You are not writing the code directly in the function module, but in the include that is implemented in the function module.

The naming standard of function modules for function module exits is:

EXIT_<program name><3 digit suffix>

The call to a functionmodule exit is implemented as:

CALL CUSTOMER.-FUNCTION ❤️ digit suffix>

For Example:

The program for transaction VA01 Create salesorder is SAPMV45A

1. If you search for CALL CUSTOMER-FUNCTION program SAPMV45A you will find ( Among other user exits):

CALL CUSTOMER-FUNCTION '003'

exporting

xvbak = vbak

xvbuk = vbuk

xkomk = tkomk

importing

lvf_subrc = lvf_subrc

tables

xvbfa = xvbfa

xvbap = xvbap

xvbup = xvbup.

The exit calls function module EXIT_SAPMV45A_003

2. How to find user exits

Display the program where you are searching for and exit and search for CALL CUSTOMER-EXIT

If you know the Exit name, go to transaction CMOD. Choose menu Utillities->SAP Enhancements.

Enter the exit name and press enter.

You will now come to a screen that shows the function module exits for the exit.

or use this ABAP program to search for user exits :-

Finding the user-exits of a SAP transaction code

3. Using Project management of SAP Enhancements

You want to create a project to enhance transaction VA01

- Go to transaction CMOD

- Create a project called ZVA01

- Choose the Enhancement assign radio button and press the Change button

In the first column enter V45A0002 Predefine sold-to party in sales document . Note that an enhancement can only be used for 1 project. If the enhancement is allready in use, and error message will be displayed

- Press Save

- Press Components. You can now see that enhancement uses user exit EXIT_SAPMV45A_002.

- Double Click on the exit.

Now the function module is displayed. Double click on include ZXVVAU04 in the function module

Insert the following code into the include: E_KUNNR = '2155'.

Activate the include program. Go back to CMOD and activate the project.

Goto transaction VA01 and create a salesorder. Note that Sold-to-party now automatically is "2155

This is an example for ur refernce. You can do accordingly for ur requirement

Regards,

Renjith Michael.