How to write a time triggered portal service/ schedule a portal service
Hi,
Can some one please provide me with some info/url about how to a create a time triggered portal service i.e., scheduling portal service.
Any help will be greatly appreciated.
Thanks & Regards,
Sudhir
Hi,
see my reply to your post in PortalDevelopment area:
<a href="https://www.sdn.sap.com/irj/sdn/thread?threadID=249185&tstart=0">https://www.sdn.sap.com/irj/sdn/thread?threadID=249185&tstart=0</a>
Romano
Similar Messages
-
How to write a Timer application and deploy on an application server?
Hello Everyone,
How to write a Timer application which can be triggered according to a
specified timetable and deploy on an application server?
I know JMX(Java Management Extension) support Timer service, but my context
is the service execute according to a tabletime
user specified,not periodically. Do u know what i mean?
Thanks in advance.
Nov 4,2002Woodsonli,
What about using a third party J2EE scheduler like Kronos
See the following link
http://www.indcon.com/
Would that suit your needs?
Chuck Nelson
DRE
BEA Technical Support -
How to write Date/Time property of tdms file
On the root page of the tdms file, there is a built-in property called "Date/Time" in the first row.
I would like to use it to save the time stamp when the tdms file is created. But in the help file,
I only find the following property constant. So, how can I write to the "Date/Time" property field?
Property
Constant
Data Type
Name
TDMS_FILE_NAME
String (char *)
Description
TDMS_FILE_DESCRIPTION
String (char *)
Title
TDMS_FILE_TITLE
String (char *)
Author
TDMS_FILE_AUTHOR
String (char *)
Thanks for any idea or suggestion.
Solved!
Go to Solution.Not sure if this is exactly what you want, but have you tried this?
CVIAbsoluteTime CVItime, *t = NULL;
TDMSFileHandle deH = 0;
// Create TDMS file and set some properties
errChk (TDMS_CreateFileEx (file, TDMS_Streaming2_0, TDMS_ByteOrderNative, 0,"example.tdm", "someText", "title", "author", &deH));
GetCurrentCVIAbsoluteTime (&CVItime);
errChk (TDMS_SetFileProperty (deH, "Date/Time", TDMS_Timestamp, CVItime));
// Save and close file
errChk (TDMS_SaveFile (deH));
TDMS_CloseFile (deH);
Proud to use LW/CVI from 3.1 on.
My contributions to the Developer Zone Community
If I have helped you, why not giving me a kudos? -
How to find Working Time approval Enterprise services in ECC 6.0 EHP #3
Hi All,
We are on ECC 6.0 EHP #3. We have activated the EA-HR & EA-TRV ENTERPRISE_EXTENSIONS & related business functions in transaction sfw5. How and where do I look for Working Time entry and approval enterprise services in ECC. I tried to find through SOAMANAGER and SE80-Enterprise services browser but could not find them.
Do we need to activate anything else or am I not looking at the right place?
Thanks,
RajiveHi,
Enterprise Services are delivered by SAP with Enhancement Packs (Ehp). So number of services you can see depend on your Ehp and activation of business function while installing Ehp.
You can see ES in transaction SICF (to activate) and you can search services in transaction SE80->Repository Information System ->Enterprise service (search).
Regards,
Gourav -
How to write python code in Data Services ?
I read that you can use python programming to do tasks that custom SAP Data Services Designer components cannot do. Here is the link for that -
SAP Data Services/BODS equivalent of Microsoft SSIS Script Task
I don't know where I can type my code in DS / BODS. I see a script in the designer window, but it has nothing to do with python. Can someone show me
where it is and how to do programming in SAP DS ?
In SSIS, creating a script with programming language is very easy. Just drag and drop the Script component and start coding right away.
Unfortunately, SAP does not seem to be so simple.Hi Terry,
There is simple solution provided by Ramesh Murugan then why do you want go for hard way !! Not sure your intention
For your questions
Can we do the ENTIRE etl in python ?
Not sure but I didn't get any complicated scenarios so for and also we need to consider performance as well
Challenge with some complicated scenarios with BODS !! We happy to provide solutions
But every tool has unique capability !!
Regards,
Manoj -
How to write two triggers on same table how it works?
Hello sir..
I have to write two triggers on same table for auditing different columns of different pages (may be different modules).
I will have an audit table in which i will insert data such as (user_id,module_id,column_name,old_col_val,new_col_ val,timestamp)
Now different users from different pages will update the data on same table may be same columns!
If we write directly, we will not be able to know which column is updated from different pages.
My question is how can we control the triggers to raise based on the pagesA trigger is executed whenever the table is inserted / updated / deleted (depend on trigger definition). It won't know what 'page' caused the operation. You can prepare a trigger for one page.
In order to fulfill your need, you need some way to tell the trigger where you are. There are many ways to accomplish this. Some possible methods are (please check the documents for detail)
DBMS_SESSION.SET_IDENTIFIER
DBMS_APPLICATION_INFO.SET_MODULEFor example, you can call DBMS_SESSION.SET_IDENTIFIER to set an ID from your page, and then call sys_context to read the ID back:
In Page:
exec dbms_session.set_identifier('Page1');
...In Trigger
pageid := sys_context('USERENV', 'CLIENT_IDENTIFIER') ;
...Note that if you use a connection pool, you may need to properly reset the session information before return, in order to avoid messing up the session information when the connection is used next time. -
How to write Sync service in ABAP
Dear Experts,
i m very new to ABAP dev, can anybody help me how to write a sync service in ABAP and how to call a function module in to that sync service.
My requirement is i want to upload the data from the clint and download the data to client from the backend. i had written the function module to create a customer in CRM, now i want to push the data to create a customer from the client, for this i need to write a sync service for above requirement,
plz help me out how to write a sync service.
Regards
eswarHi Jyotirmoy,
Check this thread for Subquery
http://help.sap.com/saphelp_nw04/helpdata/en/dc/dc7614099b11d295320000e8353423/content.htm
Correlated, non-scalar subquery:
REPORT demo_select_subquery_1.
DATA: name_tab TYPE TABLE OF scarr-carrname,
name LIKE LINE OF name_tab.
SELECT carrname
INTO TABLE name_tab
FROM scarr
WHERE EXISTS ( select *
FROM spfli
WHERE carrid = scarr~carrid AND
cityfrom = 'NEW YORK' ).
LOOP AT name_tab INTO name.
WRITE: / name.
ENDLOOP.
This example selects all lines from database table SCARR for airlines that fly from New York.
Scalar subquery:
REPORT demo_select_subquery_2.
DATA: carr_id TYPE spfli-carrid VALUE 'LH',
conn_id TYPE spfli-connid VALUE '0400'.
DATA: city TYPE sgeocity-city,
lati TYPE p DECIMALS 2,
longi TYPE p DECIMALS 2.
SELECT SINGLE city latitude longitude
INTO (city, lati, longi)
FROM sgeocity
WHERE city IN ( select cityfrom
FROM spfli
WHERE carrid = carr_id AND
connid = conn_id ).
WRITE: city, lati, longi.
This example reads the latitude and longitude of the departure city of flight LH 402 from database table SGEOCITY.
Thanks,
Vinay -
How to write WSDD file to deploy web service
I write a server code,I want to deploy it as service,but I don't know how to write WSDD file?I use AXIS and SOAP
I need help,thanks a lot.
Regards
William
2.24Yes, put your wsdd with your class files. But if you want AdminClient to work correctly, be sure all environement variables are set correctly.
Me, I never use it, I prefer to modify directly the server-config.wsdd -
How do I manually uninstall FIM Portal and Service 2010
I installed Forefront Identity Manager 2010 as follows:
Server 1: FIM Sync Service
Servers 2, 3: SharePoint Farm, FIM Portal and Service
I've had issues from the installation. When installing FIM Portal and Service on Server 2 it failed to recognize fim sync service on server 1. We had FIM service unavailable errors in most usage scenarios (even though asmx returned service description).
I was able to use RunAs different user to start browser as the service account used to install and run the FIM service, browse to the identity management site using
http://localhost and saw the fim portal. I was never able to see the portal using DNS address or server name from the server 2 or any other computer on the network, or using any other account (although I checked the option to
enable portal access for authenticated users).
I tried to uninstall - this went through all the steps but failed during apply and did a rollback. However, subsequent attempts to change, repair or uninstall all fail with message that the site was not found, please create it...
I would like to manually remove FIM Service and Portal and begin again. How do I manually remove FIM Service and Portal when uninstall fails?
Thanks,
David SaylorAre you getting this error message while uninstalling FIM?
FIM Portal and Service is trying to find a site which is not there anymore. Just add the url which FIM was looking into the Central Administration >> Alternate Access Mappings
Save and exit out from Central Administration and try to uninstall now and it should work. It worked for me.
http://aryannava.com/2014/03/26/how-do-i-manually-uninstall-fim-portal-and-service-2010/
Aryan Nava | Twitter: @cloudtxt | Blog:
http://virtualizesharepoint.com
Please click "Propose As Answer" if a post solves your problem or "Vote As Helpful" if a post has been useful to you.
Disclaimer: This posting is provided "AS IS" with no warranties.
Aryan, you should convert your blog post into a Wiki article:
http://social.technet.microsoft.com/wiki/contents/articles/23330.technet-guru-contributions-for-march.aspx
Thanks!
Ed Price, Power BI & SQL Server Customer Program Manager (Blog,
Small Basic,
Wiki Ninjas,
Wiki)
Answer an interesting question?
Create a wiki article about it! -
How to write sync service in sybase unwired platform
Hi
How to write sync service in sybase unwired platform?
Thanks in advance....Hi!
A RESTful web service (also called a RESTful web API) is a simple web service implemented using HTTP and the principles of REST. It is a collection of resources, with three defined aspects:
- the base URI for the web service, such as http://example.com/resources/
- the Internet media type of the data supported by the web service. This is often JSON, XML or YAML but can be any other valid Internet media type.
- the set of operations supported by the web service using HTTP methods (e.g., POST, GET, PUT or DELETE).
On Sybase Unwired WorkSpace you can select, in Enterprise Explorer, REST Web Services connection defining a resource base URL and URI template, and then using this as MBO defining HTTP method and parameters.
Try this:
http://en.wikipedia.org/wiki/Representational_State_Transfer
and this:
http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.infocenter.dc01283.0155/doc/html/fre1261416769728.html
http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.infocenter.dc01283.0155/doc/html/fre1261424660910.html -
How to time a web service at back-end?
I implemented a web service using Axis. This service is to receive an upload file and process it. Since it is a long process, I want to know and log how much time was used for each service call at the server side.
The web service code is like:
public class CTSService implements ICTSService, ServiceLifecycle {
public String processUpload(byte[] zippedData, int zipSourceLength) {
In the service method processUpload(), it receives byte array zippedData, which can be hundred of MBs. I want to log the time processUpload() receives and processes zippedData. The problem is that, when processUpload() is invoked at the back-end, the server has already received the zippedData, so we can't correctly compute the time of upload of zippedData.
Does anyone have a good idea of how to time the web service call processUpload() at server side?
Thanks!You can include below method in your code and call it.
private void UpdateConfig(string key, string value, string fileName)
var cFile = ConfigurationManager.OpenExeConfiguration(fileName);
cFile.AppSettings.Settings[key].Value = value;
cFile.Save();
Here fileName is the full path + application name (eg: c:\project\WinApp.exe)
Adnan Amin MCT, SharePoint Architect | If you find this post useful kindly please mark it as an answer :) -
JPA, how to write a service to persist objects in a 1-to-many relationship
i am using JPA for data persistence. i have two objects that are involved in a one-to-many relationship. for example, i have an object, Company, and Company can have one or more, Employee. i then define a service called, CompanyDao, which has the usual create-read-update-delete (CRUD) operations. my problem is that when i instantiate a new Company with new Employees and call CompanyDao.create(Company), i keep getting an exception.
Cannot add or update a child row: a foreign key constraint fails (`demo`.`employee`, CONSTRAINT `employee_ibfk_1` FOREIGN KEY (`companyId`) REFERENCES `company` (`id`))
i have an intuition on why this is happening. when i call CompanyDao.create(Company), the newly instantiated Company doesn't yet have an id (its unique identifier). that is why when it tries to insert the Employees of Company, i get this problem. but, my question is, shouldn't JPA take care of all of this for me? shouldn't it know that it is creating a new Company, will have to insert it, will have to retrieve the unique id (generated) and then populate the employee table with this id?
i was thinking about this problem, and i thought maybe i could insert the company first and then the employees later. however, the problem is, once i insert the company, how do i get its unique id? i cannot query for it any other way (i.e. by name) that will return a unique result.
if anyone knows of a good, comprehensive tutorial on how to write a service demonstration CRUD operations on objects with one-to-many relationship, please let me know.Hi,
Could you please send CompanyDao.create(Company) code so that we can dig in to problem.
Regards
Murali N -
How to create drop down option in service manager 2012 incident portal
Hii,,
Please assist how to create drop down option in service manager 2012 SP1 default incident portal. We would like to provide the drop down option in "Please enter the title for the Issue" to our users.
Regards, Syed Fahad AliAs was already referenced, you could use a Simple List for the prompt, however if you are referring to the default General Incident that is available out-of-the-box, you might be limited in what you can modify.
I did some work for a client, that wanted to have a list and other options for the General Incident through the Portal. So, I ended up having to create a custom General Incident instead of using the default one, which will then allow you to add any type
of prompts, and configure them as you want (i.e. with a simple list). -
How to write triggers on startup and shutdown of the server?
Plz advice.
How to write triggers on startup and shutdown of the server?
I could write it but nothing happened!!!Small code example for you:
[email protected]> @ connect mob/mob
[email protected]> create or replace trigger shutdown_trigger
2 before shutdown on database
3 begin
4 insert into shut_table values(sysdate);
5 end;
6 /
Trigger created.
[email protected]> create or replace trigger start_trigger
2 after startup on database
3 begin
4 insert into start_table values(sysdate);
5 end;
6 /
Trigger created.
[email protected]> @ connect "/ as sysdba"
[email protected]> shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
[email protected]> startup
ORA-32004: obsolete and/or deprecated parameter(s) specified
ORACLE instance started.
Total System Global Area 64036368 bytes
Fixed Size 454160 bytes
Variable Size 50331648 bytes
Database Buffers 12582912 bytes
Redo Buffers 667648 bytes
Database mounted.
Database opened.
[email protected]> select * from mob.start_table;
START_DAT
14-SEP-06
[email protected]> select * from mob.shut_table;
SHUT_DATE
14-SEP-06
Best Regards
Krystian Zieja / mob -
How to write data from query into Real time cube?
Hi All,
Can anyone explain me step by step how to write data into a real time cube from front end queries.
Thanks in advanceHi
You can do this using Integrated Planning
You need to create a aggregation level on the Real Time infocube and can create Planning function/sequence, Variables if needed.
Then you can create query on this aggregation level and you can make the keyfigures Input ready in property pane and you can change the data and save it into cube.
Please find below help link which clearly explains step by step about Integrated Planning like creating input ready queries etc.,
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/43/0c033316cd2bc4e10000000a114cbd/frameset.htm
Regards
Ravi
Maybe you are looking for
-
Can I use a VB SCript to enable Num Lock at logon in Win 8.1 with Update 1?
Hope this is the correct place for this - someone directed me to the TechNet Forums from the Windows 8.1 general forum, and then from the 'Windows Forms General' forum to one on Scripting and now to this one on Group Policy this one. Hope I have now
-
I have written 2 web services 1) Subscribing to Exchange Server 2) Notification client I am able to create subscription to Exchange Server. But from Exchange server my notification client webservice is nt getting called. I am not sure how i am missin
-
Configuring JRE 1.4.2 plugin for TLSv1 only server
Hi, I have apache server configured that talks only TLSv1. I wasn't able to load an applet from IE on JRE 1.4.2_05 plugin. so I did the following 1.Edited the file Documents and Settings\<<username>>\Application Data\Sun\Java\Deployment\deployment.pr
-
Is it possible to get integration model in CIF exit??
Hi experts, I am new to CIF interface and i have a question about the interface enhancement () on ERP side. The scenario is, we want to send purchase order from SAP ERP to SAP APO through CIF. There are 2 integration models and they are active at the
-
SAPGUI 7.20 patch level 5 problem with Modification Assistant
I'm using SAPGUI 720 patch level 5 on a Windows 7 sp1 machine. There is a serious issue with modification assistant not working properly. For some reason it does not focus on the correct code line and automatic comments are not inserted either. Anyon