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: 

Need to get description of Sales Group while creating entries in Z table

Former Member
0 Kudos

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

1 REPLY 1

naimesh_patel
Active Contributor
0 Kudos

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