How to disable block and delete button in me22n transaction

Hi experts !,
as per my requirement i want to disable delete and block button in me23n . for this i wrte my logic but problem
is when my logic satisfies then i want to disabele those two buttons . those block button function code is 'MEPO1211LOCK'
if it is screen field we can use loop at screen and input = 0 . but here it is funtion code how to disable this funtion code as per
condition .
i tried this  SET PF-STATUS ' pf status name ' EXCLUDING ' fucntion code name  '.  also but not working ..
if any one have any idea pls share ......

Hello Experts,
I have similar requirement. Please help....

Similar Messages

  • Anyone.know.how.to.get.spacebar.and.delete.button.to.work??

    anyone.know.how.to.get.spacebar.and.delete.button.to.work??

    I think you are asking this in the wrong forum.  This is for TBD issues.

  • Disabling 'Change' and 'Delete' button in Attachment List in ME52N

    Hi Friends,
    The reuqirement is this:
    A user attaches doucments  ( using the Generic Object Services to attach document ) while creating/changing Purchase Requisition (ME51N / ME52N).
    Now when any user goes to see the docuemnts attached to the PR, he selects the 'Attachement List' from the context menu, he should only be able to read it and should not be allowed to change or delete the document. For this we need to disable the 'change' and 'delete' buttons from the toolbar.
    Awaiting your response.......
    Regards,
    Fawaz

    Hi,
    Probably you have uncommented the call to super class when you reimplement the method on child class (z class)
    I just implement the same thing now and it worked for me. Take a look:
    1 - Modify the SGOSATTR table by SM30, just write a Z class (in my case CL_GOS_SRV_ATTACHMENT_CREATE) .
    2 - Create/inheridt a subclass (not a copy) in SE24 of the standard class.
    3 - Implement the method CHECK_STATUS in the z class. Note that the call to method on super class came commented. You only uncomment if you want to also execute a standard code in the super class.
    Here is my code:
    method CHECK_STATUS.
    NOTE - In my real implementation I have uncommented the code below because I want do standard code be executed before my own check.
    *CALL METHOD SUPER->CHECK_STATUS
    EXPORTING
       IS_LPORB  = IS_LPORB
       IS_OBJECT = IS_OBJECT
    IMPORTING
       EP_STATUS = EP_STATUS
       EP_ICON   = EP_ICON
      Check for BUS2012 = Bussinnes Object for Purchase Order
      IF IS_LPORB.TYPEID = BUS2012
      Check authorization and disable create attachment item if the user does not have authority...
    IF IS_LPORB-TYPEID = 'BUS2012'.
    AUTHORITY-CHECK OBJECT 'Z_MM001' ID 'ACTVT' FIELD '01'.
      IF sy-subrc <> 0.
        ep_status = mp_status_inactive.
      ENDIF.
    ENDIF.
    endmethod.
    Regards,
    Alexandre

  • Disabling 'Change' and 'Delete' buttons in Attachment List in ME52N

    Hi Friends,
    The reuqirement is this:
    A user attaches doucments ( using the Generic Object Services to attach document ) while creating/changing Purchase Requisition (ME51N / ME52N).
    Now when any user goes to see the docuemnts attached to the PR, he selects the 'Attachement List' from the context menu, he should only be able to read it and should not be allowed to change or delete the document. For this we need to disable the 'change' and 'delete' buttons from the toolbar.
    Awaiting your response.......
    Regards,
    Fawaz

    Hi,
    I have solved the issue Alhamdulillah by the foll. method:
    1. Copied CL_GOS_SRV_ATTACHMENT_LIST to ZCL_GOS_SRV_ATTACHMENT_LIST
    2. In ZCL_GOS_SRV_ATTACHMENT_LIST there is a method called: CHECK_STATUS. I overwrote with my check;
    on_mode_changed( 'D' ). --- For display
    on_mode_changed( 'E' ). --- For edit mode.
    3. In SGOS tcode, added VIEW_ATTA to point to ZCL_GOS_SRV_ATTACHMENT_LIST
    Regards,
    Fawaz

  • How to disable Save and SaveAs Button in Adobe Reader ??

    I am having Dynamic XML Form (XFA based) designed on LC Designer ES2
    I Want to disable Save and SaveAs button  whenever it would be opened in Adobe Reader only.
    Other way around, i want to provide only facility to save form programmatically through Javascript to apply validation.
    Plz help
    Thnx in advance..!!

    I can apply folder level java script ...But How to handle this way on CLIENT SIDE..???

  • How to disable back and refresh buttons in browser

    Hi,
    I need to disable the back and refresh buttons of the browser on the click of a button in a jsp as the process takes some time to be completed and i want to prevent the user from refreshing the screen.
    How can this be done?
    Thank you

    hi ,
    Can you try with the value i.e
    String s1 = oapagecontext.getParameter("value"); or button event can also be handle this way
    if ("BUTTON_EVENT".equals(event))
    - business logic
    Which screen you 're working by the way ?? if i have an access i will check it out and tell you
    --Keerthi                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • How to disable minimize and maximize buttons of a popup window

    hello.
    can someone please tell how to disable the minimize and maximize buttons for a popup window.
    i know this is very basic concept.. but iam new to jdeveloper..please someone help me out

    Hello,
    U can use script in ur page to open the Popup window.
    window.open("yourpage.do", window_name, 'toolbar=0,scrollbars=0,location=0,status=yes,menubar=0,resizable=0,width=600,height=400,left = 225,top = 140');
    Bye

  • How to disable print and download button of pdf file when i am opening mozila firefox using java script

    i am opening pdf file in firefox browser in right side i am seeing print and download option
    i want to disable it by program like javascript, by manualy i can disable it ,
    actually i am opening pdf file in my website by using firefox browser so i do not want to any can download or print the pdf file

    If it's that critical, you could explore this partial workaround:
    Use a script or configuration file on your server that changes the disposition based on the user agent. In other words, for Firefox, send an attachment disposition that forces a download outside the browser instead of the default (inline) disposition that allows Firefox to display the PDF in a tab.
    Now... that won't stop the user from dragging and dropping the downloaded file on a Firefox tab to use the built-in PDF viewer, but most users would tend to open the file in their default viewer (e.g., stand-alone Adobe Reader).

  • Disable or Deactivate Delete Button in SAP Easy DMS.

    Dear All,
    My client is using Easy DMS and is working fine. Now the issue is as soon as files become more in Private or Public folder he is Deleting Documents using DELETE Button which is available on the Tool Bar. Whereas if he uses Delete Document from Context Menu it shows Authorization is not given to delete the Document.
    Is there any way to overcome this by Disabling or Deactivating Delete Button on the Toolbar.
    rgds,
    Dayanand

    Dear Anubhav,
    I have already tried this option. It shows this can not be implemented.
    Please let me know any other option is there to overcome this issue.
    rgds,

  • HT4847 On startup my macbookair says start up disk full/delete some files. When I look at storage disk utility I see 51GB of a possible 60GB is used with Other. What is Other? and how can I view and delete some of these files?

    On startup my macbookair says start up disk full/delete some files. When I look at storage disk utility I see 51GB of a possible 60GB is used with Other. What is Other? and how can I view and delete some of these files?

    A MacBook will use Time Machine to make local backups so that when connected to an external drive it will backup a lot faster.
    to disable this, you must use a command under terminal.
    to locate terminal, do a search for it under spotlight (the magnifying glass on the top right corner), should be the first hit.
    once under terminal, type the following text exactly:
    sudo tmutil disablelocal
    hit enter.
    you will be asked to input your password, if you do not have a password, you will have to create one before performing this command. after entering your password, hit enter again and close terminal.
    in a few minutes the space taken up by time machine should be cleared.

  • Automatic blocking and deletion flag for temporary unblocked vendors/custom

    Hi All,
    Can you please help me IS there any Standard Reports for the Follwing,
    *"automatic blocking and deletion flag for temporary unblocked vendors/customers in Master Finance SAP machines"*.
    Please reply me as soon as possibly.
    Thanks & Regards,
    Pavithranad.
    Moderator message: please research before asking, do not assign higher urgency than normal.
    Edited by: Thomas Zloch on Mar 3, 2011 2:43 PM

    In XK06, flagging Vendor for deletion, I get warning "vendor xxxxx has open items in company code xxxx". Does this mean open Invoice Items, pending payment in FI? Since this is just warning I can hit enter and go ahead and save.
    - YES YOU ARE RIGHT. IT CAN ALSO INCLUDE OPEN PO.
    But, I can come back to XK06 and UNflag this same vendor for deletion? How would it affect the open items/POs...etc?
    - THAT'S WHY THE MESSAGE IS AN WARNING AND NOT AN ERROR. (My Opinion)
    Does basis has to do some sort of execution in order to actually delete the vendor master from the database? Would basis get a error when there are pending open items for vendors flagged for deletion?
    - NOT RECOMMENDED. ANY DATA CAN BE DELETED THOUGH. IF YOU ARE ON ECC 5.0 OR ABOVE AND USING SE16N TO DELETE, YOU WILL NOT GET AN ERROR.
    What's the advantage of using XK05 (blocking/unblocking) over XK06 (flagging/unflagging for deletion)?
    - NOT SURE IF THERE IS ANY ADVANTAGE.

  • How to disable the select options button, while audio is playing in the question template in captivate 8?

    How to disable the select options button, while audio is playing in the question template in captivate 8?

    Apologies for late reply.
    I mean "On Question screens audio keeps on playing even after we have selected an option or options depending on the question type and clicked Submit. How do we stop the audio on selecting an option?"

  • Apply and delete buttons need differentiation

    How do we get the apply and delete buttons put in different locations on the info window for ical? I've accidentally deleted when I meant apply because the buttons are in the same location. Mabye delete should be at the top right.

    Richard,
    That sounds like a great idea. Be sure to submit iCal Feedback.
    In the meantime, don't forget about the iCal>Edit>Undo menu command (⌘Z).

  • How to Disable the Add & Review Button

    How to Disable the Add & Review Button
     *Updated with the correct ISF  code (the previous code, in case you saved it, was to actually  escape apostrophes.  That will be posted  seperately. 
    Note that this solution might not work in your environment - you might have to modify it based on your installation.
    Enjoy! 
    Common_disableAddAndReviewButton()
       if ( Moment == 'ordering' )
            var theForm = document.forms[0];
            var buttonCt = 0;
            for( i = 0; i &lt; theForm.elements.length; i++ )
                 if( theForm.elements[i].type == &quot;submit&quot; )
                    if ( buttonCt == 0 || buttonCt == 2 )
                        theForm.elements[i].disabled = true;
                         theForm.elements[i].style.visibility=&quot;hidden&quot;;                  
                     buttonCt++;              

    This is GREAT - I added a new Java Script and set it to "when form is loaded" and when I did some test reqs - no Add & Review button !!!!

  • How to disable HTML and Download excel sheet

    Hi ,
    i've some reports in my dashboards, i've enable report links for print and download, When i click on print button we can get PDT,HTML. I need only PDF. not HTML. How to disable HTML in print button. and also when click download button i need to see only download to Microsoft excel . Can any one help me out .

    Hi,
    Please refer the below links to remove the options
    http://obiee-tips.blogspot.com/
    Hope this helps
    Regards
    MuRam
    Edited by: MuRam on Jan 11, 2012 2:57 AM

Maybe you are looking for

  • Using INSERT INTO for FDM Memory Issue

    All - We configured FDM to run an integration script into our EBS instance upon the import step. It worked fine for a time, then we began running out of memory on the FDM server. Upon Oracle's suggestion, we stopped running through a record set to ap

  • 3D Graphs cause LV 2009 to CRASH

    Hi all, The placing of any of the new 3D graph controls on the front panel causes LV 2009 to Crash! Please advise. Battler. Solved! Go to Solution.

  • L2 tunnel between me3600x and 3925

    Hello, We are currently trying to configure a l2tunnel between a ME3600X (running 15.3(3)S3 with the AdvancedMetroIPAccess licence) and a 3925 (running 15.0(1)M2 with the datak9 licence). We are part of a CsC architecture, playing the role of the cus

  • Schedule documents to email in Business Objects XI R3.1

    Hello I need to schedule documents to email. how do i configure the email  in Business Objects XI R3.1 ? can i have any document regarding the scheduling ? Any solution, it helps me a lot. Thanks mahesh Edited by: mahesh ch on Feb 19, 2009 11:51 AM

  • Switching from Ethernet Internet Connection to Airport Internet Connection

    When I try to switch from an Ethernet connection at work to an Airport connection at home or visa versa, 9 out of 10 times it locks up my computer and I have to restart. I did not have this problem before I upgraded to Leopard. Any suggestions? Laure