Need FM/BAPI for production order

Hi all
Let me know FM / BAPI for get component overview based on production order?

hi
check this
BAPI_ALM_ORDER_GET_DETAIL
or check from SPRO>Production>Shop Floor Control-->System Modifications->Enhancement in the Adding and Changing of Components
-ashok

Similar Messages

  • IDOC/BAPI for Production order creation from Legacy system

    Hi all
    We are using an interface to create Production orders from legacy to SAP. Would you recommend an IDOC or a BAPI to create Production orders. If IDOC or BAPI then could you please mention which one?
    thanks a bunch

    Hi John,
    For your purposes, please use BAPI for production order creation from legacy system. There is no standard inbound IDoc available to use. SAP has an IDoc for outbound interface only (message type LOIPRO).
    If there is an inbound IDoc available, I would recommend to use an IDoc.
    IDoc technology has excellent error handling and will allow you to reprocess an error (if any).
    BAPI is also good approach to use and fast in term of  processing.
    For BAPI approach, you can use BAPI BAPI_PRODORD_CREATE.
    Hope this will help.
    Regards,
    Ferry Lianto

  • BAPI for Production order creation against wbs element

    dear all,
    I am using BAPI (BAPI_PRODORD_CREATE) for Production order creation against wbs element.I am putting following input paramters in this
    material no,
    order type
    plant
    qty
    basic start dt & end dt
    wbs
    But during GRN it is not taking the account assignment as project stock i.e. its picking movement type 101 but it should be 101Q.
    For this what changes are required.
    regards
    ravi arora

    Hi,
    2 options i can think of:
    1. Create a BDC program by recording co10
    2. Create a planned order with order type PR using BAPI_PLANNEDORDER_CREATE, specify the WBS element & other details. Now use BAPI_PRODORD_CREATE_FROM_PLORD to create a production order with reference to the planned order created earlier.
    I believe option 2 should meet your need. Check & revert.
    Regards,
    Vivek

  • I need a bapi  for service order

    i need a bapi for serviceorders  the fields which i required in the output should be 
    GLTRI(Actual finish date),
    FTRMP(Planned release date),
    RMANR(     SD Document Number),
    POSNV_RMA(Item number of the SD document),
    PM_OBJTY,
    ARBPL.

    Dear Jammer,
    This question can be put in ABAP forum. You can also try SD forum. Chances of getting a reply on this query is almost nil in this forum.
    Please let me know in case of any query and keep revisiting this forum.
    Regards,
    Rakesh

  • Its urgent.!!!!!!BAPI for Production Order

    HIi All ,
    i need to fecth Storage Bin/Material/Quantyti/Descrition .
    All values can be obtained from the production order record using the BAPI.
    which BAPI is there for this req?

    some of the function modules are
    <b>BAPI_PRODORD_CHANGE
    BAPI_PRODORD_CHECK_MAT_AVAIL
    BAPI_PRODORD_CLOSE
    BAPI_PRODORD_GET_DETAIL
    BAPI_PRODORD_GET_LIST
    BAPI_PRODORD_RELEASE etc</b> better you put BAPI_PRODORD_*  in Function module field and press F4 and get more BAPI fuction modules according to your  production order scenario.....
    reward points if helpful...
    thanks,
    velu....

  • BAPI for Production Order creation ?

    Hi Experts,
    I am new to PP module and as per my requirement I have to:
    1. Create Production order in ECC 6.0
        After searching BAPI explorer, SDN and other sites I could see that there is no BAPI for Create Production order.
        In one of the link I could find FM CLOI_CHANGES_UPL_31 used to create Production order in SAP.
    Is there any BAPI to create ??
    Can anyone let mw know right FM or BAPI to create Production order with an example.
    2. And I have to:
    Delete Production order
    which BAPI is used for deletion of Prd Ord
    BAPI_PRODORD_SET_DEL_INDICATOR or BAPI_PRODORD_SET_DELETION_FLAG
    For Confirm Production order - in ECC 6.0 Let mw know the BAPI for this ..
    Really helpful if you answer my queries...
    Thanks
    Uday

    Hi udaya,
    use the BAPI 'BAPI_PRODORD_CREATE'
    The following BAPIs are available confirmation of production orders:
        Entry
            Time ticket
            ProdOrdConfirmation.CreateTimeTicketMultiple
            BAPI_PRODORDCONF_CREATE_TT
            Time event
            ProdOrdConfirmation.CreateAtHeaderLevelMultiple
            BAPI_PRODORDCONF_CREATE_HDR
            Order confirmation
            ProdOrdConfirmation.CreateAtHeaderLevelMultiple
            BAPI_PRODORDCONF_CREATE_HDR
            Activity confirmation
            ProdOrdConfirmation.CreateActConfMultiple
            BAPI_PRODORDCONF_CREATE_ACT
        Defaults
            Time ticket
            ProdOrdConfirmation.GetTimeTicketProposal
            BAPI_PRODORDCONF_GET_TT_PROP
            Time event
            ProdOrdConfirmation.GetTimeEventProposal
            BAPI_PRODORDCONF_GET_TE_PROP
            Order confirmation
            ProdOrdConfirmation.GetAtHeaderLevelProposal
            BAPI_PRODORDCONF_GET_HDR_PROP
        Cancelling confirmations
        ProdOrdConfirmation.Cancel
        BAPI_PRODORDCONF_CANCEL
        List of confirmations
        ProdOrdConfirmation.GetList
        BAPI_PRODORDCONF_GETLIST
        Detail data for confirmations
        ProdOrdConfirmation.GetDetail
        BAPI_PRODORDCONF_GETDETAIL
        Existence check
        ProdOrdConfirmation.ExistenceCheck
        BAPI_PRODORDCONF_EXIST_CHK
    Regards,
    Ravi

  • IDOC/BAPI for production order confirmations

    Does anyone know IDOC or a BAPI for confirming a production order? CO11 is the normal transaction for confirmation.
    I found one BAPI: BAPI_PRODORDCONF_CREATE_HDR
    Is this the right one?
    -Thanks
    Bhaven

    Hi Bhavan,
    status can be find using function module <b>STATUS_TEXT_EDIT</b>.
    Sample code:
    CALL FUNCTION 'STATUS_TEXT_EDIT'
          EXPORTING
            client           = sy-mandt
            objnr            = >object number of order<
            only_active      = 'X'
            spras            = 'E'
          IMPORTING
            line             = hold_status
          EXCEPTIONS
            object_not_found = 1
            OTHERS           = 2.
    *Exception in case status is not found
        IF sy-subrc <> 0.
          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                  WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
    *Check Status of the Order
        IF hold_status CS 'CNF'.
        confined production orders.
        ENDIF.
    Best regards
    Suresh Babu Karanam

  • FM or Bapi for production order creation?

    hi Friends,
    Any FM or bapi is exist to create Production Order
    regards,
    Mahesh

    Hi All
    BAPI_PRODORD_CREATE  does not contain all the parameters which are required to create a Production order.
    It doesn't has some parameters like Size1,Size2,Size3,Unit, Formula,Length,Colour etc.
    Pls suggest how to overcome this problem.
    Kindly, let me know if the same BAPI can be used to create collective orders also or not?

  • FM or BAPI for production order component split batch

    Hi,
    I'm trying to split a production order component quantity into batchs with FM or BAPI.
    Using BAPI_ALM_ORDER_MAINTAIN i can create or modify components but i can't set field split batch flag SPLKZ and reference SPLVR.
    Can you help me?

    In standard product order process in CO02 when i split material with standard function I obtain several lines. These new lines refer to the originale one by fields SPLVR and SPLKZ.
    Eg. In operation 0010 i've 10 PC of MATERIAL1
    Item
    Material
    Qty
    Batch
    Batch Key (SPLKZ)
    Itm no stock (SPLVR)
    0010
    MATERIAL1
    10 PC
    In CO02 i take MATERIAL1 from BATCH1 and BATCH2 the final result is
    Item
    Material
    Qty
    Batch
    Batch Key (SPLKZ)
    Itm no stock (SPLVR)
    0010
    MATERIAL1
    1
    1
    0010
    MATERIAL1
    7 PC
    BATCH1
    2
    1
    0010
    MATERIAL1
    3 PC
    BATCH2
    2
    1
    So I'm trying to reproduce this standard behavior with BAPI or FM.
    Thaks

  • Function module for Production order update (Table AFKO)

    Hello All,
    I know similar subject has been posted but please read the following.
    SAP 4.6c doesn't provide BAPI for production order update.
    We did develop an ABAP program that update production order and schedule it in a job.
    We are looking of avoiding direct update in table AFKO which our program do right now.
    We looked (with SE37) at either BAPI or FM to pass parameters to a functioin that would perform that update and ensure data integrity.
    CO_ZV_ORDER_POST seems interesting but is also using a lot of parameters and we have diffiulties to test it and understand it our dev team being fairly new.
    Can somebody tell us how to use this function or tell us another FM that could be used. (ie passing internal table content (New fields values) and a key value (AUFNR)) to update table AFKO and related objects/tables
    Regards
    Marc

    hi,
    TABLE IS AFKO
    rgds
    anver
    if hlped mark points

  • 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

  • Bapi or FM or tabel or any standard transaction code for Production order linking to get child production orders based on parent production order

    Dear Guru's,
    we have a requirement i.e. user can convert planned orders in to production orders (CO41) based on those production orders we can get Route card( Z Smart form)  presently we are using manual input for that Route card. recently we got requirement for this i.e. make to automatic generation of route card for this requirement we need to get the list of child's production orders based on parent production order
    so as per my requirement i need to get all child part numbers production orders based on parent production order number and quantity i tried in MD4C and CO46 but those transactions codes are picking multiple lines also so for this requirement please give your valuable suggestions
    Regards,
    Venkat 

    Dear Friends,
    Thanks for your reply,
    My business process is MTS purely strategy 10, for route card all components with production orders we can give input as like bellow these production orders are converted from planned orders,between few components are don't have production orders those are F-30 materials,because of this reason i need link for production order to child components orders
    01
    IND1
    IND1
    A1CE2003520103-005
    55685815
    02
    IND1
    IND1
    A1CE2003520103-010
    55685814
    03
    IND1
    IND1
    A1CE2003520103-015
    55685813
    04
    IND1
    IND1
    A1CE2003520103-020
    55685812
    05
    IND1
    IND1
    A1CE2003520103-025
    55685811
    06
    IND1
    IND1
    A1CE2003520103-030
    07
    IND1
    IND1
    A1CE2003520103-035
    55685810

  • Business Object (BAPI/IDOC) for production Order

    Hi All
    I have requirement where data is coming from legacy system to R/3 via XI to generate a production order. I am not able to get right BAPI/ IDOC for inbound Production Order. Can anyone has done similar scenario. Can u suggest me BAPI or IDOC for same. I am using IS-Mills 4.7 version for R/3
    Thanx in advance
    Regards
    Vinod

    HI Vinod,
    I think U can use IDOC <b>LOIPRO01</b> for Production Order...
    Regards,
    Sridhar Reddy

  • How can I add a new line item for production order?

    HI all,
    How can I add a new line item for production order through BAPI/FM? Thanks in advance.

    Hi Mil,
      Unfortunetly SAP is not in front of me.
    But if possible go to BAPI transaction , check for any production order's bapi for CHANGE purpose. Where you will be able to add your new line.
    Reward if useful!

  • Early Inspection for a Goods Receipt for production order

    Dear Experts,
    This  is with respect  Early Inspection for a Goods Receipt for inspction type 04.( 03 is also active in material master)
    We made partial confirmation  250 qty for production order using t code co11n ( total qty of production order is 1000).
    made the usage decision with an acceptance and posted all open stocks. to unrestricted.
    Now  in second partial confirmation prodn order  of 250 qty was made . This suppose to be rejected .  but sytem will add this 250 qty directly to unrestricted stock .  how to over come this .
    Regards
    Sandeep

    Don't make the UD until all stock has been receipted?
    You basically approved the batch.  So why wouldn't the system put the stock to unrestricted?
    Why would you make a UD when you still have stock to be posted anyway?  You can post stock without without making a UD so why not just post some if you need it, and wait on making the UD?
    Craig

Maybe you are looking for

  • ER: organize imports in an "import" attribute of a JSP page directive

    Hi, it would be useful to see packages/classes hierarchy when changing the "import" attribute of <%@ page %> directive. It might be as well to have all possibilities of imports processing as in .java classes (autoadding, remove unused import, etc.) T

  • Black screen and apple logo! Help please!

    My iPod 5g running on iOS 7.6 won't turn on. It just repeats the same pattern of black screen and the apple logo over and over. Help me please!

  • Baby dropped ipad n now the screen is green?  what does tht mean??

    my kid dropped ipad and now the screen is green, like the home screen...i tried to turn it off then on, and the green came on, so now i can see the apps but the green hues are still there?

  • How to export and import complete organization structure?

    Hello, I wanna import many (maybe 300) organization XML ObjectGroups in the right order. I tried something like that (see the code below),... but this solution only works for one file. <?xml version='1.0' encoding='UTF-8'?> <!DOCTYPE Waveset PUBLIC '

  • Will anyone can explain J1is process

    hi I have done import PO, MIRO,them MIGO,then J1iex Now i have done vendor return using 122 mvt, now i have to do J1is right??? above steps are correct or not plz explain how to do J1is??? thanks ramesh reddy Moderator message: Locked. Reason: basic