BAPI for material documents by production order

I'm looking for a BAPI that will provide the list of material documents for a given production order. This is similiar to the functionality provided by the COOIS transaction using: "Documented Goods Movements" as the list type. I've looked at BAPI_GOODSMVT_GETITEMS. However this BAPI does not contain a method to select by production order.
Message was edited by:
        Glenn Doherty

HI
    Check this link it wuld be helpful to you
'BAPI_ALM_ORDER_MAINTAIN' for change in service order.

Similar Messages

  • Table names for Material Characteristic againgst production order

    Hi Guys,
    Actually I have a problem in finding the table name for material characteristic against production order such as Individual length, factor, color, etc. I really spend more than a day to find this. But I cudn't make it. Finally I found the flow some how, but is working only for few cases. Here is the flow.
    AFKO(RSNUM) --> RESB(OBJNR) --> INOB(CUOBJ) --> AUSP(OBJEK).
    T-code: CO02 / Fast Entry tab / Change Configuration(Item Level) / Change Characteristic values.
    Anybody knows about this. Please help me out on this. And please note that, it is not the material characteristic from MM01, it is against production order from CO02.
    Thanks
    Yasin.

    Hi Yasin,
    The best way to know Table Names in SAP is to use a Transaction Code Called : SQL Trace. Tcode : ST05. This will tell you about all the database tables that have been accessed while the Transaction was executed. And then you do a complete analysis of it, what are all the Tables that have been accessed, the fields and the data transfered. So, it's a complete trace of the SQL Query but you can use the information as needed.
    Have a look at the following Links:
    http://help.sap.com/saphelp_nw04/Helpdata/EN/17/358df9c9fee2469105731e10756921/content.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/d1/801f89454211d189710000e8322d00/content.htm
    The best things is that you can use it across any SAP Transaction as it is available in SAP NetWeaver .
    Hope this helps.
    Thanks,
    Samantak.

  • Reg:Bapi for mass creation of production order/confirmation

    Dear Experts,
    I wanted to know with the following BAPI is it possible to create Multiple production orders for different semifinshed Materials along with material availability check and other functions similar to CO01 transaction.
    I knew there are standard transactions for mass confirmation for production orders. But i need a confirmation on this BAPI . As i am planning to go-ahed with ,mass creation of production order creation / Order confirmation in single custom transaction.Need back flush activity even supported.
    BAPI_PRODORD_CREATE to create the orders.
    BAPI_PRODORD_RELEASE to release the orders.
    BAPI_PRODORDCONF_GET_TT_PROP to get the default data for the confirmation.
    BAPI_PRODORDCONF_CREATE_TT to ost the confirmation of production order.
    Along with this BAPI do i need to commit any other BAPI to carry out back flush for components.
    Need your suggestions to take it further.
    Regards,
    Daya.

    Dear SAP Daya
    If the issue has been solved, please close this thread.
    You have already mentioned that the issue has been resolved, thefore, you should not ask for help on another thread before closing this one, as it looks like you are trying to force people to answer your threads.
    Users are always trying to answer as many threads as possible on good will we don't need this kind of "incentive".
    Please read carefully the The SCN Rules of Engagement, especially point 8:
    Be responsive. If an SCN member has answered your question, please mark the answer as "helpful” or “correct”. Mark the discussion as “answered,” so that other members can find the answers more easily
    Also, I checked your old threads and I could observe that there is only one closed. Please review your old threads and close those already solved.
    BR
    Caetano

  • Function Module/BAPI For Material Document

    Dear All,
    I am looking for a function Module/BAPI to get details relevant for a Material Document.
    I can get those details using table MSEG & MKPF, but still looking for a Function Module.
    Kindly help.

    Hi
    Try with these BAPI's
    BAPI_GOODSMVT_GETITEMS
    BAPI_GOODSMVT_GETDETAIL
    Regards
    Brahmaji

  • BAPI for operation change in production order?

    Hi there,
    I want to change operation data in a production order and I can only find this BAPI:
    BAPI_ALM_ORDER_MAINTAIN
    Can this BAPI also be used for changing an production order? Because in the documentation of the BAPI this function isn't really mentioned...
    Can you give me some hints or the name of another BAPI doing this task?
    Kind regards
    Max

    yep it can be used for that, the documentation for this bapi is ( very unusual for bapis I know ) available
    call the bapi in se37. goto -> documentation
    I don't have an example for changing orders and operations but I use it to copy serviceorders (only difference between serviceorder and production order is that you can enter a customer at serviceorders)
    which are quite extensive with lot of operations and components and functional locations
    here my example for creation. for change I believe you also have to fill the UP structures accordingly to what you want to update
    kind regards
    arthur
    gs_meth-refnumber  = 1.
      gs_meth-objecttype = 'HEADER'.
      gs_meth-method     = 'CREATE'.
      gs_meth-objectkey  = c_init_ordid .
      append gs_meth to gt_meth.
      move-corresponding gs_meth to gs_ext.
      gs_meth-refnumber  = 1 .
      gs_meth-objecttype = 'PARTNER'.
      gs_meth-method     = 'CREATE'.
      gs_meth-objectkey  = c_init_ordid.
      append gs_meth to gt_meth.
      h_refnumber = 1.
      loop at gt_operations_i into gs_operations_i.
        concatenate c_init_ordid gs_operations_i-activity into gv_so_operation.
        gs_meth-refnumber  = h_refnumber.
        gs_meth-objecttype = 'OPERATION'.
        gs_meth-method     = 'CREATE'.
        gs_meth-objectkey  = gv_so_operation.
        append gs_meth to gt_meth.
        add 1 to h_refnumber.
      endloop.
      clear h_refnumber.
      loop at gt_components_i into gs_components_i.
        add 1 to h_refnumber.
        gs_meth-refnumber  = h_refnumber.
        gs_meth-objecttype = 'COMPONENT'.
        gs_meth-method     = 'CREATE'.
        concatenate c_init_ordid
                    gs_components_i-activity
                    gs_components_i-item_number
        into gs_meth-objectkey.
        append gs_meth to gt_meth.
      endloop.
      clear h_refnumber.
      loop at gt_texts into gs_texts.
        add 1 to h_refnumber.
        concatenate c_init_ordid gs_texts-activity into gv_so_operation.
        gs_meth-refnumber  = h_refnumber.
        gs_meth-objecttype = 'TEXT'.
        gs_meth-method     = 'CREATE'.
        gs_meth-objectkey  = gv_so_operation.
        append gs_meth to gt_meth.
      endloop.
    * gebruikte objecten cq functieplaatsen
      clear h_refnumber.
      loop at gt_objectlist_i into gs_objectlist_i.
        add 1 to h_refnumber.
        gs_meth-refnumber  = h_refnumber.
        gs_meth-objecttype = 'OBJECTLIST'.
        gs_meth-method     = 'CREATE'.
        gs_meth-objectkey  = c_init_ordid.
        append gs_meth to gt_meth.
      endloop.
      clear h_refnumber.
    if p_objrel = 'X' and gt_relation_i is not initial.
    * koppeling functieplaats met operatie
    * kunnen geen meervoudige koppelingen gemaakt worden in BAPI
    * dus hier 1 koppeling maken en na BAPI de rest aanleggen
      read table gt_relation_i into gs_relation_i index 1.
      add 1 to h_refnumber.
      gs_meth-refnumber  = h_refnumber.
      gs_meth-objecttype = 'OLISTRELATION'.
      gs_meth-method     = 'CREATE'.
      gs_meth-objectkey  = c_init_ordid.
      append gs_meth to gt_meth.
    endif.
      gs_meth-refnumber  = c_init_ordid.
      gs_meth-objecttype = space.
      gs_meth-method     = 'SAVE'.
      gs_meth-objectkey  = c_init_ordid.
      append gs_meth to gt_meth.
    * BAPI-call
      refresh: gt_ret, gt_numbers.
      clear:   gt_ret, gt_numbers.
      call function 'BAPI_ALM_ORDER_MAINTAIN'
        destination 'NONE'                       " --> Zie note 770626 !
        tables
          it_methods             = gt_meth
          it_header              = gt_header_i
    *       IT_HEADER_UP           =
    *       IT_HEADER_SRV          =
    *       IT_HEADER_SRV_UP       =
    *       IT_USERSTATUS          =
          it_partner             = gt_partner_i
    *       IT_PARTNER_UP          =
          it_operation           = gt_operations_i
    *       IT_OPERATION_UP        =
    *       IT_RELATION            =
    *       IT_RELATION_UP         =
          it_component           = gt_components_i
    *       IT_COMPONENT_UP        =
          it_objectlist           = gt_objectlist_i
          it_olist_relation       = gt_relation_i
          it_text                = gt_texts
          it_text_lines          = gt_text_lines
          extension_in           = gt_ext
          return                 = gt_ret
          et_numbers             = gt_numbers.
      call function 'BAPI_TRANSACTION_COMMIT'
        destination 'NONE'
        exporting
          wait          = 'X'
    *         IMPORTING
    *           RETURN        =
    *   Zie note 770626 ...
      call function 'RFC_CONNECTION_CLOSE'
        exporting
          destination                = 'NONE'
    *       TASKNAME                   =
        exceptions
          destination_not_open       = 1
          others                     = 2
    Edited by: A. de Smidt on Feb 26, 2009 5:20 PM

  • Create transfer order for material document - 4.6C system

    Hi Gurus
    Can any one provide me the function module or BAPI to create transfer for material document in 4.6c system. I have to give input as supply storage type and bin and destination storage type and bin while execting the function module.
    Thank you in advance
    Regards
    Sarath

    Sarath,
    Thanks for responding, I finally found my answere via Thread: create transfer order for material document - 4.6C system
    Thanks again.

  • Material cost in production order plan cost

    Dear all,
    -we are in sales order cost object with non-valuated stock...
    -we have created two production orders from MRP run. First one is for semi finished material and second one is for finished material.
    Issue-1
    Both production orders not showing material cost in production order plan cost...
    Issue-2
    When i consumed raw material against semi-finished material production order (261-E), system not gnerated any document and material cost not updated either in production order or sales order...
    where should i do changes in configuration to get updated material cost in the production order...
    Best regards
    Kishore

    Hi
    Issue 1 : Check Whether Standard cost is present for header material of prod order, and under control tab of order costing variant for plan is present.
    Issue 2 : Use 261 instead 261E.
    Rajneesh

  • Drawing document in Production Order

    Hi,
    My scenario is as follows -
    There is a drawing  number for each material produced in-house.
    So when we are making a production order (manually or thru MRP) for each in-house produced material,
    I want the drawing document to automatically appear in the production order. The drawing document
    should also appear in the print out of the production order.
    This is needed so that the shop floor people can refer to the correct drawing while executing the production order.
    I am using document type - DRW
    In the schedulling  profile i have checked - Document links to BOM and also Material
    Kindly advise, how to go about this problem.
    Regards,

    Dear,
    For linking a document to production order, The prerequisite is do some customizing in SPRO.
    SPRO-->cross-application components>Document management>control data--> document types  in the document type you have to establish a object link to the document type and production orders.
    So select a document type and Define object link ---define a object --PORDER with screen 251 and save.
    Then goto production---Shop floor control --- master data --production schedul.profile
    and enable - document links material or Bom on release or creation.
    Then create a document using CVo1n.
    Provide the document type and name then enter
    In the next screen give the document description and below the originals sub header click on the OPEN Originals.
    Here you select your document and attach then save the document.
    Now got to Co02 and select the Document overview icon(Next to component overview icon) and provide the details of the operation to which the document to be attached and save.
    Document is attached to the Production order.
    Else Pressgo to CO02 and press SHIFT + F7..... then you can attach a document to a production order there manually also.
    Regards,
    R.Brahmankar

  • Attaching a document to production order.

    Hi.
    how can i attach a documet to the production order.
    generally we can attach a .txt to our production order. but i want  to attach a document  to the production order.
    how do i do that.
    need reps fast.

    Hi,
    For linking a document to production order, The prerequisite is do some customizing in SPRO.
    SPRO-->cross-application components>Document management>control data--> document types
    in the document type you have to establish a object link to the document type and production orders.
    So select a document type and Define object link ---define a object --PORDER with screen 251 and save.
    Then goto production---Shop floor control --- master data --production schedul.profile
    and enable - document links material or Bom on release or creation.
    Then create a document using CVo1n.
    Provide the document type and name then enter
    In the next screen give the document description and below the originals sub header click on the OPEN Originals.
    Here you select your document and attach then save the document.
    Now got to Co02 and select the Document overview icon(Next to component overview icon) and provide the details of the operation to which the document to be attached and save.
    then the Document is attached to the Production order.
    Hope this helps,
    Regards
    CSM Reddy

  • Need the report  for staged materials in production order

    Hi
    My user is staging the materials multiple times for the one production order.Due this reason multiple TR were generated .Because of Multiple TR , user is generating  multiple TO for issuing the material to a production order.
    Is there any way to stop the  staging process for the materials already staged.I would like to know whether there is any report which give the details of staged materials and corresponding TR & TO for a production order.
    Thanks
    Sankar

    Hi
    Warehouse activity Monitor is best tool/ report , which give the details of staged materials and corresponding TRs & TOs, to stop/cancle you have to use related WM transactions.
    To setup WM moniter user below document
    http://help.sap.com/printdocu/core/print46c/en/data/pdf/LEWM/MMWM.pdf
    Thanks
    Madhu

  • Standard Report for missing parts at production order operation level?

    Hi PP Gurus,
                We have standard report for missing parts at production orders level.
    For our client, they need a report for missing parts analysis at production order operation level. Do we have any such standard report in the SAP?
    Please help.
    Thanks,
    Reddy.

    Hi Arvind,
          Thanks for for your response.
    1. List: Components,  Layout: Standard layout          set the Missing part
           It shows the component requirement/withdrawn  quantity for each operation of production order. It is not showing the commit quantity.
    2. List: Components,  Layout: Pick list          set the Missing part
           It shows the component requirement/withdrawn  quantity for each production order.
    3. List: Components,  Layout: Missing Parts List-Material View          set the Missing part
           It shows the component requirement/commit quantity for each production order. It is not showing the commit quantity at opertion level.
    4. List: Components,  Layout: Missing Parts List-Order View          set the Missing part
           It shows the component requirement/commit quantity for each production order. It is not showing the commit quantity at opertion level.
          We are unable to get the solution from all these 1 to 4 reports from COOIS.
    Do we have any option to change the existing layout (ex: 3 ) to get the commit quantity for operation with missing parts indicator?
    If avilable, what is the procedure to be followed?
    Thanks,
    Reddy.

  • Number range for serial Number in production order

    Hi all,
                I want to use the Serial Number in production Order ... It should be generated automatically ... when i try this system creating the serial number from 1.....i want the number to start from 2000000 , How to configure this number range ....
    Please advise me ...
    Regards,
    kumar

    Dear
    Following steps are required in Serial Number Management :
    1. OIS2 or Go to path SPRO > Plant Maintenance and Customer Service > Master Data in Plant Maintenance and Customer Service > Technical Objects > Serial Number Management > Define Serial Number Profiles. There enter "2" in Stkck column for your serial profile.
    2.SPRO->SAP Customizing Implementation Guide->Plant Maintenance and Customer Service->Master Data in Plant Maintenance and Customer Service->Technical Objects->Equipment->Equipment Categories->Define Number Ranges
    3. IQ01 Create Serial Number
    4. MM02 You need to add the above created Serial Number Profile in the Material Master ion the work scheduling view .
    5. CO02 Assigning the Serial Number through Production Order,
    Also Serial Number can be created automatically by clicking on u201CCreate Serial Number Automaticallyu201D , Release the Order
    6. MB31 Do the GR for the above created Production Order and Check in MMBE for serial Numbers
    Try and check
    Regards
    JH
    Edited by: Jiaul Haque on Nov 22, 2010 7:43 AM

  • Material requisition against production order

    Dear all,
    How do i put material requisition against production order. Kindly give me the t-code and total path till material issue from a particular storage location. i.e
    --> requisition against Production order for a storage location
    --> Transfer posting by movement type
    Thanks

    Hi,
    Procurement of RM: -
    1. MM01 - First of all create materials (RM, SF, FG)
    2. CS01 - Create BOM (FG > SF > RM)
    3. MD61 - Planned Independent Requirement for FG
    4. MD02 - MRP Run for FG (System will create Planned orders and PRs automatically as per procurement key - E, F and X in Material Master)
    5. MD04 - Stock / Requirement List OR ME5A - PR List
    6. ME21N - Create PR w.r.t. PO
    7. MIGO - GR w.r.t. PO (Movement Type - 101, Capture Excise invoice here)
    8. J1IEX - Post Excise Invoice
    9. MIRO - LIV for PO
    Goods Issue of RM: -
    1. CO40 - Convert Planned Order to Production Order (Schedule, Release Order)
    2. MIGO - Goods Issue > w.r.t. Production Order (Movement Type - 261) - You can also use MB1A for GI against Order
    3. CO11N - Confirm Production Order
    4 MIGO - Goods Receipt > Order (Movement Type - 101)
    5. KO88 - Order Settlement

  • Need an IDOC EDI STEPS for material document(MB03)

    HI ALL,
    i need an IDOC for material document. For example, user in SAP make material document (t-code MIGO or MB11), then automatical is downloading outbound IDOC, which contain information about material document.HOW TO PROCESS IT THROUGH EDI .GIVE THE STEPS.

    like below you can do your settings
    The EDI Configuration required to be done for Transfering IDoc to non SAP System is.
    1. First of all, we need to identify the Transaction Data which is required to be Transfered to external System.(Ex: Sales Order Data or Shipment Data or Delivery Related Data).
    2. Secondly, Identify the IDoc Type & Message Type. IDoc Type can be found in Transaction WE30 & Message Type Can be explored in Transaction WE81.
    3. After that, assign the IDoc Type to Message Type in WE82.
    4. Identify the Selection Program (Outbound) which is generally a Function Module in the Form of IDOC_OUTPUT_<Message Type>. Example, if the Message Type is ORDERS, the FM will be IDOC_OUTPUT_ORDERS.
    5. Assign the Function Module to a Process Code in WE41 (Process Code for Outbound).
    6. Configure Port Definitions in WE21 for which the RFC destinations are to be maintained in Transaction SM59.
    7. Maintain Partner Profiles for the Outbound Message Processing in WE20.
    8. Last, but not the Least, we need to Focus Mainly on Message Control Configuration which is nothing but maintaining the Output Type for the Outbound IDoc to be Triggered for the Sales Order Application or Delivery Application.
    i. In Message Control Configuration, we'll maintain
    a. Condition Tables
    b. Access Sequences
    c. Output Types
    ii. To Create the above elements, we can go to SPRO Transaction and do the same depending on the Application Area such as Sales / Shipping / Logistics Execution etc.
    iii. For Output Types & Access Sequences, we can go to the Transaction NACE or VK01 in which we'll maintain the Output Types / Access Sequences & Condition Records.
    Please note that all the above steps may not be needed if we are using some of the Standard Elements provided by SAP such as Message Type, Process Code, IDoc Type & Selection Program as many of the Standard SAP Applications have their own Elements for different Application Areas.
    For example, if you want to send an Order Confirmation IDoc when the Sales Order is saved, you can use the Message Type ORDRSP, IDoc Type ORDERS05 & Selection Program as IDOC_OUTPUT_ORDRSP.
    However, Message Control Configuration is the Key Factor and is required for all the Applications as per the Customer's / Client's Requirements.

  • Stop excess raw material consumption against production order

    Hello
    Please Guide
    Is there any  control to Stop the excess or less consumption of raw material against the Production Order confirmation.
    Eg
    Prod order Qty - 10
    Ram material reqd A- 10 piece & B- 10 Piece
    So now Order confirmation Qty - 10
    raw material consumption A - 10 & B- 10
    so for A or B if i want to issue (261) excess or Less qty than system should not allow this. System response to be as an error message in case I increase or decrease the Qty of A or B other than 10 against the prod order confirmation of qty 10.

    Hi,
    You have to use user exit only to avoid it.
    1.CONFPP02 - for checking good issue during confirmation
    2.MBCF0002 - for Checking Confirmations during the Goods receipt.
    For this you need to Use the User Exit:
    Enhancement - MBCF0002
    Functional Module - EXIT_SAPMM07M_001
    Include - ZXMBCU02
    Regards,
    R.Brahmankar
    Edited by: R Brahmankar on Sep 9, 2008 12:41 PM

Maybe you are looking for

  • Where can I get a fixed BookComponentMIFWash.dll?

    Hello fellows, My system: Win 7 64 bit, FM v10 I installed the BookComponentMIFWash.dll as per instructions provided by Adobe, but it cannot be initialized. As I understood from http://forums.adobe.com/thread/852894, there is a bug in the sample DLL

  • Mac Mini Bios and booting in Linux

    Does anyone know if the EFI /Bios issue that prevented the previous generation Mini from booting into Linux without a monitor or KVM switch attached has been remedied in the new Mini's?

  • Just updated to 7.1 and the location service is always on even when the app is not running.

    Wasn't like that before. Its draining my battery.. Discovered that Foursquare was the one causing it. Reinstalled the app, that problem was solved. Did the same with "Amigos" app, but the geofence is always on... Hating this new update

  • KODO JDO Exception - kodo.util.FatalDataStoreException

    Using <b>Kodo Version - 3.3.4</b>, getting following exception when we try to <b>COMMIT</b>. Please let us know the reason for this kind of exception. java.lang.NullPointerException> kodo.util.FatalDataStoreException: java.lang.NullPointerException a

  • PCM Version 13 upgrade problems

    Hi, I hope somebody on this forum can give us some guidance on a problem we are facing in our company. Brief history -> We originally had PCM 12 installed which was then upgraded to 13 along with SP 1 by an external consultancy. Since the upgrade we