11-12-2007 1:19 PM
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.
11-12-2007 1:22 PM
Hi,
Use this enhancement V45A0002.
Reward points if it helps,
Satish
11-12-2007 1:29 PM
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.