Block the execution of the click on Button Create (Item 1)

Hi every body
Does anyone know how to stop execution of the standard treatment generated by the click on Item "1" :  Create.
In Fact, I want to make a condition before the execution of treatment corresponding to the click on the Item "1" :
if the condition is met so "Standard Create" run normally , in the other case, "Standard Create" is stopped.
Thank you for heping me,
Haifa ABID

Capture the Item Event, then check the FormUID, EventType = ItemPressed, BeforeAction = True and ItemUID = "1". Then check your condition. If StandardCreate = True then do nothing, if StandardCreate = False then BubbleEvent = False this will stop the rest of the standard action from processing.
E.g.
Private Sub oApplication_ItemEvent(ByVal FormUID As String, ByRef pVal As _
SAPbouiCOM.ItemEvent, ByRef BubbleEvent As Boolean) Handles oApplication.ItemEvent
If FormUID = "YourFormUID" And pVal.EventType = _
SAPbouiCOM.BoEventTypes.et_ITEM_PRESSED And pVal.BeforeAction = True _
And pVal.ItemUID = "1" Then
            If StandardCreate = False Then
                BubbleEvent = False
                YourProcess()
            End If
        End If
End Sub

Similar Messages

  • Can we block the sales order after creating ?

    Can we block the sales order after creating ?
    If how to do.
    Thanks
    naresh

    Hi
    Naresh
    If you want to block the sales order then go to
    >Header -- shipping tab
    There u will find the column of delivery block there u put any reason. This way u block the sales order.
    Another way u can give reason for rejectioon this way also u block the order and as and when u want to desp u can remove the reason/block.
    Hope this will help you.
    Thx.

  • BLOCKING THE PAYMENT TO VENDOR LINE ITEM IN APP

    I am doing  APP Run in F110.  Here I want to block one vendor line item.  In the Edit proposal button I tried to block the line item.  But system is throughing a Error messeage saying that You cannot block the payment in proposal run.
    Can any one pls help in this regard.

    hi seshagiri,
    In <b>F110 </b>while running the Payment Proposal click on that and u can see the list of the invoices to to clear and select the line item whcih u want to block and Double click on it. The window popups and ask for the Payment block in that select the Payment block as A to blokc the invoicess and then continue it. Save it
    Again get back to the previious page and press enter .
    then only the opne invoices will be cleared in that.
    AGain if u want to release that invoices then go to <b>MRBR </b>and slect the invoices and release from there.
    Assign the points if usefulll
    Ranjit

  • Whenever I click a link in one web site, Firefox blocks the clicked site from opening.

    In the new tab, I get a message from Firefox, much like the Pop-up blocker that says "Firefox has prevented this page from automatically redirecting to another page." I have to click "Allow" to get the site to load. This has just started happening in the past couple of weeks, and to my knowledge, I have not changed any of my Firefox settings.
    This always happens if I click a link in Gmail, even when I know I am going to a trusted site. It also happens if I click a link from one site to another, including trusted banking sites, Amazon.com, and the like.

    Do a malware check with a few malware scan programs.<br />
    You need to use all programs because each detects different malware.<br />
    Make sure that you update each program to get the latest version of the database before doing a scan.<br />
    * http://www.malwarebytes.org/mbam.php - Malwarebytes' Anti-Malware
    * http://www.superantispyware.com/ - SuperAntispyware
    * http://www.safer-networking.org/en/index.html - Spybot Search & Destroy
    * http://www.lavasoft.com/products/ad_aware_free.php - Ad-Aware Free
    * http://www.microsoft.com/windows/products/winfamily/defender/default.mspx - Windows Defender: Home Page
    See also "Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked and [[Searches are redirected to another site]]
    Your above posted system details show outdated plugin(s) with known security and stability risks.
    *Java Plug-in 1.6.0_12 for Netscape Navigator (DLL Helper)
    Update the [[Java]] plugin to the latest version.
    *http://java.sun.com/javase/downloads/index.jsp (Java Platform: Download JRE)

  • Block the GR of late delivery item in PO

    Hi All
    We normally maintain multiple delivery schedule dates for all the PO items. For example the line item 1 qty is 100. But the delivery dates are split into as follows.
    1. qty 50 - delivery date 14-05-2007
    2. qty 50 - delivery date 25-05-2007 in the item details - delivery schedules.
    Now the business requirement is to through an error message during MIGO for the late deliveries against the above dates.
    I tried to use the Latest GR date in the item details delivery tab. It does not take into the multiple delivery dates. All it does is to check the multiple GRs against one controlling date.
    Is there any other setting to check the GR against the multiple PO dates set in the item details - delivery schedules tab.
    Please reply
    Thanks in advance
    Raj

    Hi,
    I don't think that there is a way of doibng this in standard SAP.
    The latest delivery date (as you have found out) is not considering the delivery schedules on the PO it is simply checking against the date on the PO item line (which is the oldest date of the schedules that exist).
    So I can only see a user exit in MIGO or a code modification being the answer. This should not be a risky modification because it just needs to substitute the schedule date for the check. The biggest problem is when you have multiple schedule lines, which line is relevant to the one being GRd? The system can't tell if it is the first one that is late or if it is a future one that is early. It would have to read throuigh the GRs so far and make assumptions about which deliveries relate wto which schedules .
    For example, if you have 4 schedules each a week apart and each has a qty of 10. If there have been 15 received so far, which schedule is being GRd when the next items arrive? Is it the missing 5 (that may be late) or were the 5 an overdelivery and the next delivery may be from a future schedule?
    I hope that you can see my point, the coding is not that simple.
    My own recommendation is to use a simple ABAP to read through the schedules and report on any that appear to have not yet been delivered although the date has passed. So report on it rather than try to get MIGO to act. I know that this would be after the event but at least you would be able to return the stock.
    If this solution is not acceptable, then the opnly other solution I can suggest is to NOT use schedule lines, just use one PO line for each delivery. I know this is extra work and not a simple task but I am not sure what else can be done?
    Steve B

  • How do you get one Button to raise the Clicking of another Button?

    Hello,
    I have a hide/show region that is controlled by a button (ButtonA). This button and region is pretty far down in the page.
    So the client has requested that I created a second button (ButtonB) and place it at the very top of the page, and wants for this button (ButtonB) when clicked to 'click' the hide/show button below (ButtonA).
    Can you please advise how to do this, ex:
    <INPUT type="button" value="Show All Regions" name="ButtonB" onClick="what do I place here to raise the 'click' of button A ">.
    Any advice would be appreciated as I must demo this feature to the client tomorrow morning.
    Many thanks,
    Laura
    Edited by: user8936524 on Apr 19, 2010 4:35 AM

    Depends what type of button it is.
    If it's a button in a region position, use the optional redirect section
    Set the Target to "URL" and enter URL TArget as something like:
    javascript:function_to_call();Alternatively if its a region item button, it's a bit more tricky.
    What I did was create a new button template (copied from the standard "Button" template, called "Button - link to attribute") and replaced the
    <a href="#LINK#">bits with
    <a href="#BUTTON_ATTRIBUTES#">you can then add the code (as above) to the attribute property of the button.

  • How to block the Creation of Mulitple Excise Invoice in J1IS

    Hi Sap Gurs,
    Can any tell me how to block the System allowing  to Create One more Excise Invoice in J1IS against Same GI Material Document no (Ref Trans Type:MATD) for Outgoing Materials ie:Stock Transfer from One Plant to onother Plant by Mvt Type 351(Single Step Procedure)
    In SD, System is not allowing to Create One more Excise Invoive against One Billing Document Untill we Cancell the same.
    I want to make it like same for the above Issue.
    Pls check it in your system and give a Feed Back.
    Thanks in advance.
    Bye
    Sathish

    Hi Yail,
    I think you can't close the purchase order with the stored procedure.
    Try to catch the Event when the user click on Cancel button.
    So you can list the vents with event logger : https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/ede3be37-0e01-0010-1883-cd1b5293473e
    You can block the cancel button and force the user to create the purchase order.
    Hope i help you
    Best regards
    Michael

  • Can I block the blank lines in delivery note?

    Hi Experts,
    I want to block the blank lines when creating or changing delivery note because  I don't want user to add new items manually.
    Can I realize such a requirement?
    Hope anyone can give me some solution.
    Thanks.
    Best regards,
    Chris Gu

    Go to OVLK,  select the delivery type and execute.  There maintain routine 201 against the field ItemRequirement.  Similarly, for new item category, go to zero184  and donu2019t maintain any item category under the tab MItC
    thanks
    G. Lakshmipathi

  • My Adobe Collage app crashes each time I push the camera roll button

    I have tried all. From the first time I started the app my camera roll button has pushed me out of The Collage app.
    I have my settings on for location service. I've restarted both the app and my iPad 2 and I've also erased the app and reinstalled it. No other photo input crashes the app. Just when I push the camera roll button and it takes me out of the app in a splitt second.
    It's very frustrating paying this much money for an app that I can't use in my work because it don't need other peoples photos but mine.
    Please look in to this as fast as possible.
    Best regards
    Ami

    I don't have any albums in my camera roll only the one main album.
    I have location on so the app should be okayed to look at my photos
    correctly.
    I have now tried to erase the app twice and also restarted my ipad2. And
    reinstalled the app. And it's the same the whole time. If I push the camera
    roll button to use my own photos it just jumps out of the app right away.
    And it's very frustrating.
    Everything else seem to work fine but it's a useless app if I can't use my
    own photos to show customers.
    Best regards
    Ami Nordstrom
    28 maj 2012 kl. 14:41 skrev "[email protected]" <[email protected]>:
       Re: My Adobe Collage app crashes each time I push the camera roll
    button created by
    [email protected] <http://forums.adobe.com/people/chandna%40adobe.com>
    in *Adobe
    Collage* - View the full
    discussion<http://forums.adobe.com/message/4444788#4444788

  • Many "click here" buttons are not visible

    Many sites that have the "click here" button or symbol are not visible. I discovered this when moving my mouse to a location the "mouse hand" appeared indicating this was a button to click for a specific purpose. I downloaded the most recent version of Firefox a few days ago, but the problem of hidden buttons remains. This issue of not being able to see click-able buttons started about 6 weeks ago. Have changed themes, views, color schemes, etc. to no avail.
    Any known solutions ?
    thanx
    inspector43

    Make sure that you haven't enabled a High Contrast theme in the Windows/Mac Accessibility settings.
    Make sure that you allow pages to choose their own colors.
    *Tools > Options > Content : Fonts & Colors > Colors : [X] "Allow pages to choose their own colors, instead of my selections above"
    Note that these settings affect background images.
    See also:
    *http://kb.mozillazine.org/Website_colors_are_wrong

  • Call Internet SErvice at hte click of button

    Hi,
    I am working with SAP r3 4.7c standalone ITS Server.
    I want an internet service to be called at the click of a button.
    First of all Is this possible?, whatever examples I have seen are calling a javascript code at the click of the button(created by SAP GUI for HTML).
    However, I want to call another internet service(maybe without passing any parameters) at the click of button.
    Please guide me how to proceed. Any help would be appreciated.
    regards
    Justin

    Apparently "it's a priority".
    Apparently "we'll call you back"
    Apparently "service will be restored by 8.00"
    Heading for 10 days without service...nonsense after nonsense from BT call centres .....
    No call
    No service
    No point in giving any more money to BT!
    What a truly pathetic "organisation".

  • Print Button creates huge data

    Hello guys,
    we are on Xcelsius 2008 and we use the print buttons in nearly each dashboard. But we must notice that using the Xcelsius Print Button creates huge data in the print queue.
    Example:
    If I print a simple dashboard (bar chart with just one data row) with right click-> print it creates about 2 MB on the print queue.
    If I use the Xcelsius Print Button it creates over 100 MB on the print queue and it takes nearly one minute until the print popup disapears.
    Could somebody give me an advice/help ?
    Holger

    It is quite unclear what you are saying. Are you saying you have a button which you have called "Print"? Does this button call Reports to generate a pdf file? What product versions are you using? Do not say "10g" or "9i" as these are product names. Please provide the complete product versions and tell us what platforms (operating systems) you are using for client and server.
    yes i used print button,yes that print button call reprorts to generate a pdf file, oracle forms 10.1.2.0.2 frant end oracle apps, i used windows 7 O S 32bit.
    it's not giving current data it's giving old data in pdf file . If i press 3 times save button then i press print button then it's give the current data befroe press the save button directly if i press prin button it'showing err request id process 2547 like

  • I am having trouble uploading photos to facebook. I saw a block tab on the upload button, I clicked it and a mozilla window opened. I didn't understand it and then ended up blocking the facebook loader. How do I undo this?

    When I tried to load picture to facebook it wouldn't load. Then in the upload pop-up I noticed a block tab over the upload button. I clicked it and a Mozilla window opened with all kinds of selections I didn't understand. In an attempt to get out of it I blocked the uploader now in FB and can't figure out how to make Mozilla unblock it.

    That was probably an Adblock Plus "block tab" that you clicked.
    Open ABP prefs and look at the top section of the Filter Rule section > My Ad Blocking Rules = right-click the rule that you just set and use '''Delete'''.

  • My Firefox interface is messed up. When I hover over or click a button it becomes all pixlated, the blocks move around, and lines appear around the buttons.

    When I hover over or click a button on the tool bar it becomes messed up. Blocks, or more like pixels, appear over the buttons. They are white and they move around. Little black lines appear around the buttons too. I tried uninstalling and re-downloading Firefox, a full reset, etc. Nothing has worked so far. To see pictures of the problem use this URL (it brings you to Imgur): http://imgur.com/a/LXHQg

    hello, try updating your graphics driver - this should be the right link for your system: http://downloadcenter.intel.com/Detail_Desc.aspx?agr=Y&DwnldID=22375

  • Two days ago, I have a new iphone 4S. After I installed the OS and start the iphone, I found a strange screen says "!9D/JC" that blocks the iphone and I can not access the iphone until click many times on the "Desmiss"  button at the botom of the screen.

    Two days ago, I have a new iphone 4S. After I installed the OS and start the iphone, I found a strange screen says "!9D/JC" that blocks the iphone and I can not access the iphone until click many times on the "Desmiss" button at the botom of the screen.
    I appreciate if you could provide me support to solve this problem especially it consumes the battery a lot.

    Another post originally dated 5th Feb, 2012 with a slightly different unheard of error "%7D/JC".
    https://discussions.apple.com/thread/3710903?start=0&tstart=0
    The user also claimed that he didn't meddle with iOS. No solution could be found though.

Maybe you are looking for

  • TS1702 Keep being told my apple I'd is disabled?? Can not update any apps.

    I go to update my apps on my iPad and I get a warning that my account has been disabled. Funny thing I'd that when I use the same password to log into ITunes store or anything other then the apps it works. Why am I getting this message and unable to

  • Combo boxes appear in reverse and info cannot be read when selected

    Half of my combo boxes appear normal and half appear with the drop down arrow on the right side of the box. the choices, when selected, appear above the arrow and are barely legible. some of the boxes appear perfectly normal and some are like this wi

  • Colors look paler in preview

    For a group of png pictures, when I view them by  double-clicking or pressing space in preview, the pictures look much paler than they should be. And if I resize them, colors go right  while resizing, but turn pale again afterwards. The only thing wo

  • Midnight Release Schedule?

    Is Best Buy hosting any midnight release events during the first quarter?  I checked my stores events and it is not updated.  Just wondering. Thanks!

  • Free iWeb downloadable templates, videos and how to create custom sites.

    You asked for it and you've got it! More templates for your hearts content. Use it as study guide or simply adopt it to your desire. MacEzzy site has a new face lift to incorporate all the benefits iWeb has to offer. This site examplifies awsom thing