12-03-2008 3:10 AM
hi,
my requirement is:
ztable should be updated during sales order processing at sales order u2018SAVEu2019
Event. Then entries in this table should be created when a new sales order is processed and saved. (Use user u2013exit). The STATUS field should be updated as per the logic given
below.
Status [Value range u2013H (High value Order),
N (Normal order),
L (Low value order)]
If Sales order has Net value greater then 1000 INR ,it is high value order, greater than 100 but less then 1000 INR, it is Normal order , and less then 100, it is a Low value order.
please help,
Regards,
Madhavi
12-03-2008 3:25 AM
learn what a user exit is
then find the VA01 program
then find the user exit which get trigerred after save
then do you coding in that user exit.
12-03-2008 3:27 AM
Hi
Check this for the list of user exits:
http://help.sap.com/saphelp_46c/helpdata/en/1c/f62c7dd435d1118b3f0060b03ca329/content.htm
For your case check this exit:
USEREXIT_SAVE_DOCUMENT .
Regarrds
Neha
12-03-2008 3:34 AM
Hi M ,
have u searched on this Forum , u need to search, any how check Program MV45AFZZ ,form *Document_prepare.
internal tables XVBAP,YVBAP...etc
regards
prabhu
12-03-2008 4:52 AM
Hi MS,
Folowing are the userexits used for Tcode 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.
Check which suites your requirement.
Regards,
Raj
12-03-2008 5:05 AM
Hi,
As pointed out by Neha, you may use FORM USEREXIT_SAVE_DOCUMENT of MV45AFZZ.
Regards
Raju Chitale