12-13-2007 7:17 AM
Hai experts,
i need all of ur help,
i got problem.
i have created table of some 11 fields,
n designed a screen from which i have to enter a values from here my entered values should go n save in my table and as well as the values should go n save in one of the fied in same table,
for ex:
i have fields like,
A,B,C,D,E,F,G,H so all fields values should save in my table as well as in field 'H' by using
CONCATENATE HOW TO DO ,PLZ HELP ME
12-13-2007 7:22 AM
first of all you need to make sure that all your fields are of char typw... as concatenate will not work on other data types...
then while you are moving data into your itab fields.. at the same time concatenate the data into the H field...
e.g.
move A to itab-A.
concatenate itab-H A into itab-H separated by ' '.
12-13-2007 7:21 AM
Hi Rajesh,
try this..
itab-a = s_a.
itab-b = s_b.
.
.
.concatenate itab-a itab-b itab-c ...into itab-h.
append itab.
clear itab.
Regards,
Kaveri
12-13-2007 7:22 AM
first of all you need to make sure that all your fields are of char typw... as concatenate will not work on other data types...
then while you are moving data into your itab fields.. at the same time concatenate the data into the H field...
e.g.
move A to itab-A.
concatenate itab-H A into itab-H separated by ' '.
12-13-2007 7:24 AM
Hi,
U can use table maintainence generator to update the table and for ur second requirement u can use table mainatainence generator events...
check the below link
this link will give u an idea how to handle events in table maianatinence generator..
There are many events in it..
for ur scenario use the event 01(before saving the data to database,u have to write concatenate statement in the routine).
Regards,
Nagaraj