‎2006 Oct 03 12:47 AM
Hi Experts,
I want the total records present in a file into a string.
I am using a logic as follows,
1. selecting a file with function module F4_FILENAME
2. get the records into a table using the WS_UPLOAD
3. processing the itab and passing into a string
I have two questions,
1.Is there a better way than which i am using?
2.How much content a string can hold?
Help in this regard is appreciated.
Regards,
Azaz Ali.
‎2006 Oct 03 12:56 AM
‎2006 Oct 03 12:56 AM
‎2006 Oct 03 1:00 AM
Hi Rich,
Thanks a lot for your reply.
Let me wait for other replies....
Regards,
Azaz Ali.
‎2006 Oct 03 1:13 AM
Hi Ali,
The length of the string is not static and adjusts the length to the current field content at runtime.
So a string can have any length.
Also, try using GUI_UPLOAD instead of WS_UPLOAD.
In this function module you can also specify the field separator. Field separator would be helpful in distinguishing the fields of the table.
Hope this helps you.
Regards,
Manasee
‎2006 Oct 03 1:18 AM
I don't know of Max limit for data type string but for lengths beyond 65535 data type char cannot be used & string is the only option..
~Suresh