Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

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.

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question