Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

problem in eCATT

Former Member
0 Likes
321

Hi All,

i had a small problem in eCATT. i have used GETGUI command to pick up a file name in SLG1. But it is picking all the message i.e., "filename opened successfully". here i need only the file name. I dont want the entire message. Is there any solution in ABAP to pick only that file name from the message.

***********Points will be rewarded.

regards,

Santosh.

1 REPLY 1
Read only

Vny12
Product and Topic Expert
Product and Topic Expert
0 Likes
291

Hi,

you can split the string into piece using SPLIT statement in ABAP.

SPLIT filename_text AT filename INTO: str1 str2 str3.

Also you can use offset method like

str = str+1(2).

starting from 1st letter get me next two letters.

i hope this helps

regards

vinay