Replacement of WS_QUERY to get length of filename
Hi,
We are using WS_QUERY FM to get the length of file name.
CALL FUNCTION 'WS_QUERY'
EXPORTING
filename = l_filename
query = 'FL'
IMPORTING
return = return
This FM is obslete in ECC 6.0. So is there any FM or method which provides the same functionality.
Regards
Mandeep
GUI_GET_DESKTOP_INFO
or
You can make use of the method "FILE_EXIST" or "DIRECTORY_EXIST" or "GET_PLATFORM" of the class "CL_GUI_FRONTEND_SERVICES"
Similar Messages
-
Get only the filename not the full path of the file.
hi to all..
how can i get only the filename of the file not the full path and to be placed on a textinput.?
example:
when i'browse the file and select sample.txt
"C:\Users\user\Desktop\folders\sample.txt" this will be inputted on the textinput.
however, what i want to have is when i'browse and select a file..
textinput should only contain "sample".
does anyone knows how to do it?Hi cyrus@adobe,
How are you getting the full path of the file when you browse, I dont think for security reasons the Flash Player will aloow to do so. You can only get the file name not the full path of the file when you browse.
Are you using Flex4..?? I am not sure whether this is possible in Flex4..However if you are getting full path and if you wanted to show only the filename then you can just use theString class split function to acehive this..
var fullPath:String = "C:\Users\user\Desktop\folders\sample.txt";
var splitPath:Array = fullPath.split("\");
textInput.text = splitPath[splitPath.length-1];
Thanks,
Bhasker -
Replaced value is not getting relected in IDOC segment field
Hi,
Need your help for the below issue.
I am replacing the PO # with Delivery Doc # . But the replaced value is not getting reflected in the IDOC segment field(e1bp2017_gm_item_create-po_number.).
Function Module which I am using is IDOC_INPUT_MBGMCR as a copy.
Here is my code given below:
SELECT
SINGLE vbeln
INTO lx_vbeln
FROM lips
WHERE vgbel EQ e1bp2017_gm_item_create-po_number.
Move lx_vbeln TO e1bp2017_gm_item_create-po_number.
MOVE-CORRESPONDING e1bp2017_gm_item_create
TO goodsmvt_item.
Then this is passed as TABLE in "BAPI_GOODSMVT_CREATE".
Please do the needful.Hi Dheepa,
Check it in debug whether the filed is empty or having po#, when ur code is executed for the replacement. if it is empty, po# is populated after ur code. in this case you need to write the code in suitable place.
Reddy -
I have sent my iPod back for servicing because it is cracked, with some dispute with Apple I have managed to get a brand new iPod Touch. Just wondering if anyone has had this problem how long did it take from "Replacement Product Pending" to get back to the UK
Not really. Is say "pending"
pend·ing
/ˈpendiNG/
Adjective
Awaiting decision or settlement.
Preposition
Until (something) happens or takes place: "they were released on bail pending an appeal".
Synonyms
adjective.
pendent - undecided - unsettled - outstanding - pendant
preposition.
during - until - till - to -
I had my hard drive replaced and I cant get my email to work on the new hard drive. I have the ! in the triangle next to the inbox. I tried "take all accounts online" and it ddidnt work. The email account is working on my iphone and ipad, and my macBook is connected to the internet.
Cant get help with this issue on Apple Support, so I have to go to the Apple store to the Genius Bar to get assistance. All the help issues are so technical in their jargon, that I cannot understand how to fix the issue.
-
i had to have my hard drive replaced. how do i get my itunes library back on my computer?
Go to the iTunes Store, log into your account, and click the Purchases link under the Quick Links. From there you should be able to re-download some or all of your purchased content. Note that not all content has been licensed for re-downloading in all countries at this time; you can see what content you can download here:
http://support.apple.com/kb/HT5085
You can also re-download content using an iOS device.
For more information, see:
http://support.apple.com/kb/ht2519
For content not purchased from the iTunes Store, as John said you'll need to restore from your backups or get the content from whatever place you got it originally.
Regards. -
Best way to get and pass filename from a DB Table to SQL Loader?
What is the best way to get the data filename from an Oracle Table to pass it to SQL Loader?
I am looking for a sompler way.
I only want to instruct SQL Loader/Control file to get the filename from a table. Do we need external tables for this? Can I pass a funciton/SQL as parameter to filename?
Thanks -
How to get length of a data field
Hi Experts,
How to get length of a data field. For example data field /BIC/0COSTCENTER length is 9. and the entry in the table is /BIC/0COSTCENTER = 1000 only. How to get the lenth of value in the table.
Any help greatly appreciated. Thanks.
Best Regards,
Suresh.Below is example code
Data: var1(10) type c value '2500',
var2 type i.
var2 = Strlen( var1 ).
write var2.
<b>Reward Points for helpful answers</b>
Satish -
Possible to get length from midi files?
Is it possible to retrieve the length from a midi file, for example in miliseconds?
And how is that helping me?So my taking my limited free time to consider your question, do a search on google, and pull up a very appropriate article -- all as a volunteer mind you -- is not helpful?
A word of advice: you will have a much greater chance of getting more help if you show appreciation for anyone who takes the time out to consider your problem and offer any even remotely useful solution.
just my 2 Shekel's worth...
It explains how MIDI format is built...
I am no pro as you may understand, because I posted
in "New To Java".And I can magically read your mind and know exactly where you are in your java development? Sorry, I left my mind-reading cap at work. You were not exactly detailed in what you were seeking, what you know, and what you've found so far. Another word of advice: try to put as much effort into asking your question as you'd like someone would to answer it.
And I know you can get length of .wav files for
example by using Clip. That's why I am asking if
there's a way for midi files as well. Like a method
for AudioStream or whichever.I hope you find your method. But this is all the help you are going to get from me. Geeze... -
by asking for the function seek and replace [apple F] i get no display - so see nothing except the upper grey line. what is going on? and what can i do about it?
restarting doesn't workDoes trashing the preferences help? See Replace Your Preferences
-
Hello, My iph5s screen cracked according an accident I just had it since February with threeG mobile network , I have been told I can replace my phone or get it fixed by apple for free, can you please let me know what should I do about this matter ?
Oh well that's what I heard because it's about the 90 days warranty ,,. Anyway can you please tell me what I can do to get it fixed ? It's a not really big crack in the right bottom side of the screen
-
How to get length of data on column with long datatype
How to get length of data on column with long datatype without using pl/sql block
...another reason not to use LONG datatype for columns.
Oracle advises to switch to LOB columns instead
SQL> create table t
2 (x long)
3 /
Table created.
SQL> insert into t values (rpad ('x', 10000, 'x'))
2 /
1 row created.
SQL> alter table t
2 modify x clob
3 /
Table altered.
SQL> desc t
Name Null? Type
X CLOB -
problem opening mail attachments...were opening seamlessly on os 7.0...get an error
Filename
Office open XML document/presentation
File size
Does anyone have a solution? Please help.Hi Charlotte,
You don't say what your version of Windows you have. Assuming XP, go to Start | Run, type DXDIAG and click OK. Click the Sound tab and run the tests to eliminate a hardware problem first of all. If you don't hear anything, check your cables first of all. Also make sure "Mute" isn't checkmarked in your sound setup. You'll find that in Windows Control Panel.
Which browser do you use? If you have Firefox 4, sign up to the HTML5 trial @ http://www.youtube.com/html5
HTML5 is the latest video standard and doesn't require Flash player. Google is in the process of converting all its files to work with the new format. It may solve you problem. If you don't have Firefox 4, you can get it from here: http://www.mozilla.com/en-US/firefox/fx/
IE8 doesn't support HTML5.
To clean out your temp files, go to Start | Run, type: CLEANMGR and click OK. Click OK again to start the utility. Tick all the boxes except "Compress old files" because the latter takes too long, and then click OK. You can run this utility any time you wish by the way.
The above steps will hopefully fix your problem. If not, post here again please. -
Revision: 13468
Revision: 13468
Author: [email protected]
Date: 2010-01-12 15:59:25 -0800 (Tue, 12 Jan 2010)
Log Message:
(commit on behalf of Hans): The following ASyncListView methods now ignore IPEs thrown when the operation is delegated: 'get length()', addItem(), addItemAt(), setItemAt().
QE notes:
Doc notes:
Bugs: sdk-24975
Reviewer: Alex
Tests run:
Is noteworthy for integration: no
Ticket Links:
http://bugs.adobe.com/jira/browse/sdk-24975
Modified Paths:
flex/sdk/branches/4.0.0/frameworks/projects/framework/src/mx/collections/AsyncListView.asDear Pallavi,
Very useful post!
I am looking for similar accelerators for
Software Inventory Accelerator
Hardware Inventory Accelerator
Interfaces Inventory
Customization Assessment Accelerator
Sizing Tool
Which helps us to come up with the relevant Bill of Matetials for every area mentioned above, and the ones which I dont know...
Request help on such accelerators... Any clues?
Any reply, help is highly appreciated.
Regards
Manish Madhav -
iPod nano (1st generation) Replacement Program: do i get a NEW ipod or only a new battery?
Finally got a message stating my replacement has shipped. Been pending since 12-2. Looked up the new serial number givin to me in the email and it's a 6th generation model!! Confused, thought we were getting Gen1's??...Don't really care for the new design, but oh well, pleasantly surprised by this!!
Maybe you are looking for
-
One more slower MacBook Pro after Yosemite upgrade
Hello, I noticed on queries like that of GreenVal1984 that it helps to have a EtreCheck report pasted. Because my MacBookPro - especially Apple Mail, iCal, and Spotlight within the Finder - has slowed down since I have upgraded to Yosemite, here is
-
the sound do not come out the headphones sometimes altho its all the way up in the setting and when i remove the headphones the sound doesnt come from the internal speaker either and only a reboot fixes the problem and thats annoying! any idea how tt
-
How to query repository to determine Dynamic parameters used by a report
Using BOXI 3.1 SP3 Windows 2008 .NET SQL 2008 Database I would like to query the repository to figure out which report is using which a dynamic parameter and then to figure out the name of that dynamic paremeter. The issue is the when I publish a rep
-
Hi, I have a small doubt. In file to IDOC mapping, I am mapping two fields using a UDF. That UDF in turn calls a RFC. But that RFC is not moved to quality server. If now I try to test that in quality environment, the mapping works fine and IDOC is po
-
Opening a WordPerfect Document
I recently switched to Mac and transfered all my documents over from my PC. Some of the documents were created in WordPerfect (which isn't even installed on that computer anymore) and I can't figure out how to open them on my Mac. Does anyone have an