Skip to Content
avatar image
Former Member

PO number Error massage in Sales order

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • avatar image
    Former Member
    Dec 21, 2009 at 10:32 AM

    Hello

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

    thank you

    Anirudh

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 21, 2009 at 02:17 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

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 21, 2009 at 03:19 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 22, 2009 at 12:20 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 23, 2009 at 05:46 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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