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: 

User Exit for sales order creation to update the value of usage

Former Member
0 Kudos

Hi,

I want to know the userexits for sales order:

The scenario that I am facing is as follows,your help would contribute a lot.

The usage quantity needs to be updated by applying a userexit in VA01 transaction at the time of saving the sales order or when creating a new sales order which is created with reference to the contract.

This usage is brought on the monthly basis by supplying equipment number and measuring points.

Thanks in advance !

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

Use Form exit USEREXIT_MOVE_FIELD_TO_VBAP in Include MV45AFZZ to implement the corresponding logic. You will need an acess key to edit that include.

Regards

Karthik D

5 REPLIES 5

Former Member
0 Kudos

Hi,

Use Form exit USEREXIT_MOVE_FIELD_TO_VBAP in Include MV45AFZZ to implement the corresponding logic. You will need an acess key to edit that include.

Regards

Karthik D

Former Member
0 Kudos

Hi,

Use form USEREXIT_SAVE_DOCUMENT in the include MV45AFZZ.

write ur logic in the form..endform using implcit enchancement option.

Regards,

Ramesh.

Former Member
0 Kudos

Hi,

Thase are the user exits for VA01.

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

Regards,

Rajesh Kumar

former_member333737
Active Participant
0 Kudos

Hi,

First go to SPRO Tcode.

Select sales and distribution.

Select User Exits in Sales Document Processing as shown below

You should get a listing of all the user exits related to Sales Documents as shown below.

You will find All the Userexits used. Click on to documents.

USEREXIT_SAVE_DOCUMENT is the userexit you are looking for.

Regards,

NIKHIL.

former_member555112
Active Contributor
0 Kudos

Hi,

You can make use of FM 'MEASUREM_DOCUM_RFC_SINGLE_001' to update the measuring document while saving the sales order in USEREXIT_SAVE_DOCUMENT.

This FM will update the measuring document.

Kindly note that the measuring point should not be open by some user at the same instant else it would lead to error.

Regards,

Ankur Parab