Confirmation and GI in production order

Hi all,
I need help in regards Confirmation and GI(261 mvmt) for production order.
My requirement is....
I want to do one development in which i will be giving production order as a input in selection screen.
Once I give production order as input, confirmation for operarion 0010 and GI for components assigned to 0010 operation
should happend in background.
So is there any function module which I can call to do confirmation and GI for that production order..??
Kindly help.

Hi,
I dont think there's any function Module for your requirement. You can take help from the ABAPer to write a code / BDC.
In the code, call the transaction CO11N and pass the value that you are entering in the selection screen (Order number). You can hard code the Operation Number (0010) depending upon your requirement.
Then call MB1A and pass data based on components view of the production order. Fetch data from RESB table.
ABAPer would help you out on this. Try and revert.
Hope that helps.
Regards,
Rohit.

Similar Messages

  • System status for IDOC creation and processing for production orders

    All
    I am creating IDOCs for production orders to send requirements to an external WM system for kitting execution.
    I need to know whether there are any system statuses to notify me when an IDOC has been created,failed and processed. If not, how do I go about creating user defined statuses for these statuses.
    Second question, which idocs should I use to confirm, teco and cancel the production orders from an external system?
    Thanks
    Evan

    HI Evan
    u can use the standard program - RBDMOIND scheduled in back ground to update the Idoc staus ,
    this helps to update the IDoc Status from
    '03     Data passed to port OK  '  to
    '12     Dispatch OK'
    status 03 indicates the IDoc is successfully transmitted to Communication Layer and the Status 12 helps to confirm the data dispatch to the receiving port.

  • Different GL accunts during GR for PO and GR for production order

    Hi
    For posting GR for PO and GR for Production order we use movement 101 only then how we can define or e different GL accounts for both the transactions ?

    Hi,
    As per my undestanding
    If you want to hit different GL for same material type for e.g. GR for PO and GR for Production order.
    you can define split valuation, Suppose material A has two Split valuation External Procurement or Inhouse Production.
    Now For valuation type External Procurement assign valuation class 1000 and for Inhouse Production 2000.
    Now in GBB for valuation modifier BSX assign two separate GL
    Like
    GBB     BSX     1000           120000(External Procurement)
    GBB     BSX      2000           130000(Inhouse Production)
    Solution 2 :-
    Define other movement type for Production create and create a new event key and assign GL to that one.
    Hope HElp U !
    Regards,
    Pardeep Malik

  • IDoc creation on save and change of production order

    I am looking for a way to create, and send if possible (if not I'll send with a batch job), on the save (creation and change) of production orders.  This will be a modified LOIPRO iDoc.  Currently we have a customer exit on the save of the production order but because it is before the save we must predict the number of the prod order.  This has worked but now we are creating one production order per line item in a sales order (automatically) so this is causing us to predict the same production order number twice.  We need a way to automatically create and send an iDoc for all production orders for given plants.  Right now the solution we are looking at is creating an output type and running through those output types a few times a day, sending them down to the Shop Floor system (proprietary system). 
    Is there anything setup in SAP that we can utilize?
    Regards,
    Davis

    Hi Rick,
    Follow the below sample steps for changing component quantity:
    DATA:
        l_methods TYPE bapi_alm_order_method,
        it_boperations TYPE STANDARD TABLE OF  bapi_alm_order_operation_e WITH HEADER LINE,
        it_components TYPE STANDARD TABLE OF bapi_alm_order_component_e WITH HEADER LINE,
        it_components1 TYPE STANDARD TABLE OF bapi_alm_order_component WITH HEADER LINE.
    1. Call BAPI :BAPI_ALM_ORDER_GET_DETAIL , it will give existing order component details.
    CALL FUNCTION 'BAPI_ALM_ORDER_GET_DETAIL'
        EXPORTING
          number        = <production order number>
        TABLES
          et_operations = it_boperations
          et_components = it_components
          return        = it_bapiret2.
    2. Move it_components to components table compatibel to BAPI "BAPI_ALM_ORDER_MAINTAIN".
    LOOP AT it_components.
    MOVE-CORRESPONDING it_components TO it_components1.
    _*"Note here while moving change the component quantity"*_
    APPEND it_components1.
    CLEAR it_components1.
    ENDLOOP.
    3. Build the methods table for change production order :
    it_methods-refnumber = v_refnumber.
                it_methods-objecttype = 'COMPONENT'.
                it_methods-method = 'CHANGE'.
                it_methods-objectkey = v_objectkey.
                APPEND it_methods.
    "Note v_refnumber has 1 to 1 relation ship with the components table, if you want to change First component in it_components1 then you have to enter value '1' here for v_refnumber.
    it_methods-method = 'SAVE'.
            APPEND it_methods.
    4 . Call
    CALL FUNCTION 'BAPI_ALM_ORDER_MAINTAIN'
              TABLES
                it_methods   = it_methods
                it_component = it_components1
                return       = it_bapiret2.
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.

  • Relation between operation and component in Production order

    Hi All
    I am new to PP. I need to get the tables which gives relation between operation and components in Production Order. I need to display in smartform the components assigned.
    Thanks and regards
    Swetabh Shukla

    Hi,
    Try with AFVV Table.
    You need to get the Details of the Filed : AUFPL from AFKO.
    Hope this helps..
    Regards,
    Siva
    Hi,
    You can get the details from Table : RESB.
    Regards,
    Siva
    Edited by: Siva Kumar M on May 23, 2008 10:49 AM

  • Separate number ranges for GR against PO and GR against Production Order

    All SAP Gurus,
    Is it possible to have Separate number ranges (for Material Documents as well as for FI Documents) for GR against PO and for GR against Production Order?
    Regards,

    Hello Anusha,
    Basically you need to maintain the confirmation control key in the Info record or the vendor master in order get the option of doing an inbound delivery and not a rough GR. in info record in purchasing screen and also the same screen in vendor master.
    The above is a permanent setting for a vendor, if you want to do it temporarily, you need to go to the confirmations tab in PO item details and change the control key in there.
    I hope this is what you are looking for
    regards,

  • Change components and Routing of production order

    Hi, experts, I have such requirement that change quantity of a component or add a component, add a operation into current routing.
    I have look up answer, but can not find the right one.
    BAPI_PRODORD_CHANGE only can change header data.
    BAPI_ALM_ORDER_MAINTAIN seems can not change production orders, it is for service orders.
    CO_XT_ORDER_CHANGE will assign a new  routing number and a new bom number.
    Could somebody give me some FM and BAPI for reference? Thanks in advance.

    Hi Rick,
    Follow the below sample steps for changing component quantity:
    DATA:
        l_methods TYPE bapi_alm_order_method,
        it_boperations TYPE STANDARD TABLE OF  bapi_alm_order_operation_e WITH HEADER LINE,
        it_components TYPE STANDARD TABLE OF bapi_alm_order_component_e WITH HEADER LINE,
        it_components1 TYPE STANDARD TABLE OF bapi_alm_order_component WITH HEADER LINE.
    1. Call BAPI :BAPI_ALM_ORDER_GET_DETAIL , it will give existing order component details.
    CALL FUNCTION 'BAPI_ALM_ORDER_GET_DETAIL'
        EXPORTING
          number        = <production order number>
        TABLES
          et_operations = it_boperations
          et_components = it_components
          return        = it_bapiret2.
    2. Move it_components to components table compatibel to BAPI "BAPI_ALM_ORDER_MAINTAIN".
    LOOP AT it_components.
    MOVE-CORRESPONDING it_components TO it_components1.
    _*"Note here while moving change the component quantity"*_
    APPEND it_components1.
    CLEAR it_components1.
    ENDLOOP.
    3. Build the methods table for change production order :
    it_methods-refnumber = v_refnumber.
                it_methods-objecttype = 'COMPONENT'.
                it_methods-method = 'CHANGE'.
                it_methods-objectkey = v_objectkey.
                APPEND it_methods.
    "Note v_refnumber has 1 to 1 relation ship with the components table, if you want to change First component in it_components1 then you have to enter value '1' here for v_refnumber.
    it_methods-method = 'SAVE'.
            APPEND it_methods.
    4 . Call
    CALL FUNCTION 'BAPI_ALM_ORDER_MAINTAIN'
              TABLES
                it_methods   = it_methods
                it_component = it_components1
                return       = it_bapiret2.
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.

  • Shift wise confirmation and shift wise production report

    Hi Guys
    To get shift wise production confirmation and reports,  I have maintained the following setting ,
    1-     maintained shift sequence and with shift grouping,
    2-     assigned the shift grouping to work centers,
    other theses settings, what other setting to be done for  shift wise confirmations and also production reports,
    thanks in advance,
    mohan.m

    Hi Mohan,
    We had similar requirement for our manufacturing plant.
    We have done Z-Development for
    1) Shiftwise - Linewise Production
    2) Shiftwise - Beltwise Packing
    1) for that we have define new control key
    2) That key assigned to master recipe.
    (Why new control key ?
    New control key is defined specifically to generate this report. Because Auto GR is done only at the end of packing and not at the end of shift. But we want report for each shift. That's why after each shift end proposonatly that much qty is confirmed by new control key. However actual Goods receipt is only happened while completing total manufacutring or packing)
    3) That control kept as base of Z-development.
    4) As far as shift timings are concerned, we have taken actual shift timings of our manufacturing plant.
    Hope this will help to resolve your problem.

  • Updating PO confirmation and ASN through Work Order Confirmation

    Hi,
    We implemented PO collaboration and Supplier is doing PO Delivery confirmation and ASN.Now we are implementing Work Order Collaboration and system  created Work Order with reference to Purchase order.
    I want to know whether PO confirmation  and ASN date gets copied from Work order dates(after doing confrimation for phase Transport).
    I want to know what setting we need to do as presently it is not getting copied to Work order. And I want to know how it updates ECC confirmation tab for Purchase Order.
    Please do the needful
    Regards
    Raghavendra Pai

    Hi Raghavendra
    The above validation check will prevent supplier confirming purchase order request lines in PO details screen, so only supplier can confirm through WO confirmations, i.e by accepting the work order request lines in delivery overview, adapt the work order
    This will make the work status as CIAG from CINE, in negotiation to in agreement
    Then you can publish the work order, this will copy the confirmed data from the work order as identical request data and confirmation data to the purchase order. this data will be picked by ROC_Out and updates the po data in backend
    Please check whether ROC_out is available in customizing
    SPRO-SNC-BASIC SETTINGS-PROCESSING INBOUND & OUTBOUND-PROCESS TYPES OUTBOUND MESSAGES
    ASSIGN OUTBOUND MESSAGES TO DEFAULT PROCESS TYPES
    REPLORDC_O ASSIGNED TO ICH SUPPLIER COLLABORATION
    Still if does not trigger, kindlly check the log slg1
    it could be problem with ODM's ,POS etc
    Best Regards
    vinod

  • How to get the confirmation slip for a production order

    Hi experts,
      Can anybody tell me how to find out the confirmation slip for a given production order?
    Is there any standard BAPI/Function module which generates the confirmation slip?
    Please help me out.
    Thanks in advance.
    Regards
    Sireesha.

    Check
    <b>BAPI_PRODORDCONF_CREATE_ACT</b>
    CALL FUNCTION 'BAPI_PRODORDCONF_CREATE_ACT'     
       EXPORTING                                     
         POST_WRONG_ENTRIES = POSTWRONGENTRIES       
       IMPORTING                                     
         RETURN = RETURN                             
       TABLES                                        
         ACTIVITIES = ACTIVITIES                     
         DETAIL_RETURN = DETAILRETURN                
       EXCEPTIONS                                    
         OTHERS = 01.                                
    Regards,
    Santosh

  • Bar chart(Ghantt chart) for Plan and actual of production order

    I want to know that any standard Ghantt chart (Bar chart) is available to view the plan and actual qty, execution start and finish time of production order.
    In CO01/02/03 it shows only the planned execution time in Ghantt chart,but it doesnot show the actuals.

    CM07 gives about the information of capacity allocation. It will not show the actual execution from date and to date.
    I want to see the Planned from period to to-period and actual also in bar chart form.

  • Mass time confirmation and teco for pm orders

    Hi all,
    I want to do the mass time confirmation at a time..and mass teco at a time ..How can i do it ..please give easiest method..Also
    i want to do some orders flag for deletion ..but in order the set field is not active..how can i do that..please advice..
    sri

    HI
    your idea is to do it EXCEL OR outside system then Upload in the system Is this your requirement
    Regards
    Pratap Bhikaji

  • Diff of delivered qty and confirmed yield in production order

    hai gurus
    Plz explain me the difference between the Delivered  qty and confirmed yield qty in production order.
    iam getting for some order  delivery qty less than the confirmed yield and also greater than the cnf yield
    pl reply me
    thanks
    regards
    vinoth

    Hi Vinoth,
    Confirmed quantity means the qty which you confirm in Tcode : CO11 / CO11N against a production Order.
    Delivered Quantity is the Goods Received qty agains the order. Goods Receipts can be done using of the two methods :
    1. Using Tcode : MB31 against a production order
    2.  Auto goods receipts by using the Relevant Control Key in the Routing Last operation. i.e While the last operation is confirmed the system does the GR in teh background.
    - If you are using the first option mentioned above then they is no relation between Confirmation qty and GR qty unless you use a exit to check the confirmed qty while making GR in Tcode : MB31 OR MIGO.
    - If you are using the second option i.e Auto GR control Key then the confirmed qty must be equal to GR (delivered qty) provided there are no goods movemement errors while confirmation saving. If there are any movement failures during confirmation, you can check the same in Tcode : COGI.
    In your case you can check the COGI and clear the error , then both the Confirmation and Delivered qtys will match.
    reagrds
    radhak mk

  • Open production orders and outbound delivery after go-live

    Hello All,
    I tried to search answer for this question but could not find answer.
    Could anybody suggest, what to do with open production orders and outbound delivery after go-live when WM is activated. As, after go-live WM-PP interface will be activated and system should consume material from storage bin specified in control cycle and that will happen for newly created production order after go-live,but what about existing production orders how to update production supply area against work center in production order.
    Similarly with outbound delivery how to update WM status after go-live.
    Thanks in advance

    Thanks to both Jurgen and Sander
    Regarding production order yes, one way is to re-read PP master data in production orders, but is that the only way to handle this or do we have any other option?
    I was aware of re-read PP master data but it will real time consuming and also if it will problematic for already released or partially confirmed production orders.

  • Confirmation of the production order qty equal to sales order qty

    Hi Experts,
    I need to control the confirmation of the production order should be equal to sales order qty.
    I'm having the scenario as follows
    If sale order qty for X material = 3
    while running the MRP, system will plan the order qty as 8 because of we maintained rounding profile in the Material master and enhancement we used for this.
    Rounding Profile Qty=5
    Total Production Order Qty=8.
    But, finally they will do the GRN for sales order qty only, remaining will be used for testing purpose.
    So, the confirmation also has to happen for only sales order qty. There, we need to control the qty based on the sales order.
    Is there any exit or Enhancement is available for this.
    Please help me.
    Naren

    Hi,
    Exit for confirmation check is CONFPP04.
    However, opening orders for quantities higher than demand and leaving pieces undelivered and unconfirmed in production orders does not make sense. I could not get the requirement of incresing production quantity by adding rounding value? Moreover, if rounding is to be used for test purposes, why not do you receive them into stock? Why don't you receive 8 pieces into stock, deliver 3 pieces to sales order and transfer 5 pieces to related department?
    If it is because of MRP and you really do not want to produce extra 5 piece immediately, you may use material reservation or any other form of demand for 5 pieces, use EX for lot size calculation and have MRP create two planned orders for sales order and testing requirement, then you can convert planned order for sales order requirement into production order and continue processing.
    Regards.

Maybe you are looking for

  • This query is running slw...please help to improve performance

    SELECT Listnontranstextid,        Listnontransshort,        Listnontransmedium,        Listnontransextended   FROM (WITH TEXT_T                 AS (SELECT /*+ index(TT pk_text_translation) */TT.TEXTID,                            TT.short,            

  • Help - Getting Disc Full message

    Hello, hope someone can help here... I have a 13" macbook pro and have been working in a word document. have just tried to save it - but am being given a message that tells me the macintosh hd is full and to try another drive. I emptied my junk folde

  • How to have computer add up columns of numbers in my monthly expenses ?

    I had a monthly expenses template made and the person who was helping me said that the computer could add the individual categories--food, home, medical, etc.--to give me a total. I can't figure out how to do this. I have been printing out the templa

  • Opening RAW images more than once

    I have run into an inconsistency between how Elements works on different computers.  Even when students are using the same version, this is what I have encountered. I want to create 3 versions of the same RAW file in order to vary the exposure and th

  • "run time error -91" in microsoft excel add-in

    when I am trying to access a report in add-in, am getting error like this.... "Run-time error '91': Object variable or With block variable not set.