on 12-21-2009 10:23 AM
Dear experts,
please guide me how to configure the PO number massage as error massage in sales order.
if that is not maintained, system should give error massage.
Please help.
Thanks.
Deepak Kumar
Dear,
Do through Following path,
1)
SPROS&D BASIC FUNCTIONDEFINE INCOMPLITION LOG( CLICK) SALES ORDER HEADER( SELECT)PROCEDURE( DOUBLE CLICK)STANDARD ORDER( SELECT)--FIELD ( DOUBLE CLICK) and click on NEW ENTRY and maintain as follows,
TABLE (VBKD) FIELD NAME (BSTKD) SCR. ( KBES ) STATUS (01) WARNING ( TICK) 2)
SPROS&D BASIC FUNCTIONASSIGN INCOMPLITION PROCEDURE ( DOUBLE CLICK)ASSIGN PROCEDURE TO SALES DOCUMENTS( DOUBLE CLICK)
SATY (OR/ ELSE USED DOCUMENT TYPE) PROCED. ( 11- STANDARD ORDER)
Regards
AJIT K SINGH
HAPPY TO HELP U
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Instead of activating the aerror message ,kindly make the P.O number field as mandatory which will be the simple solution without involving abaper by using t code SHD0 and maintain the variant in the sales document type (VOV8)
if you have any further clarifications let me know
Regards
Damu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
Please use the Search option before posting these questions !! These Questions has been discussed many times at SDN forum.
Please log into the Order type which you are currently using in the t-code "VOV8", under General control option there is a checkbox called "ENTER PO NUMBER" click on that option and then save.
Then try to create a Sales Order and check the effect of this checkbox !! This shall create a Warning message and Please contact ABAPer to incorporate Error message.
Regards,
Sarthak
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Sarthak,
sorry for posting the question. but i didnt find the relevant answer so i posted.
and i have already tried ur method but thats not relevant.
warning msg comes from incompletion procedure (Tcode OVA2).
my question was to change that into the error message, which is not in standard system.
Thanks Sarthak.
Edited by: deepak kumar on Dec 21, 2009 5:33 PM
Hi Deepak,
In standard error message will not come. If you want to make error message. you have to modify the program from 'W' warning
message to "E" error message. hardcoded
Main Program SAPLV45F
Source code of LV45FFUV
FORM FEHLER_BESTIMMEN
INTERNAL_ERROR = 2
OTHERS = 3.
SET CURSOR FIELD DA_FIELD LINE SY-STEPL.
IF SY-SUBRC = 0.
DA_FIELD = DA_DFIES-SCRTEXT_L.
ENDIF.
MESSAGE W001 WITH MESSAGETEXT DA_FIELD. <<<<<<<<< E
VBUV_DIA = VBUV_TAB.
APPEND VBUV_DIA.
ENDIF.
ENDIF.
Please test in test system first
regards,
Ramana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello
In VOV8 for the particular sales document type, please tick 'Enter PO number'
thank you
Anirudh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
107 | |
12 | |
11 | |
6 | |
6 | |
4 | |
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.