Skip to Content
avatar image
Former Member

Order Reason

Hi,

Can we limit/assign order reason per sales document type?

e.g. Order Type OR => will only see reasons 01 to 04 in the dropdown list

Order Type RE = will only display reasons 05 to 10 in the dropdown list

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Best Answer
    avatar image
    Former Member
    Oct 11, 2010 at 05:04 AM

    Hi Kahel

    As suggested already you need to do the enhancement in the USEREXIT_MOVE_FIELD_TO_VBAK. In addition you need to add a Z table and define the allowed order reasons for the sales order type. The validation would be based on the entries in this table.

    Thanks

    Indranil

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 11, 2010 at 07:13 AM

    You can Limit the order reasons based order type in SAP AFS solution only

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 10, 2010 at 11:07 PM

    Through Enhancement only you can achieve this.

    Code should be included in below include & form exit.

    Program: MV45AFZB

    USEREXIT_CHECK_VBAP

    Regards,

    Reazuddin MD

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 11, 2010 at 03:10 AM

    Try with User exits in the program MV45AFZZ - USEREXIT_MOVE_FIELD_TO_VBAK

    thanks

    G. Lakshmipathi

    Add comment
    10|10000 characters needed characters exceeded