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

Dynamic Updation

Former Member
0 Likes
620

I have a problem , In my table there are five tablefields just say A1 A2 A3 A4 A5

I need to enter the first four fields , I will not enter the Fifth field that is A5. i want to update it as A2A3A4 automatically ,How it is possible just explain the process also .I will award points

4 REPLIES 4
Read only

amit_khare
Active Contributor
0 Likes
594

itab-a1 = value1.

itab-a2 = value2.

itab-a3 = value3.

itab-a4 = value4.

itab-a5 = itab-a2 + itab-a3 + itab-a4.

append itab.

Regards,

Amit

Read only

Former Member
0 Likes
594

Do you have maintenance view for this table?

Rgds

Read only

Former Member
0 Likes
594

hi Vikranth,

Are you trying to create an entry using Table maintenance? If Yes, you can make use of events for populating the fifth field automatically..

SE11->UTILITIES->TABLE MAINTENACE GENERATOR

ENVIRONMENT-> MODIFICATION->EVENTS

Create an entry in the form routines.

Give the first column -> 05 (creating a new entry)

second column -> populate_final_fld

third column -> click on the icon

Now, go to include LZNHT_FGRPF01 (ZNHT_FGRP is the name of the funciton group).

create a subroutine populate_final_fld.

table1-a5 = table1-a2 +

table1-a3 +

table1-a4.

For any further help, go through this link

/people/sudheer.cheedella/blog/2006/02/20/extracting-data-in-table-maintenance

Regards,

Sailaja.

Read only

0 Likes
594

Thanks for giving the solutuion