cancel
Showing results for 
Search instead for 
Did you mean: 

trigger point of function module EXIT_SAPMV45A_002

Former Member
0 Kudos
307

Who can tell me the trigger point of function module EXIT_SAPMV45A_002?

It is the one of user exits of T-CODE VA01.But it didn't be executed all the time during I executed the T-CODE: VA01 as well as finished the sales document.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

HI,

Go to transaction CMOD.

Enter project name and select the button Create

we want to create a project to enahance trasnaction VA01 .

- 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 in 1 project. If the enhancement is already 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 = '1000'.

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

Goto transaction VA01 and craete a salesorder.

Note that Sold-to-party now automatically is "1000"

Reward points pls.

Regards,

Govind.

Answers (2)

Answers (2)

Former Member
0 Kudos

EXIT_SAPMV45A_002

This User exit is used to Predefine the Sold to party when you create sale order

GO TO SMOD: enter this enhancement V45A0002 & then select the components you will find the trigger point ...

Hope this helps

Cheeers

Former Member
0 Kudos

thanks for you reply but it don't help me any more.

In other words,I want to preassign a customer code 1000 to sales order when the sales order is created.How could I do in the program ZXVVAU04?

Former Member
0 Kudos

Its something related to sales group and sales office

GOTO SE37 and execute the FM... U may get some idea

Former Member
0 Kudos

thanks.

But I want to know where and how to use the function module.

It is a user exit and what's the goal of its existence?

Former Member
0 Kudos

Thi is used for <b>Preassignment of Sold-to Party in Sales Documents</b>

GOTO SE37 now goto display...click on attributes..there u can see the description of this exit...

If u want to have a predefined SP in Sale order u can use this exit