cancel
Showing results for 
Search instead for 
Did you mean: 

PO number Error massage in Sales order

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (5)

Answers (5)

ajitsingh6
Active Contributor
0 Kudos

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

Former Member
0 Kudos

Dear Ajit,

thanks a lot for writing in.

ur solution will give me only warning message not the error massage.

i m trying to get the variant solution or program change.

Thanks to all..

Deepak

Former Member
0 Kudos

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

sarthak_mohantysd
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

Dear ramana,

i will check and will tell the result on same thread.

Thanks a lot.

Former Member
0 Kudos

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

Former Member
0 Kudos

Hello

In VOV8 for the particular sales document type, please tick 'Enter PO number'

thank you

Anirudh