Two Instance getting triggered on Change of PO for BUS2012

Hello experts,
I have created a single step Workflow, to be triggered on change of PO.
I created a Subtype of BUS2012 and delegated it. added a new method to carry out the processing as required.
However on change there are two workflow instance in the SWIA, one completed and the other in Error state.
on examining the SWEL, for a change to PO, there are three entries for Change event.
1. BUS2012 - Changed event - No receiver entered
2. BUS2012 - Changed event - receiver found (My task)
3. FREBUS2012 - Changed event - receiver found ( My Task).
4. FREBUS2012 - event is CHANGEFRE - NO receiver entered.
I have created just one link in SWE2, however I am not able to figure it out why FREBUS2012 is getting a receiver.
Please help.
Regards,
Jibran

Hi Jibran
Check the delegations, there surely would be a delegation between BUS2012 and FREBUS2012 in SWO1.
I am not sure of why this happens, maybe some config related to funct settings. I faced this once and I resolved it via a check function module between BUS2012 and event CHANGED in SWE2.
This is what i Wrote in the check function module:
* Check if the CHANGED Event is triggered
  IF event = lvc_changed_event. " 'CHANGED'
    SORT event_container BY element value.
*   Read the container value to get actual Object Type
    READ TABLE event_container INTO     ls_container
                               WITH KEY element = '_EVT_OBJTYPE'
                                        value   = 'FREBUS2012' "Check for FREBUS2012 Object Type
                               BINARY SEARCH.
*   Raise an exception if the CHANGED event is from FREBUS2012
    IF sy-subrc = 0.
      RAISE frebus2012_changed_triggered.
    ENDIF.
  ENDIF.
So this will not let your WF start with FREBUS2012 CHANGED...... if you look for OBJTYPE in the check FM, it will still contain BUS2012....real object type is hidden in _EVT_OBJTYPE.
Regards,
Modak

Similar Messages

  • Sharing iTunes btwn two users -- getting new music to show up for both

    I'm setting up a new PC with Windows 7 and, at the same time, setting up two new iPhones.  In trying to keep my wife's iPhone linked to her Apple ID and my iPhone to mine, I followed the directions here -- http://support.apple.com/kb/HT1203 -- and set up iTunes on each of our Windows user accounts and put the iTunes Media Library files in a public location we can both access.
    My problem now is, when one of us adds new music to iTunes (to the shared, public folder in Windows), it doesn't automatically show up in the other's iTunes library.  I know that I can manually go in and use "Add File/Folder to Library...", but, is there a way to have this happen without user intervention?
    Many thanks for any help you can provide!
    Bobby

    Don't do it.. !!
    Apple says specifically don't put your iphoto library on the TC.
    And I quote.
    iphoto network no no.
    http://support.apple.com/kb/HT1198
    It's recommended that you store your iPhoto library on a locally mounted hard drive. Storing your iPhoto library on a network share can lead to poor performance, data corruption, or data loss.
    See further
    https://discussions.apple.com/thread/6692100
    The TC has no media smarts at all.. none.. it is completely dumb stupid hard disk in a router.
    If you put libraries on the TC apart from being slow.. because all files must be transferred via the Mac running itunes you then have no backup and no way to backup your files.
    Get a large external drive or get a proper NAS with built in iTunes server. (although exactly how well they work I am not sure).
    You still should not put your main iphoto library on the NAS but you can put a copy.

  • Outbound IDOC not getting triggered while new master data is created

    Hi Experts,
    I am trying to trigger an outbound idoc for Cost Center master data when ever cost center is being created or cost center is being changed. (Usinf COSMAS)
    I have successfully made use of change pointers and now able to trigger the idoc when ever Cost Center is getting changed. But while creating new Cost center, IDOC is not getting triggered.
    I used the function module MASTERIDOC_CREATE_SMD_COSMAS for triggering the idoc.
    Could one of you please let me what would have gone wrong? Since IDOC is getting triggered while changing the master data but not getting triggered while creating new master data.
    Thanks in Advance,
    Vinoth

    Hello,
    when you activate BD21 for a message type, it creates a entry in the SAP tables. that these Cost Centers have been sent already and any susequent changes to this will trigger a IDoc.
    As for BD16, scheduling it wont help as, you need to specify the selection criteria, and i do not see how you will be able to dynamically get the selection criteria.
    Try BD95, and BD59 to create a change pointer for a field, so when ever this fields is modified (new/updated) an idoc will be triggered.
    regards,
    Abhishek

  • Job are not getting Triggered

    Hi All,
    I Have encountered an Issue with JOB not getting Triggered in BI system .
    For Datasource 2LIS_04_P_ARBPL , I have created Infopackage , when I am going to schedule tab and running an Infopackage. Job is not getting trigger  . And it is going on Hold for a longer period.
    Data is in the source system and  I am unable to fetch data from source system .
    One more thing there was some upgration activity happened in the source system one day before.
    Could u please let us know , Is the reason behind could be upgration in source system  ?
    Please let me know what needs to be crosschecked and what could be the solution for this Issue.
    Looking for response .....
    Regards,
    Mahesh

    Hi ,
    In the Source system Data is fetching I mean through RSA3.
    Even I able to replicate the Datasource as well.
    Also in T-code : SM59 , when I am checking Source system Connection check , it is not poping any error.
    But When I am Checking through RSA1 - > Source System
    Source system connection by clicking CHECK Option  then it is poping an error "Check Failed for RFC Connection ; Check Destination ".
    Also In Source system T-code :SM50 I can see three BGD WP which are in waiting status.
    In T-code : BD87 I have checked I didnt find any IDOC's in Yellow colour .
    How do we need to check whether ALEREMOTE is active or not?
    Actually my Issue is Jobs are not getting trigger in BI . So what all things needs to be taken care apart from this.
    So Is there any thing to be taken care from Basis team for Restarting of BI Jobs after any kind of Upgration activity in general?
    Regards,
    Mahesh

  • Does IDoc get triggered when GR occured for a particular po

    Hi Friends,
    Say a GR occured for a particular PO,so i want to track this GR in Action Code that GR has occuredand no other details is needed except that.
    so,my question is "Does IDoc get triggered when GR has occured for a particular Purchase Order".
    If so can u explain me the process, how to track?
    Thanks in Advance,
    Meghna.

    Hi,
    If u want to know that IDOC has been triggered then u have to do ALE setting then u can know that idoc has triggered in WE02 transaction.
    Other than that if u want to know that PO has been there in GR then for Create CO01,CO02,CO03 for GR details.
    the IDOC for GR is MBGMCR.MBGMCR02.
    Regards,
    Phani
    Reward pOints if Helpful

  • Reg : change pointer mechanism for triggering the IDOC for delivery note

    Hi ,
    I am working on a change pointer mechanism for triggering the IDOC for delivery note and will be using this message class DESADV.
    So SAP has suggested for assigning the message class DESADV with the function module in MASTERIDOC_CREATE_SMD_DESADV in BD60 transaction code.
    So I was looking to create this MASTERIDOC_CREATE_SMD_DESADV function module in SAP and SAP suggesting that  we should create this MASTERIDOC_CREATE_SMD_DESADV function module as same as the function module MASTERIDOC_CREATE_SMD_MATMAS.
    So do anyone knows that is there any tool has been provided by SAP for creating this function module MASTERIDOC_CREATE_SMD_DESADV in SAP system for triggering the change pointer mechanism for outbound Delivery.
    Thanks !
    Regards,
    Kiran

    Hi,
    When you are change pointer the system itself will take care of sending the changed master data to your partner system and the user will not have any intervention.  If you really wanted to have that then you need to use the change pointers to read the master data which is modified in a custom program and then display that on the screen.  Once the user selects that master data records then trigger an IDOC for creating the idoc for that master data and also flag that master data record as processed in the SAP BDCPS standard table, so that the same record will not be picked. If you wanted to know how the change pointers piece of code is written go through the program RBDMIDOC and you can understand how the change pointers logic is written.
    Thanks,
    Mahesh.

  • How to run two instances of weblogic server as an NT service on the same machine

    I have to have two instances, one I want to use it for development(testing
    purposes) and the other one I need to use it as a live one(Production)
    So that I can test my applications independently without disturbing the live
    application.
    Thanks
    Madhu

    I can start one instance as an NT service, but the other instance, I have to
    start with the command. I need to run as an NT service because I need to
    use NTRealm
    Security
    I have created a new domain , server listening to different port.
    Thanks
    madhu
    Bruce Blackshaw <[email protected]> wrote in message
    news:[email protected]..
    "m holur" <[email protected]> wrote in message
    news:<3c0d2b66$[email protected]>...
    I have to have two instances, one I want to use it fordevelopment(testing
    purposes) and the other one I need to use it as a live one(Production)
    So that I can test my applications independently without disturbing thelive
    application.I would not recommend having development and production on the same
    machine.
    But if you wish to do so, you can create multiple domains under the
    same installation, say one for dev and one for prod. On the same
    machine make sure they listen on different ports. This, of course,
    ties you to the same version for development and production - making
    it impossible to upgrade just one.
    You may be able to do two completely different installations (i.e.
    different BEA HOMEs) on the same machine - I haven't tried this but it
    looks possible. This would mean you could upgrade each separately. The
    presence of BEAHOMELIST in the registry on NT seems to indicate this
    should work.
    Bruce Blackshaw
    Free Java FTP Library
    http://www.enterprisedt.com/downloads/ftp.html

  • Changing user icons for single users?

    Hello all! Ok quick question...I have an admin and 2 standard users set up and I want to change the dock icons on the 2 standard user accounts. How do I do this? I know how to change icons and have changed them before, but when I change the icons in one user account they change in the other account as well. I just want two accounts with two different sets of icons. Any help would be appreciated!!

    Sincerelyme2003 wrote:
    Sorry if that was confusing...I mean like the actual application icons. Like changing the finder or mail or dashboard icons.
    those are actually quite different. changing Mail icon in the dock is easy. changing Finder icon in the dock is not so easy unless you use 3rd party software like Candybar. what exactly did you do?
    But in any case all those icons are set once per computer which means that they will be the same on all accounts. there is no way around that. the only thing I can suggest if you want them different is to use aliases. make aliases to the applications you use Like Mail and put them somewhere in your home directory. apply any icons you want to the aliases. then put the aliases in the dock instead of actual applications. repeat with the other account using different icons.
    This will work for most icons but it won't work for Finder and Trash. as I said those icons are set differently and there is really no way to have different ones for different accounts.
    Like I said I know how to change them, but it seems to change them system wide. I changed the finder icon on my first account, then if I go into my second account and change the finder icon it also changes it in my first account. How do I get it to change it just for the account I am currently in? So I can have 2 standard accounts with completely different icon sets? Thanks again!

  • Issue in workflow workitem that gets triggered to two users at one time.

    Hi All,
    Below are the query  details:
    Module:  HR
    Area:      Workflow
    Process: Hiring
    There is an workflow in HR module that is triggered when an hiring action is run against an candidate.
    There are two or three maximum approvers  which is based on the position to which the candidate is hired.
    Issue:
    During the hiring process some times the workitem is getting triggered to two users at once.
    One is the actual approver who should receive the workitem in his UWL and other is the user of our service center who is no where involved in the approval process.
    Analysis Done:
    We checked the workflow log and found that the actual approver's ID is getting displayed under agent and workflow is complete. But the other user's ID is no where shown in the log but he has received an workitem in his UWL that makes the issue still confusing.
    Awaiting for experts suggestions.

    Reply to Susan Questions:
    You say that 'the workitem is getting triggered to two users at once' - do you mean that there are two workflow instances that are being kicked off at the same time when the hiring action is performed? Or is it that the workflow is generating two tasks that go to these different users?
    Ans : There is a single task attached to the activity.
    Is this a custom workflow?
    Ans : Yes.
    Are you certain that the erroneous task is only going to the user in the service center, or is it perhaps going to everybody (marked as a general task)?
    Ans : The task is marked as general but the workitem is received by only one user of the service center at a time.
             As this issue has taken place 4 times in the past year all the 4 receiver were different belonging to different position.
    Reply to Pavan Questions:
    1. Did you try to check the SPRO settings with respect to Hiring Process ,is there any where based on the position does workflow is forwarding the workitem to the other user.
    2. Check the other user Roles and in the Org Structure where he is located , there could be a possibility of wrong position holding.
    Ans : We checked the org structure, but org structure of both the centers are different and independent there is no linkage    between the two.
    *3. IF you are using custom workflow then check if any standard workflow is also getting triggered. Check *
    Ans : Yes this is a custom workflow, but no other Standard workflow is being called.
    4. Check in the SWEHR3 is any custom entries maintained.
    Ans : No, entries are maintained in SWEHR3.
    Additional Info :
    The task that triggers the workitem has an send mail step before it.
    The send mail activity is to notify receiver that there is an workitem lying in the UWL.This mail is received by the actual user and not by the other one.The next step is the task that creates workitem which gets triggered totwo different IDs.
    This scenarios mostly has come up when the number of approver is 1. If the approver is more than 1 the  workflow runs fine without  deviating the workitem to any worng user.

  • 2 custom events getting triggered on user status change

    Hi all,
    In IQS21 transaction, once a user changes the user status I need to send a work item to the superior.So for this I have delegated
    the business object BUS7051 to ZBUS7051. I have created 2 custom events HOD and APP.
    I have even configured all the settings in BSVZ.
    There are 3 user statuses 1.Created 2.HOD 3 .APP
    Once user changes the status from Created to HOD a work item(notification in change mode) should go to the superior and similarly from HOD to APP also.
    The problem is when I change status from Created to HOD,APP event is also getting triggered along with HOD.
    Please tell me where I am wrong.
    Refards,
    Nishant

    Nishant,
    The APP event is used for Display the notification right? The two events are triggered for the same process. So the two events are linked with same process. Have you done anything in SWEC?
    Thanks.

  • Change Process are not getting triggered

    Hi,
    I have changed the first name of the user in OIM but the same is not getting sycned in DSEE.
    When I have added the Change First Name Process task from Resource then it got successfully completed and the user's first name got changed in DSEE.
    Automatically Change First Name process task is not getting triggered. It worked for me earlier but now it is not working.
    Could you please let me know the reason for the same.
    Thanks

    verify below
    1. task name under DSEE process def and process trigger lookup is exactly same(remove if any white space etc.)
    2. make sure the task is marked as conditional
    3. Allow Multiple should be checked
    --nayan                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Can not get two instances to join same cluster even on same machine

    On a RedHat Linux box, I have failed to get two instances of coherence to join the same cluster. I have managed to get the muticast test tool to show that packets are being sent and received. To do this, I had to:
    java -cp bin/tangasol.jar -Djava.net.preferIPv4Stack=true com.tangosol.net.MulticastTest
    Wed Apr 15 21:02:45 WET 2009: Sent packet 1.
    Wed Apr 15 21:02:45 WET 2009: Received test packet 1 from self (sent 7ms ago).
    Wed Apr 15 21:02:47 WET 2009: Sent packet 2.
    Wed Apr 15 21:02:47 WET 2009: Received test packet 2 from self
    Wed Apr 15 21:02:49 WET 2009: Sent packet 3.
    Wed Apr 15 21:02:49 WET 2009: Received test packet 3 from self (sent 1ms ago).
    Wed Apr 15 21:02:51 WET 2009: Sent packet 4.
    Wed Apr 15 21:02:51 WET 2009: Received test packet 4 from self
    However, I could not get the following to show that two instances are joining the same cluster... When I start to instances, both of them create a new cluster with only one member in each.
    java -Djava.net.preferIPv4Stack=true -jar lib/coherence.jar
    and obviously, when I try to start two instances of the sample application, I get the same problem.
    java -cp ./lib/coherence.jar:./lib/tangosol.jar:./examples/java -Djava.net.preferIPv4Stack=true -Dtangosol.coherence.localhost=172.16.27.10 -Dtangosol.coherence.localport=8188 -Dtangosol.coherence.cacheconfig=/cache/explore-config.xml com.tangosol.examples.explore.SimpleCacheExplorer

    Thanks for that... I ran:
    jdk1.6.0_13/bin/java -Dtangosol.coherence.log.level=6 -Dtangosol.coherence.log=/my1.log -Dtangosol.ccacheconfig=/cache/explore-config.xml -Djava.net.preferIPv4Stack=true -jar lib/coherence.jar
    and then
    jdk1.6.0_13/bin/java -Dtangosol.coherence.log.level=6 -Dtangosol.coherence.log=/my2.log -Dtangosol.ccacheconfig=/cache/explore-config.xml -Djava.net.preferIPv4Stack=true -jar lib/coherence.jar
    from the same machine and get the following from the log file of the second run (my2.log)
    Oracle Coherence Version 3.4.2/411
    Grid Edition: Development mode
    Copyright (c) 2000-2009 Oracle. All rights reserved.
    2009-04-16 06:53:11.574/0.625 Oracle Coherence GE 3.4.2/411 <Warning> (thread=main, member=n/a): UnicastUdpSocket failed to set receive buffer size to 1428 packets (2096304 bytes); actual size is 89 packets (131071 bytes). Consult your OS documentation regarding increasing the maximum socket buffer size. Proceeding with the actual value may cause sub-optimal performance.
    2009-04-16 06:53:11.660/0.711 Oracle Coherence GE 3.4.2/411 <D5> (thread=Cluster, member=n/a): Service Cluster joined the cluster with senior service member n/a
    2009-04-16 06:53:14.892/3.943 Oracle Coherence GE 3.4.2/411 <Info> (thread=Cluster, member=n/a): Created a new cluster "cluster:0x2FFB" with Member(Id=1, Timestamp=2009-04-16 06:53:11.58, Address=192.168.1.7:8089, MachineId=26887, Location=process:3514, Role=CoherenceConsole, Edition=Grid Edition, Mode=Development, CpuCount=8, SocketCount=2) UID=0xC0A8010700000120ADB3521C69071F99
    SafeCluster: Name=cluster:0x2FFB
    Group{Address=224.3.4.2, Port=34411, TTL=4}
    MasterMemberSet
    ThisMember=Member(Id=1, Timestamp=2009-04-16 06:53:11.58, Address=192.168.1.7:8089, MachineId=26887, Location=process:3514, Role=CoherenceConsole)
    OldestMember=Member(Id=1, Timestamp=2009-04-16 06:53:11.58, Address=192.168.1.7:8089, MachineId=26887, Location=process:3514, Role=CoherenceConsole)
    ActualMemberSet=MemberSet(Size=1, BitSetCount=2
    Member(Id=1, Timestamp=2009-04-16 06:53:11.58, Address=192.168.1.7:8089, MachineId=26887, Location=process:3514, Role=CoherenceConsole)
    RecycleMillis=120000
    RecycleSet=MemberSet(Size=0, BitSetCount=0
    Services
    TcpRing{TcpSocketAccepter{State=STATE_OPEN, ServerSocket=192.168.1.7:8089}, Connections=[]}
    ClusterService{Name=Cluster, State=(SERVICE_STARTED, STATE_JOINED), Id=0, Version=3.4, OldestMemberId=1}
    the contents of the xml file are:
    <?xml version="1.0"?>
    <!DOCTYPE cache-config SYSTEM "cache-config.dtd">
    <cache-config>
    <caching-scheme-mapping>
    <!--
    Caches with any name will be created as default replicated.
    -->
    <cache-mapping>
    <cache-name>*</cache-name>
    <scheme-name>default-replicated</scheme-name>
    </cache-mapping>
    </caching-scheme-mapping>
    <caching-schemes>
    <!--
    Default Replicated caching scheme.
    -->
    <replicated-scheme>
    <scheme-name>default-replicated</scheme-name>
    <service-name>ReplicatedCache</service-name>
    <backing-map-scheme>
    <class-scheme>
    <scheme-ref>default-backing-map</scheme-ref>
    </class-scheme>
    </backing-map-scheme>
    </replicated-scheme>
    <!--
    Default backing map scheme definition used by all
    The caches that do not require any eviction policies
    -->
    <class-scheme>
    <scheme-name>default-backing-map</scheme-name>
    <class-name>com.tangosol.util.SafeHashMap</class-name>
    </class-scheme>
    </caching-schemes>
    </cache-config>

  • Workflow not getting triggered on status change

    Hiii Everyone
    Workflow is not getting triggered whenever I change the status of the Order (Lead).  When we create a lead a workflow is triggered.
    1. If the status is Open a mail is sent.
    2. Then the status is checked for in process. And whenever the  status is changed to inprocess it is assigned to the agent by   the  rule attached to the workflow.
    3. And again when the status is changed to sanctioned a mail is sent.
    Now problem is if I create a lead and change its status to inprocess and then save , then the mail is sent and it is assigned to the agent properly. But when I change the status to sanctioned , then the mail is not sent for sanctioned(i.e. no worklfow step is shown in swel).
    If I open the lead and save it then the mail is sent properly. But then after that when I change the status to inprocess, the workflow is not showing agent assignment (jn swel).
    Summary: Whenever I cahnge the status after saving the order , the workflow is not showing any further step .
    Please suggest the solution.
    Regards
    Shafali

    Hi,
    Your workflow has been triggered when the status is open and then when change the status to in process,it is not sending mail as there is no agent assignment.
    That means, workflow triggered, but it is not going to the next step.
    Is it a standard or custom one?
    Can you post the workflow log screenshot over here?
    Cheers,
    Raja.D

  • LOV value change event is getting triggered automatically

    Hi,
    I'm using ADF Faces with EJB. I have a page with a LOV defined as:
    <af:selectInputText binding="#{backing_contactUpdate.investorLOV}"
              id="investorLOV" columns="30"
              searchDesc="Search and Select Investor"
              value="#{updateContact.reference_id_meaning}"
              action="dialog:chooseInvestor"
              windowHeight="600" windowWidth="650"
              returnListener="#{backing_contactUpdate.investorLovReturn_action}"
              valueChangeListener="#{backing_contactUpdate.investorLovChange_action}"
              autoSubmit="true"/>
    When this page is run the first time and no value exists in the managed bean property bound to LOV field (updateContact.reference_id_meaning) then it all works fine. But if the managed bean property has any value then clicking any button which submits data triggers the LOV change event (backing_contactUpdate.investorLovChange_action). Once a new value is selected in the LOV then the event doesn't get triggered. How can I make the state of LOV field as validated, so that the change event doesn't get fired?

    Additional Information:
    The backing bean and managed bean both are at request scope.
    Another problem I'm facing is that the value change event is not fired when the value in the LOV field is deleted (set to blank).
    The method in backing bean is:
    public void investorLovChange_action(ValueChangeEvent valueChangeEvent) {
    // Add event code here...
    String investorName = (String)valueChangeEvent.getNewValue();
    if (investorName == null) {
    getReferenceId().setSubmittedValue(null);
    getReferenceId().setValue(null);
    } else {
    ValueBinding investorBeanBind =
    application.createValueBinding("#{irmInvestorBean}");
    IrmInvestorBean investorBean =
    (IrmInvestorBean)investorBeanBind.getValue(facesContext);
    investorBean.fetchInvestors(investorName, null, null);
    IrmInvestorSearchResults[] investors = investorBean.getInvestors();
    if ((investors != null) && (investors.length == 1)) {
    getReferenceId().setSubmittedValue(null);
    getReferenceId().setValue(investors[0].getInvestor_id());
    getInvestorLOV().setSubmittedValue(null);
    getInvestorLOV().setValue(investors[0].getFull_name());
    } else {
    UIViewRoot investorLovRoot =
    application.getViewHandler().createView(facesContext,
    "/investorLOV.jsp");
    HashMap windowProp = new HashMap();
    windowProp.put("height", "600");
    windowProp.put("width", "650");
    adfFacesContext.launchDialog(investorLovRoot, null,
    valueChangeEvent.getComponent(),
    true, windowProp);
    }

  • Event gets triggered Two times everytime

    Dear Experts,
    I am using an event Changed of BOR LIKP(Outbound Delivery). It gets triggered twice. I am unable to find the reason. Please help.
    -Pritam

    Hi,
    Check this [Thread1|Event and Business obejct triggered  twice; & [Thread2|the workflow gets trigerred thrice...;.
    Regards,
    Surjith

Maybe you are looking for