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

Regarding populating data automatically in Table Maintance Generator

Former Member
0 Likes
1,025

hi all,

I Created one Z Table for three fields Sales District( BZIRK) and Sales District Description (BZTXT) and Person Incharge. I Created Table Maintanance Generator for these three fields.

in my ZTable after giving Sales District Code(BZIRK) when i enter Sales District Description(BZTXT) should come automatically.

How can i achieve this . Plz send detailed process.

Please suggest.

Thanx & Regards

Remi

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,000

Hi

You need to write the code using the EVENT options.

TMG screen - Modifications- Event- select 05 option then give form routine and click on abap editor and write the code.

download the document and refer

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

Regards

Shiva

hi all,

I Created one Z Table for three fields Sales District( BZIRK) and Sales District Description (BZTXT) and Person Incharge. I Created Table Maintanance Generator for these three fields.

in my ZTable after giving Sales District Code(BZIRK) when i enter Sales District Description(BZTXT) should come automatically.

How can i achieve this . Plz send detailed process.

Please suggest.

Thanx & Regards

Remi

5 REPLIES 5
Read only

Former Member
0 Likes
1,000

in table maintainance generator screen ..

.goto menu environment--->modification-->source code..

u will get the popup with lot of programs inthat select the main program sapl(.....).

in that u will have following includes view related include-files

  • view related include-files (never change, please) *

INCLUDE LZSDFF00 . " subprograms

INCLUDE LZSDFI00 . " PAI modules

do ur coding here...

Read only

Former Member
0 Likes
1,001

Hi

You need to write the code using the EVENT options.

TMG screen - Modifications- Event- select 05 option then give form routine and click on abap editor and write the code.

download the document and refer

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

Regards

Shiva

Read only

Former Member
0 Likes
1,000

hello

what you can do is create a search help for bzirk field and add two field in the parameter list ie. bzirk and bztxt and both parameters should be import and export checked.

now if you will attach this search help to the field bzirk and you enter the value in bzirk field from the search help in the table maintenance ,then you will automatically get the entry in the field bztxt.

try this

regards

geeta gupta

Read only

Former Member
0 Likes
1,000

Yes it is Possible.

After the TMG is successfully created, then open it again in display mode>click on source code>You will find Module Pool.

Get PAI module,Double click on PAI include,Here you can put your code to populate Data Automatically.

Read only

Former Member
0 Likes
1,000

hi,

In table maintainance generator yo need to go to environmentmodificationevents.-new entry..

here select creating a new entry,option 05.then click on editor and do the coding here.

thanks