Application Development and Automation 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: 
Read only

restrict data retrieved from table maintenance generator

Former Member
0 Likes
2,162

dear all ,

i need to restrict data retrieved from table maintenance generator as i add flag in table so in need data displayed in table maintenance generator which flag not 'x' .

so in which event i will do that with data retrieved .

please advise .

dear all ,

i need to restrict data retrieved from table maintenance generator as i add flag in table so in need data displayed in table maintenance generator which flag not 'x' .

so in which event i will do that with data retrieved .

please advise .

4 REPLIES 4
Read only

Former Member
0 Likes
1,300

Hi Ahmed,

please refer to the following link:

http://wiki.sdn.sap.com/wiki/display/ABAP/TABLE+MAINTENANCE+GENERATOR+and+ITS+EVENTS

Hope it helps!!!!

Regards,

Alora

Read only

bastinvinoth
Contributor
0 Likes
1,300

Hi Ahmed Tohamy,

why cant you add one more column in your ZTABLE and put 'X' .

so if u put 'X' means while fetching records from ZTABLE , you can code it like flag ne 'X'.

for more information on TMG EVENTS , see the below thread

i think event no .1 'before saving the data in the database '

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c0d56ae5-02bc-2d10-0893-d33af1...

Regards,

Bastin.G

Read only

Former Member
0 Likes
1,300

Hi Ahmed,

Please refer to the following links.

http://musicodez.wordpress.com/2010/09/13/custom-validation-on-table-maintenance-generator-sm30/

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c0d56ae5-02bc-2d10-0893-d33af1586...

You may use the above links and code your logic accordingly under the event.

26 - Before creating a list.

Regards,

Sachin N M

Read only

kesavadas_thekkillath
Active Contributor
0 Likes
1,300
This event occurs when the data to be maintained is read in. A different
logic from the standard can run, for example:
  • to read in additional data
  • to change the data read in
  • to read in the data differently from in the standard, possibly with
    additional checks.

You will find some code snippets in SDN