09-23-2008 4:38 PM
Hi All,
I have a situation of getting the description of Sales group while creating entries for the Z Table. That is if a pass sales group as 104 while creating entry, there is a second field which should be automatically populated with its description.
Regards,
Arpit
09-23-2008 4:43 PM
For this you need to define the maintaince view and than the table maintainace for that view.
Before creating the View, just define the foreign key relation of the Slaes Group with the Sales group master table TVKGR. This foreign key relation will allow you to select the fields of the TVKGR in the maintaince view.
There is a second approch also.
You can implement the table maintainence event and you can populate the entry as per your need.
For more information of table maintiance event, follow this:
http://help.sap.com/saphelp_nw04/helpdata/en/91/ca9f0ea9d111d1a5690000e82deaaa/frameset.htm
You can also check this on how to implment the event:
http://help-abap.blogspot.com/2008/09/capture-changed-content-after-fm.html
Regards,
Naimesh Patel