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 VA02

Former Member
0 Likes
660

Hello!!

i am using the user exit to save a sales order. what I have done it is to create a regreate discount condition ZC00 to achieve that the price will be null for a position.

If position has still created the condition (ZC00), the user-exit modify it and it founds correctly.

But it postion has not created the condition (ZC00), the user-exit creates a regreate discount condition but the position net value mantains its value. I mean, i make a sales order and i save it. I enter again and the condition has been created but the price is still the same. I have the condition created, then if i save again, when i go the sales order the price position is null.

How can i create the regreate discount condition and make the null value in an unique step?

Thank you.

Hello!!

i am using the user exit to save a sales order. what I have done it is to create a regreate discount condition ZC00 to achieve that the price will be null for a position.

If position has still created the condition (ZC00), the user-exit modify it and it founds correctly.

But it postion has not created the condition (ZC00), the user-exit creates a regreate discount condition but the position net value mantains its value. I mean, i make a sales order and i save it. I enter again and the condition has been created but the price is still the same. I have the condition created, then if i save again, when i go the sales order the price position is null.

How can i create the regreate discount condition and make the null value in an unique step?

Thank you.

2 REPLIES 2
Read only

Former Member
0 Likes
624

Hi,

Here I am giving the exits in SD.

SAPMV45A>MV45AF0C_CHANGE_DOCUMENT_CREAT>CALL FUNCTION 'SD_XVBLB_CHANGES'

Transaction Code - VA02 Change Sales Order

Exit Name Description

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: 15

Thanks

Sarada

Read only

Former Member
0 Likes
624

I am very grateful by the information but how can I create a regreate discount condition ZC00 and that price position is null in the same step through USEREXIT_SAVE_DOCUMENT_PREPARE?

thanks a lot