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 for VA02?

Former Member
0 Likes
1,110

Hi all,

In my requirement, for a particular condition if the user wants to change the credit memo request that he has created. When the user clicks the save button after making few changes in va02 an message should come saying 'he cant make changes now' and the data should not be saved.

What is the user exit for this requirement. I have tried finding the exit using CMOD and gave break points in the userexit includes but it did not work.

Please help me. What is the user exit for this.

Regards,

Gautham

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,056

Hi Gautham,

Use the user exit USEREXIT_SAVE_DOCUMENT_PREPARE in program SAPMV45A in INCLUDE MV45AFZZ to add you logic.

This userexit can be used for changes or checks, before a document is saved.

you need access key for his,

of if you are working on ECC 6.0 version.

then you can create explicit Enhancement(using New Enhancement frame work) at the enhancement point "enhancement-point beleg_sichern_13 spots es_sapmv45a" in include MV45AF0B_BELEG_SICHERN and write your code inside your enhancement, and no access key is needed for this..

Regards,

Pavankumar

Hi all,

In my requirement, for a particular condition if the user wants to change the credit memo request that he has created. When the user clicks the save button after making few changes in va02 an message should come saying 'he cant make changes now' and the data should not be saved.

What is the user exit for this requirement. I have tried finding the exit using CMOD and gave break points in the userexit includes but it did not work.

Please help me. What is the user exit for this.

Regards,

Gautham

4 REPLIES 4
Read only

Former Member
0 Likes
1,056

Hi,

the include program MV45AFZZ contains user-exits for sales order .

V45A0002 Predefine sold-to party in sales document

V45A0003 Collector for customer function modulpool MV45A

V45A0004 Copy packing proposal

V45E0001 Update the purchase order from the sales order

V45E0002 Data transfer in procurement elements (PRreq., assembly)

V45L0001 SD component supplier processing (customer enhancements)

V45P0001 SD customer function for cross-company code sales

V45S0001 Update sales document from configuration

V45S0003 MRP-relevance for incomplete configuration

V45S0004 Effectivity type in sales order

V45W0001 SD Service Management: Forward Contract Data to Item

V46H0001 SD Customer functions for resource-related billing

V60F0001 SD Billing plan (customer enhancement) diff. to billing plan

<b>rEWARD POINTS</b>

rEGARDS

Read only

Former Member
0 Likes
1,056

hi

following exits are available for va02

Transaction Code - VA02 Change Sales Order

Exit Name Description

SDAPO001 Activating Sourcing Subitem Quantity Propagation

SDTRM001 Reschedule schedule lines without a new ATP check

V45A0001 Determine alternative materials for product selection

V45A0002 Predefine sold-to party in sales document

V45A0003 Collector for customer function modulpool MV45A

V45A0004 Copy packing proposal

V45E0001 Update the purchase order from the sales order

V45E0002 Data transfer in procurement elements (PRreq., assembly)

V45L0001 SD component supplier processing (customer enhancements)

V45P0001 SD customer function for cross-company code sales

V45S0001 Update sales document from configuration

V45S0003 MRP-relevance for incomplete configuration

V45S0004 Effectivity type in sales order

V45W0001 SD Service Management: Forward Contract Data to Item

V46H0001 SD Customer functions for resource-related billing

V60F0001 SD Billing plan (customer enhancement) diff. to billing plan

No of Exits: 16

Hope this helps to solve ur problem....

<b>do reward if useful....</b>

regards

dinesh

Read only

Former Member
0 Likes
1,057

Hi Gautham,

Use the user exit USEREXIT_SAVE_DOCUMENT_PREPARE in program SAPMV45A in INCLUDE MV45AFZZ to add you logic.

This userexit can be used for changes or checks, before a document is saved.

you need access key for his,

of if you are working on ECC 6.0 version.

then you can create explicit Enhancement(using New Enhancement frame work) at the enhancement point "enhancement-point beleg_sichern_13 spots es_sapmv45a" in include MV45AF0B_BELEG_SICHERN and write your code inside your enhancement, and no access key is needed for this..

Regards,

Pavankumar

Read only

Former Member
0 Likes
1,056

Hi,

We have been using FORM USEREXIT_SAVE_DOCUMENT_PREPARE from MV45AFzz for the same purpose.

Regards

Raju Chitale