‎2009 Sep 30 2:04 AM
Hi,
I am trying to upload a file, it has been uploaded in variable type XSTRING.
Now i am trying to segregate lines of a file as STRING from XSTRING.
I need to feel all the lines in internal table of type STRING.
Pls. let me know if you have any idea how to segreagate the lines of type string. since XSTRING contains multiple lines.
Regards,
Hemant
‎2009 Sep 30 2:45 AM
Hi Hemant, <li>Try this HR_KR_XSTRING_TO_STRING function module. Thanks Venkat.O
‎2009 Sep 30 3:35 AM
Hi Venkat,
Thanks for quick reply.
But this function wont work. (since in SRM this FM does not exists and i need to convert the whole data in STRING and this can't be more then 1024 char but file will)
The scenario is i have to upload a file in Web Dynpro (SRM Frontend) and then i am reading the file, the file read is in format of XSTRING.
Now i have to convert the XSTRING to STRING but i dont know how to segregate the new line in XSTRING.
And the file contains 1000's of lines.......
after segregating on the basis of line i will format the data in required format.
Regards,
Hemant
‎2010 Mar 28 1:49 PM
‎2010 Jun 23 11:19 AM
Hi hemant,
If your issue got solved then could you please tell me which FM you have used , as I am also working in SRM module?
Thanks
Snehal