CRM sales order data to be sent as an IDoc

Hello,
Can someone help me on this? I have created a sales order in CRM and now i need to send this data to an external EDI subsystem through an Idoc.
In R/3 we have the option of message control in output determination where i can handle this but I am not able to figure out a way to this on CRM side. I checked quite a lotta previous mails on this forum but could not reach anything concrete.
Also please note that we dont have a R/3 system here and are trying to create orders directly on CRm, send them through an IDOC to an external EDI system and further.
Please respond if you have any insight into this.
Regards
Priyanka

Hey thanks for all ur help..
Now see lemme jot down the scenario and the solution that I have thought of (with ur help)...
See we have only CRM and no R/3 here...right
Now using CRM transaction CRMD_BUS2000115(Maintain sales Transaction) I create an order. Ok..the transaction type attached to it is a Z transaction type ZSAM...ok ...and I have a Z action profile ZST_ORDER_MESSAGES where I have scheduled the automatic method call to send Bdocs...ok...
Now this will send Bdocs to the site which I will define using transaction SMOEAC and assign here. Now the Bdocs structure is complex as it flows as per GUIDS in this case (i.e. CRM ) right.....
So I need to map these Bdocs to Idocs throgh some selection programs (e.g RBDMIDOC) but I don’t know if this is right or will it at all help?
Then my plan is that once I get the Idocs I can have all the normal config as in R/3 wherein I will
1. define the RFC
2. define the Logical system
3. define the receiver port
4. define the partner profile
5. create the site and assign it to the interface type.
But how will I map the Bdocs to the idoc ...can u please help me with this?
Priyanka

Similar Messages

  • CRM sales order and data base field in R/3

    Where can I see in R/3 that the replicated CRM sales order is created in CRM?
    Is there a field e. g. in the data base table VBAK or VBAP?

    Hi,
    you can find the information in VBAK table in field LOGSYSB, which is the logical system with which document was created.
    Enter the CRM logical system name in this field, and you will find all the orders created in CRM system.
    Regards,
    Susanta

  • Sales Order data from CRM

    Hi all,
    I want to upload Sales Order data from CRM to BW with DataSource "0CRM_SALES_ORDER_I".
    The upload fails due to missing information that are needed in the first update rule of the Sales ODS "0CRM_SALO". In this update rule some formulars on data field level are created that require this information.
    Examples of fields that are not delivered from the CRM:
    0CRMLREQSCH     L. Req. Deliv. Date
    0CRM_DLVSCH     Last Delivery Date
    0CRMPAVSCHW     MAD (Requested)
    0CRMPAVSCHC     MAD (Confirmation)
    0CRMPGISCHW     Pl. GI Date (Req.)
    0CRMPGISCHC     Pl. GI Date (Conf.)
    So what is to do? Enhance the extractor or are there alternatives.
    Cheers
    jb

    Hello jb,
      Were you able to resolve your problems with Sale Order?
          thanks,
              dmitriy.

  • Using of sales orders data in CRM in Trdade promotion managemnet?

    hai
    can we use the sales orders data in CRM for the cubes Trade promotions management in BW-BPS for calucating the uplift volume?
    can any body tel me how this uplift volume calculates.

    Hi Kallis ,
    Refer this
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.highlightedcontent?documenturi=%2flibrary%2fbiw%2fs-u%2ftrafficLightsforTradePromotion.pdf
    or just search for Traffic lights for Trade Promotion on home page of SDN with options as all  to get the PDF version.
    Assign points if it helps
    Cheers
    Raja

  • How to add a table layout in CRM Sales order?

    dear all ,
    anyone know how to add a table layout in CRM sales order customer tab that using the EEWB added?
    can EEWB do this?   i didn't find the appropriate business object......

    Hi , Swapna
    is you mail address right? can not send out.
    first , you should have added one field using EEWB ,  then to EEWB , find the extension , double click on the task, there  you will find a  "object list"  on the right, the list will give you many many very important  information , you should look through .
    then double click on the "screen:  ..........EEW......." ,  layout , there you will find the field you have added in .  and you can draw anything you want there , then back to the screen flow , write you flow logic in PBO and PAI .
    about the global  data definition,  again to the "object list", you will find a "Report source code:  ......................TOP". in there ,you can define all you data .
    another thing  if you want to save your input field to database tables that you draw (not by EEWB added)
    two ways:
    1. write update table directly  in  PAI module .
    2.  you can use this BADI :  ORDER_SAVE , this is when you save the order to trigger the save action.

  • How to determine the delivery plant in a CRM Sales Order

    Hi experts:
    In CRM how to work the delivery plant determination? and I can change the Plan in a Sales Order before its download to ECC?
    I download the DNL_PLANT object but i don't understand what is the functionality of these are created like business partner in CRM.
    Thanks in advanced by your orientation about these questions that have me a little bit confuse.
    Sussie

    Hi Reddy
    Thanks for your reply, but the note says that only applies for India or Brazil legal purposes.
    In my case I still have confuse, in a normal Sales scenario CRM to R/3 how to works the determination of the delivery plant.
    I know that in R/3 is determined by:
    1. Customer-Material info record (Sales Area data)
    2. Customer Master data (Sales area data)
    3. Material Master data (Sales-area data)
    I can think that in CRM is determinate bye Material Master Data, but I still don't know if I can change
    it??  and where in the crm sales order before it is download to R/3??
    Thanks
    Sussie

  • PO Creation after CRM Sales Order Creation

    I am creating a CRM Sales Order and the moment I save the CRM Sales Order,
    it creates a PO in ECC. I need to find out how PO is getting triggered?
    When I open the CRM Sales Order it shows a PO already created for this Sales Order.
    Has anyone face this or same kind of scenerio ever? If yes please let me know how can fnd the triggering point of PO creation.
    Thanks in advance!!
    Sachin

    Hi Mathivana,
    I had faced these issue several time. As per SAP standard logic whenever you saved order in CRM it replicate immediatly in ERP till that time the order will be locked for any further change in CRM to save transaction data intigrity. The lock gets removed once the CSA queue(notification) from ERP update in CRM than unlocked.
    You check the in SMW01 transaction and perform search with order number you will find Bdocs are in Intermediate stage(I can't tell reason as it can be so many reason why Bdocs get stuck) -Select and activate the Bdocs once again if you are lucky and it activated your order till be unlocked.
    Or else user report most common for this issue "CRM_CHECK_DISTRIBUTION_STATUS" pass order number number and document type to unlock distribution than you will be able to change order.
    100 % sure shot answer. Appriciate if points alloted
    Thanks,
    prem

  • MATERIAL GROUP IN CRM SALES ORDER

    Hi
    I have download ECC 5.0 Material Group in CRM 5.0.
    I can see it in CRM in Product Master as category id, but it is not showing up in CRM Sales Order.
    Any help on this...
    Thanks
    Nitin

    Hi Venkat
    I have already assigned material group to Ordered Products but not it getting displayed. I am in need of Field Name & Data Element of material group so I can make entries in missing pricing field catalog.
    Thanks
    Nitin

  • How to get  sales order data in R/3. Any FM?

    Hi ,
    Is there any FM in R/3 to get sales order data.
    In CRM we use CRM_ORDER_READ to get the Header and Item details. Like wise FM in R/3 is required.
    Actually I have to test 'Usage' in sales tab of VA01/VA02/VA03.
    How to get the order details? what is the user exit for ORDER save?
    If any body knows please do let me know.
    Thanks and Regards
    Harish

    Hello Harish,
    Please use BAPI_BUSPROCESSND_GETDETAILMUL to read details of sales order. This works as a remote enabled counterpart of CRM_ORDER_READ.
    Similarly if you want to display sales order from R/3, use FM BAPI_BUSPROCESSND_DISPLAY.
    Regards
    Kaushal

  • Replicate custom fields from CRM sales order to R/3 sales order

    Hi Michael,
    I have a requirement to replicate custom setype data created for CRM sales order to R/3 sales order.These fields have been created at item level.
    Do you know the set of steps to achieve the same.
    Any help would be appreciated.
    Thanks,
    Chamu

    Hi,
    the CRM sales order cannot be extended using set types. Set types are a functionality that is limited to products.
    You can however enhance the orders by using the easy enhancement workbench (ransaction EEWB). It will allow you to add specific fields to all levels of the sales document and will take care of ALL the objects that are necessary to update and maintain he fields (functions, screens, bdocs, bapi's,...)
    Depending on you system, it will also generate the update modules for R/3 (don't bet on it). Otherwise you'll have to program the extraction and mapping of the new fields in R/3.
    Michael.

  • Customer Credit Limit on CRM Sales Order

    Dear All,
    Can the customer credit limit be displayed on CRM Sales order(Customer from ECC, we use simple credit check on SAP ECC)
    Regards,
    Ahmed

    Hi,
    The standard credit check in SAP CRM calls up the automatic credit check in SAP R/3. You must define an RFC destination, and specify this destination for the credit check.
    ·        To define RFC destinations in CRM Customizing, choose Customer Relationship Management ® CRM Middleware and Related Components ® Communication Setup ® Define RFC Destinations.
    ·        To specify destinations for the credit check, choose Customer Relationship Management ® CRM Middleware and Related Components ® Communication Setup ® Middleware Parameters ® Define Middleware Parameters. Then choose the activity Credit Check and enter an RFC destination for the parameter CRMCREDCHE.
    You can also carry out an initial data transfer for credit data.For transactions that are still open for which you are reactivating update of credit data, you can initially transfer the credit data for a reorganization of data in SAP R/3. To do this, start the initial data transfer for object CMDOC_NOTIFY using transaction R3AS.
    When setting up credit limit check, refer to SAP Note 568157, 570155 and 619500.
    With Regards
    Selvam T

  • Wrong contact partner in the CRM sales order come from ISA

    Hello,
    I'd like to know if is it possible to manage the partner dermination "contact from a shopping basket created in ISA.
    in my case, i have a shopphing basket created by a user XX and this shopping basket is used by a other  one (user ZZ) to create a crm sale order; The problem is that the contact filled in the crm order is the partner XX instead of ZZ. Is it possible to manage the determination by customizing XCM ou SPRO to define the suitable partner (ZZ)
    Best regards.
    CMA.

    Hello CMA,
    Thanks for explaining the problem clearly. Looks like you've got an issue. Though you created an "order" with reference to a "template", ISA doesn't use any Copy function configured in the backend. It is all done piece by piece using Java and ABAP code.
    This is certainly a bug in standard code - unless somebody finds a note that explains. I couldn't find any SAP notes on this issue. The "Create new order on the basis of an order template" finally uses the action CreateFromPredecessorAction. While there is code available to address the "Ship-To list", "drop ship - ship-to", "Sold-To", "Requested Delivery date" etc. of the  source (template) to target (basket or order), the code essentially misses to change the Contact person of the target document to the current user.
    You can address this issue in two ways. # Ask SAP to fix the bug in the above class or # Do it your own way, by just introducing an action to "massage" the data the way you want. The CreateFromPredecessorAction action has one outcome editdoc.
              <action path="/b2b/createfrompredecessor" type="com.sapmarkets.isa.isacore.action.CreateFromPredecessorAction">
                   <forward name="editdoc" path="/b2b/updatedocumentview.do"/>
    Introduce a custom action ZFixContactPersonAction immediately after like this:
              <action path="/b2b/createfrompredecessor" type="com.sapmarkets.isa.isacore.action.CreateFromPredecessorAction">
                   <forward name="editdoc" path="/b2b_custom/zFixContact.do"/>
              <action path="/b2b_custom/zFixContact." type="com.parxlns.action.ZFixContactPersonAction">
                   <forward name="success" path="/b2b/updatedocumentview.do"/>
    In this custom action, you can add some quick code to "fix" the contact person partner from the header.
    import com.sapmarkets.isa.businessobject.header.*;
    import com.sapmarkets.isa.businessobject.order.*;
    SalesDocument salesDoc = null;
    BusinessObjectManager bom =
            (BusinessObjectManager) userSessionData.
            getBOM(BusinessObjectManager.ISACORE_BOM);
    salesDoc = bom.getBasket();
        HeaderSalesDocument  header =
            (HeaderSalesDocument) request.
            getAttribute(MaintainBasketBaseAction.RK_HEADER);
    String selectedPartnerID = bom.getUser().getContactData().getId();
    String selectedPartnerGUID = (String) bom.getUser().getContactData().getTechKey();
    PartnerList partnerList = new PartnerList();
    //Get the document header - partner list value
                   PartnerList partnerList = header.getPartnerList();
                PartnerListEntry contactData = new PartnerListEntry(selectedPartnerGUID, selectedPartnerID );
    //Set the Contact partner in partner list
                partnerList.setContact(contactData);
    //Set this partner list back to header.
    header.setPartnerList(partnerList);
    return ("success");
    Hope this helps with little changes.
    (sorry, there I am not aware of any solution with simple customization in the backend)
    Easwar Ram
    http://www.parxlns.com

  • CRM sales order line item change with ECATT

    Hi All,
    We have just started to use ECATT's and have a scenario where in a CRM sales order certain line item data needs to be updated as part of the test.
    The problem we have is in the selection of the line item. The filter option based on the line item column appears to be the best approach, and then double click on the item which is displayed to get to the item tabs.
    When the parameters are being set everything is available and can be defined - when run however failure occurs at the filter stage.
    Anyone got any ideas?
    Al

    Hi Alan,
    Which mode of recording you are using, TCD or SAPGUI ?
    And could you let me know the error, that you get.
    Regards,
    Sandipan

  • CRM Sales Order Replication CRM to R3 (complaint) Pb

    Hi Guys,
    My problem is that when i create an CRM Complaint in CRM 4, and i change the plant on my delivery item, when the order is replicated in R3, the Shipping point doesn't get updated to use the new shipping point used for the new plant...
    I tried to debug but cannot hit User Exit in R3, then i read in there that the R3 user Exits such as: MV45AFZZ is not called at all...
    Can anyone could tell me how to find out how to get to the shipping point determination when the order is created from CRM...
    I succeeded to be in R3 in my debug session by:
    Stopping the BDOC with the following:
    Set a breakpoint in the FM on the save of the document in CRM:
    CRM_UPLOAD_BTMBDOC_START_FLOW then set ls_header-dbg_mode to X.
    Then i reprocessed the BDOC with /h and then set breakpoint in FM:
    SMOF_READ_SMOFERPSH to set my RFC-Dest to be valid for my debug session.
    Then put a breakpoint CRM_R3_SALESDOCUMENT_UPLOAD and set gv_synchronous_call to X ... Now after F5 i am in R/3...
    I tried to find out where my shipping point is set or determined but impossible (VBAK - VSTEL)?
    Please help...
    Thanks
    Aurelien

    Hi Aurelien,
    I believe there is no problem in replication of CRM Sales Order to ECC. Shipping point determination settings are properly maintained in ECC.
    In SD Sales Order (VA01 / 2)  Shipping points get determined by 3 factors for each line item.
    1. The shipping conditions from the customer master record (Shipping screen)
    2.The loading group from the material master record (Sales/Plant Data screen)
    3.The delivering plant
    Now in your case you are creating order in CRM. So download the plants from ECC to CRM with Transaction code R3AS (Initial D/L) DNL_PLANT. This plant you can assign in a Sales Order as a Business Partner for each line item.
    Plant is called as Vendor partner function in CRM.
    When CRM sales order with plant will replicate to ECC then automatically the shipping point will be determined.
    Regards,
    Rajendra Sonawane

  • Update automatically prices in CRM sales order

    Hi everybody,
    i would like to simulate the recalculation of price conditions in a sales order (button "update" in condition ta of a sales order) using module functions for example (or simply a batch input but i try and unlucky it doesn't work for the action on the button "Update").
    The goal is to be able to update in mass the price in CRM sales order when a price has been changed in product master data in R/3 system.
    I look for but i don't find a solution so if someone has an idea he is welcome.
    Thank you,
    regards
    Fabrice.

    Hi Fabrice,
    Not able to understand your question. Did you mean that the Prices are going to be updated in R/3 system and simultaneously the order value should also change in all crm orders with respect to any date ????
    If it so, i dont understand what kind of business scenerio is this ?
    Please elaborate so that, we have more clarity on your question.
    Regards
    Arun Kumar

Maybe you are looking for