TECO status for Prod order for which Post processing record exists

Dear PP Gurus,
We use  BAPI_PRODORD_COMPLETE_TECH to TECO production order. Program doesn't TECO orders , if there are Post processing records exsiitng for order giving message "Postprocessing records for order 1000068 prevent technical closing" .  I think this is standard BAPI msg.
When same BAPI is run in Foreground mode, it gives "Confirmation Prompt" , 'Order 1000068 : There are still reprocessing records . Set order to Technically Complete" with YES/NO/Cancel option. You can save TECO by selecting YES
Is there a way to achieve this in Background mode.
Thank you much in advance for help,
Regards,
Jatin

Hello Jatin,
Call function DIALOG_SET_NO_DIALOG before the BAPI, then system handles the BAPI as in the non-dialog mode and the pop-up does not appear
Refer KBA 1986661 - PP-SFC: BAPI_PRODORD_COMPLETE_TECH Popup
Best Regards,
R.Brahmankar

Similar Messages

  • WIP calculation for Prod.order with status TECO

    Hello all.
    My question is the similar to WIP calculation for Prod.order with status DLV
    But I need that
    - if the Production order has status TECO - the system calculate WIP
    - if the Production order has status DLV u2013 the system settle the order.
    1.     I try to change u201CStatus Numberu201D in TCODE OKGC. But I have receive two different result:
    - if I change u201CStatus Numberu201D for status DLV from 3 to 2, then during WIP calculation of the order with status DLV u2013 WIP have been calculated.
    - but if I change u201CStatus Numberu201D for status TECO from 4 to 2, then during WIP calculation of the order with status TECO u2013 WIP have been CANSELED.
    2.     I try to change results analysis key for status TECO from u201CZu201D to u201CFu201D in TCODE OKG3. BUT during WIP calculation the system create error message KJ 363 which require that results analysis key must be change to u201CZu201D
    How can I resolve my problem?

    Hi,
    I don't have the answer if the requirement is that even after producing the materials, till the time accountant checks the order and does this action, it should remain in WIP. Honestly it doesn't make any sense to me or i have not understood this problem. Anyways as per my current understanding I can suggest the following process for your scenario.
    Once production is stopped in between the process, the order should be in PDLV status (partial confirmations happened in the order)
    Now go and clear the reservations manually from the production order .( delete the component line items from the order). Now depending on whether you are following WIP at actual cost, system will post the difference between credit and debit of that production order as WIP for the month end process.
    Once Accountant okays the entries in the production order, he can do the TECO and settle the order. Now WIP will be reversed and variance will be posted.
    To avoid the already produced goods mixing up with your other stock, u might want use Quality Management with the help of your PP consultant.
    Best Regards
    Vimal

  • Need a Badi to look the good issue status for prod order before good receipt in MIGO

    Hi ,
    Need a Badi to look the good issue status for compoents for prod order before good receipt in MIGO.
    Example : There are 10 comps need to be issued to production order to make any assy but 6 comps were issued
    and remaining 4 comps are not yet issued.,in this situation if I try to do goods receipt for prod order through MIGO.,system should populate the warning
    message saying still goods issue are pending for prod order.
    Please advise .
    Thanks
    Prasad

    Hi Prasad,
    Before trying with a BAdI, have you tried to control this behaviour thru the Order confirmation parameters (OPK4)?
    Note that you can have a termination in case of having problems in the goods movements..
    Take a look of this and the SAP help:
    Termination of Confirmation if Incorrect Goods Movements
    Controls if the confirmation is terminated in the event of incorrect goods
    movements.
    Use
    This enables you to terminate the confirmation in the event of incorrect
    items, for example, to prevent postprocessing records.
    Dependencies
    The indicator is only evaluated if either no process control key or one
    process control key has been stored that enbles the goods movements to be posted
    in dialog AND for which the "provide error handling for goods movements"
    indicator is active. If there are incorrect goods movements, the system behaves
    as follows:
    A log is issued that gives information on the incorrect goods movements
    If these incorrect goods movements are determined by inventory management,
    then the option of correcting these errors is offered in the error handling
    If the correction is not successful, the confirmation is terminated
    Kind Regards,
    Mariano

  • WIP calculation for Prod.order with status DLV

    Dear experts,
    Is there any way to change WIP calculation method for Prod.order status ?
    In t-code OKGC:: By default system will set:
    Order status      Status number         RA type
    REL                          2                             WIP Calculation on Basis of Actual Costs
    DLV                          3                            Cancel Data of WIP Calculation and Results Ana
    PREL                  1                            WIP Calculation on Basis of Actual Costs
    TECO                  4                            Cancel Data of WIP Calculation and Results Ana
    I can not change any thing in t-code OKGC (gray after insert: CO, RA version, RA key).
    As I understanding: Prod.order with status DLV will not be considered to calculate WIP.
    But I want to calculate WIP for Prod.order with status DLV. Could you pls guide me how to configure the system?
    Thank you!

    Hi,
    I suppose it is positive variance as the yield from the order is 10 pieces more than the planned quantity of 1000 and it is always a variance and no WIP involved in this case. It can be settled to FI/PCA and to CO-PA by variance categories (if you have configured accordingly)
    Therefore the accounting entry would be:
    1. Delivery to stock of 10 pieces:
    FG Debit
    Change in Stock Credit
    2. Variances will post the difference:
    Change in Stock Debit
    Price Difference is Credit
    Concerning the valuation method it needs to be tested before it can be implemented.
    Kind Regards
    Umapathi G

  • FM which get component and order status & return prod. orders

    Hi all
    does any one know a FM which get component and order status & return prod. orders?
    thanks

    see the transcation COOIS , i think it will be the details required by you
    in the selection at component level block
    enter the material no(component) , if required plant and storage location and then execute
    hope it will solve ur purpose
    so u can suggest for this TCode still u need a custom program u can submit these details from your z program
    and get the output
    table i am not sure see all these tables AUFK,AFKO,AFPO
    cheers
    s.janagar
    Edited by: janagar sundaramoorthy Nadar on Jul 13, 2009 12:18 PM

  • GR for Purchase order and GI for prod. order simultaneously

    Hi Guys,
    My client current has an external system, which does both GR for puchase order and GI for Prod. order at the same time. He is now migrating into SAP and he wants the same functionality. Do you have any idea how to do this.
    For eg., Pick list(CO27) will pick and issue the components to production order, if the component is in inventory. if it is not there, it will give error.
    Can we add, if material is not there, it should do GR and GI. is it possible with any customer exit in CO27?
    Thanks
    Srini

    Hi,
    In KANBAN, we have the possibility to do the GR (Goods Invard) if th container is Full and GI (to the production Order) if the Container is Empty.
    It's just a thaught..
    Regards,
    Siva

  • Workflow for prod. order

    Hi all,
    Can any one tell me how to activate workflow for prod. order
    Std. template WS20000387.?
    Thanks and regards.

    Hi Rohit
    SInce the steps are too many I am sending you the below documantation on Workflow scenarios in PP which may be useful to you
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMPP/BCBMTWFMPP.pdf

  • Posting rule for assembly order for item 000000 could not be generated

    Hi all,
        While creating production order from sales order system giving an error message 'Posting rule for assembly order for item 000000 could not be generated.'
        Kindly help to resolve the issue.
    SmanS

    Dear SAP PP Consultant ,
    What is the strategy group you are maintained in the material master ?

  • RE G.I Problem for prod order in MTO

    Hi All,
             I am having stock as sales order stock in unrestricted. when I want to issue goods for prod order in MTO through MIGO. when I am checking I am getting the error as sales order stock not available. Any solutions for this Issue.

    Vachanala,
    If the stock is assigned to the perticular sales order & line item, the error won't be there.
    Agin check the stock in MMBE, & ensure that it is assigned to that perticular sale order number & line item.
    If it's not there then do the assignment to the desired sales order with movement type 413 E in t code MB1B.
    Hope this helps you.
    SmanS

  • SAP format for prod. order

    Is there any std. SAP format for prod. order? I want to print prod. order.

    Hi,
    I'm not able to understand your question properly.
    <b>But in SAP the T code CO04N is meant for printing production orders.</b>
    If useful reward your points.
    Thanks & regards
    Karthik @ Mangal
    Message was edited by:
            Mangal

  • GR for Purchase Order for Trading Goods

    Hi,
    I have a query on configuration for accounting entry for purchase orders for Trading goods.
    When i do the GR for Purchase order for a trading good, the accounting entries are,
    Inventory Dr
         GR/IR Cr
    and
    Purchase Expenses Dr
         Purchase Setoff Cr
    I understand that i can configure for the first set of posting in  BSX and WRX. How do i configure for the Purchase Expenses and Purchase Setoff.
    Please advise and correct my understanding.
    Thanks in Advance,
    Safi

    Hi,
    The possiblity for this scenario is
    First create the Production order in CO01
    Create of Account assinged PO in ME21N with Account assigned category as "F" with Production order
    Do the MIGO with respect to PO, then system will directly post the Stock to that Production order.
    So in the system GR is done for PO & Goods issue is done for Production order.In this way you can acheive this.
    rgds
    GSC

  • Error-M2O-Settlement rule for assembly order for item...could not be genera

    Hi,
    When I am creating Sales Order (VA01) for M2O, I am able to do the costing and copy the EK02 condition type. I have verified the the incompletion log, it indicates that document is complete.
    But while saving the sales order, the below error message is displaed:
    Settlement rule for assembly order for item 000010 could not be generated. Should the order still be saved?
                    Yes/No
    1. If No is choosen the following error message is displayed
           Error when processing Production order
          Error when processing Production order
          Message no. V1380
          Diagnosis
            A technical error has occurred. On calling up the assembly interface, exception 5 was triggered. The exceptions have the  following meanings:
    1 = External block,  2 = General error,  3 = Insufficient data for the interface,  4 = Order was not found, 5 = Update has been rejected, 6 = Final document number for Production order is not issued.  Procedure: Inform your system administrator.
    2. If Yes is choosen, it is creating Production Order without settlement rule. Able to perform GI & Gr. If I try to enter settelement rule (Settlement receiver SDI - Sales document item) in production order (CO02), the belwo error message is displayed
    "Distribution rule for Sales document item can only be created automatically Message no. KD063"
    We are using the requierement class with below details:
    Reqmts class: ZSO- for M2O
    AAC = E, Valuation = A, Settlement profile =SD1, RAKey = 000004, Assembly type = 3.
    Settlement profile contain:
    Allocation structure, PA structure, Default object type = SDI. Valid receivers: Optional -Sales Order / Prof. seg.
    If I make the Valuation field as blank in Reqmts class, there is no error while creating Sales order. And also Settelemnt rule with sales document item as receiver is successfully creating for the production order. Since the Valuation is blank in requirement class, it is Non valuated Sales order stock. All GIs & GR are non valuated
    The business requirement is it should be valuated sales order stock and the production varinaces has to be settled to Sales order. Then Sales order has to be settled to COPA.
    Need your valuable inputs to meet this requirement.
    Let me know if you need any further details.
    Thanks in advance.
    Regards,
    ADI

    Dear SAP PP Consultant ,
    What is the strategy group you are maintained in the material master ?

  • The status of sales order is being in processed

    Dear All,
    The delivery quantity is fully delivered and it is order related billing, this is a Sales Bom, the header is delivered and the line items are billed, the status of sales order is being in processed after the completion of the subsequent documents,
    In the document flow the system is showing that the order is being processed, we have checked the copy control and the relevant assignments. As we are facing the problem while creating sales order system giving an error message that there are open items for the customer. Please tell me if there is any customization is there or is there any other way to achieve.
    The other requirement is, if the customer credit limit get exceeds then the system should not save the sales order, if the credit lies within the limit and if the stock is not available in that particular plant, it is a dynamic credit limit.
    Thanking you in advance for your valuable time and efforts,
    Thanks & Regards,
    Mani

    HI ,
    1. For your first issue u201Cstatus of sales order is being in processedu201D
    Please check the below settings:
    Copy control From Sales order (OR) to Delivery (LF) u2013 T.code: VTLA.
    In Item level (TAN)  whether u201CUpdate document flowu201D is activated or not.
    You should also check in the Item category (VOV7):
    Completion Rule: Which one did you maintain?
    2. Error message: Open items:
    This is related with Credit management. Check whether you maintain any open item days or percentage, please check in OVA8. If you maintain you should get the payment from your customer . This is related with FI ( T.code : F-28 )
    Dynamic credit check :
    The setting is available in OVA8. Choose your credit control area, Risk category and Credit groups ( Should be Sales order group ). Then select the indicator u201C Dynamic u201C In Reaction you should give B ( Error ). Then the system will not allow to save the sales order if credit limit is exceeded .
    3. If the stock is not available in that particular plant, it is a dynamic credit limit.
    I think it is not possible . You may use the User exit in OVA8.
    Hope this can help you .
    Regards
    M. Lakshmi Narasimhan

  • Change the order in which the processes come up on restart

    Is there a way to change the order in which the processes come up again when restarting the OC4J?

    Hi --
    Do you mean the order of the applications deployed to an OC4J instance, or the processes started by OPMN when OracleAS is started.
    For the former, we put the application entries into a ordered map based on the order they are seen as in the server.xml file. While we don't offer a feature that the applications will definitively be started in that order, we do work our way through the ordered list. So for more parts you'll see the application starting the same order as they are seen in server.xml.
    For the latter, I'm not sure. I also tend to think that its again based on the order within OPMN. What you can try and use is the opmnctl startall sequential=true command, which will sequentially start each process, where it waits for the previous process to start before starting the next one. That will at least show you the order the processes are starting in and help you test the opmn ordering hypothesis.
    cheers
    -steve-

  • Post Processing records in BAPI_PRODORDCONF_CREATE_TT

    Hi All,
    I am using BAPI_PRODORDCONF_CREATE_TT for Production Confirmation with Auto Goods receipt(GR) Feature.
    But, in case any error in goods movement occurs system creates a post processing record( Visible in transaction COGI).
    We don't want entires in COGI.In case, any error occurs system should terminate the session. The same control is maintain in SPRO. But, BAPI overrules that.
    Kindly let me know which settings to be used in BAPI, to avoid COGI.
    In Post Wrong entries field of BAPI , I have used ' " ( Blank) value.
    Please suggest.

    Hi Stuti,
    What I suggest you is to use 2 BAPI's instead of 1.
    First use BAPI_GOODSMVT_CREATE to carry out goods movements.
    If this BAPI is successful then only execute the BAPI you are using only to carrying out the confirmations
    This is the best way to control your confirmation for failed goods movements.
    Regards,
    Yogesh

Maybe you are looking for