Sequence of events in accept processing

The sequence of events in accept processing is
http://tinypic.com/foj80w.jpg
Questions
1. When would a Before Computation branch be used? Real-world examples.
2. Similarly, when would a On Submit Before Computation process be used?
3. When would a Before Processing branch be used?
4. Why do computations fire before validations? Dont computations deserve to act upon validated session state? Currently, if my validation fails, the computation gives an error, so I have to code some twisted condition to "anticipate" that the validation is going to fail and if so, dont run the computation. Kind of defeats the purpose of the validation.
Thanks

I am using a 'On Submit After Page Submission -
Before Computations and Validations' process to do
all my validations in a generic way.Not sure what you mean, could you please elaborate?
For the problem you told about in point 4.
May be you can build a validation in a before
computation process or build a computation in a after
validation process.I guess, but writing a validation as a Process kind of defeats the purpose. Technically, everything can be written as a "process", validations and computations are nice because they keep the code clean, operate in the context of a specific page item.
Anyway, I was not looking for a workaround, I was trying to understand why things are designed the way they are.
Scott: Could you take a look at my questions when you get a chance? Thanks.
Thanks

Similar Messages

  • Sequence of events in shutdown

    Hi,
    What is the sequence of events that occur when the
    server is issued a SHUTDOWN command? like the destroy of ejb,servlet, jndi, etc,
    and the user shutdown class. Is the shutdown class is performed before the server
    shuts down? what
    i am trying to say is what kind of resource I still can use in shutdown class.
    Last week when i shutdown our production server,
    I saw javax.naming.NameNotFoundException thrown by jsp page,
    which called the ejb but obviously the ejb already unbounded.
    Shoud the server stopped to listen the request first and then
    do some other stuff?
    Thanks.

    I am using a 'On Submit After Page Submission -
    Before Computations and Validations' process to do
    all my validations in a generic way.Not sure what you mean, could you please elaborate?
    For the problem you told about in point 4.
    May be you can build a validation in a before
    computation process or build a computation in a after
    validation process.I guess, but writing a validation as a Process kind of defeats the purpose. Technically, everything can be written as a "process", validations and computations are nice because they keep the code clean, operate in the context of a specific page item.
    Anyway, I was not looking for a workaround, I was trying to understand why things are designed the way they are.
    Scott: Could you take a look at my questions when you get a chance? Thanks.
    Thanks

  • 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?
    1110340053

    Are 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.

  • Multiple start events in a process

    How does one add more than one start event to a process?
    "6.2.1.2 Using Multiple Start Events in a Process" of the modeling and implementation guide suggests this should be possible. I'd like to be able to create process instances using a none start event followed by a user task defined with the initiator pattern, so users can initiate the process. I also need to support creation of process instances via web service call. I should be able to accomplish this using a none start event followed by a receive task. However, I can't seem to get both in a single process. It only seems to allow a single start event.

    Sorry, I didn't realize that my component palette was being hidden - so I was missing a lot of activity/flow object types.
    Why is there only a small subset of flow objects displayed in the header of the process editor? (the one with the swimlanes)

  • Sequence of events and handlers in webdynpro

    Hi,
    I am confused with the sequence of events triggered in webdynpro.
    What is the sequence of the events like WDDOINIT of window, view, Inbound plug handlers etc. I am more looking into the details like for example
    I have a window that opens a view. The sequence of events I expected would be
    1) WDDOINIT of Window
    2) Handle inbound plug for window
    3) WDDOINIT of View
    4) Handle inbound plug for view
    Much to my amazement I found that the sequence is
    1) WDDOINIT of Window
    2) WDDOINIT of View
    3) Handle inbound plug for window
    The inbound plug of view is not called at all.
    So is there an exhaustive reference that explains these things. Most of the references I found explain only about WDBEFOREACTION, WDMODIFYVIEW etc. But not about WDDOINIT or WDDOEXIT.
    Any pointers in this regard will be great.
    Thanks,
    Anand

    A great way to learn WDA and build a simple WDA at the same time.
    Define a simple CONTEXT. with 2 attributes
         CONTROLLER_NAME string
         EVENT string.
    On a view declare a table that shows this table.
    IN EVERY STANDARD METHOD
    add an entry to the table so the table grows:
          context_node->bind_table NEW_ITEMS  ( the new row in this table
                                                 SET_INITIAL_ELEMENTS =  true
    Add a button that calls a dummy action
    Add a button that exits.
    Even navigate  to and from a view.
    you will learn the phase model in a flash.
    About 15 20 mins  work.
    worth it.  Thats how I learnt it.
    Cheers
    Phil.

  • Sequence of events execution in ABAP reports

    can anyone explain me the Sequence of events execution in ABAP reports

    Ámit Güjärgoüd wrote:
    > search-before-post  Event Must before any posting.Else  <delete-after-input event triggered by moderator> would be trigger and thread may be going to Dump as well without ST22 information(What haapend,How to correct error) available 
    >
    > Edited by: Ámit Güjärgoüd on Oct 7, 2008 7:42 AM
    this looks perfect ABAP event sequence example.

  • Trigger a job using an event through a process chain

    Hi,
    After the success of 5metachain, I am using AND condition
    My requirement is as follows, it should trigger a job which needs to be after AND condition,
    I have created an event using sm64. Basically the client wants to trigger the job using the event through the process chain. I have tried test scenariou2019s using ABAP program (Process type) in the process chain but it is failing. Is there any other way to trigger a job using an event through a process chain? If ABAP program is the only option, can you please specify what all needs to be filled in the variant?
    Regards.
    Jerry

    Hi,
    Create a program like below,
    CALL FUNCTION 'BP_EVENT_RAISE'
      EXPORTING
        EVENTID = 'EVENT WHICH YOU HAVE CREATED'
    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.
    search and include the program name which you have created above in the "ABAP program" process type which you are going to include in the process chain.
    Include the event which you have created in the start condition of the job.
    Note: No need of give any variant, because here we are calling only one function in this program.
    Regards,
    Sridevi.

  • IDoc Packaging on Event Driven Message Processing Message Filter

    Hi Experts,
    I am testing IDoc Packaging on Event Driven Message Processing and I got struck at scheduling the job.
    My scenario is IDoc to File. I have created sender and receiver id with coresponding interfaces. While creating the message filter I have selected outbound channel --> IDoc Packaging Option n I have took 10 as Package Size in Messages. In SM 36 I have created JOB and in the step I have selected SXMS_START_JOBS.
    Now my problem is while creating the JOB in SM36 what condition should I select? How do I test this event driven message processing with IDoc packaging??
    Please guide me...
    Regards
    SAPTOTAL

    in the event, you should also have a job for RSEOUT00 scheduled so that the IDocs are send out as a package

  • Event Driven Message Processing in AAE

    Hi SDNers,
    I wanted to know if PI 7.1 EhP1 supports event driven message processing on AAE, means can I bypass ABAP engine by configuring the scenario with ICo (Integrated Configation) and still use the event driven message processing of PI?
    Regards,
    Gautam Purohit

    Hi Gautam Purohit,
    "Event-Driven Message Processing" is concept related to Integration Engine. So if your are using AAE (skipping IE), you cannot use it. [Link1|http://help.sap.com/saphelp_nwpi711/helpdata/en/7a/00143f011f4b2ee10000000a114084/frameset.htm]
    I think "Event-Driven Message Processing" and ccBPM are not related.
    Regards,
    Raghu_Vamsee

  • Prioritized Messages in combination with Event-Driven Message Processing

    Hi,
    our Scenario (EO): Sender A sends large IDocs to Receivers X and Y (> Split)
    1.
    What we did first:
    Prioritized Message Processing
    Sender A sends large Messages, therefore we prioritzied Messages in the IE with EO_MSG_SIZE_LIMIT > 4000.
    This works fine: Messages are queued in XBTL and XBTM and afterwards they are send to Receiver X and Y.
    2.
    What we did next:
    Event-Driven Message Processing
    Now we want to send the Message from Sender A to Receiver X directly and to Receiver Y at night time.
    We add Event-Driven Message Processing, Sender- and ReceiverID for A and Y,Job and so on...
    On it's own (without Prioritized Message Processing), this works fine: The messages are send at night time.
    But in combination (Event-Driven + Prioritized Message Processing) the messages only passes the Prioritized Message Processing and the Event-Driven is ignored.
    Our "Hop-List" for Split A to Y was:
    1. XBTL
    2. XBTJ2008...
    3. XBTM
    But actually all Messages passes:
    1.XBTL
    2.XBTM
    Why are the messages not filtered for the Event-Driven Message Processing (in combination with the Prioritized Message Processing)?

    It was an error in the SourceCode and is now corrected by SAP:
    Hinweis 1295746 - XI Runtime: Fehler in Ereignisgesteuerte Messageverarbeitung
    Olaf

  • Packaging required for event-driven message processing

    Hi,
    Could you pls. let me know whether message packaging is required for using event-driven message processing in Integration Server (PI).
    Also can we use event-driven message processing in Integration Server (PI) for outbound HTTP adapter interface.
    Thanks.
    Best Regards,
    Gajendra.

    What is your scenario and why exactly your are looking for event-based message processing?
    Normally those are background jobs which triggers the services(inbuilt ) and makes the process designed by us to run.
    In case ofR/3 its possible to do so i.e to trigger messages based on event like incase of proxt to PI can be done through Event-based
    Rajesh

  • How do we convert an Event chains to Process chains?

    How do we convert an Event chains to Process chains?

    Hiii,
    u can try with the function module RSPC_MIGRATE_EVENT_CHAIN.
    Hope this helps u.
    Regards,
    Shiner.

  • Event data change process failed in process chain

    Hi All,
    We have a process chain to broadcast the workbooks where we have three event data change processes in succession.
    When this process chain is executed, the first event data change process is getting executed successfully, but the second process is getting failed every time. The error message is 'Session terminated.Cannot precalculate the workbook...'. Please let me know if anyone has faced the same kind of problem and also the remedy for it.
    Thanks in advance
    Hima Bindu

    Hi,
    Check the load on the precalculation server, also any errors occured for the precalculation of the workbook.
    Regards,
    anil

  • Fire event between 2 process

    Is there any way to implement event between 2 process?
    JMS is a very good library. However it's so big
    I want a library to help me to implement the following scenario:
    1.Process PA in Computer CA call a webservice WS1 in Computer CB
    2. WS1 send a message M to process PB in Computer CB
    3. The Process PB don't need a loop to receive message M. When WS1 send the message, it fire an event or do as a publisher and then Process PB handle this event or do as a subscriber
    Sorry for my English

    We have a real pattern guru or two or three in this forum. Or, you should read the G4 book. In Java core API, Observer pattern is implemented by java.util.Observer and Observable. But you may need a custom implementation for your purpose.

  • Event data collection process unable to write data to the Data Warehouse

    Alert Description:
    Event data collection process unable to write data to the Data Warehouse. Failed to store data in the Data Warehouse. The operation will be retried.
    Exception 'InvalidOperationException': The given value of type Int32 from the data source cannot be converted to type tinyint of the specified target column.
    Running SCOM 2007 R2 on Server 2008 R2 with SQL Server 2008 R2. I can only find a single reference to this exact error on the Internet. It started occurring on a weekend. No changes were made to the SCOM server directly before this occurred. Anyone know
    what the error means and/or how to fix?

    Hello,
    I would suggest the following threas for your reference:
    Troubles with DataWarehouse database
    http://social.technet.microsoft.com/Forums/en-US/operationsmanagergeneral/thread/5e7005ae-d5d8-4b5c-a51c-740634e3da4e
    Data Warehouse configuration synchronization process failed
    to read state 
    http://social.technet.microsoft.com/Forums/en-US/systemcenter/thread/8ea1f4b9-115b-43cd-b66f-617533703047
    Thanks,
    Yog Li
    TechNet Community Support

Maybe you are looking for

  • Problem with Graphics and JPanel...

    I would like to draw a rectangle on a JPanel. Here is my code: JPanel panel = new JPanel(); Graphics g = panel.getGraphics(); g.drawRect(20,20,20,20); When I run my program, I have a NullPointerException... Do you any suggestions to fix the problem??

  • Can sign in with Apple ID, but can't connect to App Store for updates

    My wife just received her new iPad on Friday. When she went to update the apps that indicated they needed to be updated, she was able to sign in with her Apple ID. However, after a few seconds of processing the message appears that her iPad was unabl

  • Does edting a table cell update the defaulttablemodel??

    hi I am a bit confused by the documentation I have read.. I just want to confirm wheither editing a cell in a JTable should update a value in the underlying model(a defaultTableModel in my case) only by declaring the the below.. <code> Object data[][

  • Wireless Keyboard, hitting enter to send a text

    Hey Everyone, This is my first time posting here and I have not seen anything related to this question.  If I missed it, could you please direct me to the relevant thread?  I purchased an apple wireless keyboard to use with my iPhone 5 because my job

  • Missing Galaxy apps after updating to 4.4.4

    After I did the update I noticed that I no longer had the samsung app or galaxy apps as i believe it is called now. anyone else have this issue or know how to fix it?