11-03-2006 10:21 AM
Hi experts,
I have an urgent requirement to add an order item and pricing for VA01/VA02 when certain logic are met. Do you know a user-exit in VA01/VA02 to add sales order item and condition price for an order?
I am currently using user-exit USEREXIT_SAVE_DOCUMENT_PREPARE but I can only add the required order item to xvbap but I also need to add a condition code and condition price for the added item (in xkomv). Your response are very much appreciated.
Thanks in advance!
11-03-2006 10:23 AM
Hi Leo,
Check out few more exits:
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
SDAPO001 Activating Sourcing Subitem Quantity Propagation
Reward points if this helps.
Manish
11-03-2006 10:23 AM
Have a look at below link. it gives details of all user exits releted to VA01/VA02.
http://help.sap.com/saphelp_46c/helpdata/en/1c/f62c7dd435d1118b3f0060b03ca329/content.htm
I hope it helps.
Best Regards,
Vibha
*Please mark all the helpful answers
11-03-2006 10:23 AM
Hi Leo,
Check out few more exits:
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
SDAPO001 Activating Sourcing Subitem Quantity Propagation
Reward points if this helps.
Manish
11-03-2006 10:36 AM
Hello,
I think you are using perfect user eixt
USEREXIT_SAVE_DOCUMENT_PREPARE what you have to is...
check your logic in the user exit
and add new item in XVBAP (item number,material,Qty).
xvbap-matnr = '10000'.
xvbap-posnr = '00010'.
xvbap-kwmeng = '111'.
.
.
Append xvbap.
same way pricing also.
xkomp and xkomv tables.
*******Poorna*****
11-03-2006 10:50 AM
Hi,
Do I also need to update xkomp? I am trying to insert the condition in xkomv only. But whe I save, the condition code and price I inserted in xkomv does not reflect in the order when I save.
So for example,
xkomv-mandt = '170'.
xkomv-knumv = '0000000700'.
xkomv-kposn = '20'. "this is the item number that I "just added in xvbap.
.
.
APPEND xkomv.
I am manually inserting in the debugging mode the new condition in xkomv, but nothing happens when I save. Did I miss something?
Thanks,
Leo
11-06-2006 1:09 PM
Hello,
Yes if you want add Pricing Conditions via user eixt you need to do as i explain in previous thread.
Let us know if u have any problems in that
*******Poorna********
11-03-2014 3:52 PM