Significance of Inboun and Outbound queue in sales order replication

Hi CRM Leads,
What is the significance of Inbound Queue and Outbound queue in saleas order replication from CRM to ECC.
What exactly happens in Outbound Queue and Inbound Queue.
Thanks,
Sandeep
What

Inbound - Tcode: SMQ2 :  Inbound in the context of CRM and this queue shows the business transaction, master data and configuration data that are coming from ECC into CRM .
Naming Convention for Queues
The names of queues for data transfers from an ERP back end to the CRM server are made up as follows:
  R3A (from ERP back end to CRM)
    I for the initial data transfer / for Data Synchronization
    D for the delta data transfer
    U for loading to the ERP back end
    R for Defining Requests
    <Object> Name or part of object name, or the name of the higher-level independent object
    <Key> Only delta queues are subdivided by keys
Outbound - Tcode SMQ1 - Outbound in the context of CRM and this queue shows the transactions and data that are going from CRM to ECC
See more on [Using CRM Queues|http://help.sap.com/saphelp_crm70/helpdata/EN/49/2d9d9707361903e10000000a42189c/content.htm] following the link.
Read the [CRM Adapter Framework|http://help.sap.com/saphelp_crm70/helpdata/EN/49/2e33a2a6c51d24e10000000a421937/content.htm] for advanced learning.

Similar Messages

  • Diff. between using inbound queue and outbound queue.

    Hello All,
    Can somebody please explain me the diff. between using inbound and outbound queue?Thanks.
    Best Regards,
    Tushar

    Hi Tushar,
    I hope you will find the answers here:
    /people/somnath.manna/blog/2006/12/21/demystifying-cif
    /people/somnath.manna/blog/2006/12/31/demystifying-cif--part-ii
    Regards
    Alper

  • Impact of inbound and outbound queue

    Hi,
    I have created the service request in CRM and replicated to r/3, what is the impact on inbound and outbound queue of R/3 and CRM server.
    Thanks in advance

    Hi
    if the mb doc is passed to R3 ok if  not you can come to know in smw01 if it gets bounced to crm you need to check for error analysis why bounced, if it get posted R3 inbound queue to r3 is succefull if get bounced back to crm the out bound of crm is failed then depending up on error analysis you should proceed in order to proceed further how to push the transaction to r3 by clearing the middlle ware struck up
    CRM Impact is : succefully sent to r3 using mb docs by out bound quue
    R3 : if gets bounced in bound quueue is failed to receive the CRM's out bound so you need to rectify in CRM only.
    Reward for useful
    Venkat

  • BAPI or FM to create outbound delivery from Sales order

    Hello All,
    My requirement is to create a outbound delivery from sales order. Also i need the batch number and texts to be updated in the delivery.
    For this i need a single FM. The catch is that we don't have the batch number and texts in the sales order. That i have to take from some other delivery. I can get all the information .
    The problem is that i can not find a FM through which i can create the delivery from the order and update the same.
    I should not use two FM.
    Could you please tell me some FM which does both in one go?
    Thanks and Regards,
    Rahul Sinha

    Hi
    Hi,
    You can use the BAPI BAPI_DELIVERYPROCESSING_EXEC.
    Check this sample code..
    PARAMETERS: p_vbeln LIKE vbak-vbeln.
    DATA: BEGIN OF t_vbap OCCURS 0,
    vbeln LIKE vbap-vbeln,
    posnr LIKE vbap-posnr,
    kwmeng LIKE vbap-kwmeng,
    matnr LIKE vbap-matnr,
    werks LIKE vbap-werks,
    END OF t_vbap.
    DATA: t_request TYPE STANDARD TABLE OF bapideliciousrequest
    WITH HEADER LINE.
    DATA: t_created TYPE STANDARD TABLE OF bapideliciouscreateditems
    WITH HEADER LINE.
    DATA: t_return TYPE STANDARD TABLE OF bapiret2 WITH HEADER LINE.
    SELECT vbeln posnr kwmeng matnr werks
    INTO TABLE t_vbap
    FROM vbap
    WHERE vbeln = p_vbeln.
    LOOP AT t_vbap.
    t_request-document_numb = t_vbap-vbeln.
    t_request-document_item = t_vbap-posnr.
    t_request-quantity_sales_uom = t_vbap-kwmeng.
    t_request-id = 1.
    t_request-document_type = 'A'.
    t_request-delivery_date = sy-datum.
    t_request-material = t_vbap-matnr.
    t_request-plant = t_vbap-werks.
    t_request-date = sy-datum.
    t_request-goods_issue_date = sy-datum.
    t_request-goods_issue_time = sy-uzeit.
    APPEND t_request.
    ENDLOOP.
    CALL FUNCTION 'BAPI_DELIVERYPROCESSING_EXEC'
    TABLES
    request = t_request
    createditems = t_created
    return = t_return
    READ TABLE t_return WITH KEY type = 'E'.
    IF sy-subrc = 0.
    MESSAGE e208(00) WITH 'Delivery creation error'.
    ENDIF.
    COMMIT WORK.
    READ TABLE t_created INDEX 1.
    Write: / 'Delivery ', t_created-document_numb.
    Regards,
    Sreeram

  • Add segment to outbound Idoc for Sales order

    HI experts,
    I need to add segment E1EDP02 under Existing segment E1EDP01 for outbound IDOC for Sales order. FM" IDOC_OUTPUT_ORDRSP".
    I have used the Exit : "EXIT_SAPLVEDC_003" for the FM "IDOC_OUTPUT_ORDRSP"  in the include of the Exit   i wrote my code also for adding segment and activate it.
    But when i am trying to debug the code it's not working
    So please guide me how to debug it
    I have followed below steps to Debug.
    1. In VA02 i have repeat the output.
    2. Put the breakpoint in the Exit include program .
    3. put the Breakpoint in ALE processing Routine in RSNASTED program also
    4. Trigger the program RSNAST00 by giving the  Parameter value of SALES ORDER number and execute.
    But not working
    And i need to know whether i have used the Correct EXIT or not.In that case how to identify the correct exit's
    Thanks In advance

    Hi,
    I hope you have to add your segments through WE30 first for your IDOC type.
    Cheers,
    Raja.D

  • Opening and closing stock with sales order and with out sales order

    hello,
    any body please help me my client want to check opening stock and and closing stock in areport.
    material contains batch and some material with sales order and some are with out sales order. my client is asking this in a single layout. please tell me isthere any teport or bapi or function module to get this report.
    this is very uregent. and layout is requesting like opening stock, production stock, sales stock and closing stock.
    please guide me to get this report.
    Thanks & Regads
    Bhakta

    Transaction MB5B
    For sales order related use specila stock as E and use radio button indicator in stock type
    For stock w/o sales order, use special stock indiactor as "space' and stock type valuated stock.
    to get a perticular month,opening stock/closing stock enter the start date/end date as month start and end date.
    See the o/p which will give the stock as required by you

  • Difference B/W Delivery plant  and item plant in Sales Order

    HI,
          May i know Difference between  Delivery plant and item plant in Sales order and what is the use of those fields.What is the process of raising sales order for different plants.
    Thnks&Rgds
    NAG
    Edited by: NAGA SUDHIR on Apr 3, 2009 6:10 AM

    HI G. Lakshmipathi,
                                   Thnks for the reply.Yes i am comparing (DWERK (at header level) and WERKS (at item level)) these two fields.
      Any how we can give only one plant in Customer Master, we are not maintaining Customer/mtrl regard (Not required in our company scenario) and we have extended MMR to different plants.
    So as per ur answer u went me to change only WERKS (at item level) while raising sales order for different plants.Is it enough?
    Thnks&Rgds
    NAG
    Edited by: NAGA SUDHIR on Apr 3, 2009 6:46 AM

  • Cost Center and GL account in Sales Order / Delivery

    I have a requirement where we want user to specify what cost center and GL account should be used while posting goods issue.
    Currently GL account and Cost Center is automatically determined based on OBYC configuration.
    Is there a way  user can populate Cost center and GL account at Sales order or Delivery document level and what ever they have specified will be used for Posting Goods Issue.
    If user doesnt specify anything then standard OBYC determination should take place.
    I looked at OVF3 transaction which can default cost center (though no GL account) but its not useful in our requirement.
    I also looked at OKB9 transaction but not sure if we can use it either.
    Again we want user to enter Cost center and GL account at either SO or Delivery document level and then that should be used for Post goods issue.
    Thanks in advance.

    Hi,
    In delivery under tab GOODS MOVEMENT DATA
    After valuation type column COST CENTER & G/L Account column available
    Now with the help of FI consultant make it change mode so user can maintain  also I observe that if delivery created without reference to order then that fields are in change mode means user cn maintain data for this but if with reference to order it is disable mode
    Check in t-code OMJJ FIELD SELECTION FOR MOVEMENT TYPE
    Put movement 601
    Then select movement type and double click on filed selection (from 201)
    Then go to additional account assignment and for cost centre make it optional or requirement
    or Else under field selection enjoy for movement type 602 indsert field KONT0 and KOSTL and check
    If this can not work there is option field selection for G/L account check that with FI
    Kapil

  • Custom program for availability check and update for existing sale order at Item level(VA02)

    Hi,
    I came to know Bapi_Saleorder_Simulate can be used for availability check and update an existing sale order.but there is no sample program explaining the process.I have tried this by passing parameters ORDER_HEADER_IN , ORDER_ITEMS_IN  ,ORDER_PARTNERS and ORDER_SCHEDULE_EX(for getting details),also i have assigned the sale document number ,custom document type(ZSO) in ORDER_HEADER_IN . while executing the BAPI I am getting the error external number range is not assigned for the document type ZSO . I am confused on seeing this error. It is possible to do availability check for existing sale order using this BAPI. Please explain how to achieve this.It will be really helpful if it is expalained with an example.   
    Regards,
    Shanmuga

    Hello, I think you may have been misinformed about this BAPI updating a sales order at item level. As far as I understand it this BAPI can be used to simulate the creation of a sales order which obviously would include and ATP check. This is why it is giving the error because it is simulating creation but you are entering a value in a field that should be automatically generated (i.e. the sales order number). For change the sales order at item level have you looked at BAPI_SALESORDER_CHANGE? I pretty sure this BAPI both updates sales order (header or item level) and can do an ATP first.
    Points are always welcome if you feel an answer has been helpful.

  • How can we revise the pricing both at header and item level of sales order?

    Dear All,
      Now there's one issue of the pricing to me. i want to revise the pricing both at header and item level of sales order. but after i finished the cutomize and tested it, it's more different as i thought. i found that the pricing can revise at the one side only,for example, if i revise the pricing at item level and it's grey and can't be revised at the header. on the other hand, it's the same result what's happened at item.
      So, in my opinion, we can't revise the pricing both at header and item, right? if not, please give me more advices and teach me how to solve the problem. thanks a lot.

    Dear Lakshmipathi,
      Thanks a lot for your kindly and useful answer for me and I learn more for the pricing technology.
      I didn't notice the way that you reminded ago therefore I also saw the button at the condition tab. And your suggestion makes me know more.
      And I had tested the way that you said, I met with a question. Below is my opinion for my testing.
      I had created one SO and the pricing was $10, then I revised the pricing from 10 to 15 by VK11. It can't be updated automatically at SO and I must update it manually by clicking the "Update" button. This is OK for my testing, but I have another question to disturb you for the use of "Active" button. When I click the button and nothing is responsed, it's quite different what you said. So, please give more detail for the Active button. Thanks a lot.

  • Hide the cost and margin fields on Sales Orders and Invoices

    Hi all,
    I need to hide the cost and margin fields in Sales Orders and Invoices. We sell our products to our employees sometimes, hence we don't want them to know cost and margin information.
    Can this be done?
    Cheers

    Go to VOV7 & as per the Item category ,de - select the Check Box Determine Cost.
    Else remove the Condition Type VPRS & Margin Condition type from the Pricing Procedure
    Best Regards,
    Ankur

  • Userexit to Restrict the VIEW and MODIFY of the Sales Order

    Hello Everybody,
    I need to do the following task.
    I want to restrict to VIEW and MODIFY the sales order for particular sales office or sales group.
    I need  user exit for that.
    Please help me by providing brief information.
    Thanks
    M Rahman

    Hi Rahman
    Instead of changing the DISPLAY and CHANGE status of Sales Order,
    i think it would be better if u make a check at the time of SAVE.
    When the SO is being saved in VA02,check the sales office or sales group
    and then give a error message to the user, saying that he is not authorised to make changes to the
    SO for this particular sales office or sales group.
    For this you can use the inckude MV45AFZZ,and USER EXIT userexit_save_document.
    Sample Code:
    IF SALES_OFFICE EQ 'XYZ'.
    MESSAGE 'Change not possible for this Sales Office' type 'E'.
    ENDIF.
    Regards
    Hareesh Menon

  • Cost Center and Profit Center in Sales Order and Deliveries.

    What are the different methods of determining cost centers and Profit centers in Sales orders ?
    Can Cost Center be determined independently in sales order or will be detrmined from Profit center ?

    Hi Sunil
    Profit Centres are used primarily in S&D (at billing stage it is transferred to FI) for registering revenue.
    Billing -
    Integration Points Module
    •Debit A/R - FI/ CO
    •Credit Revenue - FI/ CO
    •Updates G/ L - FI/ CO
    (Tax, discounts, surcharges, etc.)
    Return Delivery & Credit Memo -
    Integration Points Module
    •Increases Inventory - MM
    •Updates G/ L - FI
    •Credit Memo - FI
    •Adjustment to A/R - FI
    •Reduces Revenue - FI
    Profit Centers can be set-up to identify product lines, divisions, geographical regions, offices, production sites or by functions. Profit Centers are used for Internal Control purposes enabling management the ability to review areas of responsibility within their organization.
    The difference between a Cost Center and a Profit Center is that the Cost Center represents individual costs incurred during a given period and Profit Centers contain the balances of costs and revenues.
    Regards

  • Outbound idoc for sales order

    Hi,
    can any one guide me in orders  Message Control Configuration..
    I am trying to acheive the outbound idoc upon sales order creation through output type.

    CHeck these threads.
    Idoc Sales Order Creation .
    Re-open EDI - ORDCHG for outbound sales order

  • Sales order replication

    Hi,
    I have an issue related to Sales order replication. The replication is working for R3 to CRM, and the sales order created in R3 is getting replicated in CRM.
    In my case the customer wants to create the sales order from CRM and would like to send it to R3.
    The replication object that I have used in R3AC1 is Salesdocument, please let me know how do I replicate the sales order from CRM to R3
    When I create the sales order in CRM it gives a message: u201Cdocument is being distributedu201D and it does not give any errors, there is no trace of it in BDoc messages- SMW01, no trace of it in queue monitor SMQ1, SMQ2 in R3 and CRM.
    Regards,
    Amit

    Hi Amit,
    You need to goto site and subscribe there for business transaction for CRM. CRM to ECC.
    Reward points if helpful.
    Thanks,
    Srini.

Maybe you are looking for