Fetching open component qty against production order

Hi
The requirement is to fetch component 'open quantity' for a production order. [ Open quantity = requirement - withdrawn qty of the component ]
Can we get it through /SAPAPO/OM_ORDER_GET_DATA ? I could see the requirement quantity but not the quantity required.
Thanks in advance...
Yogesh

Hi PP_HKV,
I did as you told me  about use MB1A/261 against production order and you rigth, This not up date any quantity in production order for component only I can see this movoment in option   GOTO --> Documented goods movements, but not in component overview in field Qty withdrawn, It is the same case when I use MB1A/262 transation allow me to do the movment but the quantity in production order for component is not up date only it is show in GOTO --> Documented goods movements
I see in standard process it is not work as I expect. Is there some way for to do that any bapi o customization?
Thanks in advance,
Julio Werekeitzen

Similar Messages

  • Good issue  by MB1A against Production Order

    Hi Dear PP profesionals,
    Could you advise me about the follow scenario.
    I am using MB1A to do re-stcok (262) and consume (261) against Production Order only for one o two component(ROH Materials).
    Just I created Production order by 100 EA, after I confirmed it but I need to do some ajusment in some components.
    For one them I need to do re-stock from production order to storage location in this case I am using MB1A against production order  with movement type 262 the quantity to back storage location is by 5 EA.
    For the other component I need to consume 5 EA more then I am using MB1A against production order with movement type 261.
    After excute MB1A for both cases I go to the production Order but I can not see reflected this changes
    For first one I expect to see 5 less if when I confirmed production order were issue 100 EA after ajusment with MB1A I expect see 95 with movement type 262.
    For second one I expect see 5 EA more if initialy I consumed 100 EA after ajusment with MB1A I am expectin see 105 EA.
    Could you advise me about iit, f I am expecting is correct or MB1A only make ajusment without any reflected in Production Order?
    Best Regards,
    Julio PP

    Hi PP_HKV,
    I did as you told me  about use MB1A/261 against production order and you rigth, This not up date any quantity in production order for component only I can see this movoment in option   GOTO --> Documented goods movements, but not in component overview in field Qty withdrawn, It is the same case when I use MB1A/262 transation allow me to do the movment but the quantity in production order for component is not up date only it is show in GOTO --> Documented goods movements
    I see in standard process it is not work as I expect. Is there some way for to do that any bapi o customization?
    Thanks in advance,
    Julio Werekeitzen

  • How Can We Trace Out  Delivery  Against  Production Order

    Dear All
    How  can I check the  delivered Qty(invoicing) Against  Production Order .
    For Egg :-order qty Is 50000
    Like 1 P.O-10000
           2. P.O-5000
           3. P.O-2500
    And Despatch Or invoicing of 12500 qty.
    Then Through which report i can Find out That 12500 qty Is despatch From 1& 3 PRODUCTION ORDER.
    Rgds
    Pankaj Agarwal

    Hi
    yes we can do it
    please go to CO02
    change prod order
    see in header >> goto>> goods movement document
    please tell me if any more question or reward
    Sunil

  • Withdrawal Qty exceed requirement Qty in production order

    Hi: guys
    In our system, withdrawal Qty can exceed requirement Qty for a production order, even we use planned GI. That means when we use MIGO/MB1A to process GI to reference production order, we can manually change withdrawal Qty. Even this Qty has exceed requirement Qty of production order, system also not give me any message.
    Anybody can tell me how to customize settings to limit this function, such as give me a message (error or warning), and ensure withdrawal Qty can not exceed requirement Qty.
    thank you.
    Henry

    Henry,
    I got what excatly the problem is in your case, the guy who executed has done it very cleverly.
    What must have happenned, is that in the change mode of the order, the component quantity was increased and then Issued. Latter on in the change mode of the order again the quantity was reduced.
    I think this is the excat case what you are having now in the system, the only clue left out for us is to check whether the manual change was perfomed or not. In the components overview scroll to the right side of the screen till you reach column with heading "ChngeProc.", here if the field value is "1" - then it is obvious that there was a manual change in qty for the component.
    The possible resolution to prevent in future is to Make the dynamic message "CN" - 752 as Error in the prodcution order change program. You need to work with your ABAP person for this.
    Hope I was able to get to the right problem and possible resolution.
    Regards,
    Prasobh

  • Batch Determination for a component of a Production Order

    Hello All,
    I need to determine the batch for a given component of a Production Order in my report.
    Like in tcode CO02 we provide the production order and select the component from the list and do the Batch Determination , i need the same functionality in my report.
    Currently i am fetching all the components of a PO entered by user on the selection screen of my report. Know the user selects the component and press on Batch determine button to fetch the batch value.
    Can anyone please let me know if there is any FM or class or BAPI for the same .
    I tried using FM VB_BATCH_DETERMINATION but the passing of parameters is not correct...  still working on it.
    Thanks & Regards,
    Ravi Aswani

    Hi,
    Will you share steps you have completed so far for doing for Batch Determination?
    It will help us to find the missing part..
    - Check all the Batch Characteristic values are maintain in the Batches.If values are missing then also Determination will not take place.
    - Check whether you have maintain Sort rule to Batch Determination strategy or not
    Regards,
    Dhaval

  • Goods reciept through MB31 against production order using serial number

    Dear ALL,
    We are using MB31 for goods receipt against production order using serial number.
    First we do confrmation by tcode co11 and then recieve the material by mb31 against the order.
    I want that sysstem should not allow good reciept by mb31 more than the confirmation done in co11.
    Please suggest.
    regards,
    Pradeep

    Hi,
    There are two ways to control this problem; 1) User Exit    2) BADI
    1) User-Exit
    Enhancement: MBCF0002
    Function module: EXIT_SAPMM07M_001
    Code for your copy pasting in the source code of ZXMBCU02.
    Remember to activate the program. In SMOD enter the enhancement, press F8 and then click on activate button.
    *& Include ZXMBCU02
    data it_afvv like afvv occurs 0 with header line.
    tables: afvv, afko, afpo.
    data tot_gr like mseg-menge.
    If i_mseg-bwart = '101' and i_mseg-aufnr is not initial.
    select single * from afko where aufnr = i_mseg-aufnr.
    select * from afvv into table it_afvv where aufpl = afko-aufnr.
    sort it_afvv by aplzl descending.
    read table it_afvv index 1.
    select single lmnga from afvv into afvv-lmnga where aufpl = afko-aufnr and aplzl = it_afvv-aplzl.
    select single * from afpo where aufnr = i_mseg-aufnr.
    tot_gr = afpo-wemng + i_mseg-menge.
    if tot_gr > afvv-lmnga.
           MESSAGE 'GR Qty greater than Confirmation Qty of the last operation' TYPE 'E'.
    Endif.
    endif.
    2) BADI
    Implement the BADI for WORKORDER_GOODSMVT in this there is method
    MANUAL_GOODS_RECEIPT under that
    write you code here
    if_ex_workorder_goodsmvt~manual_goods_receipt.
    endmethod.
    Technical Logic
    Check the confirmation qty in AFVV table with production order get the last operation confirmation qty and subtract the Delivered qty. If this is Greater than or equal to the GR Qty entered in the screen allow the posting or through Error.
    Tables: S022, AFPO, AFKO, AFRU, AFVV
    Regards,
    Sankaran

  • Excess goods issue against Production order

    HI PP Gurus,
    My requirement is to block excess goods issue of raw material against a production order.
    Ex. Production order qty = 10 , For producing 10 Finish goods i require 10 raw material. When i do confirmation via CO11N  the system automatically shows GR & GI Values in Goods Movement tab. there i change GI value of RM from 10 to 20 the system takes the value and does the GR & GI.
    My requirement is that the system should not do GR & GI if the GI value is more than that is calculated at the time of creation of Prod. Order.
    Thanks in Advance,
    Deven

    Hi,
    Rstriction of excess goods issue against production order is not possible in standard setting.
    For achiving this you have to go for User exit.
    The logic should be
    In MIGO check mvt. type 261
    Pass the order through table RESB and select all the components with quantity.
    Capture the header material of order and use this as input along with the order creation date, plant and BOM application to explode function module CS_BOM_EXPLOSION.
    THis will give you the BOM components which were valid at the time of order creation.
    Now compare these BOM components with the components from RESB with quantity.
    Here conditions will come in picture
    If quantity is exactly matching then GI will be possible
    or if you want to keep tolerance limit say for 10% then accordingly you can map the condition.
    Regards
    Amit Parkhi

  • How to create a manufactured component in a production order network

    Hi,
    I've been facing problems to create a subnetwork in a production order. I want to add a manufactured component at a production order network.
    Does anyone know any BAPI or FM to solve this problem?
    Thks,

    I tried to use the below FM sequence, but I just create no-manufactured compenents. However this tried was failed too, becaus a couple of fields was missing when I go to CO02 transaction.
    CO_XT_COMPONENT_ADD
    CO_XT_ORDER_PREPARE_COMMIT

  • Auto goods receipt against production order

    is it possible to do auto goods receipt against production order of (material with serial number)
    if not please suggest me solution
    please also tell me possibility of enchancement
    for goods receipt against production order
    sunil

    Hi
    If you check mark the auto goods receipt in the control key used in the work center used in the routing then you can have auto goods receipts posted for the production order against a confirmation.
    Rathnakar

  • Excess Issue of Material against Production Order

    Hi
    For Goods Issue of Material against Production order , i want the system to control excess issue of material against Production order.  How can it be controlled.
    Regards
    Madhesh Kumar

    Hi Madhesh,
    there are many loop holes to issue excess stock against production order
    so better you use user exit so that when ever any material issued against production order and it is in excess then throw error
    Thanks
    Bala

  • Partial GR against Production Order

    while doing partial GR against Production Order system is not considering the overdelivery tolerance.   It is allowing for GR quantity when we do in one stroke including overdelivery tolerance.  When we want to do GR partially in two, first time the order header quantity and second time the overdelivery tolerance quantity,  system is giving message that Document does not contain any selectable items.  I have tried by removing the tick in delivery complete in CO02 transaction, but still same message is coming.
    Please suggest sol.
    Thanks
    KrishnamurthyDSS

    Krishnamurthy,
    Please let us know how you are performing GR, is it through Confirmation? or MB31 or MIGO?
    If it is in MIGO it should be possible, once you remove the Delivery Completed Indicator in the Goods Recipet Tab of the Order header.
    If your GR is through confirmation, first system checks the defination of overdelivery for confirmation of yield based on the confirmation parameters set for the plant / order type combination.(OPK4). Here you define the "Warning message for Overdelivery".
    Hope this helps...
    Regards,
    Prasobh

  • Error while issue material against production order

    Hi,
      In our development server recently we have created on ecompnay code and plant by copying the one existing company code and plant,  now for this new plant I have created new profit center with KE51  and after that I have create done cost ceneter in that this new profit center is assign   now while goods movment with MB1A with movmen type 201, 202  it works OK system is not giving any error  but while issue the material against production order in MB1A with movement type 261 system is giving error message
    No postings can be made to profit center DUMMYBAOPC in company code MT50
    Message no. KM183
    Diagnosis
    Profit center DUMMYBAOPC cannot receive postings in company code MT50.
    this profit center DUMMYBAOPC we use in old compnay code and for this new company code is not activated  for new we have new profit center  then it is  linking to that  what can be the solution.
    regards,
    zafar

    Hi,
      After asigning new profit center in the Production order problem solve.
    regards,
    zafar

  • GR against production order accounting entry

    Looking for help regarding offset account hit at the time of GR of Finished production
    Let see the entries
    When GI Against production order for  material code x000000091   by 261
    6110010 CONSUMPTION - XXX     10,000.00 Dr.
    3430020 Stock account    10,000.00- cr.
    When GR of Finished good Concrete  by 101
    3450010 FINISHED GOODS  19,990.00 Dr.
    6000010 Production offset  19,990.00- Cr.
    just we want to know how does production offset be cleared, even it is showing in our trail Balance as Cr.
    please help how does production offset works.

    Hi,
    Please consult your FI-Co consultant.
    The setup in OBYC needs to be checked & corrected. The G/L account specified seems to be incorrect. The output from production should be credited to the Production Output account & not Production Offset account.
    The entries should be:
    Cr. Production Output A/c
    Dr. Finished Goods
    Hope it clarifies.
    Regards,
    Vivek

  • GR quantity check against Production Order in MB31

    Hi Experts,
    How to check GR quantity against Production Order (101) can not be greater than Confirmation quantity for the Production Order in MB31.
    Regards,
    Praful Mankar

    Hi Praful,
    Use user exit MBCF0002, here put condation that check AFEU table (confirmation table) and allow
    that quantity only to do GR
    and it will triger at the time of MB31
    Regards
    Girish

  • Scrap against production order

    Hi,
    My scenario is : I have a production order of 100 pieces out of which 80 are ok and 20 are scrap. I do a Goods Receipt of 100 and then scrap 20 pieces from stock.
    What steps should I follow after I scarp 20 pieces from stock from Materials Management perspective like : Do I need to pay excise duty, entry in RG1 and Rg2 registers...
    Regards
    Ashish

    Hi,
    My scenario is : I have a production order of 100 pieces out of which 80 are ok and 20 are scrap. I do a Goods Receipt of 100 and then scrap 20 pieces from stock.
    What steps should I follow after I scarp 20 pieces from stock from Materials Management perspective like: Do I need to pay excise duty, entry in RG1 and Rg2 registers?
    You can do goods receipt against production order using MIGO /MB31 for 80
    And then scrap the 20 in production area using MB1A and use Movt type 551 place it in to scrap location from there you can do scarp sale.
    And for 20 Pieces you can reverse the in put excise duty go to J1IH select Mat  write u2013off  tab or select (F5)  enter the input parameter as material document generated out of scrapping the material (551) and select the Register which is relevant for the material. Then enter the duty values like BED, Ecess & She cess manually.
    Rgs

Maybe you are looking for