Displaying Screen After the Add Button is pressed and the document is saved

Hi All,
I am trying to the Display the Landed Cost screen after the Goods Receipt PO has been added and Saved.
My code below: <b>If pVal.ItemUID = "1" And pVal.FormTypeEx = "143" And pVal.FormMode = SAPbouiCOM.BoFormMode.fm_ADD_MODE And pVal.BeforeAction = False Then
            If pVal.EventType = SAPbouiCOM.BoEventTypes.et_CLICK Then
                Dim oMenuItem As SAPbouiCOM.MenuItem
                oMenuItem = SBO_Application.Menus.Item("2310") 'modules 2310 is the Landed cost screen'
                oMenuItem.Activate()
            End If
        End If</b>
It displays the landed cost screen when i Click the add button, But I need to display it after the the document has saved, ANy inputs on the same!
Your help is appreciated!!!

Hi Vinayak,
Change the code
If pVal.EventType = SAPbouiCOM.BoEventTypes.et_CLICK Then
to
If pVal.EventType = SAPbouiCOM.BoEventTypes.et_ITEM_PRESSED Then
And it will work.
Best Regards,
Nick He

Similar Messages

  • Hi I bought macbook Pro Retina 1.3 from India on the 29th March 2014 and currently I am in Norway. And suddenly I can see the inside display screen is broken. Nothing from outside and the main top screen. I got by email from the shop in India, Mumbai

    Hi I bought macbook Pro Retina 1.3 from India on the 29th March 2014 and currently I am in Norway. And suddenly I can see the inside display screen is broken. Nothing from outside and the main top screen. I got by email from the shop in India, Mumbai where I purchased it and I have the photos of the screen where do I upload kindly urgently do let me know. It is under warranty till today and I need your urgent details so that I can upload required datas and I shall go back to India on the 5th April 2015 hence I need to get from you how to go about. Thank you. Uday Kumar Ghosh +47 455 48 953

    Thank you. I did contact Apple Norway and they already raised a case no based on which I shall go and hand over my mac pro retina 13inch. As per Apple Norway, as the case has been registered before the expiry of the warranty, Apple India to accept the warranty  as well and get the set repaired under warranty. Thank you.

  • My iphone4 today suddenly froze today I did a lot of tries by pressing the lock button(long press) and pressing home button and lock button together( long press) but it is not starting. It's 7.1.1 and iPhone 4

    My iPhone4 suddenly froze today. I did a lto of tries to start it by pressing the lock button(long press) and by pressing the home and lock button together(long press)but it doesn't work. It's an iPhone4 iOS 7.1.1. How to restart it?

    Hi there Arpit gaba,
    I would recommend taking a look at the troubleshooting steps found in the article below. 
    iOS: Not responding or does not turn on 
    -Griff W.

  • My iphone 4 is not in service its deactivated the home button doesnt work and the front screen is cracked can i get a new iphone 4 for free

    my iphone 4 is not in service its deactivated the home button doesnt work meaning theres tape to keep it in its place, and the front screen is cracked can i get a new iphone 4 for free. what should i do.

    Take it to Apple for an out of warranty replacement for $149US.

  • Why does Satellite Pro A300 not start when the power button is pressed?

    Suddenly my new Satellite Pro A300 will not start correctly when the power button is pressed. The situation is this: When I press the power button the Toshiba opening picture (Leading Innovation) appears and disappers quickly. Then there is a black screen for about 30 seconds. Then there is a rectangular frame with the text Microsoft Corporation underneath. And nothing happens however long I wait.
    In order to get on with the starting proces I then shut down the computer by pressing down the power button until the computer stops. ("The hard way to shut down")
    Now I press the power button shortly to turn on the computer. Then the computer starts normally with the Toshiba opening picture and after a few seconds I am asked to open the computer in safe mode or in normal mode. I now choose to open in normal mode and the computer opens normally and is ready to work.
    What shall I do to get a normal start procedure?

    When notebook starts normally (after choosing normal mode) shut down your notebook properly using START > Shut down option. Next start should be normal.
    When the OS is switched down on irregular way you will be always asked how to start it again (safe or normal mode).
    The same happen on my Satellite A300.

  • Fire a left click when the right button is pressed

    I am working on a small program with a text area and mouse functionality. I have all my listeners in place but I need one additional feature and I am unsure how to go about implementing it. I want to be able to fire a left click when the right button is pressed.
    The reason is because right clicking does not move the caret around the text area. I need to be able to move the caret with a right click so I can then invoke another method to do some other functionality that is associated with the right click. Any method is acceptable as long as a right click will result in the caret being able to move to a location much like a left click can.
    all help is appreciated. Thanks.

    I'm not sure if this is "better", and my guess is that it isn't, but how about using a Robot object here to create a left mouse press and release? For instance,
    import java.awt.AWTException;
    import java.awt.Robot;
    import java.awt.event.InputEvent;
    import java.awt.event.MouseAdapter;
    import java.awt.event.MouseEvent;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    import javax.swing.JComponent;
    import javax.swing.JScrollPane;
    import javax.swing.JTextArea;
    public class RightClickAsLeft
      private JPanel mainPanel = new JPanel();
      private JTextArea area = new JTextArea(20, 50);
      private Robot robot;
      public RightClickAsLeft()
        try
          robot = new Robot();
        catch (AWTException e)
          // TODO Auto-generated catch block
          e.printStackTrace();
        mainPanel.add(new JScrollPane(area));
        StringBuilder sb = new StringBuilder();
        for (int i = 0; i < 18; i++)
          for (int j = 0; j < 80; j++)
            sb.append((char)(40 + j));
          sb.append("\n");
        area.setText(sb.toString());
        area.addMouseListener(new MyMouseListener());
      public JComponent getComponent()
        return mainPanel;
      private class MyMouseListener extends MouseAdapter
        @Override
        public void mouseClicked(MouseEvent e)
          int button = e.getButton();
          if (button == MouseEvent.BUTTON3)
            if (robot != null)
              robot.mousePress(InputEvent.BUTTON1_MASK);
              robot.mouseRelease(InputEvent.BUTTON1_MASK);
      private static void createAndShowUI()
        JFrame frame = new JFrame("RightClickAsLeft");
        frame.getContentPane().add(new RightClickAsLeft().getComponent());
        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        frame.pack();
        frame.setLocationRelativeTo(null);
        frame.setVisible(true);
      public static void main(String[] args)
        java.awt.EventQueue.invokeLater(new Runnable()
          public void run()
            createAndShowUI();
    }Edited by: Encephalopathic on Apr 10, 2009 9:59 AM

  • How best to halt an execution when the emergency stop is pressed or the door opens with TestStand?

    Hi all,
    I am creating a test set that needs to be halted when the emergency button is pressed or the door is opened (note: data about the door open status is read in via a door latch using a PXI-6514). The way that the sequence is going to be structured is that each test (approx. 11 tests) is going to be a step in a TestStand sequence. The steps that are going to run the tests are going to be of type Pass/Fail. These steps will call a DLL written in C# that will perform one entire test.
    What I want to do is for some tests when the door opens, the step in the sequence is aborted and then when the door is closed the step is rerun. However, for a few tests the door needs to be opened for the operator to make changes and then once the operator closes it again then that test should continue testing.
    As I am new to both TestStand and development of test equipment, I am unsure which method is better:
    Method 1:
    Let TestStand handle the door opening, thus TestStand would need to know which test to halt and which to abort. I don't know which callbacks are required to do this.
    Method 2:
    Let each DLL handle the software trigger that the PXI-6514 "throws" when the door opens. This would mean that for each test you can either halt it until the door close. Or for the necessary test you can abort the execution of that test by shutting in a safe manner and returning a bit to TestStand, which indicates that the test was aborted. Then is there a callback that will rerun the step or will I just use Goto statements.
    Is there another method that would be more appropriate to use?
    Thank you
    Elnaz

    Hi Elnaz,
    I have faced a very similar issue before. The best option is to have your code modules handle the signal. So when a test when someone open the doots, you code modules should be able to keep up that signal and be able to act on it. So essentially your code modules should have some sort of a signal handler that automatically executes code to halt the code module when it receives the external signal. You have to pass a parameter back into teststand informing that an external signal was received by the code modules. So you can use Post Actions for this. Every step in TestStand has Post Action in the Step Properties. So you can change the execution flow based on the parameter passed in.
    For example, if your code module received the external signal then it will pass a flag. In your post Actions based on this flag you can either goto a differnt step or you can jump back to your current step, thus re-running itself.
    I hope this helps
    SijinK
    National Instruments.

  • User exit in Delivery after the SAVE button is pressed.

    When the Delivery gets picked and Post Goods issued , the Delivery quantity for example instead of 48,000 LBS may be little less say 47,345 LB. We need to update this number in the order quantity which will originally have 48,000 LBS.
    I need to update this quantity in the sales order VA02 after the delivery is saved. Whats the user exit AFTER the save button is pressed?
    Thank you in advance

    Hi,
    Check this User Exits related to Delivery,
    Delivery related exits
    V50PSTAT - Delivery: Item Status Calculation
    V50Q0001 - Delivery Monitor: User Exits for Filling Display Fields
    V50R0001 - Collective processing for delivery creation
    V50R0002 - Collective processing for delivery creation
    V50R0004 - Calculation of Stock for POs for Shipping Due Date List
    V50S0001 - User Exits for Delivery Processing
    V53C0001 - Rough workload calculation in time per item
    V53C0002 - W&S: RWE enhancement - shipping material type/time slot
    V53W0001 - User exits for creating picking waves
    VMDE0001 - Shipping Interface: Error Handling - Inbound IDoc
    VMDE0002 - Shipping Interface: Message PICKSD (Picking, Outbound)
    VMDE0003 - Shipping Interface: Message SDPICK (Picking, Inbound)
    VMDE0004 - Shipping Interface: Message SDPACK (Packing, Inbound)
    V02V0001 - Sales area determination for stock transport order
    V02V0002 - User exit for storage location determination
    V02V0003 - User exit for gate + matl staging area determination (headr)
    V02V0004 - User Exit for Staging Area Determination (Item)MV50AFZ1 - User Exits for Delivery Processing
    MV50AFZ2 - User Exit for Batch Quantity Allocation
    MV50AFZ3 - LIPS-KOQUI (Picking is subject to confirmation) determination
    MV50AFZK - The user exits in this include can be used to fill the condition tables for material listing and
    material exclusion (KOMKG and KOMPG) and product selection (KOMKD and KOMPD) with own data.
    MV50AFZL - In delivery creation process for sales orders there is the possibility to restrict the delivery creation to some order items.
    If these order items are member of a delivery group, but not all items of
    this delivery group are includes in the restriction range of the order item nubers, you can specify in this routine what to do.
    MV50AFZP - This user exit can be used to modify change mode of pricing screens in delivery processing.
    MV50AFZZ - Users Exit for Batch Determination; LIPS-LGORT determination
    Thanks & regards,
    Dileep .C

  • My ipod touch will not work the screen is black with a small white circle/wheel in the middle of it no matter which button i press and hold nothing happens

    My ipod touch stopped working. The screen is black with a small white circle/wheel with ridges/teeth in the middle of the screen. No matter what button is pressed and/or held nothing happenes. Can anyone assist me?

    Try the remaining items of:
    iOS: Not responding or does not turn on
    If not successful and you can't turn the iPod fully off, let the battery fully drain. After charging for at least and hour try again.
    - If still problem time for an appointment at the Genius Bar of an Apple store.

  • My ipad screen will not come on, it gets a little brighter when the home button is pressed but nothing else happens. Is it faulty?

    Hi
    When I press the home button on my iPad the screen gets a little brighter but doesn't come on and none of the icons are visible.I also do not get the red swipe strip. Is my iPad screen faulty?

    Frozen or unresponsive iPad
    Resolve these most common issues:
        •    Display remains black or blank
        •    Touch screen not responding
        •    Application unexpectedly closes or freezes
    http://www.apple.com/support/ipad/assistant/ipad/
    iPad Frozen, not responding, how to fix
    http://appletoolbox.com/2012/07/ipad-frozen-not-responding-how-to-fix/
    iPad Frozen? How to Force Quit an App, Reset or Restart Your iPad
    http://ipadacademy.com/2010/11/ipad-frozen-how-to-force-quit-an-app-reset-or-res tart-your-ipad
    Black or Blank Screen on iPad or iPhone
    http://appletoolbox.com/2012/10/black-or-blank-screen-on-ipad-or-iphone/
    What to Do When Your iPad Won't Turn On
    http://ipad.about.com/od/iPad_Troubleshooting/ss/What-To-Do-When-Your-Ipad-Wo-No t-Turn-On.htm
    iOS: Not responding or does not turn on
    http://support.apple.com/kb/TS3281
    Home button not working or unresponsive, fix
    http://appletoolbox.com/2013/04/home-button-not-working-or-unresponsive-fix/
    Fixing an iPad Home Button
    http://tinyurl.com/om6rd6u
    iPad: Basic troubleshooting
    http://support.apple.com/kb/TS3274
     Cheers, Tom

  • After upgrading from Mavericks to Yosemite I can no longer find in Mail the icon (looks like the Add To Contacts icon without the   mark) I used to press in order to obtain an e-mail address from my contact list. What procedure should I use now in or

    After yesterday upgrading from Mavericks to Yosemite I can no longer find in Mail the icon (looks like the Add To Contacts icon without the + mark) I used to press in order to obtain an e-mail address from my contact list. What procedure should I use now in order to quickly add an address to an e-mail that I wish to send?
    Bob

    On the right of the To: field you will see a circled plus sign:
    Click it.

  • TS1365 My Macbook Pro 17" 2.44ghz all of a sudden one day decided to not boot up. When the power button is pressed the sleep light in the front on the latch release turns on and there is a small running sound but it never boots up and the screen never lig

    My Macbook Pro 17" 2.44ghz all of a sudden one day decided to not boot up. When the power button is pressed the sleep light in the front on the latch release turns on and there is a small running sound but it never boots up and the screen never lights up. Anyone else have this problem? Any ideas?
    I'd love to repair it but not if it'll cost 500 bucks or more to replace the logicboard.
    I appreciate any help
    Michael

    Lao Bo,
    yes, you can locate and copy a file from your HD to a USB key using UNIX commands. If you know the exact name of the file which you’re trying to locate, try this:
    find / -iname filename -print
    This command will search your entire internal disk for the particular filename. If you know that it’s within a particular user account, then you can save search time with this variation:
    find /Users/username -iname filename -print
    Either variation of this command will print all files found which have the given filename. Presuming that you’re able to identify the correct file, you can copy it to a USB key using the command
    cp -p filename_returned_by_find /Volumes/USB_volume
    If you’re not sure which volume name your USB key has, this command will show you what the possibilities are:
    ls /Volumes
    Please let me know if you have any trouble with these commands.

  • Memo doesn't display the "add" button on i Phone4 running iOs5th

    My Memo app called "Promemoria" in Italia, vannot display the "add" button, so .... I cannot add memo.
    Instead of that button there i the "Today" one.
    What's the problem?
    How can I solve it?

    Hi,
    That will be the Bonjour Buddy List.
    The Buddies are added to this one automatically.
    It picks up the other people using Macs and with iChat ON  (or Messages) with the Bonjour account enabled.
    You see their Name as it is in their Address Book > My Card.
    They see your Name as per your My Card in the Address Book (Contacts app on Mountain Lion)
    You will need to set up iChat with either an AIM name or a Jabber based one.
    8:09 PM      Tuesday; April 16, 2013
      iMac 2.5Ghz 5i 2011 (Mountain Lion 10.8.3)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • Newsstand suppresses the home screen from the app switcher view when the home button is pressed?

    Newsstand suppresses the home screen from the app switcher view when the home button is pressed.
    Has anyone else seen this before, I needed to lock and unlock iPad to get back to the home screen.

    Aloha Ethan. Fortunately it's working as designed, but you'd never believe how many people wanted to argue with me smply because it worked differently. Can't please everybody I guess.  Bob. 

  • RMBP: Sometimes, after having been shut down, i have to press the power button several times before the machine starts up. It's 3 weeks old, and this has happened 2 times now. Is there something wrong with my rMBP?

    rMBP: Sometimes, after having been shut down, i have to press the power button several times before the machine starts up. It's 3 weeks old, and this has happened 2 times now. Is there something wrong with my rMBP?

    Did you purchase the Mac new?
    You have 14 calendar days from the time your items are delivered to initiate a return as noted here.
    Even though you are past the 14 day limit, if it were me, I'd take the Mac back and explain what's going on. Your Mac should work out of the box.
    message edited by:  cs

Maybe you are looking for