OnMessage / OnMessageAsync and processing order

At the minute I'm trying to balance processing and throughput in a system where I need to ensure message order. The processing part basically involves a transformation and output to another service entity, e.g:
[1, 2, 4, 8]  > {x2} > [2, 4, 8, 16]
At the moment I'm using ReceiveBatch and SendBatch in a single thread to ensure that the messages are output in the correct order. I'm wondering if I can simplify things by using the OnMessage/OnMessageAsync, however I suspect that because this works with
a number of concurrent calls that I may end up with my outputs out-of-order. e.g.:
[1, 2, 4, 8] > {x2} > [2, 8, 16, 4]
Is this going to be the case? 

OnMessageOptions.MaxConcurrentCalls is 1 by default which means pump will hand over next message when you're done processing the current one (no multiple messages at any time). As long as this setting is 1 you can expect an order guaranteed
delivery.
https://msdn.microsoft.com/en-us/library/microsoft.servicebus.messaging.onmessageoptions.maxconcurrentcalls.aspx

Similar Messages

  • Get the supply source of planned order and process order.

    Hi experts,
    I would like to display production version (supply source) on prduct view.
    But, I don't know that how to get supply source of planned order and process order.
    APO  table is complax.
    Do you know that?
    Regards,
    Satoru

    Hello Tushar,
    Are components also plan in APO with MRP type X0?
    Does PDS or PPM contain all the components?
    Verify if the component is maintained properly in the PDS.
    Check whether there is an active integration model for the components, also execute the RAPOKZFX report for all the materials in question.
    When you convert the PPDS order to process order then conversion happens in ECC/R/3 system. This is the place BOM has to be reexploded in ECC. Please check if you have any enhancement which restrict BOM explosion. 
    Also check OSS note 1576703 suggested by an expert Caetano.
    Best Regards,
    R.Brahmankar

  • Text in PI Sheet and Process Order did not match

    Dear Sir,
    We are going to upgrade to our system from 4.7 to ECC6.
    We have a problem with PI Sheets with the Long text. The text instruction shown in the PI sheet is not matching with the long text put in the Process Order and Master Receipe.
    We are using the Process Instruction Category  "INST" and we are puting long text for instruction for this in the Master Receipe. At the time for creation of Process Order this Process instruction Category fatch correct value of long text from the Master Receipe after released the Process Order, Control Recipe generated for the same Process Order. But when we are going to process these Control Receipe from the T-Code CO60, We find the some different text for the "INST".
    This problem is not for one Material and Plant Specific.
    Thanks and Regards,
    Gaurav Kumar
    Application Consultant SAP PP
    Mobile +91 9971003631

    Hello Gaurav,
      There might be another possibility, make sure if you make any changes in the Control Recipe Destination program or user exit to populate the long text while sending the CR to the destination to reflect with the PO/Master Recipe.
    with best regards
    K. Mohan Reddy

  • Quantity Reversal and Process Order Cancellation

    Dear SAPians,
                              I have a problem in Cancellation of Process order after doing the reversal of Quantity after UD thru following steps :-
    1.Assign Inspection Type u201808u2019 in the Material master thru T-Code u2018MM02u2019 & Save.
    2.Go to   MB1B & Make Transfer Posting Thru Movt. Type u2018322u2019 and SAVE.
    3. Now we tried to cancel the process order but system is displaying an error 'Quantity is Partially posted in UD' and we are unable to cancel the process order
    Please Help
    Thanks in Advance.

    Hi
    Reversal of Ud is not possible in normal way as per std  SAP.
    either you have to implement User exit for the same ( avaialable after 4.6 C version)
    Or do as follows:
    Go to MIGO
    selct GR for order & input your ordernumber in the field .
    select Mov.type 102 & slect unrestristed stock in where tab.
    Then check & save the transaction.
    Then Qty will be revrsed.
    Then you can do Process order cancellation.what ever you want.
    Pl. try.
    Regards
    YMREDDY

  • CO and Process order without material using T. Code CORO

    Hi
    We need to use Process Order without material functionality for recording "changeover" time and cost (i.e. setting up process for production of other material in a production line).
    For this purpose we have configured a separate process order type. We have created a separate activity for Changeover and planned rates using KP26.
    Now we create Process Order without material using T. Code CORO and confirm it using COR6N. On confirmation system successfully credits Cost Center.
    We need to know:
    1) whether we should settle the process order as well or no need to assign settlement profile to Order Type
    2) Or should we run Cost Estimate first.
    Plz help, if any have idea

    Thank you all for your valuable input.
    Srinivasa, your suggestion is very good, especially when calculation of variances/WIP is required. But again as there is no cost relevant material where the WIP/Variances will be settled during settlement process?
    1) PP need to create process order without material because changeover cost should not be charged to either material and capacity hours are consumed during changeover. 2) CO need to identify the cost of changeover which should be charged to cost center. So far we have achieved both of these two objectives by the following activities:
    Creation of Process Order without material using CORO T.Code     say 3 hours of changeover occurred we create order with quantity of 3 Hours. And confirmation of activities quantity 3 using COR6N so cost center is credited by 3 x rate per hour. As there is a separate Process Order type for Changeover we can identify changeover quantity and cost in a given period.
    After contributors feedback in this thread I have come to conclusion that I don't need to assign Settlement Profile and PA Structure to Changeover Process Order type. So no need to run Process Order settlement. As there is no specific required for Changeover WIP/Variances as well.

  • Planned Orders and Process Orders Data Extractor

    Hi,
    I am working on extracting process order and Planned Orders data into BW. I could not find any standard DataSources available for my req, so I want to develop generic extractor. the main key figures are Actual Labor and Machine Hours, Target Labor and Machine hours.
    Could you please help me if there are any standard datasource available or ECC tables to pull the data or any standard function modules available?
    Thanks,
    Hanuma

    hi,
    hope the mfg datasources were useful.
    chk the LBWE -> application 4 -> chk the DS 2lis_04_P_arbpl,2LIS_04_Matnr etc...
    All R/3 Tables
    http://www.sap-img.com/sap-download/sap-tables.zip
    Generic Extraction
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/84bf4d68-0601-0010-13b5-b062adbb3e33
    http://help.sap.com/saphelp_nw04/helpdata/en/3f/548c9ec754ee4d90188a4f108e0121/content.htm
    LO Extraction:
    /people/sap.user72/blog/2004/12/16/logistic-cockpit-delta-mechanism--episode-one-v3-update-the-145serializer146
    /people/sap.user72/blog/2005/01/19/logistic-cockpit-delta-mechanism--episode-three-the-new-update-methods
    /people/sap.user72/blog/2005/02/14/logistic-cockpit--when-you-need-more--first-option-enhance-it
    /people/sap.user72/blog/2004/12/23/logistic-cockpit-delta-mechanism--episode-two-v3-update-when-some-problems-can-occur
    /people/sap.user72/blog/2005/04/19/logistic-cockpit-a-new-deal-overshadowed-by-the-old-fashioned-lis
    Ramesh

  • Enabling Xsteps in master recipe and process order

    Hi experts,
    I am trying to enable the Xsteps by assigning 'Xsteps' in Master recipe profile. But Xsteps tab is not getting enabled in master recipe. I think this is the only one setting to activate Xstep. Can anybody help me on this.? IS this a technical issue(Something related to basis?)
    Similarly I dont see the Xsteps tab in process order also. Is the SAP version a reason for this. I think Xsteps functionality are available from 4.7 onwards.
    Can anybody help me on this please?
    Thanks in advance.

    Dear experts,
    I encounter the same problem of Prathib. I'm working on ECC 6.0 and would like to use Xsteps. The repository is available (R/3 Enterprise SCM Extension 2.0 is imported) and I created several xsteps but i cannot imprt them in the master recipe because the button "Xsteps" is not active in C202, even the recipe profile is correctly set to PI01_XS.
    All SAP notes i found (01466 and 607815) are referring to 4.7 and are correctly implemented in my system. So the customizing and extensions are in place, but the button "Xsteps" is not active.
    Can anybody help and suggest further settings i need to do in order to use xsteps?
    Thanks & Regards.

  • APO Process Order and Stock Transport Order

    Using APO Process and Stock Transport Orders are generated. Plant A generates the orders so that plant B can make and ship the product back to plant A against the stock transport order using VL10b.
    I see the stock transport order and process order in R/3. But when trying to ship the product to plant A, vl10b does not list any purchase orders?
    How do you associate a Process Order with a transport order?
    Something to do with the time horizons?

    I hope you have resolved this query at your end. In case yes, Please share your observations

  • Need help to find out link between process order and purchase order.

    Hi All,
    Need help to find out link between process order and purchase order.
    We have purchase order, we can find out associated process order in MD09 (No Purchase Requisition found in Purchase order). When I tired to replicate this scenario with same material in system but not able to do.
    Please suggest me what needs to check to get purchase order link to process order.. (this is not subcontracting )
    Edited by: SAP PQ on Sep 26, 2011 5:24 PM
    Thanks,
    SAP PQ
    Edited by: SAP PQ on Sep 26, 2011 5:24 PM

    MD09 is pegging. In SAP pegging is dynamic, meaning that there's no fixed link between purchase order and process order in your case.
    This is why you did not get the same result when you tried again later.
    Such a link can exist only if you do direct procurement for the order.

  • Difference between process order and Production order

    Hi Experts,
    Can any buddy tell me the difference between process order and production order. Why process order is used for process industries. Why do we use recipe for it and routing for production order ?
    Regards,
    Amit

    Hi Amit
    There is a difference between production order and process order.
    Supposing a 10,000 lit tank is being manufactured in discrete manufacturing. You have to follow the necessary routing steps and can make by physically seeing its development stage by stage. For this type production you can have a production order.
    In case of process of order if some chemical in a reactor is loaded with intial temp of 30 C and need to be heated to 80 C then there is phase change. Hence we use Heating as an operation and the change of temp is phase. For such type of process we process order.
    Hope this is useful. Pl reward.
    Nanduri

  • BOM explosion in process order

    Dear PP experts
    In my scenario, the sales order and process orders for the corresponding line items got generated by uploading some details of master contract through some Z code. The client provide me details regarding the BOM for the process orders from their third party software, which process through XI. I have to trigger that bom into process order. for that i first maintain the bom details in CS61 and then trigger the "Read Master Data" in process order manually. Now i have to do it automatically. means when the BOMvdata flows from third party software, it should get updated in cs61 and simontaneously "read master dat" should get triggered. how can i do this. please suggest

    Hi,
    Check for any BAPI / Function Module in SE37 which can fulfill your requirement.
    Search BAPI with SAP component ---> PP option in search help(F4).
    Regards,
    Tejas

  • PR item text to be updated on Process order release

    Hi Experts,
    The scenario is mentioned below :
    The purchase requisitions would be created on the release of PRocess order.
    My requirement is to update the item text of the Purchase requisition ( with the process order data such as BATCH & Material ) on release.
    I have already tried quiet a few user exits, but beacuse the PR number is not yet generated in these exits,hence  I cannot use create_text or save_text.
    Please let me know if someone has any idea on how this can be solved.
    Hoping for a quick response.
    Warm Regards

    Hi
    Check the exits related to PR for Process order
    COZF0001
    COZF0002
    Try to fetch the Long texts of the PR's using the READ_TEXT and use the fun module
    CREATE_TEXT for saving the same in Process order by using the Right parameters like OBJECTName,ID,OBJECT and LANG in bothe cases for PR and process order.
    The tables link between the PR and the order is
    AFKO-AUFNR  = EBKN-NPLNR  ( process order number) in PR account assignment table
    use this link and try to save the text as mentioned above
    Reward points if useful
    Regards
    Anji

  • Query on open planned orders details with process order GR details

    Dear Experts,
    I need to create a query in SQ01 where the requirement is as given below,
    Query output should display the open planned orders  (Planned orders which is not converted to process order details) details for a material like Planned order number, Planned order quantity, Start date, Finish date and also  the details of the list of process orders created for the same material with its details like PO qty, GR qty, Basic start date, Finish date, Actual finish date, BOM Component material codes, component quantity.
    But i tried creating this query by joing the tables PLAF+ AFPO+AUFK+ AFKO+RESB . My input parameter will be the Material Number for which Planned order and Process orders are being created.
    But i am unable to generate the output when i create a query by joining these tables
    Is it possible to obtain the output for open planned order details and process order details in a single query ?
    I am failing in my repeated attempts
    Please provide your suggestions for developing this query
    Regards,
    J.Balakrishnan

    Dear Bala,
    as alternative , for use a query report and not a custom abap report, you can try to read data from MRP tables MDKP and MDTB . In these one tables you can find both elements (planned order and production orders) for to start to research all details that you need.
    You can also use MDTB-DELKZ to filter only planned order (PA) and Production order (FE).
    With the number order you can read the RESB table in order to define components details.
    With this table would you the advantage to have always the opened orders.
    If the following table are empty you should make a little customizing modification so that once MRP run will write them.
    Give me feedback if i have been useful for you.
    Daniele

  • Update Process Order Confirmations Back to SAP ECC

    Hi,
    Is there a document or step by step guide which explains how i can update  SAP EARP with process order confirmations from my shopfloor?  Below is the scenario i am looking for help in
    1. There is a SQL server table where the SHOP floor update the quantity manufactured against a Process order.
    2. I need to pick up that data from the SQL server table and update the ERP against that Process order.
    Can any one explain how this can be achieved.
    I checked the sample's and the templates in SDN but none of them actually show how to update any ERP?
    Please advice!!.
    Regards
    Suraj

    Check this one
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/60ac6bb8-a684-2b10-208d-b90883004a5e
    https://www.sdn.sap.com/irj/scn/downloads?rid=/library/uuid/204a13d0-399d-2b10-ec84-9c254cd7efd4
    You use this component to enable the shop floor operators to record their production order and process order confirmations using a touch screen user interface. In SAP ERP Central Component (SAP ECC) operators must complete many steps to confirm orders. Instead, you can use this interface, on a touch screen to enter the production performance easily and effectively. You can also use this component to obtain operators' work lists and information on their current activities.
    Regards
    Ram Upadhyay

  • Run MRP for process order's requirements only

    Dear Gurus,
    is it possible to run MRP only for opened process orders, created on basis of planned orders?
    The issue caused by very often production plan changes:
    Example:
    - during the working week quntity of one producing finished good can be frequently changed:
    either down or up.
    All these plan changes are shown in data of opened process orders (there is no other useful way)
    To make such changes in MD62 won't be correct (plan and fact have to be compared)
    At this moment system generates purch requsitions on the basis of all requirements (planned orders and process orders for finished good).
    Partition of planned and process requirements will allow us to make the most accurate procurement supply.
    Thanks a lot to all who will answer.
    Viktor.

    Hi,
    Check with following links which may help you resolve your issue :
    http://www.sap.com/sme/whysap/industries/millproducts/index.epx
    http://help.sap.com/saphelp_di471/helpdata/en/4e/1796374b088e5ce10000009b38f8cf/frameset.htm
    http://help.sap.com/content/documentation/industry/docu_is_mill.htm
    Regards,
    Tejas

Maybe you are looking for