Retriving data from Calendar Server
Hi All,
I am trying to retrieve data from Sun java Calendar . I know we can do that using WCAP commands. But i need to write a code in C to retrieve the data. i could not find a CSAPI to retrieve the data. Then i learnt that CSAPI's are used to modify and enhance the server functionality.Does that mean we cannot retrieve data like events and todos form the calendar using CSAPI's. If yes Is there any other way to retrieve data from calendar server other than WCAP ?
Thanks and Regards,
Eklavya
Hi,
lmeenakshy wrote:
Is there any way of retrieving the data from the calendar server using the HTTP methods.Is GET method an appropriate one to use on the calendar server.GET IS the method. You can see an example here:
http://en.wikipedia.org/wiki/Web_Calendar_Access_Protocol
Is there possibility of typing the HTTP request on the URL tab and getting information from the server?Using a web-browser will not get the desired results due to the calendar server port detecting that a web-browser is in use and not responding in the same fashion (providing a calendar express interface instead).
You can use something like the perl LWP::UserAgent module to send through the necessary commands.
Could you please tell me the sequence of steps to be followed to for me to use HTTP methods to get the data from the calendar server?(i do not want to use the WCAP commands).I suggest you do some more research. Saying you don't want to use WCAP commands but want to use HTTP methods are contradictory statements.
Regards,
Shane.
Similar Messages
-
EVDRE encountered an error retriving data from web server in PROD
Hi friends,
We are checking Evdre reports in BPC production system. We checked few application' EVdre input templates & reports and are fine.
But yesterday evening onwards we are facing below error message.
EVDRE encountered an error retriving data from web server. This message we are getting for all BPC applications in BPC production. There is no short dump in backend.
But when i checked in BPC developement there is no probelm.
We are on BPC7.5 NWsp04 and BI7.01.
In BPC, production,when i try to create evdre template(just after filling
information in evdre builder), immediately getting same error information.
I read few notes, did as per that but sill problem exists. In note, mentioned process dim of particular application and process application. Logout from bpc admin & excel. I did this and, that error message not received for upto 20min. After that i'm getting error. We checked communciation between ABAP layer and bpc, reset IIS also. Still same probelm exists.
Any suggestions pls.
thanks,
nareshHi frineds,
SAP OSS team resolved along with our basis guy.
Initially SAP supported notes:
1.1475233 and 1378705 Process all dimensions and applications.
2.1355954 Drop SAP temp tables.
3.1428764 confilict only if you use Oracle 10 g, if you don't, then forget it.
I used 1378705 and problem resolved temporarly, but still exists after 1 day.
There are different reasons for getting the error message. In our case, problem is at backend BW and, BW system running on HP unix OS.
Checked librfc32.dll in the
directory /usr/sap/BP1/DVEBMGS00/exe.
Executed the following MDX statment in MDXTEST transcaction, and it
executed in both the available instances.
SELECT
{[Measures].MEMBERS} ON COLUMNS,
[0MATERIAL].[LEVEL00].MEMBERS ON ROWS
FROM [$ZCO_CDPC].
Even i also don't have clue how SAP resolved this issue.
Regards,
Naresh -
Problem when simultaneously retriving data from berkeleydb using web applic
Hi all
Plz Help
i am using jboss server .
my problem is :
i have 2lacks recodrs in berkeleydatabase
when i try to retrive data it working properly for one browser
if i start retrive data simultaneously using two IES it getting this exception
how to solve this problem,i mean separeate session for separate client
in java session trking techique i applied ,but here not working retriving data from berkeleydb.collision occur
11:47:08,468 ERROR [STDERR] Database handles still open at environment close
11:47:08,468 ERROR [STDERR] Open database handle: smscsucc.db
11:47:08,468 ERROR [STDERR] java.lang.IllegalArgumentException: Invalid argument
11:47:08,468 ERROR [STDERR] at com.sleepycat.db.internal.db_javaJNI.DbEnv_cl
ose0(Native Method)
11:47:08,468 ERROR [STDERR] at com.sleepycat.db.internal.DbEnv.close0(DbEnv.
java:208)
11:47:08,468 ERROR [STDERR] at com.sleepycat.db.internal.DbEnv.close(DbEnv.j
ava:76)
11:47:08,468 ERROR [STDERR] at com.sleepycat.db.Environment.close(Environmen
t.java:39)
11:47:08,468 ERROR [STDERR] at daos.RetriveDao.getData(RetriveDao.java:131)
11:47:08,468 ERROR [STDERR] at controllers.MainServlet.getData(MainServlet.j
ava:47)
11:47:08,468 ERROR [STDERR] at controllers.MainServlet.serviceHelper(MainSer
vlet.java:76)
11:47:08,468 ERROR [STDERR] at controllers.MainServlet.doGet(MainServlet.jav
a:101)
11:47:08,468 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpSe
rvlet.java:697)
11:47:08,468 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpSe
rvlet.java:810)
11:47:08,468 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterCha
in.internalDoFilter(ApplicationFilterChain.java:252)
11:47:08,468 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterCha
in.doFilter(ApplicationFilterChain.java:173)
11:47:08,468 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilte
r.doFilter(ReplyHeaderFilter.java:96)
11:47:08,468 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterCha
in.internalDoFilter(ApplicationFilterChain.java:202)
11:47:08,468 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterCha
in.doFilter(ApplicationFilterChain.java:173)
11:47:08,468 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve
.invoke(StandardWrapperValve.java:213)
11:47:08,468 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve
.invoke(StandardContextValve.java:178)
11:47:08,468 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssocia
tionValve.invoke(SecurityAssociationValve.java:175)
11:47:08,468 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValv
e.invoke(JaccContextValve.java:74)
11:47:08,468 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.in
voke(StandardHostValve.java:126)
11:47:08,468 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.i
nvoke(ErrorReportValve.java:105)
11:47:08,468 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.
invoke(StandardEngineValve.java:107)
11:47:08,468 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.s
ervice(CoyoteAdapter.java:148)
11:47:08,468 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.proc
ess(Http11Processor.java:869)
11:47:08,468 ERROR [STDERR] at org.apache.coyote.http11.Http11BaseProtocol$H
ttp11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
11:47:08,468 ERROR [STDERR] at org.apache.tomcat.util.net.PoolTcpEndpoint.pr
ocessSocket(PoolTcpEndpoint.java:527)
11:47:08,468 ERROR [STDERR] at org.apache.tomcat.util.net.MasterSlaveWorkerT
hread.run(MasterSlaveWorkerThread.java:112)
11:47:08,468 ERROR [STDERR] at java.lang.Thread.run(Thread.java:595)
# An unexpected error has been detected by HotSpot Virtual Machine:
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x29693a05, pid=832, tid=3776
# Java VM: Java HotSpot(TM) Client VM (1.5.0_06-b05 mixed mode)
# Problematic frame:
# C [libdb44.dll+0x33a05]
# An error report file with more information is saved as hs_err_pid832.log
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
Press any key to continue . . .
Thnking you
Thanks & Regards
Venkat GadarlaHello,
Your question is about Berkeley DB -- this is the Berkeley DB Java Edition forum. Please repost this over at:
Berkeley DB
Thanks.
Charles Lamb -
Need to convert Date from calendar to String in the format dd-mom-yyyy
Need to convert Date from calendar to String in the format dd-mom-yyyy+..
This is absolutely necessary... any help plz..
Rgds
ArwinderLook up the SimpleDateFormat class: http://java.sun.com/j2se/1.4.2/docs/api/java/text/SimpleDateFormat.html
Arwinder wrote:
This is absolutely necessary... any help plz..For you maybe, not others. Please refrain from trying to urge others to answer your queries. They'll do it at their own pace ( if at all ).
People on the forum help others voluntarily, it's not their job.
Help them help you.
Learn how to ask questions first: http://faq.javaranch.com/java/HowToAskQuestionsOnJavaRanch
(Yes I know it's on JavaRanch but I think it applies everywhere)
---------------------------------------------------------------- -
Hi Experts,
Is it possible to get date from Calendar Prompt when operator is "greater then or equal to". In this setting I can not set presentation variable for prompt, why? There is other way to get selected date?
Thanks in advance for any suggestion
Regards,
EskEskarina wrote:
Hi Experts,
Is it possible to get date from Calendar Prompt when operator is "greater then or equal to". In this setting I can not set presentation variable for prompt, why? There is other way to get selected date?
Thanks in advance for any suggestion
Regards,
EskThe reason the Set Variable piece disappears is because a presentation variable cannot contain multiple values. If you want to perform a calculation on a date to filter your report, do this:
1) Keep the Operator as "is equal to/is in."
2) Now set your PV to what you want.
3) In your report, build a CASE statement or use the TIMESTAMPADD function to make whatever calculation you want.
Example: Let's suppose you wanted to filter your report for all Sales Dates "greater than or equal to" the prompt selection. You would set the date prompt to "equal" a date a user selects and then save it to your Presentation Variable, say pv_SalesDate.
Now in your report on your Sales Date column, put a filter like this:
tablename."Sales Date" >= '@{pv_SalesDate}'
This will achieve what you are looking for. -
Delete data from archive server
Hello,
we have following question : How do you delete data from archive server which has passed the retention time and need to be removed from archive server.
Have you any ideas?
Thanks,
StefanHi Planung,
For deletion of data SARA transaction is used. Also deletion indicator is required to set for the documents which you are not using. Use the bapi BAPI_DOCUMENT_DELETE for deleting the documents which are set with deletion indicator.
I hope this will resolve the query.
Regards,
Ravindra -
How to upload data from application server
Hi,
please help me out in uploading the data from application server which is a tab delemited file into an internal table.
Thanks
kumarhi,
Use this sample code as an example.
table declaration
tables: mara.
*data declaration
data: begin of it_lfa1 occurs 0,
vendor like lfa1-lifnr,
land1 like lfa1-land1,
name1 like lfa1-name1,
ort01 like lfa1-ort01,
end of it_lfa1.
selection screen
selection-screen: begin of block b1 with frame.
parameters: p_file type rlgrap-filename obligatory.
selection-screen: end of block b1.
at selection screen
at selection-screen on value-request for p_file.
*& start-of-selection
start-of-selection.
perform transfer_file using p_file.
perform write.
*& Form transfer_file
text
-->P_P_FILE text
form transfer_file using p_p_file.
data: l_message(30) type c.
***opening dataset for reading
open dataset p_p_file for input in text mode encoding default message
l_message.
if sy-subrc ne 0.
message i001(zerr2) with p_p_file.
endif.
*******transferring data from file to app server.
do.
read dataset p_p_file into it_lfa1.
if sy-subrc = 0.
append it_lfa1.
clear it_lfa1.
else.
exit.
endif.
enddo.
*******closing dataset
close dataset p_p_file.
endform. " transfer_file
*& Form write
text
--> p1 text
<-- p2 text
form write .
loop at it_lfa1.
write:/ it_lfa1-vendor,
it_lfa1-land1,
it_lfa1-name1,
it_lfa1-ort01.
endloop.
endform. " write
Thanks
Aneesh. -
How to get data from application server
hi experts,
when i load data from application server(.csv file) to ODS, data all goes one column.
in infopackage exterdata tabstrip i have given the below values.
escape sign is "
data separator is ,
separator for thousands is ,
my sample data:
"1010000";"A410";"03.2008";"113.5704531"
"1010000";"A410";"04.2008";"93.1146410"
any ideas..
SiriHi Siri,
You should look in the T.Code :RSCUSTV1
BW:Settings for Flat File
Thousand separator
Dec. point separator
Field separator
Field delimiter
Then you can use the Same Characterstics while creating the Flat file & also passing the same in Info Package
This will resolve your issue
Regards
Hari -
How to bring the data from application server to presentation server
hi,
i have one problem,i have written the program which will open the files in the application server when we run the program in the background(sm37),the same data from application server i want to bring into presentation server in the format of (.csv),how to bring the data from application to presentation server can any body help me on this topic.folowing is the code .
*& Report ZPFA_HIER_LOAD
REPORT ZFPA_HIER_LOAD.
*---- Declaration of Oracle connectioN
DATA con_name LIKE dbcon-con_name VALUE 'COMSHARE'.
DATA: MFL1(9),MFL2(5),MFL3(9),MFL4(2),MFL5(8) TYPE c.
DATA : mfilename type string.
data: begin of matab1 occurs 0,
MFL1(9) TYPE C,
MFL2(5) TYPE C,
MFL3(9) TYPE C,
MFL4(2) TYPE C,
MFL5(8) TYPE C ,
end of matab1 .
data: setid(8) type c.
data: begin of source occurs 0,
setid(8) type c,
end of source.
*PARAMETERS : p_pfile LIKE filename-FILEEXTERN.
*PARAMETERS : m_bsenty(8). " type c obligatory.
*mfilename = P_PFILE.
EXEC SQL.
SET CONNECTION :con_name
ENDEXEC.
EXEC SQL.
CONNECT TO :con_name
ENDEXEC.
EXEC SQL PERFORMING get_source.
SELECT set_id FROM UNIT_SET INTO
:setid
ORDER BY SET_ID
ENDEXEC.
start-of-selection.
LOOP AT SOURCE.
REFRESH matab1. CLEAR matab1.
EXEC SQL PERFORMING evaluate.
SELECT TO_CHAR(MEM_ID),TRIM(TO_CHAR(MEM_PID)) FROM UNIT_TREE INTO :MFL1,
:MFL5
where set_id = :SOURCE-SETID ORDER BY MEM_ID
ENDEXEC.
if SOURCE-SETID = '80000000'.
mfilename = '/tmp/aesorg'.
elseif SOURCE-SETID = '80000006'.
mfilename = '/tmp/Consolidation_Manager'.
elseif SOURCE-SETID = '80000010'.
mfilename = '/tmp/10org'.
elseif SOURCE-SETID = '80000012'.
mfilename = '/tmp/20org'.
elseif SOURCE-SETID = '80000018'.
mfilename = '/tmp/30org'.
elseif SOURCE-SETID = '80000025'.
mfilename = '/tmp/40org'.
Endif.
mfilename = '/usr/test.dat'.
************************This was i tried***********************
open dataset mfilename for output in text mode encoding default." IN
*TEXT MODE ENCODING DEFAULT.
if sy-subrc <> 0.
exit.
endif.
close dataset mfilename.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
FILENAME = MFILENAME
FILETYPE = 'ASC'
TABLES
data_tab = matab1
EXCEPTIONS
file_write_error = 1
invalid_type = 2
no_authority = 3
unknown_error = 4
OTHERS = 10.
loop at matab1 .
transfer matab1 to mfilename.
endloop.
clear matab1.
ENDLOOP.
loop at matab1 .
transfer matab1 to mfilename.
endloop.
close dataset mfilename.
MFL5 = '0'.
CLEAR MFL5.
FORM evaluate.
if MFL5 = -1.
MFL5 = ''.
ENDIF.
concatenate MFL1 ',' into MFL1.
concatenate MFL1 ',' into MFL3.
matab1-MFL1 = MFL1.
matab1-MFL2 = 'ZBUE,'.
matab1-MFL3 = MFL3.
matab1-MFL4 = ' ,'.
matab1-MFL5 = MFL5.
append matab1 .
CLEAR MFL1.
CLEAR MFL2.
CLEAR MFL3.
CLEAR MFL4.
CLEAR MFL5.
ENDFORM.
"evaluate
*& Form GET_SOURCE
text
FORM GET_SOURCE.
source-setid = setid.
append source.
clear source.
ENDFORM. "GET_SOURCEHi Rammohan,
You cannot use OPEN DATASET to transfer data from application server to presentation server.
You can do the following :
<b>Do 1st point in BACKGROUND</b>
1. Read the data file from application server into an internal table using OPEN DATASET
<b>Do 2nd point in Foreground</b>
2. Once you get the data into an internal table, then use FM GUI_DOWNLOAD to download it on presentation server
You cannot use the above 2 point together in Background because its not possible. Hence you need program it partially in background and partially in foreground.
Best regards,
Prashant -
Download 350MB of data from Application Server to Presentation server
i want to Download 350MB(Around 2.5Million record of Table BSEG) of data from Application Server to Presentation server..
i have tried with the transaction CG3Y and program using open dataset,read dataset,close dataset,ws_download...but went in vain,,,ended with TIMEOUT ERROR..will OPEN DATASET 'path' FOR OUTPUT FILTER 'Compress' be helpful
..please help me ..its urgent..you can do the FTP with Unix commands..
initially connect to the application server by using command
FTP <app server ip>,then it willl ask for username and password... after successful connection you can use the following commnads to transfer file
lcd <destination path name>(set the dest path)
cd <source path>(set the sorce path),
get <filename to be transfererd>( do the transfer)....
You can do same with ABAP code also, for this you need to use some function modules like..
FTP_CONNECT ( to establish the connection)
FTP_COMMAND ( to execute the commands like cd, lcd get,put)
finally FTP_DISCONNECT to close the open connection...
for further details refer standard program RSFTP002,RSFTP003....
reward points if helpful... -
Exporting data from SQL Server database to Oracle database
Hello All,
We need to replicate a table's data of SQL Server database to Oracle database.
Can this task be accomplished using Import/Export wizard or Linked servers?
Can help me regarding which Oracle data access components should i download to do this?
I am using SQL Server 2012.
And i have Oracle 11g release 2 client installed in my system.
Thanks in Advance.
Thanks and Regards, Readers please vote for my posts if the questions i asked are helpful.Yes you can definitely transfer data from SQL server to Oracle Have a look at below links
Export SQL server data to Oracle Using SSIS
Use OLEDB data provider to transfer data from SQL server to Oracle
Using Import Export Wizard
Similar thread
Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it.
My TechNet Wiki Articles -
Error while loading data from application server
Hi all,
Am facing a problem while loading data from application server.
The error i get is ....
*" The argument ' Rental/Lease ' cannot be interpreted as a number while assigning character to application structure*.
'Rental/Lease' is a value for a character infoobject length 30. I checked for the sequence of fields in data source and the sequnce of values am receiving in application server and the sequence match.
when i copy these values into a CSV onto a desktop and load,load is successful.
Please let me know your views.
Thanks&Regards,
PraveenIt looks like the system is trying to convert Rental/Lease to a number format. Is the info object type CHAR or NUMC or ??? I would look there.
Also, make sure / is in RSKC.
Brian -
Copying directory data from one server to another
Hi friends,
I maintain two directory server (ver. 5.2) with same domain (xxx.com) and i have to copy the entire data from one server.
I tried to export from a one server and import it on another server, but it didn't get copied and it is getting object class violation error,
Please give me some tips to copy the entire data along with password encryption, so the users should be able to login to the new server.
Regards,
IqbalBefore you copy the data, make sure the new server has all user-defned schema (objectclass, attribute) which reside on the first server. What you can do is to copy the schema over first. Then you can copy the data over.
-
Error while exporting data from sql server to excel
Hi,
I am trying to export data from sql server to excel.
The query that I used is s follows
INSERT INTO OPENROWSET( 'Microsoft.Jet.OLEDB.4.0', 'Excel 8.0;Database=C:\Folder1\abc.xls','select * from [Sheet1$A1:IV65000]')
select
column1,column2.... from Table1
I get the following error message while doing so..
String or binary data would be truncated.
The statement has been terminated.
One of the column's holds data more than 225 characters.
What is the way to correct this, i want the whole data of the colum in the excel sheet.I haven't had great luck with the INSERT INTO OPENROWSET method. Can you try one of the many samples from one of these 3 links?
http://www.excel-sql-server.com/excel-sql-server-import-export-using-vba.htm#Excel%20Data%20Export%20to%20SQL%20Server%20Test%20Code
http://www.mssqltips.com/sqlservertip/1540/insert-update-or-delete-data-in-sql-server-from-excel/
https://www.simple-talk.com/sql/database-administration/getting-data-between-excel-and-sql-server-using-odbc--/
Knowledge is the only thing that I can give you, and still retain, and we are both better off for it. -
Error while reversing data from SQL Server to ODI
hi,
I was reversing data from SQL Server Java 1.6_022 in ODI Java 1.5, I was getting error Version Mismatch and I updated ODI Java version to 1.6_022.
And now, I am getting the below error while reversing the data from SQL Server database.
0 : 08001 : java.sql.SQLException: No suitable driver
Looking for the assistance on the same.
Thanks,
AbhayIf everything is fine the reversing should be fine. I would say check again if the Technology of the Model and the also the dataserver is created under the right Technology in topology too.
also if this doesn't help , Please tell us the steps you have carried so far . Also can you try selective reverse is it showing the tables.
Maybe you are looking for
-
Status Model Count A Printer 5 Desktop 7 CPU 18 I Printer 12 Desktop 34 CPU 66when i click/drill to Status Level i need to open another report and similarly for
-
Unable to move message into new folder in Mail 3.1
Hi I just added a new folder in Mail, but cannot move a message from my inbox (IMAP) into it. I can move messages into other, older folders, but not into any folders I created today. This is happening with both local and IMAP folders created today. A
-
Hi There, After my last post about this subject I have been browsing the web for an awnser which would enable me to get this done, but without any success. What I'd like is a method (javascript or php would be fine) to get a remote xml feed from flic
-
Unique load time of shipments in TP/VS. Is it possible?
Hi, friends! Could anybody tell me one trick about TP/VS? I have got a hard constraint from business not to have two shipments with the same load time at one location, e.g. 09:00 & 09:01 are suitable, 09:00 & 09:00 are not. Is there any ideas or expe
-
Communication Error: I didn't respond?
Argg! For a while I have been having problems videochatting with all my buddies. On their end, it says that I didn't respond, and on my end it says that they didn't respond. I fixed it a while ago by deleting all the ichat preferences, but that doesn