Skip to Content
avatar image
Former Member

User Exit in sales order

hi all,

In VA01 abaper has added loan fields in additional tab B.My requirement is that if a loan exists in the sales order than user can not change the pricing in the VA02.It should throw an error message here.

Which user exit should i use to get this requirement.

cheers

shalsa007.........

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Mar 19, 2009 at 05:12 AM

    Hi,

    Try with USEREXIT_READ_DOCUMENT (MV45AFZZ)

    cheers

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      In the userexit USEREXIT_READ_DOCUMENT (MV45AFZZ) , read the corresponding field..

      And if it contains any value ask the ABAPer to add the logic to throw error message.

      Thanks

  • avatar image
    Former Member
    Mar 19, 2009 at 10:52 AM

    Hi, this can be done with the user exit MV456AFZZ, provide the ABAPER with the field that you have added, and ask him to write in the code " if this field value is not initial and sy tcode = va02, then the price field shoud be non editable.

    Regards,

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 19, 2009 at 12:32 PM

    Hi,

    Try this user exit , USEREXIT_FIELD_MODIFICATION (module pool SAPMV61A)

    in program MV61AFZA.

    Hope this solves yuour query.

    Add comment
    10|10000 characters needed characters exceeded