on 01-28-2011 1:23 AM
Hello all
When we create a sales order with reference, and we enter an old quotation, the system shows the warning V2009 "Reference document was only valid until DD/MM/YYYY", the question is, how could we change the type message from warning to error?
Thank you in advance
Regards.
Thank you for your help!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
please find the sales document program in this list of programs and
try to replace E in the place W
LV45C001 58 MESSAGE w009 WITH bp_datum_ausgabe.
LV45C002 55 MESSAGE W009 WITH BP_DATUM_AUSGABE.
RV45B901 93 MESSAGE w009 WITH bp_datum_ausgabe.
RV45B902 67 MESSAGE W009 WITH BP_DATUM_AUSGABE.
hope this clears your issue.
balajia
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Go to t.code VTAA.
Select the soure (Quotation) and target doucment(sales order) type.Then click on the details button. Check the routine assigned in the field copying requirements.
Execute t.code VOFM. Go to menu copying requirements-> orders. cOPY the routine number that you have found in VTAA and rename to other number like 901. Then inside the following coding, change W009 to E009 and save.
IF VBAK-BNDDT > 0 AND
VBAK-BNDDT < SY-DATLO.
WRITE VBAK-BNDDT TO BP_DATUM_AUSGABE.
MESSAGE W009 WITH BP_DATUM_AUSGABE.
Then go to VTAA, assign the new routine to copying requirements field. That will fulfill your requirement.
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
92 | |
11 | |
10 | |
6 | |
5 | |
5 | |
4 | |
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.