Skip to Content
0
Former Member
Feb 17, 2009 at 07:19 AM

problem with fileupload!!!

28 Views

Hi All,

I'm having few comma separated records in my notepad like this

aaa, bbbb, cc, dddddd

bbb,cccccc,dd,eee

I've uploaded these data using fileupload UI element into 'content' attribute which is of the type xstring.

now i've converted the xstring data to string..

now my string contains the data like this aaa, bbbb, cc, ddddddxxbbb,cccccc,dd,eee

i have an internal table which contains four fields and i want to break the string and append it into my itab in the above shown notepad format (

aaa, bbbb, cc, dddddd

bbb,cccccc,dd,eee )

but how is this possible how can split the string into individual records?

is it any other way which will upload the data into individual records rather than a single string.

i tried creating a node with cardinality 0..n and placed an attribute which is of type xstring and binded to fileupload UI element but it is throughing error. pls help me out..

regards

swapna