05-04-2010 3:59 PM
Hi,
I have a custom table with 2 fields namely, Customer Number and Customer Name. In SM30, when I provide the customer number, the customer name should be automatically populated via tcode VD03. I should not have to manually enter the cutomer name. Is this possible? Your advice will be greatly appreciated. Many thanks.
05-05-2010 7:10 AM
Hi Dear,
Try this
In table maintenance generator
GO to
Environment->Modification-->Events.
on save event write a logic to validate a Customer No. entered from KNA1 and if its validated then select a NAME1 from KNA1 and update the same .
Hope this will resolve your problem.
05-05-2010 6:59 AM
05-05-2010 7:10 AM
Hi Dear,
Try this
In table maintenance generator
GO to
Environment->Modification-->Events.
on save event write a logic to validate a Customer No. entered from KNA1 and if its validated then select a NAME1 from KNA1 and update the same .
Hope this will resolve your problem.
05-05-2010 7:49 AM
Hi Uma, In table maintenance generator when I GO to Environment->Modification-->Events, I am taken to SM30 screen. How do I enter code for 'Save' event? I think I am not being able to create an event. Your idea seems easy to implement. Kindly advice.
For now, I am trying to create a BADI, as per Vinod's suggestion.
Many Thanks.
05-05-2010 12:44 PM
05-06-2010 11:19 AM
Hi Uma,
Many thanks to you. The links you provided were great and the issue has been resolved.