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: 

table generater

Former Member
0 Kudos

can someone tell me how to make a table generater.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

You can create your own module for checking validation and you can display the default values when new entry is pressed.

Step 1: Create table maintenance by

SE11->change mode of a table->Utlities->Table maintenance Generator

Step 2:Click create button by giving Authorization group,Function group and Maintenance Steps[fill the screen nos.]

Step 3:THen generate it.

Step 4:In the screen,click Fn.Gr Text push button.

Step 5:Uncomment the includes PAI and PBO and give them valid names.

Step 6: In PBO include,create your own module and code the following(for eg..)

screen-field = sy-uname.

Step 7: In PAI include,create your own module and code for the validations appropraitely.

OR....

refer.

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/abap/how%20to%20im...

We can use table maintenance for making the creation,deletion,changing the entries easily.

We can even make use of the validations required for some fields thro' table maintenance,while creating the entry.

If some fields need to be populated automatically while creating an record in a database,we can make use of table maintenance for this purpose.

When the extended table maintenance is called, a work area is fetched from the database into an internal buffer for processing on the screen. Either all entries in the database are fetched into the work area, or the selection can be restricted in a view definition or in the calling program.

Field contents are maintained in an internal buffer, so the database is not automatically accessed after each individual record has been maintaIned. Changes made are only copied from the internal buffer to the database when save is chosen. This buffering gives the maintenance procedure a transaction orientation. This gives you the possibility of discarding changes before the database access (user-controlled "rollback") and allows consistency checks for all changed data, before it is written to the database.

FOR MORE DETAILS ON TABLE MAINTENENCE VISIT:

-


http://help.sap.com/saphelp_erp2005/helpdata/en/69/c251474ba111d189750000e8322d00/frameset.htm

Kishi.

6 REPLIES 6

0 Kudos

Hi,

TO to SE11 and then open the Table for which you want to generate Maintanence.

There use the menu option Utilities->Table Maintanence Generator.

Also select the Screeen number and the Function group in whihc you wantto generate the relevent code.

Regards,

Sesh

Former Member
0 Kudos

Hi,

You can create your own module for checking validation and you can display the default values when new entry is pressed.

Step 1: Create table maintenance by

SE11->change mode of a table->Utlities->Table maintenance Generator

Step 2:Click create button by giving Authorization group,Function group and Maintenance Steps[fill the screen nos.]

Step 3:THen generate it.

Step 4:In the screen,click Fn.Gr Text push button.

Step 5:Uncomment the includes PAI and PBO and give them valid names.

Step 6: In PBO include,create your own module and code the following(for eg..)

screen-field = sy-uname.

Step 7: In PAI include,create your own module and code for the validations appropraitely.

OR....

refer.

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/abap/how%20to%20im...

We can use table maintenance for making the creation,deletion,changing the entries easily.

We can even make use of the validations required for some fields thro' table maintenance,while creating the entry.

If some fields need to be populated automatically while creating an record in a database,we can make use of table maintenance for this purpose.

When the extended table maintenance is called, a work area is fetched from the database into an internal buffer for processing on the screen. Either all entries in the database are fetched into the work area, or the selection can be restricted in a view definition or in the calling program.

Field contents are maintained in an internal buffer, so the database is not automatically accessed after each individual record has been maintaIned. Changes made are only copied from the internal buffer to the database when save is chosen. This buffering gives the maintenance procedure a transaction orientation. This gives you the possibility of discarding changes before the database access (user-controlled "rollback") and allows consistency checks for all changed data, before it is written to the database.

FOR MORE DETAILS ON TABLE MAINTENENCE VISIT:

-


http://help.sap.com/saphelp_erp2005/helpdata/en/69/c251474ba111d189750000e8322d00/frameset.htm

Kishi.

Former Member
0 Kudos

Hi Madvi,

Let me share some points from my side.

For the table maintance generator you need function group. so first create function group by using SE80 and then open se11 and select menu path

UTILITIES>TABLE MAINTANCE GENRATOR. enter essential input values like authorization as &NC and single step and two step etc.....Now save it. this is the procidure for table maintanace generator.

Hope this helps you. Reply for queries, shall post the updates.

Regards.

Kumar.

0 Kudos

hi lakshman,

i ant to ask you that i just have to create a function group and use it for my

table gr or do i have to do some coading in the fun grp

Former Member
0 Kudos

After we designed our tables we want to give the technical settings.Then activate the table and go to utilitites..click table maintanence genertor and give the function group...

then give the sm30 and give the values by clicking maintain

REAWRD IF USEFUL!!!!!!!!!!!!!!!!

Former Member
0 Kudos

You have to create a table maintenance to enter values in SM30..

<b>Steps to create TM..

GO TO SE11

Give the table name..

Press change..

In the menu..UTILITIES -> TABLE MAINTENANCE GENERATOR.

Give the function group name...Ex..Give the table name itself..

Give screen numbers...

Press create button..

Then the screens to maintain will automatically be generated..

Now go to SM30...</b>

reward points if it is usefull ...

Girish