Create orders in CRM with repetitive CRM_ORDER_MAINTAIN remote calls

Dear All,
Though we all must have done a lot of playing around with CRM but I am sure that a lot of us would find this as a tricky one. We know that CRM Web-UI framework at the back-end is actually a repetitive, Remote call framework to CRM APIs and SICFs.
Now I have a requirement to create a sales order for example; I shall provide custom screens on HTML or UI5 and I have to provide a similar experience to user where in the user will add values to fields on the screen and press enter etc. Hence I will initially REMOTELY( Through custom RFC ) call CRM_ORDER_MAINTAIN and create a blank sales order( as done on crm ui framework ) and then on each subsequent enter I want to call CRM_ORDER_MAINTAIN FM with the guid I already have from first call.
I will call ORDER_SAVE in the end only, to prevent wastage of memory. Also I want to avoid generating new GUIDS at each enter or round trip, hence want to continue with the guid/buffer values of the first call till the save.
My doubt is in case I remotely call CRM_ORDER_MAINTAIN the second time with the GUID I got in the first call, will the system still have all those buffered values( order_header / guid ) of the first call in the second call or simply saying : will CRM_ORDER_MAINTAIN work in this case even if I pass the guid in subsequent calls?
P.S : Please don't provide alternate solutions of saving on each enter / new guid generation on each enter.
/Hasan

Absolutely my dear friend, I am happy that someone is surely taking interest .
We have long understood that a jazzy/intuitive UI is always welcomed over a slow/dull UI.
Wasted guids is a case when you create a new transaction through MAINTAIN but then don't save it, then in the same session you again send a create command( for the same transaction ), new guids are requested from the system when you call MAINTAIN for header, items, partner links etc. and this cycle continues until you save.
The best practice is not to waste this because a create has a lot of overheads over a change like : create new guids , create time checks etc. Hence CRM architecture is also based on a single create per transaction per session. CRM UI runs on a statefull HTTP session , which is the reason behind the buffers being retained even on repeated RFC/HTTP calls.
/Hasan

Similar Messages

  • Function Module for creating order in CRM

    Hi ,
    I want to create order in crm. i have tried the function module given in SDN but all are for R/3. I have tried BAPI_SALESORDER_CREATEFROMDAT and  CRM_SERVICE_ORDER_CREATE  , L_TO_CREATE_MOVE_SU but all are for R/3. So please tell me function module which create order in CRM.
    Thanks
    Abhiiesh

    Sales Order      
    BAPI_BUSPROCESSND_CREATEMULTI->BAPI_BUSPROCESSND_SAVE and BAPI_TRANSACTION_COMMIT must be used.
    CRM_ORDER_MAINTAIN-> CRM_ORDER_SAVE and COMMIT WORK must be used.
    check this report program in se38
    CRM_TEST_ORDER_MAINTAIN
    Regards,
    Keshav

  • Create order on CRM from ISA without ITS

    Hi!
    I must create Purchase orders from ISA to CRM. I study 2 ways:
    1: call RFC on CRM to ISA, get data from isa, create order on CRM;
    2: create javascript on isa for send data to crm and create order.
    in both ways, i don't know which function module to use.
    is there a way for trace both system and take correct function modules?
    i don't have ITS!!
    I hope to explain well.
    best regards!
    Ale

    Hello Ale,
    if the ISA and the CRM System are running on two different machines you can use Ethereal to captuere the Network traffic and find out what function module is used. Also the Application Log in the CRM Server (Transaction ST01) can be usefull.
    Regards
    Gregor

  • Trying to create a sales order in CRM with BAPI_BUSPROCESSND_CREATEMULTI.

    hi all,
    I am trying to create a sales order in CRM using the BAPI BAPI_BUSPROCESSND_CREATEMULTI.
    I need the sales order number as the out put. So I am declaring OBJECT_ID as the export parameter.
    This is my source code, I donu2019t get an error, but the sales order is not generated and I donu2019t get any output for my export parameter OBJECT_ID.
    I am setting the tables HEADER,ITEM ,SALES,PARTNER, ORGANISATION, RETURN and
        SCHEDULELINE in BAPI_BUSPROCESSND_CREATEMULTI. But still unable to display the sales order number. Please help me with information
    This is my code
    ***********************************Define the Internal Tables*************************
    DATA: IT_HEADER TYPE STANDARD TABLE OF BAPIBUS20001_HEADER_INS WITH HEADER LINE.
    DATA: IT_SALES TYPE STANDARD TABLE OF BAPIBUS20001_SALES WITH HEADER LINE.
    DATA: IT_ITEM TYPE STANDARD TABLE OF BAPIBUS20001_ITEM WITH HEADER LINE.
    DATA: IT_SCHEDULELINE TYPE STANDARD TABLE OF BAPIBUS20001_SCHEDLIN WITH HEADER LINE.
    DATA: IT_PARTNER TYPE STANDARD TABLE OF BAPIBUS20001_PARTNER_INS WITH HEADER LINE.
    DATA: IT_ORGANIZATION TYPE STANDARD TABLE OF BAPIBUS20001_ORGMAN_INS WITH HEADER LINE.
    **Values for Internal Table IT_HEADER**
    IT_HEADER-PROCESS_TYPE  =  'YWEB'.
    IT_HEADER-DESCRIPTION   =  'Web Order'.
    IT_HEADER-POSTING_DATE  =  'SY-DATUM'.
    IT_HEADER-CREATED_BY    =  'SY-USER'.
    APPEND IT_HEADER TO IT_HEADER.
    **Values for Internal Table IT_SALES**
    IT_SALES-PO_NUMBER_SOLD = '1'.
    APPEND IT_SALES TO IT_SALES.
    **Values for Internal Table IT_ITEM**
    IT_ITEM-NUMBER_INT  =  '20'.
    IT_ITEM-ORDERED_PROD  =  '50000180'.
    IT_ITEM-ITM_TYPE  =  'ZABC'.
    APPEND IT_ITEM TO IT_ITEM.
    **Values for Internal Table IT_PARTNER**
    IT_PARTNER-REF_PARTNER_NO  =  '100000620'.
    IT_PARTNER-REF_PARTNER_FCT = 'CRMH04'.
    APPEND IT_PARTNER TO IT_PARTNER.
    **Values for Internal Table IT_ORGANIZATION**
    IT_ORGANIZATION-SALES_ORG = 'O 50000100'.
    IT_ORGANIZATION-DIS_CHANNEL = '30'.
    IT_ORGANIZATION-DIVISION = '80'.
    APPEND IT_ORGANIZATION TO IT_ORGANIZATION.
    **Values for Internal Table IT_SCHEDULELINE**
    IT_SCHEDULELINE-QUANTITY  =  '2.268'.
    APPEND IT_SCHEDULELINE TO IT_SCHEDULELINE.
    **Call BAPI_BUSPROCESSND_CREATEMULTI for creating a sales 0rder******
    CALL FUNCTION 'BAPI_BUSPROCESSND_CREATEMULTI'
      TABLES
        HEADER                  =  IT_HEADER
        ITEM                    =  IT_ITEM
        SALES                   =  IT_SALES
        PARTNER                 =  IT_PARTNER
        ORGANISATION            =  IT_ORGANIZATION
        RETURN                  = IT_RETURN1
        SCHEDULELINE            = IT_SCHEDULELINE.
    ****************CALL COMMIT WORK**********
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
        WAIT          = 'X'
    IMPORTING
       RETURN        =  IT_RETURN2.
    ENDFUNCTION.
    Edited by: jessica sam on Dec 10, 2008 1:45 AM

    Hi am getting the sales order but the item data is not available in sales order. Also should I generate a new guide always for HEADER, ITEM, PARTNER, ORGANIZATION, SCHEDULELINE,u2026u2026for the tables that I use?
    I  mean do I need to create a new guide each time for all the tables that I use and finally pass only header guide to the  bapi 'BAPI_BUSPROCESSND_SAVE'.
    I donu2019t know why I am not getting the product data in the saved sales order please help me.
    this is my code
    ***TABLES
    DATA: IT_HEADER TYPE TABLE OF BAPIBUS20001_HEADER_INS.
    DATA: IT_INPUT_FIELDS_FILL TYPE TABLE OF BAPIBUS20001_INPUT_FIELDS.
    DATA: IT_ITEM TYPE TABLE OF BAPIBUS20001_ITEM.
    DATA: IT_OBJECTS_TO_SAVE TYPE STANDARD TABLE OF BAPIBUS20001_GUID_DIS WITH HEADER LINE.
    ***WORK AREA
    DATA: WA_INPUT_FIELDS TYPE BAPIBUS20001_INPUT_FIELDS.
    DATA: WA_HEADER TYPE BAPIBUS20001_HEADER_INS.
    DATA: WA_ITEM TYPE BAPIBUS20001_ITEM.
    DATA: IT_EV_GUID_32 TYPE GUID_32.
    DATA: IT_EV_GUID_32_1 TYPE GUID_32.
    *Create GUID
    CALL FUNCTION 'GUID_CREATE'
      IMPORTING
        EV_GUID_32       = IT_EV_GUID_32.
    * Fill the HEADER
    WA_HEADER-GUID                      =  IT_EV_GUID_32.
    WA_HEADER-PROCESS_TYPE              =  'ZWEB'.
    WA_HEADER-DESCRIPTION               =  'WEB ORDER'.
    WA_HEADER-CREATED_BY                =  'jiopidn'.
    APPEND WA_HEADER TO IT_HEADER.
    *For each FIELD of HEADER fill INPUT_FIELDS
    WA_INPUT_FIELDS-REF_GUID               =  IT_EV_GUID_32.
    WA_INPUT_FIELDS-REF_KIND               =  'A'.
    WA_INPUT_FIELDS-OBJECTNAME             =  'ORDERADM_H'.
    WA_INPUT_FIELDS-LOGICAL_KEY            =  '1'.
    WA_INPUT_FIELDS-CHANGEABLE             =  ' '.
    WA_INPUT_FIELDS-FIELDNAME              =  'PROCESS_TYPE'.
    APPEND WA_INPUT_FIELDS TO IT_INPUT_FIELDS_FILL.
    WA_INPUT_FIELDS-FIELDNAME              =  'GUID'.
    APPEND WA_INPUT_FIELDS TO IT_INPUT_FIELDS_FILL.
    WA_INPUT_FIELDS-FIELDNAME              =  'DESCRIPTION'.
    APPEND WA_INPUT_FIELDS TO IT_INPUT_FIELDS_FILL.
    WA_INPUT_FIELDS-FIELDNAME              =  'CREATED_BY'.
    APPEND WA_INPUT_FIELDS TO IT_INPUT_FIELDS_FILL.
    *Create your own GUID
    CALL FUNCTION 'GUID_CREATE'
      IMPORTING
        EV_GUID_32       = IT_EV_GUID_32_1.
    * Fill the ITEM
    WA_ITEM-GUID              =  IT_EV_GUID_32_1.
    WA_ITEM-NUMBER_INT        =  '10'.
    WA_ITEM-ORDERED_PROD      =  '000000000070000000'.
    WA_ITEM-ITM_TYPE          =  'ZTAN'.
    WA_ITEM-MODE              =  'A'.
    APPEND WA_ITEM TO IT_ITEM.
    *For each FIELD of ITEM fill INPUT_FIELDS fields
    WA_INPUT_FIELDS-REF_GUID               =  IT_EV_GUID_32_1.
    WA_INPUT_FIELDS-REF_KIND               =  'A'.
    WA_INPUT_FIELDS-OBJECTNAME             =  'ORDERADM_I'.
    WA_INPUT_FIELDS-LOGICAL_KEY            =  '1'.
    WA_INPUT_FIELDS-CHANGEABLE             =  ' '.
    WA_INPUT_FIELDS-FIELDNAME              =  'GUID'.
    APPEND WA_INPUT_FIELDS TO IT_INPUT_FIELDS_FILL.
    WA_INPUT_FIELDS-FIELDNAME              =  'NUMBER_INT'.
    APPEND WA_INPUT_FIELDS TO IT_INPUT_FIELDS_FILL.
    WA_INPUT_FIELDS-FIELDNAME                 =  'ORDERED_PROD'.
    APPEND WA_INPUT_FIELDS TO IT_INPUT_FIELDS_FILL.
    WA_INPUT_FIELDS-FIELDNAME                 =  'ITM_TYPE'.
    APPEND WA_INPUT_FIELDS TO IT_INPUT_FIELDS_FILL.
    REFRESH: CREATED_PROCESS.
    ***** CALL BAPI_BUSPROCESSND_CREATEMULTI
                   CALL FUNCTION 'BAPI_BUSPROCESSND_CREATEMULTI'
                     TABLES
                       HEADER                  = IT_HEADER
                       ITEM                    = IT_ITEM
                       INPUT_FIELDS            = IT_INPUT_FIELDS_FILL
                       CREATED_PROCESS         = CREATED_PROCESS
                       RETURN                  = RETURN.
    IT_OBJECTS_TO_SAVE-GUID = IT_EV_GUID_32.
    IT_OBJECTS_TO_SAVE-OBJECT_TYPE = 'BAPIBUS20001'.
    APPEND IT_OBJECTS_TO_SAVE TO IT_OBJECTS_TO_SAVE.
    **** CALL 'BAPI_BUSPROCESSND_SAVE
    CALL FUNCTION 'BAPI_BUSPROCESSND_SAVE'
      EXPORTING
        UPDATE_TASK_LOCAL       = true
        SAVE_FRAME_LOG          = true
      TABLES
        OBJECTS_TO_SAVE         = IT_OBJECTS_TO_SAVE
        SAVED_OBJECTS           = ITAB_SAVED_OBJECTS
        RETURN                  = itab_return.
    **** CALL BAPI_TRANSACTION_COMMIT
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
       EXPORTING
        WAIT = true
      IMPORTING
        RETURN = RETURN1.
    Edited by: jessica sam on Dec 12, 2008 3:50 AM

  • Runtime Error ( EXPORT_NO_SHARED_MEMORY ) while creating order in CRM

    Hi All,
    i am getting runtime error while creating order in CRMD_ORDER. details of error is provided below
    Runtime Errors         EXPORT_NO_SHARED_MEMORY
    Exception              CX_SY_EXPORT_NO_SHARED_MEMORY
    Date and Time          29.01.2009 02:07:58
    Short text
         Der EXPORT-Datencluster ist zu groß für das SHARED MEMORY.
    What happened?
         The current program had to be terminated because
         a capacity limit has been reached.
    What can you do?
         Please make a note of the actions and input which caused the error.
         To resolve the problem, contact your
         SAP system administrator.
         Select the "Print" function to obtain a hardcopy of the
         current termination message.
    Error analysis
         An exception occurred that is explained in detail below.
         The exception, which is assigned to class 'CX_SY_EXPORT_NO_SHARED_MEMORY', was
          not caught in
         procedure "CRM_EVENT_PUBLISH_OW" "(FUNCTION)", nor was it propagated by a
          RAISING clause.
         Since the caller of the procedure could not have anticipated that the
         exception would occur, the current program is terminated.
    The reason for the exception is:
    This is probably due to a very large dataset, for which there are
    insufficient resources in your installation.
    Das SHARED MEMORY kann Objekte nur bis zu einer bestimmten Maximalgröße
    speichern (1) und hat selbst eine beschränkte Größe (2).
    In diesem Fall wurde die Größe 2 überschritten.
    to correct the error
    Mit den Profilparametern rsdb/esm/buffersize_kb und
    rsdb/esm/large_object_size kann man diese Größen verändern.
    Informationen über diese Parameter erhalten Sie mit der
    Transaktion RZ11.
    Beachten Sie jedoch, dass aus Performancegründen ein einzelnes
    Objekt nicht den größten Teil des Puffers belegen darf, so dass die
    maximal zulässige Objektgröße erheblich unter der Gesamtgröße des
    Puffers liegt.
    The exception must either be prevented, caught within proedure
    "CRM_EVENT_PUBLISH_OW" "(FUNCTION)", or its possible occurrence must be
    declared in the
    RAISING clause of the procedure.
    To prevent the exception, note the following:

    Hello Sudhir,
    Have you set the user parameter CRM_EVENT_TRACE as one of your personal
    user settings? If this is the case, remove this parameter and the dump will no longer occur. The parameter is intended for test purposes only, for a report which evaluates
    which events are published and which function modules are called as a
    result of these events. However, depending on system settings, the
    allocated memory may be too low and lead to the short dump.
    (CRM_EVENT_TRACE is the report which can execute in SE38.)
    Regards, Gerhard

  • Need to create orders in bulk with one commit at the end

    Hello,
    I need to be able to create service orders or (compatible unit orders) in bulk where i call either 'BAPI_ALM_ORDER_MAINTAIN' or 'IM_SM_CREATE_ORDER' multiple times without commit. As far i understood after testing and reading documentation, it is not possible i always need to do commit after calling those function modules. Is there any other API in PM which can create orders in bulk where i can do a commit only at the end.
    Best Regards,
    Yevgen

    Yevgen,
       Check if ALM_ME_ORDER_CREATE would help.You would need to call CO_ZV_ORDER_POST to commit.If looking for CU order, have a look at /***/BAPI_CUORDER_CREATE.You may have to copy this and call the ALM_ME_ORDER_CREATE  instead of the BAPI_ALM_ORDER_MAINTAIN, if looking to do a mass commit.
    Hope it helps.
    Regards
    Narasimhan

  • Error while creating order in crm

    Dear Experts
    I am facing a problem a with the order creation in the crm, problem is when i entered sold-to-party and material and quantity i am getting an warning message "Warnings occurred during cost calculation in ERP system" could you tell me what could be problem how to resolve this issue.
    Thanks & Regards
    V.Srinivas

    Hi Srinivas,
    Were you able to resolve this issue?
    I am facing similar issue and looking for guidance.
    Thanks

  • Create order by VA01 with reference

    Hello Experts,
    we use different one-time-customers for our retail store. Now we want to create credits/returns with reference to these POS-invoices.
    The problem is that when you create "normal" orders there is a pop-up window to enter the adress data. But if you create those returns with the VA01 in reference to those POS-invoices there is a) no pop-up window and b) if you enter the adress data they were adopted to the master data and all following returns get the same adress....
    We installed different SAP-OSS-information yet to interupt b).
    I also achieved that a pop-up window occurs when the VA01 (with reference) is processed. But I am not sure if there are other problems. The tables and structures appear normal and the credits/returns don`t make any problems...
    Did anyone of you installed a similar exit program already???
    Thanks for your help!!!
    Alexander

    Dear VT,
    This you control through maintaining settings in the field Reference mandatory under General Control tab of the sales document type detail screen.But reference options are
    A -With reference to an inquiry
    B -With reference to a quotation
    C -With reference to a sales order
    E -Scheduling agreement reference
    G -With reference to a quantity contract
    M -With ref.to billing document
    Go to VOV8 transaction then select your document type go in to the details here you maintain one this option in the Reference mandatory field as per your requirement.
    I hope this will help you,
    Regards,
    Murali.
    Edited by: Murali Mohan.Tallapaneni on Dec 2, 2008 10:11 AM

  • Quotation to Order in CRM

    Hi
    Can any one please tell.
    How to create order in CRM with reference to more than one quotation. I can't find any create with reference in CRM.
    Thanks
    Nitin

    Hi Nitin,
    1. Creating one follow up manually from multiple preceding document is not supported.
    2. Try using <b>Quotation Determination</b>
        For this u will have to maintain the quotation determination setting in the sales order transaction type, and copy control between sales order and quotation.
    In this case, u can have every item in refernce to a different quotaion document.
    3.  Try using <b>object relationhsip profile</b> in the sales order transaction type.
         Using this multitple quotations can be linked to a sales order. But this will be just helpful in maintaing the relation or document flow, the validation can not be carried out like if the quantity is more than the one offered in the quotation etc.
    Wish it helps.
    Regards,
    Shalini Chauhan

  • Create sales order in CRM

    Hi,
    What are the possible ways to create a sales order in CRM with Idoc coming from XI?
    Thanks
    Navin

    Hi Navin,
    Yes with the use of the XIF adapter.  There is a basic type called CRMXIF_ORDER_SAVE_M01 available to you.  This will then go through the normal business logic for creating the order.  Suggesting reading all about it at http://help.sap.com
    Cheers
    Andrew

  • Creating Sales Orders in SCM with Characteristics

    Hi,
    I am trying to create sales orders with characteristics in SCM using function module BAPI_SLSRVAPS_SAVEMULTI2.  However, no matter which  tables I populate for the function module I cannot create a sales order with associated characteristics.  I have used the above function module to create and change sales orders, but not with characteristics.  Does anyone know how to do this ? Or even, if it is possible to do this ?
    Thanks,
    Stephen.

    Hi Ajay,
    The tcode to create orders in crm is CRMD_ORDER. The standard sales order is TA.
    The customizations required to be done to make your own transaction work are available in best practices
    C64: CRM Quotation and Order Management and
    C23: CRM Basic Sales
    on http://help.sap.com/bp_crmv250/CRM_DE/BBLibrary/html/BBlibrary.htm
    These should help you
    Regards
    Rekha Dadwal

  • Creating sales orders in crm

    hi,
    Can anyone tell me how to create sales orders in CRM.
    Which transaction type should be used for sales orders and what others config settings are required  for craetion of sales order
    Plz tell me asap
    thanks
    ajay

    Hi Ajay,
    The tcode to create orders in crm is CRMD_ORDER. The standard sales order is TA.
    The customizations required to be done to make your own transaction work are available in best practices
    C64: CRM Quotation and Order Management and
    C23: CRM Basic Sales
    on http://help.sap.com/bp_crmv250/CRM_DE/BBLibrary/html/BBlibrary.htm
    These should help you
    Regards
    Rekha Dadwal

  • Saving Sales order in CRM to R/3

    Dear Friends,
    When i make a Sales order in CRM it is flown to R/3. There is no problem when i do this. But if i make any changes in the Sales order in CRM then the Delivery block in the item schedule lines of same sales order in R/3 comes as pending for approval. I m not gettin how to deal with this.
    Please help.
    Rachana.

    Hi Rachana,
    Do this way , create order in CRM and check the same in R/3 whether all relevant values are transfered to R/3 or not. Once you are through, then do the changes in CRm again and save then cheque whther the changes you had done in CRM is replicated in R/3 or not. if not then you need to trace why its not happend.
    Secondly check in the Transction type of CRM whether the following setting is enabled or disabled:
    No Change document
    Post process from:
    Regards
    Arun Kumar

  • CRMXIF_ORDER_SAVE to create orders

    Hi,
    I'm trying to find ways to create sales orders in CRM via RFC calls. I would like to know from your experience:
    1- Where I can find documentation, for precisely an example of how to fill the structure. I've seen ifr.sap.com but I've got no clue how to fill it all.
    2- I need (it would be great) to create orders with custom conditions. I need for example that the value for condition PR00 is contained inside the struture so that when the order is created it uses the custom PR00 not the one from IPC automatic determiantion.
    Tks in advance

    Joao,
    A few hints on how this works:  The IPC is basically another RFC destination to CRM.  The online processing for sales orders makes ABAP function module calls that eventually call the IPC as an RFC function.
    In the structure for CRMXIF_ORDER_SAVE in the ITEMS segment there is a subsegment called PRICE_CONDITIONS.  This is where you would actually input a pricing condition manually.  You would need to setup your pricing procedure in such a fashion that the PR00 standard is not determined and instead your Z-condition is part of the calculation.
    It is possible, to change the configuration or add pricing conditions via CRMXIF_ORDER_SAVE.  It is very similiar to how BAPI_SALESORDER_CHANGE works in R/3.  I would try seeing if you can first create a order in CRM with a PR00 condition and then see if you can simply add in your new condition via CRMXIF_ORDER_SAVE.  If you can do that, then work with a pricing guru to figure out how to set the pricing procedure so no conditions are automatically determined, but require manual entry of the condition.  Then you can programmatically come back in and dynamically add the pricing condition to your order.
    Good luck,
    Stephen

  • 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

Maybe you are looking for