Applying javascript between process

Hi all,
I have created a button by selecting position "Create a Button Displayed among this region's items" and named it as "Send Email".
I have created an on submit process which binds to this button.How can i first ask a javascript confirmation message from user and then run this process as per the response(Y or N).Can someone help me in this regards.
Regards,
Neha

hi,
try this
in button url target
javascript:doMySubmit('DELETE');
in page header
function doMySubmit(act)
if(act == "DELETE") confirmDelete(htmldb_delete_message,'DELETE');
<script language="JavaScript" type="text/javascript">
<!--
htmldb_delete_message='"DELETE_CONFIRM_MSG"';
//-->
</script>
Note: change according to your need
Thanks
Mark Wyatt
Edited by: Websoft on Sep 24, 2009 3:01 AM
Edited by: Websoft on Sep 24, 2009 3:02 AM

Similar Messages

  • How to keep waiting time between processed messages !!

    Hi Folks,
    I have got one scenario required waiting time between processed messages. The problem as follows !!
    File --> Proxy scenario. I receive 15 messages from sender side (same messages structure) so working with one interfaces. File picking and transforming this message and split into 2 messages. messages are receiving to receiver. I am using BPM with 7,8 steps like receiving step, block , message transformation step , internal block 1 for sender 1, internal block 2 for sender 2.
    All things are working fine, messages are going to receiver properly. But customer requirement is , wait step required between processed messages before sender1. I have put wait step still, PI picks all messages in one shot processing and waiting for 2 minutes, after 2 minutes sending all messages at the same time, this process is not working.
    I have tried with wait step in mapping (Sarvesh) given excellent idea, still PI works the same way.
    Can someone please explain a bit why the messages or not waiting message by message. I am using EOIO with Queue name and file process mode "BY NAME" and I have tried "BY TIME" as well. I have given priority to this Queue. On BPM Queue assignment : One Queue.
    Please I am expecting positive answer !!
    Many Thanks in Advance
    San

    Hi Rudolf Yaskorski ,
    Not sure about your PI release and BPM model, do you create separate process instance for each file, or do you process files collecting them in one single instance? Are you using parallelization within your ccBPM ?
    I am using serialization, I don't think bpm can do Parallization until PI 7.0, but PI 7.11 has got has queue assignment. But I am using one queue. This must be serialization.
    To me it looks like your issue is not in ccBPM but rather more in polling files (as per your post file CC polls all 15 files in one shot). So if you wish to poll the files not at the same time some workaround is required. Possible options you could check out:
    A. Either implement "wait" in your mapping based on file name or other criteria (e.g. directory name). Check out if respective BPM instances are really created at different times.
    I have used wait step in mapping. These 15 messages has to go through one interface. So I am using one interface. But I have checked mapping process time in all messages on receiver system. Shows same timing, even though I put 40000 ms waiting time in mapping.
    B. Try polling different files (or use different directories) with different channels and coordinate starting / stopping of your channels by scheduling availability for each CC in RWB. E.g. you poll file 1 with CC 1. You start 2 minutes later CC 2 and poll file 2. And so on.
    I am not clear about this . On BPM waiting step is working and it keeps wait all messages, which are coming through one interface. Then it releases all messages at the same time.
    I don't know how to resolve this. I have tried with Transport acknowledgment, but all messages are going to reciver system waiting at receiver system in priority queue and processing in EOIO, but taking so long. Rather all messages go and sits in queue, I want to stop messages by message with 2 minutes time gap. How please?
    Kind Regards
    San

  • How to apply transitions between clips in the same track?

    Hey guys,
    I'm in Uni on Final Cut Pro 5 and all the videos and discussions tell of how to apply transitions between clips in the same track.
    I like to have my clips on different tracks so that I can overlap them at specific points but I don't know how to do this?
    If I have track one. . .which ends. . .and have track 2 beginning below that (and have it overlapped for a few seconds) I don't know how to enable the transition at the point where track 2 begins.
    Can anyone help?

    Yep I understand that.
    Let's say I overlap track 2 as I don't like the beginning of it. . .so I want the transition from the end of track one to track two to occur in the middle of track 2 - should I just trim the track to the point I want the transition to occur as opposed to have it overlapping?

  • Differemce between  PROCESS ORDER,PLANNED ORDER AND PURCHASE ORDER??

    what is th edifference between PROCESS ORDER,PLANNED ORDER AND PURCHASE ORDER ??? can any one explain with some examples?
    n.bhardwaj
    [email protected]

    Process Order:
    Process order / Production order are activities within a business, where the production planning team team creates to absorb costs / evaluate costs / and check against planned figures. There would integration between MM/FI/PP to create such orders and process.
    Planned Order:
    A request created in the planning run for a plant to trigger the procurement of a plant material for a certain quantity for a specific date.
    Purchase Order:
    A request or instruction from a purchasing organization to a vendor (external supplier) or a plant to deliver a quantity of material or to perform services at a certain point in time.
    Regards
    AK

  • Windows: Passing Sockets Between Processes?

    I've done a bit of looking around, and for the most part, it seems to be impossible to pass sockets between separate windows processes -- since a socket only exists inside one process, and it's not serializable, etc. Apparently, *nix operating systems will store a socket in file descriptors after a process exits, so it's possible to transfer sockets, but not on a Windows OS.
    So, I just want to ask: am I missing anything? Is there some way to:
    a) transfer sockets between processes (at least within a local network) or
    b) dynamically reload the bytecode of a process, without dropping sockets? IE, some sort of "server copyover-reboot" is what I'm going for.
    So, is it possible, or does Windows just fall behind on this one?

    Understood... but, exactly how in the heck would one go about passing sockets from the parent process? I tried it out a bit, and System.inheritedChannel() always seems to be returning null in the child process, even though the parent waits to close its sockets until after the child has started and invoked the method.
    Edit:
    Runtime.getRuntime().exec(new String[]{"cmd", "/c", "start", "java", "ServerMain","reboot"});
    Would this be causing in issue? This is my execution of the new process, and it first invokes cmd /c start so that it opens in a new cmd window. Would it be sending its channels to that process, and complicating the process of ServerMain's new process inheriting the channels?
    Edit again:
    I'm starting to assume that my Runtime.exec is closing the file descriptors, so it's generally impossible to pass them to the subprocess. The current System.inheritedChannel() seems as if it was made to work with inetd, and not much else.
    Message was edited by:
    cmc5788

  • How the invocation between process and sub-process work?

    As I have read throught some posts here and know that the web service whicn is used to trigger the process is asynchronous.
    so is the invocation between process and its sub-process asynchronous using web service?
    supposed there is a process like below:
    Start Event -
    >Sub-Process ->Automated Task-->EndEvent
    I have some confused questions:
    1: is it asyn to invoke the subprocess?
    2: if the invocation is asyn, is the next "Automated Task" triggerred before the completion of the nested subprocess? It seems to be, but it is not so reasonable.
    3: if the invocation is asyn, how the process get the return value of the nested subprocess?

    Hi John,
    the invocation of sub-processes is done via an internal runtime mechanism and not via normal Web Service call.
    The sub-process call is synchronous, so the calling process is waiting for the reply from the sub-process. There are a few things to keep in mind when using sub-processes:
    If you are branching off parallel execution paths (via a split gateway) within the sub-process and are using a regular end event, only the first token arriving at the end event will return to the calling process. The sub-process will keep running until either the last of its tokens flows into the end event or until the calling process is being terminated. In any case, the calling process will not react to any more tokens arriving at the sub-processes end event.
    If you are using parallelism within the sub-process, but want it to terminate once the first token arrives the end, use a terminating end event in the sub-process.
    Don't use the correlation condition at the start event of a sub-process. If this condition evaluates to 'false', the sub-process will never be started, but the calling process will wait forever for a reply.
    If you want the sub-process call to behave asynchronously, you can model the sub-process to split off a token to the execution path where it does the actual work and have another straight path directly from the split gateway to the (non-terminating) end event. That way the calling process will continue right away, but of course you cannot expect any response coming out of the sub-process.
    Best regards,
    Oliver

  • Need help to find out link between process order and purchase order.

    Hi All,
    Need help to find out link between process order and purchase order.
    We have purchase order, we can find out associated process order in MD09 (No Purchase Requisition found in Purchase order). When I tired to replicate this scenario with same material in system but not able to do.
    Please suggest me what needs to check to get purchase order link to process order.. (this is not subcontracting )
    Edited by: SAP PQ on Sep 26, 2011 5:24 PM
    Thanks,
    SAP PQ
    Edited by: SAP PQ on Sep 26, 2011 5:24 PM

    MD09 is pegging. In SAP pegging is dynamic, meaning that there's no fixed link between purchase order and process order in your case.
    This is why you did not get the same result when you tried again later.
    Such a link can exist only if you do direct procurement for the order.

  • Difference between process order and Production order

    Hi Experts,
    Can any buddy tell me the difference between process order and production order. Why process order is used for process industries. Why do we use recipe for it and routing for production order ?
    Regards,
    Amit

    Hi Amit
    There is a difference between production order and process order.
    Supposing a 10,000 lit tank is being manufactured in discrete manufacturing. You have to follow the necessary routing steps and can make by physically seeing its development stage by stage. For this type production you can have a production order.
    In case of process of order if some chemical in a reactor is loaded with intial temp of 30 C and need to be heated to 80 C then there is phase change. Hence we use Heating as an operation and the change of temp is phase. For such type of process we process order.
    Hope this is useful. Pl reward.
    Nanduri

  • Differrence Between Process Order & Production Order

    What is differrence between Process Order & Production order apart from that process order is used in process industry & other one in discrete mfg ??

    Hi
    there isn't really any difference. The main difference is in master data: Routing vs. Recipe.
    as you have mentioned, prodn. orders are used for discrete, repetitive & virtual mfg scenarios whereas process orders are used for process industries (chemicals, pharmaceuticals etc.,) where the prodn. is non-stop.
    You can use production order or process order for the same scenario even when you are in a process industry. It is your decision to use either one, but you have to know that process order is more appropriate when you have more machine integrations and interfaces. Process order, as well, requires more master data than production order since you are clubbing both BOM & Routing in the master recipe.
    also Process Order can handle batch management and joint production scenario in a better way in comparison to the production order. Also in process order you can maintain the inprocess instructions and special control paramters for production via the process instruction key and control recipe which is not there in a prodcution order.
    hope it helps
    regards
    Srinivas

  • Latency apply for Streams Process APPLY_STREAM exceeds the thresholds set

    Hi,
    Apply process is working, but it shows error in enterprise manager that *"Latency apply for Streams Process APPLY_STREAM exceeds the thresholds set"*
    i have changed parallelism to 5 and commit_serialization to FULL. but still error remains.
    how to resolve the error?
    can any tell me what is the problem in apply process. am i need to change the parameter.
    urgent!!!!!!
    please

    You can tune your apply server by tracing on the apply process. To do this: identify the PID (Process ID)
    APPLY SERVER:
    select SID from V$STREAMS_APPLY_SERVER;
    With above SIDs, query V$PROCESS to get the PIDs:
    select a.pid, b.sid
    from v$process a, v$session b
    where a.addr=b.paddr and b.sid in(the list of sids from above);
    With the PIDs found:
    $ sqlplus /nolog
    connect / as sysdba
    oradebug setorapid <PID>
    oradebug unlimit
    oradebug Event 10046 trace name context forever, level 12
    wait for 10-15 mins
    oradebug tracefile_name -- gives pathname / filename to file being written to
    oradebug Event 10046 trace name context off
    run TKPROF on trace file
    you may have to add some indexes on your tables . If possible, each table for which changes are applied by an apply process should have a primary key.
    read more in
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14228/gen_rep.htm
    Section Substitute Key Columns
    Edited by: user596799 on Apr 17, 2011 8:24 AM

  • HT201272 Hi, i am facing problem when i try to copy an App from itunes to my iphone 3GS.... when i try to apply changes the process bar complete but apps not copied in my iphone.. plz help

    Hi, i am facing problem when i try to copy an App from itunes to my iphone 3GS.... when i try to apply changes the process bar complete but apps not copied in my iphone.. plz help

    Will the app run on iPhone3GS. Some of the newer apps require IOS 5 or later. This info should be displayed witht the app in itunes store

  • Difference between Process integration scenario and configuration scenario.

    Hi,
    Please tell me what is difference between Process integration scenarion and configuration scenarion in SAP PI.
    Is Process integration scenario is BPM concept? also what is the advantages over configuration scenario.
    Regards,
    Manigandan

    Hi Manigandan,
    Speaking widely:
    Process integration scenario: there is a ccBPM, like the workflow in ABAP, even when you one inside the PI it's generated a workflow in the ABAP stuck
    Configuration scenario: it is object to link the integration directory and the esr/IR when  you define the logic of your implementation. It isnt mandatory, but you can organize better you develoments if you make an scenario for a "real scenario" like a file to soap integration, you can define it like a configuration scenario.
    Regards.

  • Difference between process chain and event collector

    what is the difference between process chain and event collector and also plz explain about metachain.In what scenarios they are used.
    Many Thanks,

    hi,
    have a look at these help docs
    Process Chain:
    http://help.sap.com/saphelp_nw04/helpdata/en/8f/c08b3baaa59649e10000000a11402f/content.htm
    Event Collector:
    http://help.sap.com/saphelp_bw30b/helpdata/en/c1/6c0538c7cb583ae10000009b38f8cf/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/6e/192756029db54192427cf6853c77a7/content.htm
    Creating an event colector:
    http://help.sap.com/saphelp_bw30b/helpdata/en/45/253d3873130057e10000009b38f842/content.htm
    regards
    sham'm

  • What is the difference between Process and Threads

    What is the difference between Process and Threads

    http://forum.java.sun.com/thread.jsp?forum=45&thread=525518&start=0&range=15#2519429

  • Best solution to convert DOC to over 1000 form-fillable PDF's and apply Javascript

    I need to convert over 1000 MS Word docs to PDF, and make forms interactive with the following JavaScript or other scripting needs:
    40-50 fields per form, link to db connection (SQL)
    command buttons to Add New (new record to db), Update (existing record based on field value), Submit (submit saved pdf file to SharePoint site-must create directory based on field name; save file as field name
    form fields should be clear on open
    I know this is a tall order, but if I could get some direction on code examples, that would be greatly appreciated.
    I have created a db connection and coded to add new record, update record and save file to local directory based on hard coded path, but I need more dynamics on creating network path, filename using Sharepoint

    I would suggest using Acrobat Pro, but Acrobat Standard 9 now includes forms creation capabilities, including adding usage rights. Acrobat can automate the form field creation process by attempting to recognize where form fields would go. You will probably have to make some corrections, but it can help speed up the process.
    Adding a submit button is a simple matter, though submitting via email is often not highly reliable and is generally not secure. Consider setting up the form to submit to a web server for a much more reliable and secure system.
    If you will be including the entire PDF as an attachment to an email, you will need to enable usage rights (i.e., Reader-enable) for each form if it has to work for Reader users. Reader is not normally able to save a modified document, but it can if usage rights are applied.
    If you apply usage rights with Acrobat, you need to be aware of the relevant licensing restrictions. In short, if you will be deploying the form to more than 500 recipients, you may only use information from no more than 500 returned forms, including hardcopies. If fewer than 500 recipients, there are no limits.
    An alternative to emailing the entire document is emailing just the form data, which does not require usage rights. The recipient can use Acrobat to import the form data into a blank form and then save/print.
    George

Maybe you are looking for

  • PROBLEM UPDATING IPOD ERROR MESSAGE (69)

    I CANNOT UPDATE MY IPOD USING ITUNES, IT STARTS BUT FEW MINUTES LATER YOU HEAR THE HARD DRIVE SEARCHING AND THEN TTHE MESSAGE "CAN NOT WRITE ON DISK "ipod name" A NOT RECONICE ERROR ACCURRED (69) I HAVE RESET THE IPOD, UPDATE DE ITUNES, UPDATE THE IP

  • JNI : Having issue with accessing C# dll

    Hi Everyone, Could you please tell me how to access C# dll using JNI. My code looks like below: public class JNISample {      public native void Message(); static{           System.load("D:/*******/JNISample/dll/SampleDLL.dll");           System.out.

  • Multidimensional array as argument to a Java method

    Hello all, I have defined in C the following array : char my_array[100][3];I want to pass this mutidimensional array to a Java method. How should I write my C array as an argument of the Java method ? TIA

  • New 7D2 AF's aperture, f5.6 or f8?

    I've been reading and seeing conflicting reports on what aperture the New Canon 7D Mark II AF will still work. I've searched and searched but I've seen nothing in writing from Canon. It's either f5.6 or f8---- really hoping it's f8. Can someone assis

  • Creating TR automatically - mutliple TRs for the same St.Bin.

    Hi Experts, Please let me know if this is possible? I'm able to create auto TR without any problem for my WM-PP interface for the pick parts. I've one issue on this.  Please help me if you can on this. My requirement is to create one TR for the same