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: 

Get field populate in custom table

former_member496861
Participant
0 Kudos

Hi All,

I have a custom table which consists of purchase group and amount. For example, A $100.

I like to create another field for purchse group name, so it will be "A Mary Doe $100".

The thing is when one do a pull-down of purchase group, one can see the same in this table of purchase group.

However, since this is a custom table, is there a way to populate purchase group name once i enter A in the purchase group ?

thanks

Joyce

1 ACCEPTED SOLUTION

Sandeep_Kumar
Advisor
Advisor
0 Kudos

You can create a cluster view and use events at SAVE.

9 REPLIES 9

Sandeep_Kumar
Advisor
Advisor
0 Kudos

You can create a cluster view and use events at SAVE.

0 Kudos

Hi Sandeep,

Thank you for your reply. Can you pls provide more detail ? How can use event at SAVE using view ?

Joyce

0 Kudos

Go to SE54 txn -> choose Edit cluster-> enter the view cluster which you have created-> left hand side you will find Events.

Choose event "04" and write your perfrom and assign that routine.

0 Kudos

HI Sandeep,

Can i ask about creating view cluster ? I goto se11, do i select maintenance view ? If so, do i create 2 maintenance views ? One for my custom table, the other for T024 ? Can you pls provide step by step details ?

thanks

Joyce

Edited by: Joyce Chan on Apr 30, 2010 5:07 PM

kesavadas_thekkillath
Active Contributor
0 Kudos

For this you have to create a maintenance view with required fields as subset.

Then create a view cluster

For example NACE ( assigning Output types ) is a view cluster.

You cna check this Wiki for an example [Creation of View Cluster|http://wiki.sdn.sap.com/wiki/display/ABAP/CreationofView+Cluster]

0 Kudos

Hi Keshav,

I do not want to create hierarchical level like nace. What i need is in my custom table ZMO, it has these 3 fields.

EKGRP, EKNAM, AMT. The EKGRp can be obtained from Table T024.

When user enter data for a ekgrp, he should put ekgrp and amt in table ZMO. I like the eknam populated. The link show hierarchical.

What do you think ?

thanks

Joyce

0 Kudos

You can do it in extended events of table maintenance.

There are lot of materials available in google and SDN related to this.

Just search for Events in table maintenance

If you still facing some problems , do let me know.

Keshav

0 Kudos

Hi Keshav,

Sounds like i still have to choose hierarchical level in creating cluster view.

I will look at this within this few days. Will get back to you.

thanks again.

Joyce

former_member496861
Participant
0 Kudos

issue resolved. thanks all