Skip to Content

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

string operations

Hi,

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,

V

Tags:
Former Member
Former Member replied

Use this.

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

Also check this.

[https://forums.sdn.sap.com/click.jspa?searchID=17587409&messageID=6346920]

Rhea.

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