Skip to Content
avatar image
Former Member

User exit for sales order creation VA01.

Hi friends,

While creating Sales order, before saving the document, I need to check the Customer (Sold to pary?) details in KNEX table. KNEX-KUNNR KNEX-TDOCO KNEX-DHRCO. if condition fails, I need to display an error message V1525,

which should contain

1)customer(sold-to -party?KNEX-KUNNR)

2)partner function PARVW (VBPA-PARVW?)

3)country LNDEX KNEX-LNDEX

Functional spec says, 1)V45A0002

2)V45A0003

3)V45S0001

4)V50EPROP User exits can be levaraged.

1)triggers before we enter customer (sold-to-party) in VA01. so may not be used.

remaining i tried, but I am not able to get the proper PARVW, LNDEX from function module parameters / structures like VBAP/VBPA etc.

Please help me the way.

i) the above user exits can be used?if not, help me with user exit name.

ii)if yes, how to fetch PARVW , LNDEX, KUNNR...as all the primary keys must be used in the selection query.

Please help me ASAP.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Nov 12, 2007 at 01:22 PM

    Hi,

    Use this enhancement V45A0002.

    Reward points if it helps,

    Satish

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      this exit is triggering before we enter sold-to-party using VA01. How can you fetch customer number? with out customer, How can we validate?. please share your idea.