2007 Sep 04 9:28 PM
I have the following statement and it is only putting in the firls letter of the last name
DATA:FINALNAME TYPE C.
CONCATENATE TRAN_STRUCTURE-NACHN+0(40) ',' ' '
TRAN_STRUCTURE-VORNA+0(40) ' '
TRAN_STRUCTURE-MIDNM+0(40) INTO FINALNAME.
RESULT = FINALNAME.
I have the following statement and it is only putting in the firls letter of the last name
DATA:FINALNAME TYPE C.
CONCATENATE TRAN_STRUCTURE-NACHN+0(40) ',' ' '
TRAN_STRUCTURE-VORNA+0(40) ' '
TRAN_STRUCTURE-MIDNM+0(40) INTO FINALNAME.
RESULT = FINALNAME.
2007 Sep 04 9:29 PM
2007 Sep 04 9:30 PM
2007 Sep 04 9:31 PM
Hi,
Use like this:
CONCATENATE TRAN_STRUCTURE-NACHN+0(40)
','
TRAN_STRUCTURE-VORNA+0(40)
TRAN_STRUCTURE-MIDNM+0(40)
INTO FINALNAME
SEPARATED BY space.
Thanks and Best Regards,
Vikas Bittera.
2007 Sep 04 9:32 PM
Hi,
USE :
DATA : finalname(255) TYPE c.
Thanks and Best Regards,
Vikas Bittera.
2007 Sep 04 10:05 PM
thanks. This worked using the "separated by SPACE". I tried changing the size of the field but that didn't work. thanks again
2007 Sep 04 10:51 PM
It alsmost works but it puts a space between the 1st field and the comma like below
James ,
2007 Sep 04 9:31 PM
2007 Sep 04 9:33 PM
2007 Sep 04 10:06 PM
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |