Step wait

Hi,
       I am facing a problem for step 'wait' in my workflow, actualy I have to check (system date -- meter reading date) > 10. if the the date not greater than 10 I have to wait until the date will be greater then 10 .
can anybody tell me what should I do for this step 'wait'??

Hi,
To achieve this functionality use Wait .
In the Wait Step you can use Wait for Event or Wait for condition
1. Wait for event - please refer above link
2. Wait for condition - select wait type as wait for condition and specify the condition over there
like ( sy-datum - meter date ) > 10.
it will wait till the condition is true.

Similar Messages

  • Process Chains Always Hangs at the second step waiting for an event

    Gents;
    all BI process chains created in Production system are always hanging in the second step waiting for an event RSPROCESS with a certain parameter. This issue is happening for all process chains in Production system and it is not happening for the same in other systems in the landscape (development, Copy of porudction, quality and so on). I tried to trigger the event manually using SM62 but the job is always stick to status " released". the same thing was replicated in other systems and the job status has changed and the process was completed.
    Any idea what might cause this issue??
    Thanks.

    Hi,
    You said that this thing is happening only in production system.Try doing the following checks :
    1.Check SM21to see if there are any red entries.It can be possible that there is some data base RFC connection failure.While checking SM21, make sure you give proper selection condition.If there are any red entries, you may take the help of basis guys to understand the type of failure.May be file system has got some problems.
    2.Check St22 and try to analyse if any short dumps.
    3.Try to check Connection with the source system ( Goto RSA1->source system tab->right click on the source system and select check option to find if any errors in the connection.
    4.If possible, try to load manually in some other info provider.
    Thanks,
    Tarun Brijwani.

  • Waiting step wait longer though event has created

    HI Experts,
    I have a WF which has a waiting step in one of two parallel branches of a Fork. I use below FM to create an event which is successfully created but my workflow sometimes takes longer to continue. It shows the status READY longer. BUT sometimes it works fine but sometimes more than 20, 30 minutes. I want to know why??? has any one an idea why??
    CALL FUNCTION 'SWE_EVENT_CREATE'
        EXPORTING
          objtype                                    = c_object
          objkey                                      = lv_key
          event                                       = c_event
          START_RECFB_SYNCHRON  = 'X'
          NO_COMMIT_FOR_QUEUE      = 'X'
        IMPORTING
          event_id                                   = lv_envt_id
          receiver_count                        = lv_rcvr_cnt
        EXCEPTIONS
          objtype_not_found                   = 1
          OTHERS                                   = 2.

    Hi,
    Definately check SWEL. It will probably give you more information what happened to the event or what it is waiting for.
    There is not really that much difference between the functions. Both will create the event. But in general you should always chekc SAP_WAPI* functions before using some SWW* function when you are doing workflow development. They are newer versions and the support API for workflow development.
    Regards,
    Karri
    EDIT: And perhaps with the SAP_WAPI_CREATE_EVENT the events would work better - which I actually doubt in your case, because I think that there is something wrong in the system of some general configurations (events go into queue or whatever).
    Edited by: Karri Kemppi on Aug 24, 2011 1:14 PM

  • HT1386 I have an iPod 5, IOS 7.1 and Macook pro OS Maverick, i've updated my iTunes but when I want to sync my iPod it gets stuck on the 5th step "Waiting for changes to be applied" I let them at night for about 8 hours but the syncing hadn't done.

    This problem has been happening for the past 3 months. Please help me.

    Try:
    "Waiting for changes to be applied": Apple Support Communities

  • Sending step in Integration Process waiting for Acknowledgement infinitely

    In process I had to send an MATMAS, CLFMAS and CNPMAS. The data for
    this IDoc comes in one message from third party system. So, my
    Integration Process has receive step (to collect a data), and three
    send-steps (for MATMAS, for CLFMAS, for CNPMAS), one by one. The
    receive-step catch an inbound message and then (without transforms)
    send this message to each of this three send-steps in Asynchronous
    mode. The inbound message transforms in Interface Determination to
    IDoc. Three steps, one Interface Determination with three conditions,
    that looks
    like «ProcessStep=send_matmas», «ProcessStep=send_clfmas», «ProcessStep=s
    end_cnpmas», and in this place I set a mapping to transform inbound
    message to IDoc. All send-steps has property Acknowledgement, which set
    to Transport value. So in first send-step MATMAS goes to R3, then R3 in
    response send ALEAUD IDoc (trans WE05 shows an incoming MATMAS and
    outgoing ALEAUD); ALEAUD comes to XI (trans IDX5 shows inbound and
    outbound messages), but ALEAUD didnu2019t transforms to XI Acknowledgement.
    And there is no any CLFMAS or CNPMAS, because all processes sleeps in
    their first send-steps (trans SWWL shows a many STARTED processes).
    Each send-step waits for event u2018SEND_OK_TRANSPORTu2019. Moreover, if I use
    trans sxmb_moni to monitor this situation and if I press refresh (F5
    button) every time, sxmb_moni every time requests a status of
    Acknowledgements, XI transform ALEAUD to Ack, send-step in process
    catch this status, process wake up and moves to next send-step (which
    sends an CLFMAS and waits for Ack). By continuously pressing refresh
    (F5) in sxmb_moni all process becomes COMPLETED (trans SWWL), all
    ALEAUD transforms to XI Ack and all IDocs goes to R3. But pressing F5
    itu2019s not a solution for integration.

    Hi Igor,
    I dont think your manual refresh changes the status . The status changes is the status change of GUI . The system will take how much so ever it needs to take and not as per your manual refresh.
    Regards
    joel

  • BPM step "received" in status waiting in transact. SWI1

    Hello,
    possibly corresponding to my other topic from today I have a funny situation in an BPM.
    First step is a receive step for an IDOC coming into my BPM. The corresponding mapping is IDOC -> IDOC.
    Interf.mapp. is async outb. with ORDERS05 to asyn abstr. async.ORDERS05.
    So this process looks as it should be.
    The process ist started with an incoming IDOC and continues with the BPM till the end, except the first step (receive) which can be found in SXMB_MONI with "queue stopped" / "recorded for outbound processing" in pipeline step "receiver grouping".
    The message in SWF_XI_SWI1 transaction is for this step "waiting for event RECEIVED of object type ZXI_PROXY_RFC_STATUS_ABST_0001"".
    The queue stopped is XBTO (found in transact. SMQ2).
    Does anybody know whats going on here?
    Where is this object type from? (Step belongs to receiving a standard IDOC ORDERS05).
    And why is this process step stopped but not the whole BPM?
    Our idea: We had activated ALEAUD for IDOC acknowledgement. This step tries to return an ackn. but cannot?
    Thank you for your help!
    Regards
    Dirk

    Hi Moorthy,
    thank you.
    Unfortunately all this don´t help.
    No entries in ST22, Entries in SWWL are not corresponding to our problem.
    I deleted the problematic queue entries and we tried to restart the process.
    Possibly we got the problem.
    In one scenario we have no BPM. There an http receiver is obviously implemented wrong. It is the one who receives in the BPM the message starting the BPM.
    I am not sure why this results in the blocked queue. Usually connection problems come up with an error entry in SXMB_MONI.
    No idea about the BPM which is stucked in the queue.
    Possibly same problem, because in MONI we can see that the system stops at receiver grouping.
    When we have fixed the http-receiver issue we will test again with the BPM.
    Regards
    Dirk

  • Abap-Class-Event in Wait Step

    Hi guys,
    in my workflow i have an activity with an abap method. This method works like a dialog. This means, i get a workitem in the business-workplace which shows a webdynpro where a pdf is displayed and where i can choose whether i click on button1 or button2.
    When i click on one button, an abap-class event will be created. This event has a container. My target is, to bring the user desicion back to the workflow via event.
    When i start a new workflow with this event then it works fine. But i dont want 2 workflows. I need a solution with one workflow. So i use a fork in my workflow. In branch 1 i have the activity which displays the pdf and create the event. In the other branch i have a waiting step, which waits for the event and bring the user-desision from the event-container to my workflow-container.
    That was my plan, but it dont works this way. I checked the event-trace and theres no receaiver entered for my event. So my workflow stoped at the wait-step (wait step is ready).
    I read, the the workflow system is automatikly doing the type-linkage and the instance-linkage, but i found only the instance-linkage filled. Can it be, that the wait step is only working with BOR-Events?
    Any ideas?

    Hi swangir,
    i tryed this FW SAP_WAPI_WRITE_CONTAINER some days ago. I can use SAP_WAPI_READ_CONTAINER easylie but when i try to modify the container then i get an enqeue exception in the SAP_WAPI_WRITE_CONTAINER FM. I guess this came up, because i call the webdynpro from an activie-step in the workflow and not a dialog-step. So i guess the container is locked and i cant write. I also tried to unlock it with dequee_e_ .. FM i forgot the name. But it also didnt work.
    Thats why i tryed to bring the user desision via event back to the workflow. And it works, as long i use 2 workflows, like i explained in my first post.
    What do u mean with...
    "Alternatively, you can bind back the class event container to workflow container by binding back from the dialogue step."
    Andre

  • Wait for Event step in Workflow (Urgent).

    Hi,all!
    I am unable to implement the wait for event successfully in my workflow..
    Sceanrio: I have created a container element in the WF with of type a <b>BOR(ISUPARTNER)</b> whose <b>CREATED</b> event is being waited for in the workflow.
    Then in the <b>WAIT FOR EVENT</b> step in WF I m giving putting in the details  of the event..
    Then putting a send mail after this.
    Problem: Now my workflow is throwing error and the send mail task is not executed even after the said event is done in the system..
    Plz... suggest as to how to do it..
    Thanks,
    Sudipto

    <i>Now for this I m actually creating a container element of type BOR B in my workflow n putting a step WAIT FOR EVENT in which I m putting the CREATED event. For triggering the CREATED event no instance is required...</i>
    - Once again, Wait For Event step is only possible when the Object Key is available to the Workflow container when the flow reaches the event (are you waiting for a specific ISUPARTNER to be created or you don't care as long as some ISUPARTNER is created).
    <i>my event CREATED is not getting triggered automatically...</i>
    - First check if the standard system triggers the event for your object. If not explore different options for doing that.
    For your scenario, check if you can trigger a custom event BORB_Created for BORA when BORB is created and use BORA in the Wait step.
    Please post future Workflow questions in the Business Process Management forum.
    Cheers,
    Ramki Maley.
    Message was edited by: Ramki Maley
    Message was edited by: Ramki Maley

  • Wait Event Step

    Greetings Friends...
    Im having this little trouble with this Step at my Workflow (WS9000000004).
    In my Workflow Template I got step "Wait Event" for BUS2105 (ZBUS2105) to Event "ZPROCESSED".
    At some BADI for ME41, I'm using FM SWE_CREATE_EVENT for BUS2105, Event "ZPROCESSED".
    (Using "BUS2105" as object, "ZPROCESSED" as Event and "EBELN" (quotation nº) as Object-Key)
    At Swel, when someone creates (saves) a new Quotation, it shows that this Event is triggered properly.
    (But doesnt have any receiver, but I think this is correct, as I'm not using this event to Start a Workflow)
    But all my flows from WS90000000004, (that is still processing) are stuck waiting, for event ZPROCESSED.
    Am I missing something?
    Att,
    José Junior
    PS: "ZPROCESSED" isnt the starting event from WS900000004. It is just a Step Event. The Starting event is "ZCREATE' who is working properly when a new Purchase Requisition is created. (Again, using SWE_CREATE_EVENT at some Exit in ME51N).

    What is the option that you have used to wait I mean
    Wait for event
    Wait for Local Event
    Wait for Condition etc.
    Wait for Event
    can you please let us know.
    If you have used wait for condition check whether the conditon is satisfied or not
    Yes... I mean. I am waiting the event to get the new Quotation Number Created.
    So I can check if the Quotation have itens of the particular Purchase Requisition.
    If yes, check the PR status, if all itens were "quotated", Status receives S. Then exits Loop.
    Or by "Condition Check" you mean another thing, like somekind of the Step configuration itself?
    If you are using wait for event trigger the event by using EVENT CREATOR step
    Nope.... This Event is getting (actually should have been) triggered by SWE_EVENT_CREATOR at
    BADI in ME41. This FM is working properly, as I can see him at SWEL. (ZPROCESSED for BUS2105
    after Request for Quotation is created.)

  • Wait step event

    Hi,
    i am new to the workflows.i worked in support project and i am looking for development.
    could any one can explain:
    what is wait step event,
    when it should be used and
    while creating the wait step event do we use any tcodes to assign the events(swetypv,sweinst etc)
    generally when we use starting events we will write start conditions based up on that event will be triggered so in the same way how waitstep event will be triggered?
    Regards,
    Mudhiraj

    Use
    A wait step can wait for:
    u2022  An event
    u2022A condition
    u2022A local event
    u2022An event that is initially received by the workflow.
    At runtime, a wait step is represented by a wait step work item. Wait step work items are not displayed in the Business Workplace. You can, however, locate these using work item selection.
    Correlations
    You can use a correlation when waiting for an event and when waiting for an event by using workflow.
    A correlation enables you to identify objects that belong together, for example, a quotation and the relevant sales order.
    Features
    Wait for Event
    When waiting for an event, the wait step is terminated when the event specifies occurs. This event
    terminates all wait steps waiting for this event.
    You can use this type of wait step for the following purposes:
    u2022To suspend the workflow until a defined event has occurred.
               A workflow is to wait until documents requested have been provided for an applicant activity. Once the
    requested documents are received, the transaction used for inbound processing and archiving creates an
    event which the wait step waits as a receiver.
    u2022To wait for an event in a parallel processing branch, which renders processing in the other
    branches unnecessary.
    The event for which the wait step waits should not be created in the other branches of the fork.
    u2022Wait for the result or a message from another workflow that was started in another system by the
    WebFlow function.
    u2022Wait for a message of the process that the workflow started using a Wf-XML message.
    Wait for Condition
    When waiting for an event, the wait step is terminated when the corresponding condition returns the
    value true.
    Wait for Local Event
    When waiting for a local event, the wait step is terminated when this event occurs.
    Wait for Event Via Workflow
    When waiting for an event via the workflow, the event is initially received and temporarily saved by
    the workflow. Once the wait step has been activated, the event is forwarded to the wait step. During
    waiting via the workflow, the event can terminate a maximum of one wait step. If several wait steps are
    active, the event terminates the oldest wait step.

  • BPM: Send step with acknowledgment - Application

    Hi folks,
    I’ve a simple BPM with receiver(sender file)->mapping->send(IDoc receiver). The Send step is configured with the option Acknowledge type -> Application. The scenario runs well, the IDoc is successfully processed, but my BPM remains waiting with the clock icon!!! Going to sxi_monitor, in the PE details is a step waiting for an event from R/3 with the message “Waiting for an event SEND_OK_APPLICATION type CL_SWF_XI_MESSAGE. It seams waiting for an event that R/3 didn’t send… Did I miss some steps at R/3?
    The idea is to receive an ack after my IDoc is successfully processed at R/3, in order to finish the BPM.
    Regarding Acknowledgment type -> Application, the sap help says:
    Wait for Acknowledgement
    Specify whether the send step is to wait for an acknowledgement. To receive an acknowledgement in the send step, the receiver (adapter, business system, and so on) must send the corresponding acknowledgment.
    Application - Specifies that the message was processed successfully by the receiver application (for example, ‘posted’).
    I guess it should works, but maybe I'm missing something. Anyone knows how to work with this kind of ack at ccBPM?
    Thanks in advance,
    Ricardo.
    Edited by: Ricardo  Quintino on Jan 21, 2008 4:33 PM

    Ricardo,
    You would not believe me but I had the same requirement a year back.
    Infact I ended up posting a thread on this on the XI forum,
    Idoc Acknowledgements and Idoc Packaging
    Answering your question in 2 phases,
    1. R3 can send the AleAduit back to XI immediately. In the inbound processing code, all the R3 team would need to do is add the code to trigger the RBDSTATE report to trigger AleAudit to XI.
    2. The problem with Correlation - Well, in your case as you are using Idoc Packaging , the solution 1 in my earlier thread would not do the trick. If you look in IDX5 in XI you will see that the Idoc Packaging trigger multiple Idoc's from XI itself but again the problem is the correlation and for this there is no straight forward solution than having some custom field in the Idoc and in the corresponding response.
    But yeah overall your analysis was perfect. Idoc's are used for Asynch Communications and hence trying to achieve what we are acheiving is not always and necessarily the best solution. Proxies help in these cases, and if proxies are not possible then I guess RFC is the way to go.
    Regards
    Bhavesh

  • BPM problem: mapping in a transformation step

    Hello,
    In my current BPM scenario....
    1)I created the interfaces below for the Receive step (receives MT_Request):
    -MI_async_BPM
    -MI_async_abstract
    2)Then I created the interface and mapping for the transformation step:
    -MI_JDBC_async_abstract
    MM(MT_Request to MT_Request2)
    IM(MI_async_abstract to MI_JDBC_async_abstract)
    3)Then I created the interface and mapping for the Send step:
    -MI_JDBC_async_in
    MM(MT_Request2 to MT_DB_Insert)
    IM(MI_JDBC_async_abstract to MI_JDBC_async_in)
    Problem:
    However, after I executed the scneario, it appeared the step 2) didn't go through correctly(error message:<b>NO_RECEIVER_CASE_ASYNC</b>).  Did I set up the configuration wrong in Integration Process?
    Also, I went back to ID to create a Receiver Determination for step 2) (thought this may clear the problem), but in the Sender tab of Integration Process object, MI_async_abstract was not in there.  Please give me a hand on this problem.  Thanks.
    Regards,
    Steve
    Message was edited by: steve peng
    Message was edited by: steve peng

    Hi Steve,
    Below is the explanation for correlation by Anand Torgal which i think will be helpful to u....
    To explain you the correlation in simple terms...take a simple example of BPM with a send step(async request) and receive step(async response). I am sending a PO request using the send step and waiting for a PO response using the recieve step. Assume that i have two instances of this BPM running i.e two PO request's going simultaneously. when i get the response back for these two requests , there will be two recieve steps waiting for the response since there are two instances of BPM running. the response need to be assigned the corresponding requests. This is where correlation comes into picture. I can use PO number as my correlation field. i.e I activate my correlation in the send step and use this correlation in receive step (this is configurable in BPM).
    Example: PO number needs to be part both request and the response message structure.
    BPM instance1:
    send step -> activate correlation -> send message with PO Number1
    Receive step -> use correlation -> receive response message with PO Number 1.
    BPM instance1:
    send step -> activate correlation -> send message with PO Number2
    Receive step -> use correlation -> receive response message with PO Number 2.
    There are many different scenario's whre you can use the correlation..this is one of them...The weblog shows another way of using correlation.
    Also Refer SAP help...
    Correlating Messages
    Use
    You use a correlation to assign messages that belong together to the same process instance. A correlation joins messages that have the same value for one or more XML elements. A correlation is therefore a loose coupling of messages: at design time, it enables you to define which message a receive step must wait for, without knowing the message ID.
    For example, in a process, receivestep_1receives the message purchaseorder, while receivestep_2receives the message salesorder. Receivestep_1creates a correlation that defines that the corresponding sales order must have the same purchase order number. Receivestep_2uses this correlation. This means that an instance of the process processes a purchase order and the corresponding sales order, which has the same purchase order number.
    If it satisfies the relevant correlations, a message can be processed in multiple processes. However, a message is only delivered once per process.
    http://help.sap.com/saphelp_nw04/helpdata/en/a5/64373f7853494fe10000000a114084/content.htm
    Regards,
    Abhy

  • Sync stalls at waiting for changes to be applied

    Can anyone fix this, its driving me round the bend.  Brand new Ipod Touch 5th Generation won’t complete a sync.  It gets stuck on the last step - "Waiting for changes to be applied".  I've looked at many different forums but all the information is just misleading.  There must be a definitive answer to this, all software is up to date.  I've been an Itunes user for 6 years on my 3rd Ipod, this is just intolerable, if I can’t find a solution this time then I'm finished with Apple and Itunes.  Please help.

    Maybe:
    Win 8 TS1538 Ipod not syncing: Apple Support Communities

  • BPM: Wait for response in asynch scenario

    Hi,
    I have implemented a BPM which is working (but not as it should). The scenario is R3 IDoc - XI - Legacy SOAP - XI - SAP, and the requirement from the legacy web service is that we cannot sent another Idoc to the web service until we get a response (ALEAUD) back. We also cannot use synchronous interfaces.
    I thought that the BPM would solve this, the BPM contains a receive IDoc step, send Idoc (SOAP), receive ALEAUD response (SOAP) and send ALEAUD (IDOC), all steps asynchronous. But if I send two IDocs from R/3 they get both get sent to web service, even though the second Idoc should wait for a the ALEAUD from the web service before being sent. It seems that XI just creates a new instance of the BPM and runs the second IDoc in this one.
    Is there a way to implement that when XI receives several IDocs from R/3, XI queues them up and sends them one by one and wait for a response before sending next one?
    I have implemented correlation to relate the response to the message sent out.
    Thanks a lot for your help!
    -Kenneth
    Message was edited by: Kenneth Eriksen
    Message was edited by: Kenneth Eriksen

    Yes, the response references the Idoc number of the request.
    I actually tried this, but it didn't work the way I expected it. It seems that XI just creates a new instance of the BPM for the next IDoc it receives from R/3, so there are in fact several instances of the BPM running at the same time.
    I tried with a fork, where branch 1 is a loop that is always true (1=1) and branch2 has a receive step with the local correlation. The fork should stop if two branches are true. This did not work as I hoped.
    Right now I am trying a fork with two branches, branch1 includes a loop, inside loop I have a switch which invokes a send step if a simple type flag is on and a cont operation which turns the flag off, otherwise it waits for a minute. Branch2 of the fork has a receive step waiting for the response, with local correlation, and a cont operation which turns the flag on.
    Will this work? I am not sure if this simple type flag is global, that is if it works for all instances of this BPM or just the one BPM it resides in.
    Is there some way of forcing XI to not create new instances of a BPM, but rather have all messages go the same instance? this would solve  my issue as I see it.
    Thanks!

  • BPM RFC synch send step

    Hi
    I am using RFC synch send step with in parforeach block in BPM. do I need to activate correlation to correlate synchronous request and synchronous response for RFC synch send step ?
    Please let me know if you have any ideas on this.
    Thanks
    Anand

    Hi Michal,
    Thanks for the reply.
    In SAP help I found the statement made below.
    Activating a Correlation
    An asynchronous or synchronous send step can activate correlations. This can be useful in the following cases:
    ·        Synchronous send step
    A synchronous send step waits for a reply message to be received. On receipt of this reply message,
    correlations can be activated to correlate additional messages.**********************************Any idea on highlighted sentence...
    Thanks
    Anand

Maybe you are looking for

  • How do I change a printers workgroup??? HP OfficeJet Pro 8500A Plus

    Hi   I purchased a new printer direct from HP, a HP-OfficeJet Pro 8500 Plus. My setup has 5 PC's 3 servers & 1 laptop. Hard-wired network & 2 wireless networks. 2 Network Hubs and 1 ADSL2 Modem/Router This is a pro setup and I am a very experienced u

  • How to delete duplicate attribute in on premise server for office 365 dir sync tool

    Hi, Please anyone help to how to remove duplicate attribute in on premise server for office 365 dir sync tool . While running the dirsync tool iam getting the below error :  "Unable to update this object because the following attributes associated wi

  • Mac pro 5,1 RAM Upgrade

    I am planning to give my Mac Pro (Mid 2010) another RAM upgrade. As the official Kingston/Crucial DIMMs do not include 16GB DIMMs, I think of choosing Kingston Value RAM: ECC Registered (3x, 16GB, DDR3-1600, DIMM 240). Has anyone here in the forum tr

  • Reject workflow

    I may be crazy, but I think the "Reject" UI behavior used to be different. When I have the Browser on one screen, and a full screen preview on the other, I'd like to quickly reject photos and have Aperture move to the next photo. I have a pretty high

  • Space bar on keyboard missing on iPad 2

    On both of my iPads (2&3) as well as my iphone, the keyboard is displaying but not the spacebar. it is occurring only on Safari (not Pages or other apps to type in)