Event triggers from HANA to sharepoint
Hi All,
Is it possible to create a trigger in HANA that on creation of a new row in a particular table, creates an event that goes to a sharepoint portal and triggers a mail and a push notification to MS BI mobile users?
Please let me know how that would work.
Thanks,
Shyam
Hi,
I have the same req, we did like below the problem is resolved.
1. Craete Event in SM62 in BW , Event name = ECCTOBW.
2. Assign that Event in BW and give Parameter name = ECCTOBW_P. (Param is directly give in BW)
(In Case of dataloads, create Process chain and give thios Event and Parameter in Start-->Event) and Activate and Exexute the Processc Chain.
3. Then Run the below program in ECC then check your processc hain, it will trigger.
This is the way how to use the Events triggers in different system.
REPORT ytestrd1tobd1.
CALL FUNCTION 'RSSM_EVENT_RAISE'
DESTINATION 'BWCLNT' ------------> Here give your BW system ID
EXPORTING
i_eventid = 'ECCTOBW'
i_eventparm = 'ECCTOBW_P1'
EXCEPTIONS
bad_eventid = 1
eventid_does_not_exist = 2
eventid_missing = 3
raise_failed = 4
OTHERS = 5.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
Thanks
Reddy
Similar Messages
-
No WF event triggered from PR coming from MRP
Hi every one, I have some Purchase Requisitions coming from MRP process, those PR doesnu2019t trigger any Workflow event to start a Workflow to approve them up (client requirement). The regular PR (manually) does trigger the traditional event.
My question is..what can I do to make the system generate the regular PR event u201CBUS2105-RELEASESTEPCREATEDu201D as a triggering event for those purchase requisitions coming from the MRP?
The SAP installation is:
SAP ERP Central Component 5.0
SAP_BASIS and SAP_ABA = R:640 L:0017 SP: SAPKB64017
Any recommendation?
Edited by: Jaime Felipe on Feb 5, 2009 10:29 PMHi Jaime,
You need to do the configuration in SPRO.
SPRO>>Material Management>>Purchasing>>Purchase Requisition>>Release Procedure>>Procedure with Classification.
Under this section you will find
1. Edit Characteristics
2. Edit Classes
3. Setup Procedure with classification
4. Check Release Strategies
You will find the documentation for each step, the documentation provided is very good and self explanatory. Do the config for each above mentioned steps in the given sequence and our event REELASESTEPCREATED gets triggered.
Please revert back if you face any problem.
Regards,
Gautham Paspala -
Event triggering from a class to parent
Hi,
I am trying to write a custom class for image loading.
public function imageLoader(url:String, mc:MovieClip):void {
loader = new Loader();
loader.load(new URLRequest(url));
mc.addChild(loader);
loader.contentLoaderInfo.addEventListener(Event.INIT, initListener);
loader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, progressListener);
loader.contentLoaderInfo.addEventListener(Event.COMPLETE, loadListener);
public function initListener(e:Event):void {
public function progressListener(e:ProgressEvent):void {
public function loadListener(e:Event):void {
I ll get the events in these listeners in the loadImage class. But i want to trigger a function in the calling class or root or stage, when these loader events are fired.
How this can be done?
Regards,
Sreelashthe ImageLoader class should extend EventDispatcher
you cna then redispatch the events wihtin the ImageLoader class
e.g.
public function initListener(e:Event):void {
dispatchEvent(e);
then in the parent class you will have a reference to the ImageLoader class and you can add event listeners there
e.g.
var imageLoader:ImageLoader = new ImageLoader();
imageLoader.addEventListener(Event.INIT, somefunction);
imageLoader.load("image", this);
or something alone these lines depending on how you want to structure things -
How a dailogbox can be triggered from BSP application
Hi,
1. My requirement is to show a dailogbox for confirmation, from the BSP application, whenever a user action is performed[clicked on a button].
This dailodbox sholud be triggered from the BSP application[not form the client side(JavaScript) logic/code ].
2. Is there any simpler way of showing a "success" message in a dailog box, from the BSP application
Hints please.
Thanks,
Pramod.Hi Pramod,
Try the following steps:
1. In the OnInputProcessing event triggered from the button's OnClick event, after your server-side processing, set a page attribute appropriately
(flag = 'success'.)
2. Call a javascript function in the OnLoad event in your layout:
<htmlb:page title = "Test" onLoad = "displayPopup()" >
3. Include the javascript function:
<SCRIPT language="JavaScript">
function displayPopup()
<%
IF flag IS NOT INITIAL.
%>
alert("Success");
<%
ENDIF.
flag = ''.
%>
</SCRIPT>
Basically, when the page is loaded/refreshed after your OnClick event, based on the value of flag you set, you could display appropriate messages.
Hope this solves your problem.
Regards,
Rohini. -
hi,
can anyone please help me with the following:
The description for Event ID 8306 from source Microsoft-SharePoint Products-SharePoint Foundation cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair
the component on the local computer.
If the event originated on another computer, the display information had to be saved with the event.
The following information was included with the event:
The HTTP service located at http://localhost:32843/SecurityTokenServiceApplication/securitytoken.svc/actas is too busy.
The publisher has been disabled and its resource is not avaiable. This usually occurs when the publisher is in the process of being uninstalled or upgraded
_________________________________________________________ Fahad KhanHi,
Please try the following steps to troubleshoot your issue:
1.
You can try to re-run SharePoint 2010 products configuration wizard to see any problems that still exist.
2.
Go to IIS and see the status of SecurityTokenServiceApplicationPool service, whether it is stopped or not, restart the pool.
3.
Go to manage web application services, review the status of Security Token Service application , try to restart.
4.
In Central Administration>Security>Configure Service Account>Change the service account for the Security Token Service application to some other managed account.
5.
If the issue persists, try the resolution in this blog:
http://blogs.msdn.com/b/sowmyancs/archive/2010/07/16/sharepoint-2010-service-applications-bcs-metadata-access-service-are-not-working.aspx
Let me know the result.
Xue-Mei Chang -
How to disable the "turn page" event triggered by the scroll/swipe function?
The problem is as follows.
The default behaviour of Acrobat Reader (both stand alone and browser plug-in) is to allow scrolling/swiping with the mouse wheel/trackpad. This is useful when the pdf's page length is greater than the screen's own length, because you can read the pdf with no need to distract your attention from the text to the scrollbar button. However, the same scroll/swipe function turns into a usability problem when the pdf is embedded in a html page and the pdf's page length is smaller than the browser's length. In this case, the scroll/swipe turns the page, distracting your attention from the text to the unintended behaviour of the browser. What happens is that you are so used to scrolling/swiping that you did it unintentionally in the pdf's caption area. You really did not want to turn pages in the pdf. Furthermore, if the pdf takes the whole html page, being a website, the scroll/swipe function flips the website pages in ways that neither the reader nor the writer had ever intended. Hence the question. How to disable, in this case, the "turn page" event triggered by the scroll/swipe function? A JavaScript should do, but the SDK documents did not help so far...
Message was edited by: 41457173
Message was edited by: 41457173... or release a patch for the API,
... or suggest an alternative route to achieve the intended result. -
Event triggering by abap class & ISR
hi gurus
1 ) can i able to see the event triggering by abap class in SWEL ? ,
2) in custom ISR scenario , new form scenario has been created by our functional consultant , and asking me to trigger a workflow for approval , when employee fills that particular ISR FORM , workflow should start and to go his HR administrator , when HR administrator double click on workitem he should get the ISR form in display mode & also with some descpition text is to be added in the screen (like user decision description ) with approval button ..... my question is how to trigger a event from in form scenario ? , how to bring the FORM screen to display mode to the HR administrator ?
regards
suryaHi Surya
The BO for ISR forms is BUS7051 - Notification. Turn on the trace via SWELS and create a PCR/ISR form and you should see the events being triggered in SWEL.
Good Luck
Ravi -
How to realize the other three events triggered by a sequence of events occurs?
How to realize the other three events triggered by a sequence of events that occurs between Labview, and the time interval between three events for the 50ms?
1110340053Are you another student who feels the need to post their "student ID" number as a part of the message? There is really no need to do that, it is meaningless to us.
You should ask your instructor to answer your questions rather than allowing them to turn the whole class of students loose on the forums usually asking the same identical question.
At least in your case, the question is different from most we've seen. Unfortunately, you haven't asked a clear enough question for us to understand what you are talking about.
What "events" are you talking about? Post a VI that demonstrates the code that you have written so far. -
Workflow not getting triggered from MM01
Hi,
I understand there is a similar post but the solution is not so clear there.
I wish to trigger a workflow whenever a material is created using tcode MM01.
For which i am using BUS1001. (In the header data > start events tab > BO/BUS1001/CREATED binding exists and activated)
whenever i am creating a material using MM01, and check the trace in SWEL i am getting the following info:
BUS1001006 VIEWCREATED 25.03.2011 13:00:12 @AI@ No receiver entered
BUS1001006 CREATED 25.03.2011 13:00:12 WS99900237 @5B@ SWW_WI_CREATE_VIA_EVENT_IBF
Can someone please help where to enter the receiver.
regards
abhishekHi sanju,
I have created the event as per your suggestions but the workflow is not yet triggered from mm01.
the event stack trace is as follows :-
BUS1001 CREATED 28.03.2011 08:28:42 WS99900237 @5B@ SWW_WI_CREATE_VIA_EVENT
BUS1001006 VIEWCREATED 28.03.2011 08:33:03 WS99900237 @5B@ SWW_WI_CREATE_VIA_EVENT_IBF
BUS1001006 CREATED 28.03.2011 08:33:03 WS99900237 @5B@ SWW_WI_CREATE_VIA_EVENT
BUS1001 CREATED 28.03.2011 08:33:03 WS99900237 @5B@ SWW_WI_CREATE_VIA_EVENT
Linkage is activated in SWE2 and the receiver FM is SWW_WI_CREATE_VIA_EVENT.
still unable to get the workflow triggered.
Secondly as per SAP suggestion the BO BUS1001006 should be used for std material master. But while i enter BUS1001006 no such methods are available in F4. (refer atttachment)
I have checked in the BOR and i see that BUS1001006 is released and active. -
Event Triggers not getting executed
I'm having following code in beforeData(PLSQL) event trigger:
ADCPackageName.MethodName
There is no such package in database, even my report works fine and publish data without any error.
Is there any configuration for enabling event triggers.
I didn't sufficient documents on event triggers. I want to use them for returning some values to report variables and validating input parameters.Hi,
I tried to use "SAP_WAPI_CREATE_EVENT" also but it is also behaving in the same manner.
At first execution event is getting triggered but my workitem is not getting terminated.
But when i am executing the same report second time, again my event is getting triggered, and this time my workitem got terminated, and workflow proceeded furthur.
I checked it from SWEL, i have two entries for my event (i.e; first and second execution of report).
Any idea why it is behaving like this.
Please find below code for reference, apart from below code i have only declarations.
call function 'SWC_ELEMENT_SET'
EXPORTING
element = 'ActualState'
field = 'A'
TABLES
container = it_cont
EXCEPTIONS
type_conflict = 1
others = 2.
CALL FUNCTION 'SWE_EVENT_CREATE'
EXPORTING
OBJTYPE = 'WORKINGWI'
OBJKEY = '000000003061'
EVENT = 'Approve'
IMPORTING
EVENT_ID = it_event_id
RECEIVER_COUNT =
TABLES
EVENT_CONTAINER = it_cont
EXCEPTIONS
OBJTYPE_NOT_FOUND = 1
OTHERS = 2
COMMIT WORK.
Regards,
Amar -
Binding to Odata Service with Input Parameters from HANA
Hello,
I'm developing a UI5 application that consumes a SAP HANA OData service to search a database (using fuzzy search). This service receives an Input Parameter, used to query the database.
So every time the user searches for something I build a new binding path and refresh the model to show the search results in the sap.m.List.
The Model:
var hanaModel = new sap.ui.model.odata.ODataModel("…/services/seed.xsodata");
this.setModel(hanaModel);
The search event handler from sap.m.SearchField:
var listBinding = this.getView().byId("list").getBinding("items");
listBinding.sPath = "/FoodstuffByNameValuesParameters(P_NAME='" + searchString + "')/Results";
this.getView().getModel().refresh();
My question is if this is the correct approach to create the model and bind the list when we have a service with an Input Parameter, or if there is a better way to do it.
(This approach is actually working).
Regards,
Pauloi would do
var filter = [];
var selectFilter = new sap.ui.model.Filter("name", sap.ui.model.FilterOperator.Contains, sVal);
filter.push(selectFilter);
listBinding .filter(filter); -
Work flow to be triggered from portal but not from PA30 Transaction
Hi,
We have copied a standard workflow to enhance it and attached standart event to that workflow in SWETYPV t-code.
Now the work flow is triggered from both PA30 and portal whenever changes are made.But we want it to be triggered from portal alone.
Can anyone suggest how can i restrict work flow start event to be triggered from portal alone.
Thanks in advance.
Martina.My suggestion is instead of starting the workflow by using EVENT it is better to start by using SAP_WAPI_START_WORKFLOW
As you are saying that you need to trigger the workflow only from the protal. Now in the portal you might be using a WebdDynpro Application or a BSP application, so in that application after filling all the details you might be having a button like Save or Submit or Create so under this final button you call the FM SAP_WAPI_START_WORKFLOW in the action handler.
And more over even by using this FM you can even pass the values from WD Application to workflow by using the tables Parameter Simple_container.
And one more thing is if you start a workflow by using a event then when ever the event is occured then the workflow gets triggered.
or make use of Start Condition in the basic data of the workflow. -
Chapter 6 Event-triggered campaigns
From William...
Chapter 6 Event-triggered campaigns is an exercise in the CCMO training where we send an email to Recipients who recently converted from Prospects to Clients, detected by a change in their status.
Possibly the simplest way of accomplishing this is with the Incremental Query activity. However, to prevent pulling Recipients who are Clients already at the start of the campaign, the Incremental Query needs to be run twice, the first time to set the history.
According to the documentation
https://support.neolane.net/doc/AC6.1/en/WKF_Repository_of_activities_Targeting_activities .html#Incremental_query
"The population already targeted is stored in the memory by workflow instance and by activity... two tasks [executions of a workflow step] based on the same Incremental Query for the same workflow instance will use the same log."
In other words, two runs of an Incremental Query activity in a workflow share the same history log. For the first run of the Incremental Query activity, uncheck the 'Plan execution' option and transition into an End activity. This will set the history log to current Clients. For the 2nd run of the Incremental Query activity, check the 'Plan execution' option and transition into the Delivery.
The 2nd (and subsequent) runs of the Incremental Query activity will pick up only new conversions from Prospect to Client.Hi Oguz,
If you're trying to communicate between two loops, triggering the second from the first, then you should look at producer consumer type structures in File»New... under From Template.
Stephen Meserve
National Instruments -
Multiple Events & Triggering of Workflow
Dear All,
I have a requirement in which -
1) A workflow should trigger on two events i.e. 2 different tcodes, it is possible for a single workflow triggering from 2 events ?? if yes, kindly explain.
2) The workflow should trigger on a particular date given in the tcode, like order completion date i.e. i should program the workflow for advance. How ??
3) There is a requirement of sending mails to the respective persons in the organisation, these email-ids are stored in a z-table, how to achieve this ?
Any assistance provided to clarify the above issues will be really grateful.
Thanks,
Saurabh Chauhan.Hello,
1.You can trigger a workflow from two different events. In the triggering events tab of the workflow template, just specify the other triggering event as a new entry in the second line. Take care of the binding. If the events are from two different business objects, then you need to create two different workflow containers and bind them accordingly in the Event - > Workflow binding.
2.In workflow you have conept called the start condition. If the condition is satisfied, then only the workflow will advance. What you have to do is in the business object that you use in designing the workflow, create an attribute which retrieves the date. In the screen of workflow builder, go to the basic data(ctrl+F8)...instance independent and the tab ....start events....select the event for which the condition is to be designed...click on the box beside the binding. it will show you the condition creator...compare the attribute that you have created with the required value.
3.You can get the values in two ways...one to create an attribute and get the values from the ZTABLE, then use the same in the SENDMAIL step of the workflow. The second one would be create a mehod in which the coding to get the users from the table is executed and the list of users are exported from the method to the workflow template. You have the facility to create an element fo multiline. Use it.
Hope this will help.
Regards,
Sam -
Data Change event triggering Process hangs in Process chain
HI Folks,
In a daily running Process chain we have a Data Change event triggering Process , to trigger broadcasting settings
This process is running for a long time , with no progress
in SM50 , there are 2 process
Process 1 : RSRD_BROADCAST_STARTER Status : OnHold Reason : SLEEP
Process 2 : SAPLRSRD_X_RUNTIME Status : OnHold Reason : RFC
I tried to change the Parallel Processing setting as Number of Processes = 1
But still the process is hanging.
Any inputs will be a great help.
Thanks
Sonal......
P.S : SAP_BW 700 0022 SAPKW70022 SAP NetWeaver BI 7.0 and EP 6.0
Edited by: Sonal Patel on Feb 2, 2010 1:47 PMHi sonal,
I would suggest you to uninstall all the components and start all new again, n please make sure you have the following order :-
1) install GUI 710 along with BEx 7.0 and 3.x complete.
2) install BW AddOn (bw350gui710_8-10004473.exe latest one from Service market Place).
3) Install BI AddOn (bi710sp11_1100-10004472.exe latest one from Service market Place).
4) Install SAP precalc server (xPreCalServer10_1-10004472.exe, latest one from Service market Place).
In service market place you can get the components from Downloads ->Support Packages and Patches -> Entry by Application Group -> "SAP Frontend Components"
Also, plz make sure that you restart your Server OS after each and every installation.
This would solve your problem.
Rgds,
Sreekul Nair
Maybe you are looking for
-
Is there a way to force the tab order to skip a page and then return to that page on a form?
I have a multi-page form with a required page layout. The problem with the current form layout, is that I'm finding my users are getting to page "20" and it seems like the natural end of the form...and stop entering information and submit. The prob
-
AdvancedDataGrid compatability with LiveCycle Data Services
Hi, I have a J2EE project which I have integrated with Flex3, using the setup provided by your samples.jar in the LiveCycle data services download - e.g. copied the data from web.xml, flex-config.xml etc. Every thing works fine until I put an Advance
-
How to display the variables in the specified manner?
We need to display some variables in an array in the horizontal order with backslash between the variables using a For loop in XML For Example Variable 1 / Variable 2 / Variable 3 Could someone provide valuable suggestions on the same. Regards, Sudee
-
Need to create alv report to show pan card number.
Hi, I need to create alv report to show employee and vendor name , number , Pan card number .This is for hr module. could any one tell me table and fields for this and how I can relate them with foriegn and primary key. Regards, Moderator Message:
-
Opening HTML window from LabVIEW
Please,help. How can I open HTML window from LabVIEW?