on 02-27-2010 9:02 AM
I have requirement as below.
Into Sold-to master data we put a "Cessation date": custom filed KNA1-ZZDTCESS.
We need a user exit on the Sales Order creation that performs the following chek:
if the Sold-to has "Cessation date" valorized, you can create a sales order only if "customer PO date" < "Cessation date".
Else Else return an error message type 'E': "Not possibile creare order".
I want to know which exit should I use for this and what logic I need to write? During Sales order creation this exit will be triggered.
Hello Bedayana,
you can use USEREXIT_SAVE_DOCUMENT_PREPARE in SAPMV45A.
Best Regards, Dirk
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Please user exit MV45AFZZ
User Exits In Sales Document Processing
User exits in the program MV45AFZZ
The user exits which you can use for modifications in sales document processing are listed below.
Put your changes in below place
USEREXIT_SAVE_DOCUMENT_PREPARE
Use this user exit to make certain changes or checks immediately before saving a document. It is the last possibility for changing or checking a document before posting.
place your changes just befoe exit
if ZZDTCESS < PO date
Exit
Endif
Hope this will help
Regards,
Siva
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.