Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Concatenate Internal table to string separeted by ';' - Could anybody help?

Hi forum,

I want to concatenate an internal table with lots of fields into a string type c length 1023.

But the internal table includes some fields, which are not type char (NUMC, DEC and INT4).

Here the tablefields:

SCMG_CASE_GUID CHAR

SCMGSTATUSONR NUMC

SCMGSTAT_DESCR CHAR

SCMG_EXT_KEY CHAR

SCMG_CREATE_TIME DEC

SCMG_CHANGE_TIME DEC

ZCRM_TEAM_244 CHAR

Z_CRM_TEAMN_244 CHAR

ZCRM_TEAMSINCE_244 DEC

ZCRM_DURATION_244 DEC

ZCRM_CASE_DESCR_244 CHAR

ZCRM_TAXLEVEL1_244 CHAR

ZCRM_TAXLEVEL2_244 CHAR

ZCRM_TAXLEVEL3_244 CHAR

BU_PARTNER CHAR

ZCRM_COMPANY_244 CHAR

ZCRM_NOACTIONS_244 INT4

ZCRM_ACTIVI_244 CHAR

ZCRM_ACTIVI_DESC_244 CHAR

When I concatenate this fields, for example, via coding:

CONCATENATE out_cases-stat_ordno_descr out_cases-create_time

into iv_string SEPARATED BY ';'.

then I get the error:

"OUT_CASES-CREATE_TIME" must be a character-type data object (data type

C, N, D, T or STRING). field string)."

Could anybody help me, to get this fields from internal tab to a string separated by ; ???

Thanks in advance

Thorsten

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question