Disable Hold button of Purchase Order

Hi All,
I am using the BADI 'ME_PROCESS_PO_CUST', methods 'PROCESS_HEADER' & 'CHECK' to validate the header of PO, to validate the PO header details and throwing error messasge incase of any validations.
The requirement is to disable the HOLD button of PO and user should not be able to save it until or unless he corrects the invalid header details.
Please le me know how to disable to HOLD button on application tool bar button.
Best Regards,
Kumar. S

Hi,
If the application tool bar fields are not populated in u r BADI method then u should try to find some other exit in which you can edit the application tool bar and if u debug it u can find it and if there is no exit try to find the enhancement-spot to disable the 'HOLD' button and u can pass parameters from one exit to exit.
I think it will work.
Ramesh.

Similar Messages

  • How to disable hold button in purchase order creation.

    hi
    how to disable hold button in purchase order creation.

    Select single * from VBAK where clause
    ---It fetches single record from the database, based on the condition you specified in the where clause.
    Where as select * from VBAK up to 1 row
    ---Fetches first record if the condition specified in the where clause is satisfied, otherwise it doesn't fetch any record

  • Disable HOLD button in MIRO

    HI,
    I want to disable HOLD button in transaction MIRO.
    Can anybody help me on this.
    Thanks
    Regards,
    Soumya

    Hi,
    in badi MRM_HEADER_CHECK try something like:
         DATA: c_okqx(17)   TYPE c VALUE '(SAPLMR1M)OK-CODE'.
            FIELD-SYMBOLS: <fs_okqx> TYPE ANY.
            ASSIGN (c_okqx) TO <fs_okqx>.
            CASE <fs_okqx>.
              WHEN 'STORE'.
             IF sy-tcode = 'MIRO'.
    * delete the ok-code.
                  CLEAR <fs_okqx>.
    *Holding documents is not allowed in transaction MIRO
                  MESSAGE s0xx(zxx).
                ENDIF.
            ENDCASE.
    Best regards.

  • Complete Button on Purchase Order

    Can anyone tell me when the Complete button becomes active on the purchase order?  We have had a few POs that have gone into Transaction Complete status even though there are no goods receipts against the PO.  It seems that the Complete button only becomes active after a goods receipt has been done against items on the PO.
    Has anyone else had this issue where the PO goes into Complete status before the goods receipts are performed?  We are in SRM 5.0 using Extended Classic.
    Is there any way to undo this?
    THanks
    Jane

    Hi Jane
    Confirmation of goods unavailable for PO - happened
    Re: PO status change -solution
    BR
    muthu

  • Process button in purchase order response SUS not present

    Hi all.
    We have SRM 7 and ECC 6.4. Scenario MM-SUS Purchase Order Response.
    We can transfer purchase orders from MM to SUS. Purchase Order SUS are generate correctly In SUS system.
    However. When a Vendor user enters in the SUS system  to create the POR, we can not create it  because the Process button is not present.
    The user was create by process of Creating Buyer Data (BBP_SUS_BP_ADM) and  rols SAP_EC_SUS_BIDDER and SAP_EC_SUS_ORDER_PROCESSOR in trx SU01
    I appreciate a tip to solve this issue.
    Regards
    Raul.

    Hi,
    You can do what Sam has suggested in vendor master too so that everytime a PO for that vendor is issued, you do not have to manually maintain these settings in the PO.
    Regards,
    Nikhil

  • Hold Button in Purchase Requisition

    Hello All,
    I want to creat an PR and want to put on "HOLD". but the Hold Button is missing in PR (As we get in PO).
    Please suggest.
    Cheers,
    Mansih Jindal

    this feature is only available with Funds Management (PSM) add-on, which has internal BADI  ME_MEREQ_PARKING

  • SORT BUTTON ON PURCHASE ORDER ITEM OVERVIEW IS NOT WORKING

    Gentlemen
    We have recently upgraded our system from SAP R3 4.6 to SAP ECC 6.0. After the upgrade we have noticed an issue in transactions ME21N, ME22N, ME23N; despite the u201CSortu201D button on the item overview is available, itu2019s not working. It doesnu2019t sort (ascending or descending)  material, material text or any another column.
    Please let me know if there is a sap note to adjust this mistake or another advice.
    Thanks
    JM

    To fix this:
    Goto Personal settings --> Basic settings --> Item overview: "Check" Item overview as grid control.
    Once grid control is active, you should be able to sort columns.
    Hope this helps-

  • User exit for check/save/hold in Purchase order

    >The client requirement is like this :-
    >The client has development a Order Approval Form process and want the user to create all the purchase orders having value all inclusive value of Purchase order above Rs. 300000/-.
    >The user should not be able to save/hold/modify any purchase order above Rs. 300000/- in normal SAP through tcodes ME21N, ME22N, ME23N.
    >For this we need to use a user exit and flash an error message that PO value is above Rs. 300000/-, hence please process the purchase order in OAF.
    >Can any one please provide details of which user exit to use for the above scenario.
    >Thanks in advance
    >AJ

    BADi:ME_PROCESS_PO
    Method: PROCESS_HEADER
    PROCESS_ITEM
    Or
    BADi:ME_PROCESS_PO_CUST
    Method: PROCESS_HEADER
    PROCESS_ITEM
    Call your ABAPer to do the same.

  • How to set the Purchase Order screen to display Add and Cancle button

    Hi Experts,
    Do anybody knows that how can we see the Add / Cancle button on Purchase Order screen ? , at present I need to compulsory scroll vertically to look at Add / Button button.
    In Stock Transfer / Inventory transfer screen when we maximise it than also we can see the add / cancle button
    will change of font will effect it ?
    BR
    Samir Gandhi

    Hi,
    Can you maximize the PO screen too? You should try a smaller font to seem more within a window form.
    Thanks,
    Gordon

  • Copy From Button similar to Purchase Order

    Dear Members,
    I have a user defined for named Quotation. I want to create a Copy from button  in Purchase Order through coding, similar to those present in sale order and copy the contents in quotation to  Purchase Order.
    Please send some sample coding to create a  Copy From  button  in Purchase Order  , and to list  my user defined form quotation,
    similar to present in sale order Copy to A/R Invoice.
    Help will be appreciated to solve this issue.
    Thanks and Regards,
    Venkatesh.R

    could somebody explain me why cannot text in code format and its in one line? - i cannot insert the code for few weeks. thx
    Enable email in your profile and Ill send the code to email - i cannot insert it here.
    Edited by: Petr Verner on Jul 24, 2009 10:22 AM
    If pVal.FormTypeEx = "142" And pVal.BeforeAction And pVal.EventType = SAPbouiCOM.BoEventTypes.et_FORM_LOAD Then
                    Dim oform As SAPbouiCOM.Form
                    oform = SBO_Application.Forms.GetFormByTypeAndCount(pVal.FormType, pVal.FormTypeCount)
                    oform.Items.Add("combo", SAPbouiCOM.BoFormItemTypes.it_COMBO_BOX)
                    oform.Items.Add("button", SAPbouiCOM.BoFormItemTypes.it_BUTTON)
                    Dim oitem As SAPbouiCOM.Item
                    Dim obutton As SAPbouiCOM.Button
                    Dim ocombo As SAPbouiCOM.ComboBox
                    oitem = oform.Items.Item("combo")
                    oitem.Left = -1 * oform.Items.Item("10000329").Left - 100
                    oitem.Top = 399
                    oitem.Width = 100
                    ocombo = oitem.Specific
                    ocombo.ValidValues.Add("1", "First")
                    ocombo.ValidValues.Add("2", "Seccond")
                    oitem = oform.Items.Item("button")
                    oitem.Width = 100
                    oitem.Left = oform.Items.Item("10000329").Left - 100
                    oitem.Top = 400
                    obutton = oitem.Specific
                    obutton.Caption = "Copy From"
                End If
    If pVal.ItemUID = "button" And pVal.FormTypeEx = "142" And pVal.BeforeAction = False And pVal.EventType = SAPbouiCOM.BoEventTypes.et_CLICK Then
                    Dim oform As SAPbouiCOM.Form
                    oform = SBO_Application.Forms.GetFormByTypeAndCount(pVal.FormType, pVal.FormTypeCount)
                    Dim oitem As SAPbouiCOM.Item
                    Dim ocombo As SAPbouiCOM.ComboBox
                    oitem = oform.Items.Item("combo")
                    oitem.Left = oform.Items.Item("10000329").Left - 100
                    ocombo = oitem.Specific
                    oitem.Click(SAPbouiCOM.BoCellClickType.ct_Regular)
                    oitem = oform.Items.Item("button")
                    oitem.LinkTo = "combo"
                    oitem.Update()
                End If
    Edited by: Petr Verner on Jul 24, 2009 10:31 AM

  • How to block the creation of a Sales Orders without a linked Purchase Order

    Hi. I'm trying to block the creation of a Sales Order that doesn't have a linked Purchase Order. The first thing I did is using the SBO Transaction Notification as follows:
    IF  @transaction_type = 'A' AND @object_type='17'
    BEGIN
         IF (SELECT PoPrss FROM ORDR WHERE DocEntry = @list_of_cols_val_tab_del) = 'N'
         BEGIN
              SET @error = 1
              SET @error_message = 'Purchase Order Missing...'
         END
    END
    This works good. I create the Sales Order, I tick the purchase order field on the logistics tab, I click Add, and then the purchase order window appears...
    Then, the problem begins... If I click the Cancel button, the purchase order is obviously not created, but the Sales Order is created.
    Can someone tell me how to block the creation of the sales order If the user press the cancel button on the purchase order window (and the purchase order is not created)
    As far as I can see, after clicking the add button in the sales order document, the Sales Order is created on the DB. If there's no way of blocking the creation of the Sales Order, can I avoid closing the purchase order window by the SBO_TransactionNotification? (if the purchase order has not been created)
    Thanks...

    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

  • What are the Exists are available after saving purchase order

    Actually My requirement is, When I am clicking on Save button of purchase order, it should send a mail to some person. I know the procedure sending mail through ABAP. But, I don't know where exactly I have to incorporate that code. Please help finding a function exit or user exit in this situation. It's urget please help me out.

    Hi,
    Check out the exits :
    MM06E004
    MM06E008
    MMFAB001 to implement ur workflow logic.
    or try this out (iam not sure)
    Cretae a OUTPUT type such that set a medium as Email in MESSAGES tab of Purcahse Order Cretaion.
    whenever PO is cretaed , it will trigger output type and will checak the Medium (i.e email)  .
    This is just a hint ..try this atlast if no other way
    Regards,
    Naveen

  • Add Invoice from Purchase Order

    Hi experts,
    I add the Button in Purchase order .and bind the Vendor codes and items, qty, price in matrix(Purchase order matrix) . Now i want to add the Invoice separately  for all vendors who are exist in row level when i click the userdefined button in Purchase order (I need not to open a Invoice). How is it possible
    With Best Regards,
    M.Thippa Reddy

    Hi Vassu,
    Thanks for your reply. I use the following code for adding the invoice but i getting error"-5002 Chooseb BP is not a custome [OINV.Cardcode]{Line:1], "V1010"
    Please rectify me i am done any mistake.
    Dim RetVal As Long
            Dim ErrCode As Long
            Dim ErrMsg As String
            'Create the Documents object
            Dim vInvoice As SAPbobsCOM.Documents
            vInvoice = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oInvoices)
            'Set values to the fields
            vInvoice.Series = 0
            vInvoice.CardCode = "V1010"
            'vInvoice.HandWritten = "No"
            vInvoice.DocNum = 84
            vInvoice.PaymentGroupCode = "-1"
            vInvoice.DocDate = System.DateTime.Today.Date
            vInvoice.Lines.ItemCode = "A00001"
            '  vInvoice.Lines.ItemDescription = "Banana"
            vInvoice.Lines.TaxCode = "NY"
            vInvoice.Lines.Quantity = 50
            'vInvoice.Lines.DiscountPercent = 10
            vInvoice.Lines.UnitPrice = 5.0
            vInvoice.Lines.Add()
            'Add the Invoice
            RetVal = vInvoice.Add
            'Check the result
            If RetVal <> 0 Then
                oCompany.GetLastError(ErrCode, ErrMsg)
                MsgBox(ErrCode & " " & ErrMsg)
            End If
    Regards,
    M.Thippa Reddy

  • Pop up new form(Purchase Order) with current data

    Dear All,
    i have created a COPY TO button in my addon form. Now my quiry is that when ever i press the COPY TO button the purchase order form will open with my addon form data. Kindly suggest me the code.
    Thanx
    Sanjoy Paul

    Hi...
             use this code...
    Try
    SBO_Application.ActivateMenuItem("2305")
           oForm = SBO_Application.Forms.ActiveForm
                OItem = oForm.Items.Item("4")
                Oedit = OItem.Specific
                Oedit.Value = vendor.ToString()
                rs1 = Nothing
                rs1 = OCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
                'rs1.DoQuery(" Select Ur Table")
                'OItem = OPOForm.Items.Item("aaa")
                'Oedit = OItem.Specific
                'Oedit.Value = rs1.Fields.Item("Ur - Field").Value & ""
                OItem = OPOForm.Items.Item("bbb")
                Oedit = OItem.Specific
                Oedit.Value = rs1.Fields.Item("Ur - Field").Value & ""
            Catch ex As Exception
                SBO_Application.MessageBox(ex.Message)
            End Try
    REM Matrix
    OItem = oForm.Items.Item("38")
            oMatrix = OItem.Specific
            oCols = oPoMat.Columns REM Columns
    Oedit = oCols.Item("1").Cells.Item(1).Specific 'item no
                Oedit.Value = itmcd.ToString()
    It Will Work...
    Regards...
    Billa 2007

  • LSMW - Purchase Order Text in Material Master

    All MM Experts,
    I tired to create simple Batch Input Recording but the screen does not get recorded for Purchase Order text maintenance in mass for article master data. we are maintaining Purchase Order Text in article master data in basic data screen on additional data button under purchase order text tab.
    Any suggestion on creating LSMW for purchase order text.

    LSMW has a standard direct input for long texts, hence it is not necessary to do a recording.
    help.sap.com gives real good help for loading loading long texts with LSMW, further has this been discussed many many times here in MM  and in the data migration forum.
    try to search a bit, you dont really need more than the words you already have used on the subject to get a good variety of answers

Maybe you are looking for

  • Multiple Fiscal Calendars Displayed in Subject Area Time Dimension

    Hi all, Thanks for taking the time to review my post. Environment Oracle BI Applications 7.9.6 Financial Analytics Oracle E-Business Suite 11.5.10 Query The Time dimension on my Subject Areas (Financial Analytics) are showing more period data than I

  • Windows 8 activation is not working !!!

    I just bought a brand new laptop Toshiba Stellite P75 2 months ago, and then there's no problem with it until yesterday. I started the windows and got an error message that i need to active the window. So when i when to Windows Activation and hit the

  • Hi I need to change password but forgotten answer to one of question can help please?

    Hi I am trying to change my password on I cloud but have forgotten one of the answer to a question can somebody help please?

  • Error in Availability Check

    I am getting the error  in Sales Order - "No control Information maintained for Checking Group (ZP) and Checking rule A" Actually my checking group is 01 not A. I Have configured Transfer of Requiremenst and Avaialability Check.

  • Indesign/Acrobat PDF - embedded link file(word, excel, pdf)

    Hi, In the microsoft word, we can embedd, the pdf, word or excel files as link, so that when you click the embedded file (for eg. if you click the pdf icon of embedded file in word, the pdf file will open, as same as the word files and excel files wi