2018 Jul 10 1:05 PM
I have to Concatenate BELNR and GJAHR field of RSEG table into another field. Is it possible in inline coding concatenate these two field within the select query of RSEG table?
I have to Concatenate BELNR and GJAHR field of RSEG table into another field. Is it possible in inline coding concatenate these two field within the select query of RSEG table?
2018 Jul 10 1:20 PM
2018 Jul 10 2:35 PM
Thanks. It is worked. But it is worked only in Inner Join not worked in For all entries.
2018 Jul 10 2:40 PM
2018 Jul 10 1:21 PM
In recent versions Open SQL allows some functions in an SQL expression such as CONCAT( arg1, arg2 )
2018 Jul 10 2:35 PM
2022 Dec 30 9:29 PM
Hi Amit,
We can use CONCAT syntax in select query as per below.
SELECT concat( belnr , gjahr )
FROM rseg
INTO @DATA(lv_accdoc_year)
UP TO 1 ROWS.
ENDSELECT.
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |