Need FM to trigger event
Hi all.
I have the event Z_LOAD_WMI_DATA. Can any body let me know how to trigger this event or the FM which can trigger this event.
Thanks in advance
Thanks & Regards,
samiulla.
Hi Thomas,
From the FM..
IMPORTANT *
This function module is obsolete *
Please do not use it *
This function module is planned to be deleted *
Substitution: *
CALL METHOD cl_batch_event=>raise *
Similar Messages
-
No "before new record saved" trigger event in workflow definition ?
Hello,
I have following problem: I have to make a simple integration, where products have information about available quantity of given product . Assume we have field - it is called "Available amount" and it tells how many products are on stock. Now suppose we have created an opportunity, and we want to add Opportunity Product Revenue - we're selecting product and then quantity. I want to make OCOD to display message and prevent from adding opportunity product revenue, when its quantity is greater than "Available amount" field which is present in associated product record. I've created small C# application and used workflows to create Integration events. It works - but not exaclty how I want it - when I add a new record the workflow generates integration event - but I'd like to generate integration event before a record is created, also I'd like to show a notification from OCOD. But for "revenue" we do not have a trigger event called for example : "before new record saved" - we have only "when new record saved" and "before modified record saved".Hi,
From your requirement, it seems you, want some kind of check. Did you try puting this validation on field level, i guess you would need to join fields and compare in field validation. So, whenever user creates a new record this validation kicks and user is notified of the error. -
Reg: mail need to be trigger for salary change
Hi gurus,
I have one requirement.
If any one does the changes in salary I mean in infotype 0008 then one mail need to be trigger.
Can any one tell me the procedure how to do this requirement?
Regards
RameshHI Soumya,
Thank you very much .
I have found one BOR for this workflow
BOR name : BSAICPAY
if any changes happen in infotype 0008 then changes event will tiger in this bor.
I completed this requirement trough simple workflow
Thank you all
Thank you for your support
Regards
RameshG -
Trigger events when delete/modify certain folder in KM
Dear Experts,
I have a requirement like when certain folder is being deleted/modified I want an event need to be trigger, such that I will put some checks before these commands performed.
Basically my requirement is, I have a custom iViews created and are using custom tables in databse. When I create the folders in KM, I am creating/maintaining these folder reference in my custom tablese using my custom iView.
Now when I delete the folder from KM, I want to show some warning message before deleting the folder and simulatenously these folder references should also be deleted from my custom tables.
Please give me suggestions how to acheive the above scenario.
Thanks in Advance,
Chinna.Hi Yogalakshmi,
I have created a Repository service using the document provided. I have registered the pre_delete_template event using the below code
unregister(this,ResourceEvent.PRE_DELETE_TEMPLATE);
I am printing some trace when this event occurs. Logs is being displayed after the folder gets deleted.
Can you please provide me some code snippet for register predelete event, and on attempting to delete I would like to pop up a window with warning/confirmation message (confirmation popup window). Based on the confirmation from the popup window -- Ok/Cancel, I would like to perform few operations.
I don't find any documents on Repository Services.
Could you please provide me code/documents that fulfills my requirement.
Thanks
Chinna. -
on the bootsplash webpage it says to
trigger events during bootup
we suggest that you add a function to your init scripts that is called every time an init script is started. This can either be done in the runlevel scripts themselves or by the script/program scheduling it (i.e. /etc/init.d/rc)
function rc_splash()
test "$SPLASH" != "no" && test "$_rc_splash" -eq 1 && /sbin/splash "$1"
progress=$(( $progress + 1 ))
when adding the rc_splash call to your runlevel script scheduler, do it
about like this:
for i in $runrc/S${rex}*; do
# send information to bootsplash handler.
rc_splash "$i start"
done
but where is the archs program scheduling file., as i dont seem to see a /etc/init.d/rc, im tying to get the Default Linux theme at bootsplashes webpage to work.. i got everything to work except silent mode to display the silent Jpeg and gradient bar
thanks
-boleroI have now gotten the progress bar to work. After trying a couple different approaches, this is my best shot. In /etc/rc.d/functions I extended stat_busy(), stat_done() and stat_fail() to look like this:
stat_busy() {
echo -ne "$C_OTHER$PREFIX_REG $C_MAIN$1$C_CLEAR "
deltext
echo -ne " $C_OTHER[${C_BUSY}BUSY$C_OTHER]$C_CLEAR "
[ "$BOOTSPLASH_PROGRESS" -a "$BOOTSPLASH_DELTA" ] &&
BOOTSPLASH_PROGRESS=$(($BOOTSPLASH_PROGRESS+$BOOTSPLASH_DELTA))
stat_done() {
deltext
echo -e " $C_OTHER[${C_DONE}DONE$C_OTHER]$C_CLEAR "
[ "$BOOTSPLASH_PROGRESS" -a -w /proc/splash ] &&
echo "show $BOOTSPLASH_PROGRESS" > /proc/splash
stat_fail() {
deltext
echo -e " $C_OTHER[${C_FAIL}FAIL$C_OTHER]$C_CLEAR "
[ "$BOOTSPLASH_PROGRESS" -a -w /proc/splash ] &&
echo "show $BOOTSPLASH_PROGRESS" > /proc/splash
The idea is that $BOOTSPLASH_PROGRESS holds the current value of the progress bar (which is in the range 0 - 65535) and $BOOTSPLASH_DELTA is the amount to increase the progress counter with on each stat_busy. These values are initialized in rc.sysinit like this:
[ "$BOOTSPLASH_SYSINIT" ] ||
BOOTSPLASH_SYSINIT=`grep -c -e stat_busy -e status /etc/rc.sysinit`
[ "$BOOTSPLASH_LOCAL" ] ||
BOOTSPLASH_LOCAL=`grep -c -e stat_busy -e status /etc/rc.local`
BOOTSPLASH_DAEMONS=`echo ${DAEMONS[@]} | sed 's/![^ ]*//g' | wc -w`
BOOTSPLASH_ALL=$(($BOOTSPLASH_SYSINIT+$BOOTSPLASH_LOCAL+$BOOTSPLASH_DAEMONS))
BOOTSPLASH_DELTA=$((65535/$BOOTSPLASH_ALL))
BOOTSPLASH_PROGRESS=$((65535-$BOOTSPLASH_ALL*$BOOTSPLASH_DELTA))
I put this right before the point where local file systems are mounted, because the progress bar can't be updated before /proc is accessible. Another option is to initialize these variables in the beginning of rc.sysinit to make earlier stat_busy calls get counted, but the updates won't be visible before /proc is mounted anyway.
Because there is no way to export these variables from rc.sysinit to init's environment, rc.multi has to calculate them from scratch. Also the loop that starts daemons has to increase the counter because the daemon scripts can't export the new values. My full rc.multi script looks like this:
. /etc/rc.conf
. /etc/rc.d/functions
[ "$BOOTSPLASH_SYSINIT" ] ||
BOOTSPLASH_SYSINIT=`grep -c -e stat_busy -e status /etc/rc.sysinit`
[ "$BOOTSPLASH_LOCAL" ] ||
BOOTSPLASH_LOCAL=`grep -c -e stat_busy -e status /etc/rc.local`
BOOTSPLASH_DAEMONS=`echo ${DAEMONS[@]} | sed 's/![^ ]*//g' | wc -w`
BOOTSPLASH_DELTA=$((65535/($BOOTSPLASH_SYSINIT+$BOOTSPLASH_LOCAL+$BOOTSPLASH_DAEMONS)))
BOOTSPLASH_PROGRESS=$((65535-($BOOTSPLASH_LOCAL+$BOOTSPLASH_DAEMONS)*$BOOTSPLASH_DELTA))
export BOOTSPLASH_PROGRESS BOOTSPLASH_DELTA
# Start daemons
for daemon in "${DAEMONS[@]}"; do
if [[ `echo $daemon | grep '^[^!]' | wc -l` -eq 1 ]]; then
/etc/rc.d/$daemon start
BOOTSPLASH_PROGRESS=$(($BOOTSPLASH_PROGRESS+$BOOTSPLASH_DELTA))
fi
done
if [ -x /etc/rc.local ]; then
/etc/rc.local
fi
Like I mentioned in my previous post, it's hard to know how many steps the bar is going to need. Especially rc.sysinit is full of conditional stat_busy statements. Therefor I made it possible to specify $BOOTSPLASH_SYSINIT (number of steps in rc.sysinit) in rc.conf. With the current rc.sysinit script this value is calculated as 19, but on my system rc.sysinit only executes 8 of the steps after the point where /proc is mounted.
The code presented here doesn't display text for the different stat_busy calls. I kind of had that working as well, but the texts were written on top of each other (old text wasn't erased) and you had to source the bootsplash-theme to get the text's font and position - it wasn't pretty.
I hope somebody finds this useful, and I might make a bootsplash package that includes the splash utils, an Arch theme and patches for the init scripts.
-bogomipz -
Hi all,
I need to implement a workflow to document management. When the employee complete a document, like a contract or some what, it set the status of document to 'Z1' and then trigger the workflow to several managers to approve the document. During the steps of approval, the managers may change the status too, in this situation, I don't want the workflow to be triggered again. So can I restrict the trigger event by some conditions? Only the 'DOCUMENT_CHANGED' event triggered and document status is 'Z1', trigger the workflow, other status, not trigger.
Of course, I can add an condition step to be the first step of workflow to filt the ones whose status is other than 'Z1'. But this will lead to so many waste workflows.Hi,
Go to transaction SWETYPV, then find your event and workflow. double click on that. You will see the field to put in check function module. You can create a function module with a code to filter only status Z1.
Cheers,
Chaiphon -
To trigger event or action on "TAB" key press on web dynpro view
Hi, I need to trigger event on "TAB" key press on web dynpro view , is it possible?How?
Hi Dipak
What Madhu said is correct. Tab key is pre-configured to move cursor from 1 field to next field. we can not create an event on tab key press.
Regards
Gaurav -
Roadmapstep element "RoundtripEnd" type unable to trigger events
Hi All,
I have added a roadmapstep ui element under a roadmap ui element.I have made the type property as "roundtripend" and also enabled property as "true".But when I run the application the particular roadmapstep is showing as disabled and i am unable to trigger event by clicking it(it is showing as disabled and unclickable).Do i need to do any type of coding here.
Any help greatly appreciated.ThanksHi,
Steps to create Roadmap.
1>Insert a child->select Roadmap
Properties:
StartPointDesign->selected
2>Under that Insert RoadmapStep.
Proeprties:
Description:Give the name as u like:Ex:View1
Design:Selected
Runtime Design:create one attribute(setCtx_Rdmap) in the view context and set the type as:
com.sap.ide.webdynpro.uielementdefinitions.RoadMapStepDesign
wdContext.currentContextElement().setCtx_Rdmap(WDRoadMapStepDesign.SELECTED);
In the code u can select the roadmap by using this code
Regards,
LG -
Triggers into a video playline for to trigger events in overall timeline.
How could I trigger events in my animations caused by a point in a video play?
For example, I want to show an image in the 02:30 minute.
Sorry for the language misuse, I speak Spanish.You need to read up about "Track Targeting"
Basically - Select the tracks in the Track Headers. Click on them. -
Help needed in finding appropriate event in code
Hi,
I am designing an online examination system where the students can login into the system anytime between a 'start time' and an 'end time'. The problem that I have is once the 'end time' has lapsed, I need to fire an event to make a state change to indicate that the time has run out for those students who are still solving the questions.
What event should be fired for this? As the state change code does not depend upon any event that the user performs.
Thanks.Use Flex Timer.
http://blog.flexexamples.com/2008/02/20/creating-timers-using-the-timer-class/
http://livedocs.adobe.com/flex/3/langref/flash/utils/Timer.html -
Can i write information in file on trigger event.
Dear Experts,
I want ot store information in file on particular Trigger event.
Is it possible? if yes then how?We can write to files using the UTL_FILE PL/SQL package. Please read the documentation on this: the security model in particular seems to trip up many newcomers.
Cheers, APC -
Trigger events are notvalidated the lov form personalization or custom.pll
Hi all,
The trigger events are not validated the LOV in forms personalization or custom.pll
any one help me
Regards,
M.Soundrapandian
Edited by: user588510 on Dec 15, 2008 9:27 PMi have checked with the new item instance and now i have given
In the message text when i have given this query it is displaying me with blank message box when there are no records which i dont want.and also saving it when i click ok .where should i modify my query so it displays message only when there are more than 3 records but should not save
trigger event : when new item instance
trigger object :repairs.lot_number
condition : :SR.ACCOUNT_NUMBER IS NOT NULL
AND :REPAIRS.SERIAL_NUMBER IS NOT NULL
Message text :
=SELECT 'There are a total of '||COUNT (*)||' Previously Repaired Records' "A" FROM CSD_REPAIRS CR, CS_INCIDENTS_ALL_B CS, CSD_PRODUCT_TRANSACTIONS CP
WHERE (
SELECT COUNT(*)
FROM CSD_REPAIRS CR, CS_INCIDENTS_ALL_B CS, CSD_PRODUCT_TRANSACTIONS CP
WHERE CR.REPAIR_LINE_ID = CP.REPAIR_LINE_ID
AND CR.INCIDENT_ID = CS.INCIDENT_ID
AND CS.ACCOUNT_ID = :SR.ACCOUNT_NUMBER
AND CP.prod_txn_status = 'RECEIVED'
AND CR.STATUS = 'Closed'
AND CP.SOURCE_SERIAL_NUMBER = :REPAIRS.SERIAL_NUMBER)>=3
Edited by: user10755387 on Aug 5, 2009 11:31 PM -
Tracking trigger event.
Hello,
Now, I am debugging on my trigger event. So I want to know is there a way to tracking trigger event on log file or table?
a sample of my trigger as follow
create or replace trigger insertInvoicetrigger
after insert on invoice
for each row
begin
update customers set COM_BALANCE = COM_BALANCE + :new.INVOICE_TOTAL where tid = :new.com_id;
end;
/Thank you!You can create a procedure with AUTONOMOUS_TRANSACTION pragma and do your logging in to table in that and commit. AUTONOMOUS_TRANSACTION pragma ? what is that? I am no knowledge about this, please give me some more information....
set serveroutput on
then
dbms_output.put_line
this should be the easiest way to debugging for me, but can it be works on my programming application (visual basic 6)?
I means run and fire trigger(s) from my app, then show it command prompt or somewhere else?
Thanks
;) -
Need help for double_click event
Hi,
I need to add modify_cell event using ALV Grid on the double_click event.
I am displaying LED light symbol to the output. I need to change the cell value that mean LED display from red to green on double click event. I am able to get the modify cell for data_changed, but I need same event on the double_click...
Any help in this regard will be great helpful to me...
Thanks in advance.
regards,
Brijesh PatelHi Brijesh,
in the double click event method implementation write the following code
update the internal table with change of LED to the desired output for ALV and
CALL METHOD grefa_alv->refresh_table_display
hope you find this helpful
regards,
kinshuk -
Need script to handle event on button.
Hi All,
I need to handle some event on Button click.
My requirement is quite simple. There is a DropDown List in PDF and a button.
Depending the value selected by the user in DropDownList i want to display relevent blocks(Subforms) in PDF on Button Click. All the Blocks are made hidden initially.
i.e User will select a value from Drop Down and click on 'Display' Button then
I want to make Any peticular Subform Visible.
I am unable to write scripting for it. Can anybody please help.
Thanks and Regards,
Atul.Hi,
your adobe form must be dynamic for this functionality.
Do you have Acrobat Reader 7.0 or later?
Does it work in PDF Preview? If not, go to menu Edit -> Form Properties in LiveCycle Designer, tab Defaults. Preview Type must be Interactive Form, XDP Preview Format must be Acrobat 7.x Dynamic PDF.
Does it work in PDF Preview now? If not your script is wrong.
If you use Java WebDynpro, you must insert following code in wdDoModifyView:
if(firstTime) {
IWDInteractiveForm iForm = (IWDInteractiveForm)view.getElement("YOUR FORM");
iForm.setDynamicPDF(true);
If you use ABAP and you create pdf by function module, you must set dynamic = 'X' in structere for exporting parameter /1BCDWB/DOCPARAMS .
Michal
Maybe you are looking for
-
ICloud on iPhone 4s ID question
If I log into iCloud from my iPhone using my wife's ID, if I go to Setting>iCloud> Delete account, Does it delete that entire account or does it just delete it from MY Phone? If I delete that account can I login in another time with that same ID and
-
Error while trying to setup a standby database.
While tring to setup a standby database (with version 8.1.7.0.0) i am running the command: recover managed standby database timeout 20; Here is the errors i'm getting: ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below ORA
-
Planning File Entry has Reset Procurement Proposal field marked
Dear Sir, We are facing a problem that in the Planning File Entry , the Material has "Reset Procurement Proposal " field marked as "X" automatically . We desire that this fileld should be blank as a default . Kindly help us on this issue pl . Rgds
-
Page numbering property changes not saved
When I change default values for the Page Numbering property to include main section only, my values are not maintained if I close the report (after saving it of course !...). Then, if I launch my report via a report server, the total pages number is
-
Version Change in report writer report
HI Guru',s I want change Version for Report Group how to change it... excisting version is 000002 want to change it for 000001 in tables T803VP and T803V regards JK