Application Development 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: 

concatenate

Former Member
0 Kudos

hi all,

I am asked to write a code to combine several fields together seperated by DELIM. I know for charater string types, I can use concatenate statement. My problem is there are 3 fields are DEC, QUAN type . Please help. Thanks in advance.

Linda

Message was edited by:

Linda Tseng

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Do you mean you have combination of Char and Numeric fields to concatenate?

If yes, i think u need to store these numeric values in character data type variables and then concatenate.

Thanks,

Santosh

5 REPLIES 5

Former Member
0 Kudos

Hi,

Convert it to character and do the concotenate..

OR

call the function module SAP_CONVERT_TO_TEX_FORMAT with the internal table. Give the delimiter in the parameter I_FIELD_SEPERATOR and it will give you the internal table I_TAB_CONVERTED_DATA with the data...

Thanks

Naren

0 Kudos

Thank you for replies.

just want to make sure that the name of function module. SAP_CONVERT_TO_TEX_FORMAT

Is it correct? Why does the system say it does not exist?

Thanks,

Lin

Former Member
0 Kudos

Do you mean you have combination of Char and Numeric fields to concatenate?

If yes, i think u need to store these numeric values in character data type variables and then concatenate.

Thanks,

Santosh

Former Member
0 Kudos

Hi,

The FM SAP_CONVERT_TO_TEX_FORMAT is availble in my system..I am in 4.6c

Thanks,

Naren

0 Kudos

Hi

I'm also trying to convert an internal table to a text file (output), but also always receive the error message, that the function sap_convert_to_tex_format does not exist. If I try to find it via the "pattern" button it's not available nor through se37...even thoug I'm on release 6...can anyone help me??