Bapi to complete the Production Order completely

Hi All,
I am using the above Bapi to complete the Production Order completely. Now my requirement is to complete technically. I don't want to write BDC. Can anybody please let me if there is any FM to meet this requirement.
Thanks n Regards

used BDC

Similar Messages

  • BAPI  to confirm the production order

    Hi friends,
    Can anybody tell me whats the BAPI to confirm the production order? If BAPI is not available how to create a BAPI for that?
    Please help me out.
    Thanks & Regards
    Sireesha.

    Here are the list of BAPI's pertaining to confirmations
    BAPI_PRODORDCONF_CREATE_ACT    Enter Activity Confirmation                                              
    BAPI_PRODORDCONF_CREATE_HDR    Enter Order Confirmations                                                
    BAPI_PRODORDCONF_CREATE_TE     Enter Time Event Confirmation                                            
    BAPI_PRODORDCONF_CREATE_TT     Enter Time Ticket Confirmation                                           
    BAPI_PRODORDCONF_EXIST_CHK     Existence Check for Confirming Production Order                          
    BAPI_PRODORDCONF_GETDETAIL     Detailed Data for Production Order Confirmation                          
    BAPI_PRODORDCONF_GETLIST       Confirmations List                                        
    Regards,
    Ravi
    note - Please mark all the helpful answers

  • PP scenario to complete the production order without GR and No stock update

    Hi Experts,
    I have a very typical PP scenario here. Let me explain,
    I want to create a production order (CO01) add operations to it and do the confirmation. As set, the cost will get updated against the production order. This is perfect.
    Now the trick is, i actually DONT want to update the stock of the material. That is, the goods reciept should not happen. But at the same time, I need to have the count of how much is delivered in the production order.
    I was thinking of having new movement type created (that would statiscally do the goods reciept without updating the actual stock of the material). Would this suffice, or do you guys have any other way of getting the count in the production order without having the goods reciept done.
    Thanks for your early reply.
    Beatle

    Dear ,
    If you want to avoid inventory issues as well as cost issue , i think  you can bring the Confirmation -Yeild field as Delevered quianity in a Z-report  .You can also utilise COOIS-Select Confirmation -Standrad Profile -Enter Order Type and Plant Code .Here you can select the change lay out option and bring the  confirm yeild qty  field from Hidden column  to diplay colmn for all these  orders .
    You can use following tabel  for your custom report or utlise coois for the same
    1.AFRU -Confiramtion
    2.GMNGA-Yeild Confirmed
    3.LMNGA-Yeild to confirm .
    Regards
    JH

  • Serial number creation at the completion of production order

    I am trying to create a production order and the finished goods is serialized. However, when I complete the production order it never asks me for a serial number for the finished goods. I have to go to registered products screen and manually create the serial number. I am assuming there is a way to minimize the number of step I have to use during the production process to create a serial number.
    Any Ideas?
    Thank you
    Chintan

    Hi Chintan,
    i believe that serial numbers are not supported in production orders.
    Serial numbers are available on delivering and receiving goods
    Regards
    Andreas Czech

  • Production Order Completion date

    Hi All,
       Can I know from which table can I get the production order completion date.

    Priya,
    There are different thoughts as you did not clearly explain what you meant by Order Completion date.
    If you are looking at based on,
    Confirmation then AFKO-GETRI
    Goods Delivery then AFPO-LTRMI
    If you are looking at Based on Status CLSD then you need to find the status change document using table JCDS-TJ02 with referance to the Object Number of the Production order from AUFK table.
    Regards,
    Prasobh

  • A question about report completion in production order

    Hi,
    Rightnow, i am trying to develop some application about production order and play with the production order in SAP. I found a issue which I don't understand. Let's say I have a production order with some components issued for the BOM and these components are managered by serial number. Natually, when I issue components into this production order SAP asks me to select serial number. But when I report completion for some products, SAP doesn't ask me to select component's serial number. Also when I try to return left components from production order to warehouse, SAP ask me to select the component's serial but the serial # list is the complete list which doesn't make sense. Because I have already report some products completed, how comes it ask me to select serial # from all of them? So seems that SAP doesn't manager the serial number properly in production oder, something wrong either I miss some steps in SAP or SAP missing something to manager the serial # for production order.
    Any idea?
    Thanks,
    Lan
    Edited by: ZHANGLAN on Jan 13, 2012 8:56 PM

    Hi Gordon,
    Thanks for your reply. If so, I think we have to use add-on with UDF or UDO to find a solution.
    BTW, I will ask another question in a new thread.
    Thanks,
    Lan

  • BAPI/FM to confirm the Production Order

    Hi Friends,
    I have created the Production Order using the 'BAPI_PRODORD_CREATE'.
    I also have to confirm the production order.
    please provide if any BAPI/FM is available for confirming production order?
    Regards,
    xavier.P

    Hi ,
    Try these
    BAPI_PROCORDCONF_CREATE_HDR
    BAPI_PRODORDCONF_CREATE_HDR
    Edited by: Selva M on Oct 22, 2009 4:37 PM

  • Performing resource transaction at the work order completion in Oracle

    Hello Guru's
    Is there any way to have Oracle 11g to perform the resource transaction at the work order completion? Currently a resource transaction is performed when work order is scanned in a scan point. What we want to see is resources transactions at the end of life of work orders most likely a wip assy completion transaction. We are seeing that this happens only for bill of material with just one level. We would like see this behavior on BOMs set up using phatom as supply type for the subassemblies (with more than 1 level structure).
    Regards,

    I am using SAP ECC 6.0.
    SAP Basis Component and Cross-Application Component: release 700, level 013
    Is there any other information you need?
    Could I still use this OSS note with this version?
    Also, the issue is not about the response time like mentioned in the OSS note.

  • Tables or bapi where i can find the production order' components

    Hi Gurus,
      Someone knows what are the tables or bapi that i need to know
    what are the components of a producton order.
    i can see the production order's comonents in CO02, but i need to know the components of a production
    in order to generate a report.
      Any suggestions ???
    Kind Regards
    Edited by: noemi huerta on Nov 4, 2008 1:15 AM

    Hi.
    This FM has been very helpful to me: BAPI_PRODORD_GET_DETAIL.
    You use this one to make the detailed data of an order available. Using the parameter ORDER_OBJECTS you can define which order objects are selected and returned.
    CALL FUNCTION 'BAPI_PRODORD_GET_DETAIL'
    EXPORTING
    NUMBER
    COLLECTIVE_ORDER
    ORDER_OBJECTS
    IMPORTING
    RETURN
    TABLES
    HEADER
    POSITION
    SEQUENCE
    OPERATION
    TRIGGER_POINT
    COMPONENT
    PROD_REL_TOOL
    Kind regards,
    F.S.A.

  • How the material PRT issue/receipt to the production order can be handled?

    Hi PP Gurus,
            For one of our clients, the handling of PRT is to be controlled with the issue/receipt for the production order.
    1. What is the procedure for issue/receipt of PRT material in the SAP?
    2. What is the procedure to block the PRT for the creation/release of production order when it was already assigned to the other production order during the same time?
    3. The PRT is to be available automatically once the assigned production order operation is confiremd.How it can be handled in the SAP?
    Appreciate your early response.
    Thanks,
    Reddy.

    Hi Ramanujam,
            Thanks for your response.
         1. The dies can be used for the production of Pressing, Casting and Forging etc. These dies will be managed in the stores. The stores representatives will issue the die to the shop floor for an operation of a production order.They will return back the die once the production is completed at that operation using the die. How to map this process in the SAP.
            Typically, these dies can be treated as PRT materials in the SAP system.
         2. OPJK configuration is not sufficient. The same PRT will be assigned to the many production orders during the same time.The system won't block with only this setting. There are some other steps involved to complete the process.
                     I would like to know the complete procedure with all the steps to block the PRT once it was assigned to the production order operation. The same PRT is to be available for other production orders automatically once the operation is confirmed after production.

  • Error while Closing the Production order.

    Hi ,
      We are doing operation Subcontracting Process. This process works on the basis of Production order, once the Production order generated automatically system generates a Purchase requisition which we are converting to Purchase order  and doing the sub contracting process.
    Now i have received all the material from the Subcontractor ( GRN and MIRO ) has been completed , for the Production order all the confimration and Delivery has also been completed , now i have done Technically completion for that order , now i am closing the Order ( Functions -Restrict processing - close ) , while closing it gives me an error saying that Purchase order still exists .
    Wat is this error ?? why is it coming so ??
    Regards
    Rajesh

    hi,
    You have to ensure that the order is not having any WIP, if you have any WIP for that order you have to complete the order and then only you could abale to clsoe the order.
    Check the WIP for the order thorugh KKAX.
    Regards,
    Rama Mohan

  • How to check the Production order exits

    Hi Experts
    Modification to processing of Command Orders & Tickets
    We require a modification to the processing being performed on sales data originating from the Command Concrete system and potentially from other systems yet to come online (e.g. Pinkenba Cement plant).
    The Sap process involved is ZINT_INBOUND_POLLING and within that, ZINT_CSTPORD_ROUTINES.
    The problem
    Currently there is an assumption that every sales order (and its deliveries) will include a product which is made to order, i.e. for which a production order will be required.
    In ZINT_CSTPORD_ROUTINES, a check is made to identify the production order linked to the sales order. If there is no such production order (usually because of the customeru2019s credit status) then processing of the ticket is terminated.
    This assumption would fall down if an order was to be raised (in Command) on which there is no concrete material. For example, if we sold a bag of pigment or a screed to a customer. In this case the item would be sold from stock and there would be no need for a production order.
    The solution
    In the routine which checks for the existence of a production order, modify the code as follows:
    Inspect each item on the sales order
    If (and only if) there is at least one item with a category of u201CZTACu201D then check for a production order, otherwise process the order in the usual manner.
    ----  ZINT_CSTPORD_ROUTINES -
    *&      Form  process_inbound_data
          Create prod. orders from ticket data extracted from the COMMAND
          system. Note that large portions of the code in this routine
          have been copied from the retired ZPPU_COMMAND_PRODUCTION
          interface program. This was done (1) because the old code works
          and (2) to save development time.
         -->T_ZINT_IDATA  Internal table of interface data
         -->T_ZINT_PARAM  Internal table of interface parameters
         -->T_ZINT_MSLOG  Internal table of messages
         -->P_ZINT_ID     Interface ID
         -->P_ZINT_TY     Inteface type
         -->P_ZINT_IS     IDOC group for interface
         -->P_ZINT_DL     Flag: delete IDOC group when complete
         -->P_ZINT_AL     Flag: run in standalone mode
         -->P_ZINT_NW     Flag: do not log warning messages
         -->P_ZINT_SQ     Interface sequence number
         <--P_ZINT_RC     Return code (<>0=>error)
    form process_inbound_data  tables   t_zint_idata structure zint_idata
                                        t_zint_param structure zint_param
                                        t_zint_mslog structure zint_mslog
                               using    p_zint_id    type      zint_id
                                        p_zint_ty    type      zint_ty
                                        p_zint_is    type      zint_is
                                        p_zint_dl    type      zint_dl
                                        p_zint_al    type      zint_al
                                        p_zint_nw    type      zint_nw
                                        p_zint_sq    type      zint_sq
                               changing p_zint_rc    type      zint_rc.
    program is continuing .............
    I WANT TO WRITE A CODING HERE **********************
    CHECK IF PRODUCTION ORDER REQUIRED
              IF NOT THEN GO TO PERFORM UPDATE DATA
      if production order required then check
                    for each item on sales order item list
                          with item category = 'ZTAC' then
                                     return true
                                next
                                  end function
        if there is no production code
               these has to be check from VBAP TABLE field VBELN and PSTYV (ZTAC,ZTAN Etc)
      select * from Vbap WHERE VBELN = '00000269951' and VBAP.PSTYV = 'ZTAC','ZTAN' Etc
    No production order?
        elseif lva_prodord is initial.
          clear v_messg.
          call function 'CONVERSION_EXIT_ALPHA_OUTPUT'
            exporting
              input  = lva_filemat
            importing
              output = lva_filemat.
        No production order found - log a warning message.
          concatenate 'Production Order not be found for'
                      'Command order' lva_cmdord
                      'Material'      lva_filemat
                      'Customer'      lwa_02-customer
            into v_messg separated by space.
          perform write_log_entry
            tables t_zint_mslog
            using  'E' 'ZINT_CSTPORD_ROUTINES'
                       'FIND_SAP_PRODORD'
                         v_messg
                         p_zint_nw
                         lwa_01-ticketnumber.                " RJS
          continue.
        endif.
    Production Order WAS found... Continue creating IDOCS
        lwa_hdrlevel-postg_date = lwa_01-ticketdate.
    Obtain the storage location parameter value.
        read table t_zint_param with key zint_fn = 'LGORT'.
        if sy-subrc ne c_noerr.
          perform write_log_entry
            tables t_zint_mslog
            using  'E' 'ZINT_CSTPORD_ROUTINES'
                       'PROCESS_INBOUND_DATA'
                       'Parameter LGORT is missing from ZINT_PARAM'
                       p_zint_nw
                       lwa_01-ticketnumber.                " RJS
          exit.
        endif.
        loop at l_it_05 into lwa_05
          where ticketnumber = lwa_01-ticketnumber.
          clear lwa_gm_item_create.
          lva_filemat = lwa_05-material.
          if lva_filemat eq lva_prodmat.
            concatenate 'Command ticket-' lwa_05-ticketnumber
              into lwa_hdrlevel-conf_text.
            lwa_hdrlevel-conf_quan_unit = lwa_05-unitofmeasure.
            lwa_hdrlevel-yield          = lwa_05-quantity.
    check whether the confirmed value + current delivery value is equal *
    the production order qty. If the production order value is less
    than the total delivered value, set final conf indicator  and clear
    reservations
            lva_wemng = lva_wemng + lwa_05-quantity.
            if lva_wemng < lva_psmng.
              lwa_hdrlevel-clear_res      = c_false.
              lwa_hdrlevel-fin_conf       = ' '.
            else.
              lwa_hdrlevel-clear_res      = c_true.
              lwa_hdrlevel-fin_conf       = 'X'.
            endif.
            move: 'Z1BP_PP_HDRLEVEL' to t_idoc_data-segnam,
                  lwa_hdrlevel       to t_idoc_data-sdata.
            append t_idoc_data.
            clear lva_formmat.
            lva_formmat                   = lwa_05-material.
            lwa_gm_item_create-material   = lva_formmat.
            lwa_gm_item_create-plant      = lwa_03-plant.
            lwa_gm_item_create-ref_date   = lwa_01-ticketdate.
            lwa_gm_item_create-prod_date  = lwa_01-ticketdate.
            lwa_gm_item_create-move_type  = '101'.
            lwa_gm_item_create-spec_stock = 'E'.
            lwa_gm_item_create-sales_ord  = lva_saleord.
            lwa_gm_item_create-entry_qnt  = lwa_05-quantity.
            lwa_gm_item_create-entry_uom  = lwa_05-unitofmeasure.
            lwa_gm_item_create-orderid    = lva_prodord.
            lwa_gm_item_create-move_mat   = lva_formmat.
            lwa_gm_item_create-move_plant = lwa_03-plant.
            lwa_gm_item_create-mvt_ind    = 'F'.
            clear t_idoc_data.
            move: 'E1BP2017_GM_ITEM_CREATE' to t_idoc_data-segnam,
                  lwa_gm_item_create        to t_idoc_data-sdata.
            append t_idoc_data.
          else.
            clear: lva_loggr,
                   lva_formmat.
            lva_formmat = lwa_05-material.
            select single loggr into lva_loggr from marc
              where matnr = lva_formmat
              and   werks = lwa_03-plant.
            if sy-subrc ne 0.
              clear v_messg.
              No logistics handling group - log a warning message.
              concatenate 'No logistics handling group for material'
                           lva_formmat
                          'in plant'
                           lwa_03-plant
                into v_messg separated by space.
              perform write_log_entry
                tables t_ldata
                using 'W' 'ZINT_CSTPORD_ROUTINES'
                          'PROCESS_INBOUND_DATA'
                          v_messg
                          p_zint_nw
                          lwa_01-ticketnumber.                " RJS
              clear lva_loggr.
            endif.
            if lwa_03-satsur eq 'T'.
              lwa_e1edl21-lprio = 30.
            else.
              lwa_e1edl21-lprio = 20.
            endif.
          else.
            if lwa_03-satsur eq 'T'.
              lwa_e1edl21-lprio = 10.
            else.
              lwa_e1edl21-lprio = '  '.
            endif.
          endif.
          lwa_e1edl21-berot = lwa_04-driver.
          move: 'E1EDL21'   to t_idoc_data-segnam,
                lwa_e1edl21 to t_idoc_data-sdata.
          append t_idoc_data.
          lwa_e1edl55-qualf = '001'.
          lwa_e1edl55-refnr = lva_saleord.
          move: 'E1EDL55'   to t_idoc_data-segnam,
                lwa_e1edl55 to t_idoc_data-sdata.
          append t_idoc_data.
    Loop at materials - create delivery entry for each
          loop at l_it_05 into lwa_05
            where ticketnumber = lwa_01-ticketnumber.
            clear t_idoc_data.
            lwa_e1edl24-matnr = lwa_05-material.
            lwa_e1edl24-werks = lwa_03-plant.
            lwa_e1edl24-vfdat = lwa_01-ticketdate.
            lwa_e1edl24-lfimg = lwa_05-quantity.
            lwa_e1edl24-vrkme = lwa_05-unitofmeasure.
            lwa_e1edl24-lgort = t_zint_param-zint_fv.
            clear lva_loggr.
            lva_formmat = lwa_05-material.
            clear lva_loggr.
            select single loggr into lva_loggr from marc
              where matnr = lva_formmat
              and   werks = lwa_03-plant.
            if sy-subrc ne 0.
            No logistics handling group - log a warning message.
              concatenate 'No logistics handling group for material'
                           lva_formmat
                          'in plant'
                           lwa_03-plant
                into v_messg separated by space.
              perform write_log_entry
                tables t_ldata
                using 'W' 'ZINT_CSTPORD_ROUTINES'
                          'PROCESS_INBOUND_DATA'
                          v_messg
                          p_zint_nw
                          lwa_01-ticketnumber.                " RJS
              lva_loggr = 'BBIN'.
            endif.
            if lva_loggr is initial.
              move: 'E1EDL24'   to t_idoc_data-segnam,
                    lwa_e1edl24 to t_idoc_data-sdata.
              append t_idoc_data.
            endif.
          endloop.
          clear: lva_xabln,
                 lva_vbeln,
                 l_vbfa.
    Matching ticket against a Delivery?
          select single xabln vbeln into (lva_xabln,lva_vbeln) from likp
              where xabln = lwa_01-ticketnumber.
          if sy-subrc = 0.
    If found, does this delivery match the sales order?
            select * from vbfa into l_vbfa
              where vbelv = lva_saleord
              and   vbeln = lva_vbeln.
              exit.
            endselect.
          endif.
    No matching delivery found, or Matching delivery, but for other Sls Ord
          if lva_xabln is initial
          or ( lva_vbeln <> space and l_vbfa is initial ).
            if not lva_saleord is initial.
              perform create_delivery_idocs tables t_zint_mslog
                                            using  s_idcgp
                                                   lwa_01-ticketnumber
                                                   p_zint_nw.
            else.
              concatenate 'Error finding a Sales Order for ticket "'
                          lwa_01-ticketnumber
                          '" reprocess the file AFTER'
                          ' the sales order issues have been fixed'
              into        lva_outtext.
              perform write_log_entry tables t_zint_mslog
                                      using  'E'
                                             'ZINT_CSTPORD_ROUTINES'
                                             'PROCESS_INBOUND_DATA'
                                             lva_outtext
                                             p_zint_nw
                                             lwa_01-ticketnumber. " RJS
            endif.
          else.
            concatenate 'Command Ticket "'
                        lwa_01-ticketnumber
                        '" has already been processed into delivery "'
                        lva_vbeln
            into        lva_outtext.
            perform write_log_entry tables t_zint_mslog
                                    using  'I'
                                           'ZINT_CSTPORD_ROUTINES'
                                           'PROCESS_INBOUND_DATA'
                                           lva_outtext
                                           p_zint_nw
                                           lwa_01-ticketnumber. " RJS
            refresh t_idoc_data.
          endif.
        endif.
        refresh t_idoc_data.
    Write out all messages collected so far
        perform update_data tables t_zint_mslog
                            using p_zint_id p_zint_ty.
      endloop.
    Write out all messages collected so far
      perform update_data tables t_zint_mslog
                          using p_zint_id p_zint_ty.
    endform.                    " process_inbound_data
    Thnaks
    Regards

    Thanks
    Thread closed

  • Production Order - Modify field Material Provision Indicator for component in the production order

    Good afternoon,
    I have a component in the bill of material, that has the option Material Provision Indicator activated.
    When i create the production order, the component automaticaly is activated with the  Material Provision Indicator option.
    However, in the production order, this field isn't possible to modify, because is closed.
    Anybody knows way the modify this field? Configure to open?
    Thanks.
    Kind Regards,
    António Pinho

    Hello Amar,
    I am also getting the same error while Releasing Production Order and Costing (CO11N). This error is related to EHP7 in our case.
    Please try one of the following solution and see whether the error is gone or not.
    1. Implement the SAP Note 1317551 - Error AD_SUBCON 141 / 143 / 144 (T417)
    OR
    2. Complete the customizing of Material Provision Indicator (T Code OICO) as per the attachment.
    Regards,
    Prashant Karanjgaonkar

  • REL, CRTD status based on the production order ( afko-aufnr)

    Hi all,
    I want to get the status of a Production order i.e released (REL) or unreleased (CRTD) based on the production order (afko-AUFNR).
    Can you please let me know how can i get the status of the production order?
    Regards,
    Chandan

    yeah , it may have around 6 or 7 active status? so u have to code carefully?.
    like
    i have a order which is technically completed.So in my report i have to show only TECO orders only, but i have to check each and every status or milestone of that orders.
    REL-->PCNF->CNF--->TECHO.
    Regards
    Prabhu

  • Display the status of the production order

    Hi Friends,
    I have a task which should display the status of the production order.
    If an order number(AUFNR) is given, it should display whether the order is available or not. Also it should display the status of the order whether it is delivered, completed, blocked etc.
    Can anyone send me the code for the above task.
    Waiting for ur reply.
    Raj
    Message was edited by: Craig Cmehil

    Please mark this post as "Solved on my own" as it is a duplicate of your post which has already been answered.  Thanks. 
    Also, please remove the email address from the subject line.
    Regards,
    Rich Heilman

Maybe you are looking for

  • VT6421A based SATA adapter non-bootable

    Hello to all fellow Archers. I have an ancient; 1998ish mobo (Asus P3V133), which obviously has no SATA ports. I bought a £6 SATA adapter off eBay (Pluscom 4 port SATA PCI based on VT6421A chip, product code S4P-VT6421A) to connect up my brand new 1.

  • Final Cut Pro Timeline Appearance ?

    Hey guys, I was looking on some websites and I found this screenshot, and i was wondering how to get the timeline too look like the one in the image.. heres the link to the image: http://img23.imageshack.us/my.php?image=finalcutstudio.png thanks guys

  • How to set price field in requisite to string

    hi, concerning requisite. 3.5/88 or 4.0 the problem: we've got products in our master material data, which have no price assigned. hence we want a note in requisite, 'NA'. At least we don't want a '0.00' price - as buyers tend to look for zero prices

  • Want touse AT END OF.. for three fields

    Hi all, I have five fields in my internal table with amount as one field in the table GTAB. fld1 fld2 fld3 fld4 amount and i want to compare three fields fld2 fld3 fld4 and if they are same then add the amount and append to new internla table itab. i

  • Organizational Hierarchy in OIM

    Hi, I have read in OIM intro docs that "Oracle Identity Manager can support unlimited user organizational hierarchies and user groups with inheritance" Dose it mean that in OIM we can create a user-manager kind of hierarchy that is USER