Application Development and Automation 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: 
Read only

Parsing Funcation Module or Function

harsha_s
Advisor
Advisor
0 Likes
648

Hello Colleagues,

I need to parse an variable which contains data delimited by , can anyone kinly let me which Function Module or Fuction do i need to use to achieve the objective .

regards

harsha

3 REPLIES 3
Read only

Former Member
0 Likes
595

Hi Harsha,

You can use t function module EVAL_FORMULA. If possible explain your requirement in detail.

Regards,

Harpreet Singh

Read only

Former Member
0 Likes
595

Hello Harsha,

You can use split function from the functions available for string manipulation.

For more details on string manipulation please check following link from SAP help:

http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3400358411d1829f0000e829fbfe/content.htm

There is lot to explore in SAP help! Make use of it!

Hope this help!

Enjoy SAP!

Augustin.

Read only

Former Member
0 Likes
595

Hi Harsha,

the FM TEXT_CONVERT_CSV_TO_SAP will convert the comma delimeted file to internal table .

or either you can use the split fucntioanlity as well.

There are many other function module available for different types of delimeters.

TEXT_CONVERT_CSV_TO_SAP

TEXT_CONVERT_TEX_TO_SAP

TEXT_CONVERT_TXT_TO_SAP

TEXT_CONVERT_XLS_TO_SAP

TEXT_CONVERT_XML_TO_SAP