How to use "Open Stream" command?
How to use "Open Stream" command in the iTunes application.
File > Open Stream > Enter a URL > Click OK > Listen. Obviously the URL needs be a valid media source like an mp3 file or a streaming radio station.
tt2
Similar Messages
-
How to use -open option at command prompt
Can someone update me with how to use -open option while launching javaws from command prompt. Sun documnetation (http://java.sun.com/javase/6/docs/technotes/tools/share/javaws.html#runoptions) is not very clear.
I am trying to do something like this
javaws -open prop1 firstName prop2 lastName http://myapp.jnlp
However the above does not work. It says incorrect argument firstName.
Cheers
AmitThe syntax as present in JWS documentation
javaws [run-options] <jnlp>
[run-options] Command-line run-options. run-options may be in any order. For a discussion of the various run-options, see RUN-OPTIONS below.
<jnlp> This can be either the path of, or the Uniform Resource Locater (URL) of the JNLP (Java Network Launching Protocol) file. -
How to use ls-l command in SAP ??
Hi,
can any one suggest how to use ls-l command of unix in sap to get the details of file like creation date,etc.
Thanks.Hi Krishna.
These are the steps you need to follow.
tables: specify the table.
data: begin of fs_...
end of fs_ " Structure Field string.
data: t_table like
standard table
of fs_...
data:
w_file TYPE string.
data:
fname(10) VALUE '.\xyz.TXT'.
select-options: if any.
PARAMETERS:
p_file LIKE rlgrap-filename.
w_file = p_file.
select .... statement
OPEN DATASET fname FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
*OPEN DATASET fname FOR OUTPUT IN BINARY MODE.
LOOP AT t_... INTO fs_....
write:/ .....
TRANSFER fs_... TO fname.
or
TRANSFER t_... TO fname
ENDLOOP.
CLOSE DATASET fname.
Reward points wisely and if you are benefitted or ask for more detailed explanation if problem not solved.
Regards Harsh. -
Create an Excel File Using OPEN DATASET Command
Hey, everyone.
How can I create an Excel file by using OPEN DATASET command ??
The file is created but the columns are no seperated like thay should.
I need to seperate the internal table's fields with a comma - How can I do it ?
Here's my code:
OPEN DATASET filename1 FOR OUTPUT IN TEXT MODE.
IF SY-SUBRC = 0.
LOOP AT gt_vend_info into gwa_vend_info.
TRANSFER gwa_vend_info TO filename1.
IF SY-SUBRC <> 0.
EXIT.
ENDIF.
ENDLOOP.
ENDIF.
Thanks in advance.Hi Beki,
REPORT ZTESTAA.
TYPE-POOLS:TRUXS.
DATA: BEGIN OF ITAB OCCURS 0,
VBELN LIKE VBAP-VBELN,
POSNR LIKE VBAP-POSNR,
END OF ITAB.
DATA:
ITAB1 TYPE TRUXS_T_TEXT_DATA.
SELECT VBELN
POSNR
UP TO 10 ROWS
FROM VBAP
INTO TABLE ITAB.
CALL FUNCTION 'SAP_CONVERT_TO_CSV_FORMAT'
EXPORTING
I_FIELD_SEPERATOR = ';'
TABLES
I_TAB_SAP_DATA = ITAB
CHANGING
I_TAB_CONVERTED_DATA = ITAB1
EXCEPTIONS
CONVERSION_FAILED = 1
OTHERS = 2.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO WITH SY-MSGV1
SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
OPEN DATASET filename1 FOR OUTPUT IN TEXT MODE.
IF SY-SUBRC = 0.
LOOP AT gt_vend_info into gwa_vend_info.
TRANSFER gwa_vend_info TO filename1.
IF SY-SUBRC <> 0.
EXIT.
ENDIF.
ENDLOOP.
ENDIF.
the above code give CSV format file, all fields will be separated by ';'
Regards
vijay -
How to use open data set in SAP
Hi SAP Gurus,
Could anyone help, how to use open data set in SAP.
I need to upload a file from Application server (ZSAPUSAGEDATA) to internal table (IT_FINAL).
Thanks & Regards,
Krishnau2026Hi Krishna.
These are the steps you need to follow.
tables: specify the table.
data: begin of fs_...
end of fs_ " Structure Field string.
data: t_table like
standard table
of fs_...
data:
w_file TYPE string.
data:
fname(10) VALUE '.\xyz.TXT'.
select-options: if any.
PARAMETERS:
p_file LIKE rlgrap-filename.
w_file = p_file.
select .... statement
OPEN DATASET fname FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
*OPEN DATASET fname FOR OUTPUT IN BINARY MODE.
LOOP AT t_... INTO fs_....
write:/ .....
TRANSFER fs_... TO fname.
or
TRANSFER t_... TO fname
ENDLOOP.
CLOSE DATASET fname.
Reward points wisely and if you are benefitted or ask for more detailed explanation if problem not solved.
Regards Harsh. -
Hi experts, how to use open sql to read data from one " maintenance view"?
i want to use this part of data within report ,so how to use open sql statement to read data from one " maintenance view"?
Hi
You can't use OPEN SQl statements to fetch data from maintenance view
You have to use only Database views
see the different types of views and the difference
The followings are different types of views:
- Database View (SE11)
Database views are implement an inner join, that is, only records of the primary table (selected via the join operation) for which the corresponding records of the secondary tables also exist are fetched. Inconsistencies between primary and secondary table could, therefore, lead to a reduced selection set.
In database views, the join conditions can be formulated using equality relationships between any base fields. In the other types of view, they must be taken from existing foreign keys. That is, tables can only be collected in a maintenance or help view if they are linked to one another via foreign keys.
- Help View ( SE54)
Help views are used to output additional information when the online help system is called.
When the F4 button is pressed for a screen field, a check is first made on whether a matchcode is defined for this field. If this is not the case, the help view is displayed in which the check table of the field is the primary table. Thus, for each table no more than one help view can be created, that is, a table can only be primary table in at most one help view.
- Projection View
Projection views are used to suppress or mask certain fields in a table (projection), thus minimizing the number of interfaces. This means that only the data that is actually required is exchanged when the database is accessed.
A projection view can draw upon only one table. Selection conditions cannot be specified for projection views.
- Maintenance View ( SE54 )
Maintenance views enable a business-oriented approach to looking at data, while at the same time, making it possible to maintain the data involved. Data from several tables can be summarized in a maintenance view and maintained collectively via this view. That is, the data is entered via the view and then distributed to the underlying tables by the system.
Please have a look at below link. It will help you.
http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ed06446011d189700000e8322d00/frameset.htm
for more detailed info look on:
http://www.sap-img.com/abap/what-is-the-different-types-and-usage-of-views.htm
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/abap+dictionary&
Reward points for useful Answers
Regards
Anji -
How to use Operating System Commands while using define in sqlplus
How to use Operating System Commands while using define in sqlplus . The Host OS is Linux
define report_name=PROD_${host date "+%b"}.html
The above is not working.
The output should be
define report_name=PROD_JAN.html
Regards,
DBof course I was talking nonsense: the problem here is the mixing of bind variables and DEFINE variables.
With the following changes the script should work (the conditions for begin_interval_time are perhaps not what you want):
variable snap1 number
variable snap2 number
variable rptname varchar2(20)
begin
SELECT min(snap_id) into :snap1 FROM dba_hist_snapshot WHERE CAST(begin_interval_time AS DATE) >= SYSDATE-1;
SELECT max(snap_id) into :snap2 FROM dba_hist_snapshot WHERE CAST(begin_interval_time AS DATE) >= SYSDATE-1;
end;
col file_name_value new_value report_name noprint
select 'PROD_'|| to_char(sysdate,'MON') || '_' || to_char(sysdate,'DD') file_name_value from dual;
define report_type = 'html'
define num_days=2
define begin_snap=:snap1
define end_snap=:snap2
@@?/rdbms/admin/awrrpt.sql -
How to use open cursor and iner join in one statement
Hello All,
Could any one post the code for the below question?
How to use open cursor and iner join in one statement
Regards,
LisaOPEN CURSOR c FOR SELECT carrid connid fldate bookid smoker
FROM sbook innerjoin shook
ORDER BY carrid connid fldate smoker bookid.
Pls reward if helpful. -
How to use one stream by two or more threads?
Hey guys,
i have got a little problem and do not know how to solve it. i hope you guys can are able to help me.
i have opened a bluetooth socket connection. now i want to use these streams by three or more threads. one thread should only read from an input stream. the other threads are supposed to write on the ouput stream.
(I think) I am only able to open one stream in each direction.
How do I realize the use of the output stream by two indepent threads?
thanks for your help!thank you for the hint!
i will search it or do you know a good tutorial? -
Problems using "open items" command in ARD
Hi,
Having problems while using the "open items" command from ARD. The "Copy" function works well but when trying to open the file I get the message "Failed".
I suppose I am doing something wrong, any help is appreciated!... having problems ...
We don't know what problems you are having -
How to use open Row set in sql server 2014
Hello All,
How to open the row set using sql server 2014 using link server connection.Hi denyy,
Are you referring to the OPENROWSET function in SQL Server 2014?
The OPENROWSET method is an alternative to accessing tables in a linked server and is a one-time, ad hoc method of connecting and accessing remote data by using OLE DB. The examples below demonstrate how to use the OPENROWSET function:
A. Using OPENROWSET with SELECT and the SQL Server Native Client OLE DB Provider
SELECT a.*
FROM OPENROWSET('SQLNCLI', 'Server=Seattle1;Trusted_Connection=yes;',
'SELECT GroupName, Name, DepartmentID
FROM AdventureWorks2012.HumanResources.Department
ORDER BY GroupName, Name') AS a;
B. Using the Microsoft OLE DB Provider for Jet
SELECT CustomerID, CompanyName
FROM OPENROWSET('Microsoft.Jet.OLEDB.4.0',
'C:\Program Files\Microsoft Office\OFFICE11\SAMPLES\Northwind.mdb';
'admin';'',Customers);
GO
C. Using OPENROWSET to bulk insert file data into a varbinary(max) column
USE AdventureWorks2012;
GO
CREATE TABLE myTable(FileName nvarchar(60),
FileType nvarchar(60), Document varbinary(max));
GO
INSERT INTO myTable(FileName, FileType, Document)
SELECT 'Text1.txt' AS FileName,
'.txt' AS FileType,
* FROM OPENROWSET(BULK N'C:\Text1.txt', SINGLE_BLOB) AS Document;
GO
D. Using the OPENROWSET BULK provider with a format file to retrieve rows from a text file
SELECT a.* FROM OPENROWSET( BULK 'c:\test\values.txt',
FORMATFILE = 'c:\test\values.fmt') AS a;
Reference:
OPENROWSET (Transact-SQL)
Using the OPENROWSET function in SQL Server
Thanks,
Lydia Zhang
If you have any feedback on our support, please click
here. -
How to use ignore=check_min_mem Command
Hi Guru's,
I was trying to install Hana on VMware in laptop. But I am having 8GB ram.
I heard that ignore=check_min_mem command can be used to skip the check.
Can anyone tell me how to use this command
My installation path is - ./setup.sh /tmp/hanainstdir /tmp/hana.model
Pl note - I am installing this for my learning purpose.
Thanks in advance.
Saurabh Vaidya.Hi Atul,
I had brought the server on rent to install the hana db, but it could not be completed
I had followed below steps, Pl let me know if these were right or wrong
1. I had used hana life cycle management to install, I stuckup at stage "Starting the system" (4th step, sub step 2)
2. how much time does hana installation takes? ( it took almost 4 hrs) but could not start the system
3. When I used "Top" command, I could see processes with something like (hdbindexserver, hdbpageserver......) was it going on well?
Thanks in Advance
Saurabh Vaidya -
Hi all,
DATA: BEGIN OF i_mgmt OCCURS 0,
btrtl TYPE pa0001-btrtl,
btext TYPE t001p-btext,
perm TYPE pad_amt7s ,
con TYPE pad_amt7s ,
perm2 TYPE pad_amt7s ,
con2 TYPE pad_amt7s ,
perm3 TYPE pad_amt7s ,
con3 TYPE pad_amt7s ,
tot TYPE pad_amt7s ,
avg TYPE pad_amt7s ,
END OF i_mgmt.
This my int. table and i need to calculate tot. row wise How can i use do varying command in this condition. Or any other way to calculate tot. row wise...Plesae help me
Thanks.Hi,
Check this example program how to use DO VARYING ..
REPORT ZTEST_NOTEPAD.
DATA: BEGIN OF text,
word1 TYPE c LENGTH 4 VALUE 'AAAA',
word2 TYPE c LENGTH 4 VALUE 'BBBB',
word3 TYPE c LENGTH 4 VALUE 'CCCC',
word4 TYPE c LENGTH 4 VALUE 'DDDD',
END OF text.
DATA: word TYPE c LENGTH 4,
char1 TYPE c LENGTH 1,
char2 TYPE c LENGTH 1,
leng TYPE i.
FIELD-SYMBOLS <word> LIKE text-word1.
DATA inc TYPE i.
DESCRIBE FIELD text LENGTH leng IN CHARACTER MODE.
leng = leng / 2.
DO leng TIMES VARYING char1 FROM text(1)
NEXT text+2(1) RANGE text
VARYING char2 FROM text+1(1)
NEXT text+3(1) RANGE text.
WRITE: char1, char2.
char1 = 'x'.
char2 = 'y'.
ENDDO.
DO 4 TIMES VARYING word FROM text-word1 NEXT text-word2.
WRITE / word.
ENDDO.
DO.
inc = sy-index - 1.
ASSIGN text-word1 INCREMENT inc TO <word> RANGE text.
IF sy-subrc = 0.
WRITE / <word>.
ELSE.
EXIT.
ENDIF.
ENDDO.
Thanks
Venkat.O -
How to use Open/Create/Replace File.vi
How to change Open/Create/Replace File.vi to Open File?
Use the routine Write Characters to File.vi found under the File IO palette. It has a boolean control on the front panel. If this is set true, data is appended to the end of an existing file, or a new one is created if the file doesn't exist. If the control is set to false, the file is always created new--overwriting any existing file with the same name.
Mike...
Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion
"... after all, He's not a tame lion..."
Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps -
How to Use Open Dialog Box, & Save Dialog Box
Hi Frens,
Can You tell me how can i use open dialog box, and save
dialog box using Flex. Because there is no such components are
given here.
Also How can i Do when I click on some button, or some event
Please tell me abt this, Thks in advance frens
Ashish Mishrafor input requested try this
String ar = JOptionPane.showInputDialog("Please, enter artist name");for any sort of message box try this
int answer = JOptionPane.showConfirmDialog(null, "Enter another record?",
"???",JOptionPane.YES_NO_OPTION);This might help you buddy.
Maybe you are looking for
-
Email with text attachment with line width 1250
Dear all, I want to send the email with text attachment whose line width in text file is 1250. Kindly let me know how to send email attachment with more than 255 line width. Regards, Manoj Moderator Message: Frequently Asked Question. Pl
-
Finder "column" view no longer previews ".iff"s
Sorry if this is the wrong forum (is there no Shake forum????).... is Apple going to kill Shake? So I upgraded from 10.3.6 to 10.4.2 ..... now the ".iff" files (when in column view) no longer show the image in the preview window... it is now an icon?
-
Create Filename from Data within IDOC
Good afternoon, All In PI 7.0 we are sending an IDOC to a File. The XSL mapping between the two creates a structure like the following: <resultset> <row> <fieldOut>xxxxx</fieldOut> </row> <resultset> Content Conversion is then used on the outb
-
How to track changes in j1id transaction
hi all, I want to make a report by tracking the changes made in the transaction j1id for certain period. I am entering transaction J1ID TRANSACTION and selecting chapter id radio button and making some changes. my question is in which table all the c
-
I have a nano and its great! the only problem is that i cannot re-rank the order of the songs on it! I can change the ranking in itunes but not on the Ipod, please help its driving me crazy!!