How to trigger event CREATED for Bus.Obj BUS2126003 (Vendor Settlement)

Hi
I want to start a workflow inside Agent Business, when Vendor Settlement (BUS2126003) is Created.
The problem is that the event does not get triggered when Created. Not even the CHANGED event is tiggered during change.
Currently I have workflow on the objects BUS2144001 (Customer Settlement - Agency Business )
and BUS2100001 (Settlement request list - Agency Business). Both these objects gets triggered when created (EVENT = CREATED).
I try to find out a way to trigger CREATED for Vendor Settlement. Do you have any suggestion for this?
I've tried to find any exits, Badi's, ...from where I could trigger the event myself.... but with no good result...
Best reg
Henrik

Hi HA,
are you talking about ERS (Evaluated Receipt Settlement) in SRM?
If yes, check with the settings in IMG, there is an ERS flag in Vendor master record that needs to be set for that vendor.
Hope it helps.
Aditya

Similar Messages

  • How to query opening balance for all customer or Vendor for an speci. date

    Hi,
    How to query opening balance for all customer or Vendor for an specific date?
    Example:
    put any date and query will show all customer/ Vendor  that date opening/current balance.
    Regards,
    Mizan

    Hi mizan700 ,
    Try this
    SELECT T0.[DocNum] As 'Doc No.', T0.[CardCode] As 'Customer Code',
    T0.[CardName] As 'Customer Name',(T0.[DocTotal]-T0.[PaidSys]) As 'O/S Balance'
    FROM OINV T0 INNER JOIN OCRD T1 ON T0.CardCode = T1.CardCode
    INNER JOIN OCRG T2 on T1.GroupCode = T2.GroupCode
    INNER JOIN INV1 T3 ON T0.DocEntry = T3.DocEntry
    WHERE T0.[DocStatus] ='O'
    AND
    (T0.[DocDate] >='[%0]' AND T0.[DocDate] <='[%1]')
    Regards:
    Balaji.S

  • When, where, and how is a GUI event created for a Swing component?

    Somebody please help me with this issue !
    Heavy weight (AWT) components such as JFrame, JDialog, JApplet, and JWindow have
    native peers. As I understand, the senario of event creation for such heavy components
    is something like follows:
    1. A mouse click happens in a heavy component.
    2. The native platform (i.e. the OS) captures the mouse click event and
    store it as a native event somewhere in the system.
    3. java.awt.EventDispatchThread gets this message and translates the native message
    into an AWTEvent. When creating the AWTEvent, AWT actually looks up a hashtable
    for the reference to the heavy component from the reference to the native window.
    The hashtable stores all the pairs of heavy components and their native peers ever
    created during the session. Now the AWTEvent includes a reference to the "source"
    component that generates the event.
    4. java.awt.EventDispatchThread dispatches the AWTEvent to the heavy component
    for furture processing.
    As for light weight (Swing) components such as JButtion, no native peers are attached.
    So, there is no mapping from native peers to light weight components.
    After a mouse click happens over a JButton, how, when, and where is the corresponding
    event created and finnally routed to JButton. Could somebody give a sketch of the
    senario? Thanks a lot.

    Basically for Swing components, it would have to figure out based on the size and location of the components which one the click happens in. One could simply know that this panel is so big and it has such and such components in it which are however big and located at whatever point. It's a matter of digging down through components to find the lowest (or would it be highest) one.

  • How to add event handling for a menu?

    hi,
    I have created a menu and few mneu items.
    for eachmenu itme , i did event handling and it is workign fine.
    it was like this
    menuItem = new JMenuItem("Exit",KeyEvent.VK_X);
    menuItem.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_X, ActionEvent.ALT_MASK));
    menuItem.addActionListener(this);
    menu.add(menuItem);
         public void actionPerformed(ActionEvent e)
    JMenuItem source = (JMenuItem)(e.getSource());
    String s = "Action event detected. Event source: " + source.getText();
    System.out.println(s);     
    public void itemStateChanged(ItemEvent e)
    JMenuItem source = (JMenuItem)(e.getSource());
    String s = "Item event detected. Event source: " + source.getText();
    System.out.println(s);
    now int he second menu i don't have any menu item and i want to do the event handling for the menu itself. any ideas how to do it. following is the code for the menu
    //Build the second menu.
    menu2 = new JMenu("Options");
    menu2.setMnemonic(KeyEvent.VK_O);
    menuBar.add(menu2);
    menu2.addActionListener(this);     //this does nto work

    You were on the right track. However, selecting a menu is different from selecting a menu item. MenuItem chucks an ActionEvent and Menu will send an ItemEvent.
    If you pile all action output to one actionPerformed method then be careful of your assumptions on what the source type will be. If by any chance the Menu has sent an ActinoEvent then your code will have caused a ClassCastException.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class MenuTest implements ActionListener, ItemListener {
        JMenuItem menuItem;
        JMenu menu1, menu2;
        JMenuBar menubar;
        JFrame frame;
        public MenuTest() {
            frame = new JFrame("MenuTest");
            frame.setDefaultCloseOperation(frame.EXIT_ON_CLOSE);
            menubar = new JMenuBar();
            frame.setJMenuBar(menubar);
            menu1 = new JMenu("File");
            menu1.setMnemonic(KeyEvent.VK_F);
            menuItem = new JMenuItem("Exit",KeyEvent.VK_X);
            menuItem.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_X, ActionEvent.ALT_MASK));
            menuItem.addActionListener(this);
            menu1.addItemListener(this);
            menu1.add(menuItem);
            menubar.add(menu1);
            //Build the second menu.
            menu2 = new JMenu("Options");
            menu2.setMnemonic(KeyEvent.VK_O);
            menu2.addActionListener(this); //this does not work
            menu2.addItemListener(this); // use this instead
            menubar.add(menu2);
            JPanel panel = new JPanel();
            panel.setPreferredSize(new Dimension(100,100));
            frame.getContentPane().add(panel);
            frame.pack();
            frame.show();
        public void actionPerformed(ActionEvent e)
            String s = "Action event detected. Event source: " + e.getSource();
            System.out.println(s);
        public void itemStateChanged(ItemEvent e)
            String s = "Item event detected. Event source: " + e.getSource();
            System.out.println(s);
        public static void main(String[] args) {
            new MenuTest();
    }

  • How to trigger event when changing user status?

    hi,
    I'm having problems in triggering my workflow.
    In CIC0, When a status of a service request is changed to 'solution provided' then after saving service request, it should send a notification mail. I'm using ZBUS200116 which is deligated to BUS2000116. I've created event 'change' in ZBUS200116 which is in the start events of my workflow.
    I've tried creating an action profile which uses my workflow. The action profile is attached to the transaction but still it doesn't trigger my workflow.
    i've checked other existing workflows which uses the same object type BUS2000116 or ZBUS200116. These workflows were triggered by 'created' and 'completed' events only. Other added events in ZBUS200116 like 'changed' is not triggered. How is this possible when ZBUS200116 is deligated to BUS2000116?
    Your response would be highly appreciated.
    Thanks in advance.

    hi juan
    so here we are,now i got complete understanding of what u r doing and why
    you know you need not have created that change event because it wont serve your purpose anyway
    the reason is that because the way process in your workflow is flowing ,it wont happen that way using change event
    you just follow these  steps:
    1, use created event in your workflow
    2. that way when your contract ios created in rpocess status the event will be triggered only because you are creating a transaction whatever may be the status,so in all such cases you should use event created.
    3. now coming to the point of change in status or documents in contract
    in this case using loop will put you in deadlock and you will only be haing the error in such case
    you use WAIT step instead ,inside it use wait using conditions out of every option
    there you give your condition as change in whatever status
    like if you are chaning the status from in process to some other status ,put that status inside the condition
    as soon as that conditioon is met ,the WAIT step will be executed,
    that way you will be able to trigger the change in status through thje workflow
    so thats the solution with the approach you are using
    there are many approaches you can follow in workflows ,so depending upon that you can follow the different worlkflow tools u have there.
    also remember when your wait step gets executed there is always the time lag of 20-25 minutes after which changes will be reflected
    hope it will solve ur probs
    best regards
    ashish

  • How to trigger event in ALV ?

    hello,
    In ALV, when user press 'Refresf' we will get data and display again . but in my case, I need to refresh automatically after some changes on data . The form user_command is used in ALV_GRID_DISPLAY. here could you please help me how to trigger this event ? ( no need to press on refesh button )?
    Thanks

    try like this
    form user_command using ucomm type sy-ucomm
                         selfield type slis_selfield.
      data: gd_repid like sy-repid, "Exists
            ref_grid type ref to cl_gui_alv_grid.
      data: l_indx like sy-tabix.                           " index
    Function for Grid control
      if ref_grid is initial.
        call function 'GET_GLOBALS_FROM_SLVC_FULLSCR'
          importing
            e_grid = ref_grid.
      endif.
    Method to hold the list output
      if not ref_grid is initial.
        call method ref_grid->check_changed_data .
      endif.
      selfield-refresh = 'X'.
    endform.
    regards
    Prabhu

  • How to trigger event of diff. BOR object in WF started with diff BOR object

    Hi all,
      I am currently working in IS-U scenario. It deals with IDOCs mainly. I hav a requirement in which I have trigger an event of another Business Object inside a workflow which is started using a event of another business object.
    For  Eg:
    The WF is started using ZBOR1.created event. Inside the WF, at some point I hav to trigger ZBOR2.received event.
    Can anyone help me in this....
    Thanks,
    Sivagami.R

    Hi,
    I think you should have a second though in this design.
    One thing can be , if I am correct, you should have swithdocumnet object which is common for all the IDOCs in ISU flows, irrespective of which IDOC is sent out or which IDOC is posted.
    Accordingly , you can add a custom event XYZRreceived for the same switchdocumnet object when you receive  differnent IDOC, while your workflow is waiting. ( i.e in this case , as the switch documnet object is same for which workflow has been triggered, you wont have the problem of worrying about different object!)
    OR
    In your case , if you are using ZBOR1 , you should add another event as XYZReceived, which you can trigger when you receive another IDOC using FM SWE_EVENT CREATE , and hence you wont have to bother about instance of ZBOR2.
    Hope it serves the purpose.
    Regards,
    Akshay

  • How to import events created on my iPod touch iCal into my computer's iCal?

    Hi,
    I have an iPod touch and and MacBook Pro; I find that the "sync" that occurs between the two, via my iTunes application, seems one-way (from my computer to my iPod). I would like to have events created on my iPod (while out and about) to be added/adjusted into my computer's iCal; essentially, why is the sync between the two devices not a mutual exchange, and how can I change the import/export settings?

    By syncing. The users manual says:
    New and changed playlists are copied to your iTunes library the next time you sync iPod touch with your computer, or via iCloud if you’ve subscribed to iTunes Match.
    You have to sync, not manage music manually in iTunes.

  • How to process TR created for 122 mov ?

    Dear All,
    How to process the TR created in the background for 122 mov. through QA module ?
    I have not processed the TR created for the GR document.  When I try to process it, the open qty in the TR is the difference between (Total GR Qty - Return Qty).
    Hence the TR created for 122 mov is Open.
    Please guide me how we process such TR's.
    Hope my query is clear.
    Regards,

    Hi Prakash & Vineet,
    Thanks a lot for your reply's.
    See my scenario goes like this & hope this is a common one in case of vendor rejections.
    when we create a GR an Inspection lot & TR will be created for the whole GR Qty say (100) with Stock type as Q (Quality).
    Suppose If I do the UD for the Inspection lot where I accept 70 Qtys & Reject 30 Qtys then automatically a TR will be created for the 30 Qtys.
    Since I have already rejected 30 qtys, only 70 qtys will be open in the TR which was created at the time of GR (which is yet to be processed).
    So this TR can be converted into a TO & Stock can be placed in the Destination Storage type & Bin.
    Now coming to the rejected qty which is getting knocked off  in the interim bin itself the stock level in MM-IM & WM is balanced.
    But my concern is TR which was created against the Rejected Material Doc (122) is Still Open. So what do we do with such TR's which are open?
    In LB02 we can either delete this TR or change the Status to Processed. 
    I hope many of you might have come across this scenario. So how did you manage this? Is there any T.CODE available where we can delete or change the status of TR's as processed in a mass way ?
    Hope my query is clear now.
    Thanks & Regards,

  • How to remove event handlers for a content type currently in use?

    Hi,
    We had a SP 2007 solution that managed event handlers as described in
    Brian Wilson's blog regarding event handlers. We then did a in-place upgrade to SP 2010. It so happend that we wanted to remove some of our old event handlers and this is where our problem started. We managed to delete event handlers
    (SPEventReceiverDefinitions) for
    Site and List by using the ui from Brian Wilsons feature "Manage Event Handlers" (ref the link above), but not anyone at all for
    Content Types... It simply wouldn't be deleted
    (remove was grayed out in the ui). 
    We then tried to do it by code. Below is a code snippet illustrating how we tried to delete the event handlers for content types:
    using (SPWeb web = properties.Feature.Parent as SPWeb)
    string targetClassName = "targetClassName.";
    web.AllowUnsafeUpdates = true;
    // Removing Content Type event handlers
    foreach (SPContentType ct in web.ContentTypes)
    for (int i = ct.EventReceivers.Count - 1; i >= 0; i--)
    if (ct.EventReceivers[i].Class.StartsWith(targetClassName))
    ct.EventReceivers[i].Delete();
    ct.Update(true);
    web.Update();
    The Content Types are not sealed and are
    not readonly. When debugging, we can see that the
    Delete() method are called on one of the Content Types we wanted to delete event handlers for. We noted that the
    ct.EventReceivers.Count remains the same, before and after Delete() is called. We did not get any exceptions when running this code.
    When running the code a second time and debugging again, we see that the very same Content Type still has the very same event handler attached... As in, it wasn't deleted....
    We also tried to delete the event handlers through PowerShell as described
    here in the post by Per Jakobsen. However, the script did not really seem to find any EventReceivers... We tried to write the
    $site.AllWebs | % {$_.Lists} | % {$_.ContentTypes} | % {$_.EventReceivers} list to file, but it was empty.. We did however get a long list when writing $site.AllWebs | % {$_.Lists} | % {$_.ContentTypes} to file. We could then in
    that file see the event handler references we want to remove registered to our Content Types, as we did during code debugging earlier on. So PowerShell might still be the way to go here...
    So, does anyone know if there is a way to force this delete through, either by code, PowerShell or some other means? Any help regarding this matter would be very much appreciated :)

    Hi,
    For your information, there's two versions (at least) exists for each content types. One is Site Content Type - exists in Root web and another is list content type. Once you add a content type to a list, a copy of the site content type is taken and stored
    in the list. If you update the site content type, it may or may not affect the list conten type. So make sure you are updating the both - site content and list content type. Once you update site content type with passing paramater true to 'ct.Update(true)',
    the list content types are supposed to updated too.
    Thanks,
    Sohel Rana
    http://ranaictiu-technicalblog.blogspot.com

  • How to trigger a badi for a particular screen of a transaction alone?

    friends
    am trying to issue an error msg. in the PAI of the screen SAPMQEVA (0102), which belongs to QA11/Usage decision..In the method PUT_DATA of implementation QEVA_SUBSCREEN_1101, am able to capture all the screen fields..but the problem is there are two tabstrips (Defects, Inspection Lot stock), i want to trigger the msg only in the PAI of SAPMQEVA (0102), i.e the last tabstrip (Inspection Lot stock)..but this badi triggers in every pai of QA11 and issues the error msg..but the values of the screen fields of the last tabstrip are getting filled only in the PAI of the same, but how to trigger it for the PAI of the last tabstrip alone..no parameters in the method seem to have screen no. or okcode...hav tried with badi INSPECTIONLOT_UPDATE, which doesn't solve the purpose...pl suggest
    regards
    Sathish. R

    hi
      tx for answering...i have tried in all the user exits, including the one that you mentioned, but in none of them the UD data or storage loc. data sits in..only in the badi that i've mentioned i get all the data of the screen fields...how to make it trigger for that particular screen alone, is that doable?
    regards
    Sathish. R

  • How to find event handler for save button in salesorders

    Hi,
    I want perform event based on save button in salesorders.Can you tell me how to find the event handler for
    save button.
    Regards,
    Brahmaji

    Brahma,
    you can find the component, view details by doing an F2.
    open the component, the view will be mostly an overview page i.e., the name ends OP etc.,
    But your method name will be mostly EH_ONSAVE, you need to find exact view.
    F2 does not come up properly for overview pages, you have to look into UI config tool preview and make sure sometimes.
    Regards,
    Masood Imrani S.

  • NO Event created for Customer Billing Document (VF01) in Work Flow

    Hi expert ,
    I would like to trigger a work flow from the customer invoice created event.
    Bus Object should be "VBRK" or "BUS2037" ( Customer billing document )
    But ,I cannot get any event after the billing transaction in VF01.
    I use the "SWEL" transaction to monitor all events triggered, but I don't see any event related with billing ( I only see events for sales order creation ).
    Also in "SWO1" BUS2037 has only one event  : "ItCustBillingDoc.assigned"; but It doesn't make any sense to me .Why isn't there a created event for invoice ?
    Has any of you been thru that problem ?
    Thanks for advising .
    Sincerely
    Yvon.

    Hi thanks for your answer.
    SWELS is activated.
    PB still remains :
    In  SWEL i see no event triggered after the creation of a billing invoice .
    I can only see an event related to BUS2032 which is the sales order creation .
    But nothing related to the billing document although the doument is created in SD ( I have the record in VBRK ).
    Any idea Why ?
    Thanks again

  • Event created for SharePoint Calendar opened in Outlook, not showing in SP

    I have a SharePoint 2013 Enterprise calendar list that I have "open in outlook"
    In Outlook 2013, in the opened SharePoint calendar, I create a few events.   None of them show up in the SharePoint list , they only remain visible in my Outlook Calendar. I had users report this problem to me when we were still using SharePoint
    2007, I had hope this error had been fixed... but I shouldn't be surprised to see that it's still happening.
    How can this be fixed? I have users who are depending upon this SharePoint calendar to be accurate. I have no way of knowing that evetns created in Outlook are failing to show in SharePoint.  Help please

    Hi Vince,
    According to your description, my understanding is that the event made in Outlook don’t sync to SharePoint site’s calendar.
    Please try to use the ScanPST program to repaire the SharePoint PST file, compare the result.
    More information, please refer to the link:
    http://www.nangets.net/?p=267
    I hope this helps.
    Thanks,
    Wendy
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Wendy Li
    TechNet Community Support

  • How to trigger FIDCCP02 idoc for outbound vendor invoices?

    Hi
    1. How can i trigger the idoc FIDCCP02 for outbound processing? I am trying to use this idoc to send the vendor invoice data to another system.
    2. How do i send existing data from sap to another system thru idocs?
    pls give me the steps.
    Regards
    Sujai

    Hi Sujai,
    First you have to fill the your data into a table which is like the structure of EDIDD.Here you have to fill the all segmetns in the sequence which defined in the idoc type only other wise you will get error 26.
    Then pass the control record data in the structure like EDIDC here you have to fill the sender,receiver,partner profile,idoc type message type like stuff.
    Then pass these table and structure to the function module MASTER_IDOC_DISTRIBUTE.
    Then idoc will created by above funciton module.
    If you want pass data in xml format then you have to create xml port in we21 and pass this port name in the EDIDC structure.
    Thanks,
    radha.

Maybe you are looking for

  • Mini Displayport to VGA problem - not recognizing

    Hi all, First, thanks for your patience as I am new to these forums and thanks for reading and hopefully helping. We purchased an apple branded mini DP to VGA adapter about a week ago from an auth. reseller in Prague (US expats). We are using the ada

  • Status bar text is not read by Screen reader.

    Dear Colleagues, In my Java application(Java Swings), I use a status bar to show the status of application for user. In String XML file, I use the status message type as 'XMSG'. This perticular text is not read by the SCREEN READER. This is tested du

  • Report Date

    Hello, I am generating a report in BEx Explorer I need to output Current date as Report date in my report output? Also My report input variables as follows 1.Period No 2.Fiscal Year But user want to see inthis order 1.Fiscal Year(Comming from RKF) 2.

  • How to view a full screen video in Aperture ?

    I am hoping that this is an easy question for someone. When I am watching a video in quicktime, and I press Command-F it expand the video to use all of my iMac's screen. How do I do the same thing in Aperture? Pressing F toggles the full screen mode

  • Reinstalling OSX to new drive

    I recently received a brand new shiny Mac Pro (thanks to AppleCare) after my G5 went belly up. It came with only one 500GB drive and 1GB of memory. I upgraded to a total of 5GB of memory and put in 3 additional 500GB drives. 1 WD SE16 for backup of m