Issue for Production-Production order button is hidden

Hi,
I am trying to place one extra button in issue for production through SDK
When i am running the code the system shows the button which i have created but at the same time it hides 'Production order' and 'Disassembly order' button which are default in SAP B1 issue for production screen
I am using 8.8 version PL 12
Kindly help
Thanks
Md.nazeer Shaikh

Hi,
Try this one,
If pVal.Before_Action = True Then
            If pVal.FormTypeEx = "65213" Then
                oForm = objSBOAPI.GetForm(pVal.FormTypeEx, pVal.FormTypeCount)
                Select Case pVal.EventType
                    Case SAPbouiCOM.BoEventTypes.et_FORM_LOAD
                        Dim newItem, newItem1 As SAPbouiCOM.Item
                        Dim OButton As SAPbouiCOM.Button
                        newItem1 = oForm.Items.Item("71")
                        newItem = oForm.Items.Add("Newbutton", SAPbouiCOM.BoFormItemTypes.it_BUTTON)
                        Dim sss As Double = oForm.Items.Item("70").Left
                        Dim sss1 As Double = oForm.Items.Item("71").Left
                        newItem.Height = newItem1.Height '19
                        newItem.Left = newItem1.Left - 109 '360
                        newItem.Width = newItem1.Width '100
                        newItem.Top = newItem1.Top '497
                        OButton = newItem.Specific
                        OButton.Caption = "XXXXXXXXXXXXX"
                        objPRForm.Items.Item("70").Left = 1200
                        objPRForm.Items.Item("Newbutton").Enabled = False
                End Select
            End If
        End If
Regards,
Siva

Similar Messages

  • BAPI or FM to get material goods issue for a prod order

    Hi
    I need a FM to get the material goods issue for a prod order. Please let me know.
    Thanks and regards
    Harish

    Hi Harish,
    use FM <b>BAPI_GOODSMVT_CREATE.</b>
    have a look at this thread ..
    FM for good issue for production order
    Regards,
    Santosh

  • Goods issue for plant maintenance order

    Goods issue with ref to plant maintenance order( Componenets of the order) is not possible in transaction code MIGO. Error message " MIGO is not possible for the refurbishment order".
    Goods issue for the same order can be posted with transaction MB!A.

    hi santhosh
    kindly check the order type .i think you are using MB1A for refurbishment process.but it is not possible.only maintenance order can be posted via MB1A
    follow the procedure for goods issue in refurbishment order.
    Choose Logistics ® Plant maintenance ® Maintenance processing ® Completion confirmation ® Goods movement ® Goods movement.
    The entry screen for a goods issue appears.
    Choose the pushbutton For order.
    Enter the relevant order number in the dialog box and choose Continue.
    An entry screen appears.
    Choose Copy.
    The Maintain Serial Numbers dialog box appears.
    Choose Reference document.
    Enter the order number in the Refurbishment order group box and choose Execute.
    A list appears with the planned serial numbers for the refurbishment order.
    Check the selections of serial numbers, for whose material you want to post a goods issue, and choose Copy.
    The serial numbers are copied into the Maintain Serial Numbers dialog box.
    Choose Exit window.
    The goods issue is posted.
    regards
    thyagarajan

  • Goods issue for the CO Order

    Hello everybody.
    I have some problems in issuing goods for the CO order(moving type 261) in MIGo transaction.
    Message no. C6001          "Order XXXXXXX not found or not permitted for goods movement"
    Please, help me.....
    Thanks in advance
    P.S. I am a junior consultant

    Hi
         If you are doing GR with respect to PO please refer this link it may help you in some or other way.
          Message no. C6001 while doing GR with respect to PO
       Refer this link so that it may give you an idea regarding 261 movement type.
         Movement 261 and 262
         goods issue use 261 movetype
    Regards,
    Mrinalini.

  • User status for Service Issue{for particular Sales order} in CRM

    Hi Experts,
    I've an issue related to the User status in CRM.
    I've a Sales Order and I'm creating a service issue for it in CRM.
    For the service issue number has some user status and I want to know from where it is coming.
    Is there any configuration involved in it, or is it coming from the standard coding part.
    Please let me know how to find the user status for a service issue.
    Thanks
    Subbu

    Thank you PePe,
    I'm asking about the user status not the system status.
    The user status has only the values{open, worked & closed}.
    now for a service issue if it is rejected then the user status are automatically changed into "Closed".
    So if you have any idea in this please help me.
    thanks
    Subbu

  • Automatic GI issue for Confirming Production Order

    Hi
    I am trying to confirm the Production order using CO15, But at the time , i want to make the GI automatic for the componets , I maintain the back flush indicator for the components in the material master. How to make GI automatic
    Thanks
    JJ

    Hi
    Kindly check the following setting to ensure you have done correctly:
    Material master
    With the Backflushing key (MRP2) you can specify that
    -The material is not generally backflushed - that nmeans this material wherever used will not be backflushed
    -The material is always backflushed - Always wherever this material used will be backflushed
    -The work center determines whether the material is backflushed - WC setting has the priority if this setting is made.
    Work center -
    You can set the Backflushing indicator on the Basic data screen. This is only taken into account, if the material master stipulates that the work center should determine whether the material is backflushed. Work centers are assigned to a production order via the operations. The operations are copied from the routing used.
    Routing
    You can stipulate that the material is to be backflushed, on the component overview in the routing. This indicator is always taken into account, irrespective of the indicators in the material master or work center.
    If the Backflushing indicator has been maintained in the master data, it is copied from there when you create a production order. You can change the indicator in the production order, as you like
    Thanks

  • Subcontracting challan issue for end product with scrap.

    Hi All,
    I have one issue let me know how the system act in case of subcontracting challan process,
    In our company we use one component and received two end product( one is final product and other one is scrap product)
    My problem is how to treat this scrap in challan process.
    Pl help me out.
    Regards,
    Zafina

    Hi, Please use the exit to define how you want the system to consider Scrap in the subcontracting process.
    Refer below exit for your problem,
    1084323 USER-EXIT to update challan status if scrap is calculated
    1103537 Correction to note 1084323 for ECC 6.0 Release
    Please note the user exit will be accessed only if you were to write a code for it and you assigned/made 545 O as relevant to subcontracting
    subcontracting scrap will work if the scrap percentage is defined for the component which is sent to the job worker. If you have a completely new material for scrap then this is not going to work as the system will never be able to assign the qty (mismatch of material code between the scrap material & the challan material).

  • Print preview issue for amendment purchase order

    Hi
    Whenever i have created po in me21n t.code for two materials that time my outputype neu coming automaticaly and po print out also come for two materials in me9f .
    Supoose i have change quantity in me22n t.code for first line item for same po that time also neu coming automatically.but in   me9f coming printout first line item only,after that  po quantity changed available text in print preview,second line item material not comes,i need second line material also in print preview,plz help.
    Following configurations are completed for my output type(NEU) automatic generation in ME21N t.code and ME22N t.code
    in nace t.code EF purchase order for my condition records NEU for my document type nb and my vendor vn and message transsmission medium 5, dispatch time 3,language En,and my communication output device HP and save it
    SPRO-IMG-MM-PURCHASING-MESSAGES-MESSAGE TYPES-DEFINE MESSAGE TYPES FOR PURCHASE ORDER-FINED TUNED CONTROL PURCHASE ORDER-operation 1 for neu automatic generation in me21n, then operation  2 for neu automatic generation  in me22n.
    Regards
    Sam
    Edited by: sadaraji on Apr 15, 2011 3:50 PM
    Edited by: sadaraji on Apr 15, 2011 3:53 PM

    Hi,
      One thing you can do is, create a GUI Status resembleing the current GUI status, except the Print Prieview Button.Ans set the GUI Status before calling the Transaction in BADI or User Exit.
    Thanks & Regards,
    Vamsi.

  • Billing Issue for CRM Service Order

    Hi Gurus,
    I have a question regarding the BPP C69 which is a complete scenario of Service Management. I did complete the config guide C26 which is a pre-req.
    I created service quotation, Service order, and Techinician confirmed that service order. In step 4.7 in C69 says that in ECC, I can see the corresponding document in billing due list through VF04 transaction...I executed but I am not able to see any transactions. But I checked in ECC, using T Code IAOMC and I am able to see all the documents which I created.
    And I checked the item categories in CRM and they are set for External Billing which is through ECC. Can anybody tell what I am missing. Or is there anyway I can make this Billing work in ECC.
    Please let me know.
    Thanks,
    Sharath.

    Hi Raj,
    Actually the issue, we'll have 3 kind of materials.
    1) Sales Material,
    2) Service Material
    3) Service Spare Material.
    When I did the config guides, they mapped 3 item categories in CRM but in ECC they mapped only for Sales Material. That's why my order which has only service material is not replicated as soon as I added a Sales material...it replicated.
    Hope this helps.
    Cheers,
    Sharath.

  • Excise invoice issue for non stock orders

    Hi,
    We are unable to create excise invoice for non stock materials. When we try to create excise invoice with refernce to the billing document, the following error appears (message no 81681: reference document of 2917 is not delivery document). This process was working properly before updating patches, but after the updation, we are not able to generate excise invoice for non stock materials. (FYI: In the case of non stock order we are using order related billing). Any solution to resolve this error??
    regards
    John
    Edited by: Gino12 on Oct 28, 2010 10:00 AM

    For sales with material type NLAG, Item category TAX and schedule line category CX contain the standard settings along with copy control settings (VTFL, item level requirement 004) that suit your case.

  • IDOC ISSUE for CRM Sales Order ..........URGENT

    Hi ALL,
    I am new to ALE/IDOCS & m having a problem:
    The requirement is as below:
    <b> If IDoc contains requested delivery date at header level (E1EDK03  002  DATUM),  then map into CRM sales order header (CRMD_SALES - CRMT_REQ_DLV_DATE).</b>
    IDoc Basic type: ORDERS05
    IDoc Extension: ZORDERS05
    IDoc Processing code: ZORDERS.
    CRM Sales Order is being generated but Requested Delivery Date in Shipping Tab strip is not getting populated...
    Thanks in advance..........
    Points will be given..........
    Thanks,
    Kartikey Rawat.

    Hi
    Did you map the contents of E1EDK03-DATUM to CRMD_SALES - CRMT_REQ_DLV_DATE?
    Did you see whether it is populating properly in the target field during debugging?
    Regards
    Raj

  • GI for every Operations, not for whole production order

    Hi,
    I have assigned the components into operation and would like to do goods issue for every operations.
    But MIGO or MB1A only do goods issue for whole production order, there is no selection fields for operation no.
    How can I only do the good issue for production order by operations?
    thank you very much.
    Best Regards,
    John H

    Hi,
    You can do goods issue for each operation using backflushing while confirming each operation.
    In CA02 that is in routing go to component allocation select the components which you want to issue for certain operation and select new assignment. In new assignment select the operation.
    In the same manner select the components which you want to issue and assignment it to operation.
    Hope it will help you.
    Regards,
    Alok Tiwari

  • Sub : Report generation for issue for production_Using sql

    Dear members,
    I am generating a report for issue for the production.In that i want to retrieve planned,completed quantity and availiable using sql query for a period of one year.Anyone pls help me in this regard to retrieve the above described fields.
    Thanks in advance,
    Regards,
    Venkatesh.R

    Venkatesh,
    You can find a list of the tables used in the Business One database in the SAP Business One SDK Help Center Documentation under "Customization Tools".
    Eddy

  • To restrict Issue for production than planned qty in production order

    Hi Experts,
    In my scenario, the production staff will prepare production order and right click in production order document and select "Issue Components" option to Issue raw materials for production floor. After issuing the raw materials to production floor closes the "Issue for Production" document and now we have "Production Order" document open in screen. When he again select "Issue Components" option and issues the raw materials once again. Materials are issued once again wrongly. This happens since the production order document is not getting refresh after "Issue for Production" document is done.
    Is there any way to restrict issue of raw materials than the planned qty.?
    I have tried lot of ways to restrict this through SP. Please revert me an solution to this issue.
    The procedure should trigger immediately when the "Issue Components" option is selected second time (If the raw materials are issued in full in first time itself). And it should allow only the qty which is to issued to production order qty (if they issue part issue to production order)
    Thanks in advance
    Raja.S

    Hi Neetu,
    Thanks for your quick response. I have tried this query. But it is not blocking the issue for production document even the raw materials are issued already for the production order.
    I'll explain my work flow again. The Production staff will prepare production order and then release the same and update the production order after changing  the status for "Release". Then he will right click the Mouse button and select "Issue Components" option and perform the Issue for Production process. He will issue the required raw material completely in one shot and add the Issue for Production document.
    After adding the Issue for Production document he will close that document and now we will be in Production order document. Now our production order document will not get refreshed. Now the Production staff go for "Issue components" option, then it should not allow him to issue the components once again. But it is allowing him to issue components any number of times. there is no control.
    If we browse the production order document to previous record and browse back to the same record then my Production order document get refreshed and now we can control the issue. But what should i do to control in the earlier case. Since they want to perfrom lot of production order, there is a chance to issue components for same production order more than one time before the production order document get refreshed.
    Please provide me the SP to control this scenario.
    Thanks in advance.
    Raja.S

  • Error while doing Good Issue for Production Order using BAPI

    Hi All,
    I am facing an error like 'u2018Content of order 1011907: MDT218AJ10 transferred to interface (IMSEG): T-86410-71".
    I have written the code as below. Please let me know what is missing when using the BAPI 'BAPI_GOODSMVT_CREATE'. What is the cause of this error ?
    *Action in Transaction (GM_CODE)
    *GM Code for Goods Issue for Production Order is 03
      gs_gmcode-gm_code = '03'.
    *Header Data
    *Posting date
      gs_header-pstng_date = sy-datum.
    *Document date
      gs_header-doc_date   = sy-datum.
    *Item Data
    *Material
      gs_item-material  = zptp_s_rf_migo_261-matnr1.
    *Movement Type
      gs_item-move_type = '261'.
    *Movement Indicator
      gs_item-mvt_ind   = 'F'.
    *Stock Type
      gs_item-stck_type = 'F'.
    *Plant
      gs_item-plant     = gv_plant.
    *Storage Location
      gs_item-stge_loc  = gv_str_loc.
    *Quantity
      gs_item-entry_qnt = zptp_s_rf_migo_261-menge2.
    *Unit
      gs_item-entry_uom = gv_uom.
    *ISO code for unit of measurement
      gs_item-entry_uom_iso = gv_uom.
    *Order Number
      CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
        EXPORTING
          input  = zptp_s_rf_migo_261-aufnr
        IMPORTING
          output = gs_item-orderid.
    *Reservation Number
      gs_item-reserv_no = gv_resv_num.
    *Reservation Item
      gs_item-res_item = gv_resv_itm.
    *Reservation Type
      gs_item-res_type = gv_resv_type.
      APPEND gs_item TO gt_item.
    Calling BAPI_GOODSMVT_CREATE to create the Material Document Number
      CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
        EXPORTING
          goodsmvt_header       = gs_header
          goodsmvt_code         = gs_gmcode
        IMPORTING
          goodsmvt_headret      = gs_headret
        TABLES
          goodsmvt_item         = gt_item
          goodsmvt_serialnumber = gt_serial
          return                = gt_return.
    Thanks in Advance.

    hi,
    did you look at message ?
    System says, there are differences between the interface data and the order data. It can be anything. I think you should check
    data in the interface . 
    this is the long explanation of your message :
    Diagnosis
    When calling the function module MB_CREATE_GOODS_MOVEMENT or the BAPI GoodsMovement.CreateFromData (BAPI_GOODSMVT_CREATE) to post a goods receipt for a production order, there are differences between the interface data and the order data.
    Example: The order was created for plant 0001, but plant 0002 is passed on in the interface.
    The system checks this for the material and the order item.
    System response
    Due to this difference, the system cannot post the goods receipt.
    Procedure
    Check the data in the interface (IMSEG-WERKS, IMSEG-AUFNR). If necessary, correct the plant or the order number in the interface.
    << Moderator message - Point begging removed >>
    Edited by: Rob Burbank on Feb 6, 2012 11:24 AM

Maybe you are looking for