Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

string operations


On the selection screen if the user gives a file location, I have to separate the directory and the filename the problem is the location can change every time one time it can be C:\Documents and Settings\varunk\Desktop\main.bmp and other time it can be

C:\main.bmp so I have to separate both the directory and file name and pass it separetly.

Thanks and Regards,


Former Member
Former Member replied

Use this.

SPLIT filename AT '/' INTO <c1>... <cn> INTO TABLE <itab>

Also check this.



Edited by: rhea on Oct 17, 2008 9:55 AM

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question