Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

User exit for sales order creation VA01.

Former Member
0 Kudos

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.

2 REPLIES 2

Former Member
0 Kudos

Hi,

Use this enhancement V45A0002.

Reward points if it helps,

Satish

0 Kudos

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.