Call to R/3 transaction from CRM CIC0 Action Box

Hi All,
I configured in CRM the action box to call MySAP (transaction VA01), I used the method BOR with the object BUS2032 and the method CREATEWITHDIA, but I need to configure the action box to pass data from the transaction CIC0 into the R/3 system via data flow, for example:
I need to send the field value CCMSEARCH_STRUCT-BP1_PARTNER (Partner - CIC0) to field KUAGV-KUNNR (Sold-to-party - VA01).
I tried to use &BUS1006005& to send the Business Partner, but it doesn´t work.
Any documentation is very appreciated.
Regards
Cássia Lima.

Steps involved in solving “escape Sales area popup while creating cash sale order from CIC0 transaction” issue is,
In CRM system
Go to transaction EWFC0.
Configuration name “ZABOXUSA”.
Click on change button and select transaction ‘VA1_’ in transaction group R3OE.
Click on details button and change object type to ‘ZZBUS2032’ from ‘BUS2032’.
Assign values to transaction VA1_ in data flow.
Save and close.
In R/3 system,
Go to transaction ‘SWO1’ (Business Object Builder).
Copy object ‘BUS2032’ as ‘ZZBUS2032’ including program.
In the object ZZRBUS2032 click on the method ‘CREATEWITHDIA’ then click on the button program on the application tool bar.
At line number 196 added the following lines of code.
DATA :        WA_SALESPARTNERS LIKE LINE OF SALESPARTNERS,
                  IT_KNVV TYPE KNVV.
**MODIFIED TO ELIMINATE SALES AREA POP-UP FOR CASH CUSTOMER.
IF SALESHEADERIN-SALES_ORG IS INITIAL.
  LOOP AT SALESPARTNERS INTO WA_SALESPARTNERS WHERE PARTN_ROLE = 'AG'.
     SELECT * FROM KNVV INTO IT_KNVV WHERE
                KUNNR = WA_SALESPARTNERS-PARTN_NUMB.
      SALESHEADERIN-SALES_ORG = IT_KNVV-VKORG.
      SALESHEADERIN-DISTR_CHAN = IT_KNVV-VTWEG.
      SALESHEADERIN-DIVISION = IT_KNVV-SPART.
     ENDSELECT.
  ENDLOOP.
ENDIF.
**END MODIFICATION.
Save and generate the program.
Please let me know any comments on this.
Regards,
Srini

Similar Messages

  • Display issues in WebIC when i launch a Transaction from CRM

    Hello All,
    In Web IC 5.0 i am calling  BP transaction from CRM.
    The page displayed to me is SAP easy Access Menu instead of BP .
    I was told that our installation is using new SAP gui service( i am not very sure as i am a functional guy).
    any suggestions please?
    will for sure reward for the solution or even a tip which will lead to resolving the whole issue.
    Thanks
    Amar Reddy

    Hello Amar,
    I've it configured in CRM5.0 like this (see if it can help you - it's working fine for me):
    - My ITS link (at CRMS_IC_CROSS_SYS t-code) is defined like this (see note 917302):
    http://<host>:<port>/sap/bc/gui/sap/its/webgui/!?transaction=IC_LTX&okcode=ICEXECUTE
    - The most important steps of my entty at transaction launcher, is like this:
      Wizard step: Further Technical Details
      Tr. Launcher Type: M BOR Transaction
      Logical System: for CRM Server OWNLOGSYS
      BOR Object Type: BUS1006005 (CRM Business Partner)
      Method Name: Display
      Wizard step: Transaction Parameters
      Parameter: Object key
      Value: //currentCustomer/BP_NUMBER
    Best of lucks,
    Regards,
    Bruno

  • Is it possible to call std. SAP transaction from abap wd

    Is it possible to call std. SAP transaction from abap wd so that transaction appears and work as in gui? Without portal ofcourse.
    I know that using webgui and/or ITS it is possible so then it must be somehow possible....

    Hi,
    see Web Dynpro ABAP call transaction in the foreground and just carry out a simple search in this forum, then you'll find several threads with similar questions...
    Regards, Heidi

  • Calling r/3 function module from crm using rfc

    Dear SDN Members,
    I'm given a task to write a method on CRM side which sets the equipment status to "lost" in ABAON transaction on R/3 side.  There is a function module on r/3 side which is RFC enabled and it will set the stuatus to LOST when we call that from CRM.  This RFC fm is not available on CRM side, so I cannot used Pattern.  I'm very new to abap and when i've gone through abap help I got the syntax which i've write with destination parameter.  But I'm really not understanding how to pass Lost status to that fm.
    Here-with I put the coding so far i've done on crm side and also the rfc fm coding aswell on r/3 side.
    Should any one need for more info please do let me know to my yahoo ID:
    [email protected].  I would be pleased to provide you the same.
    The coding on crm side to call the r/3 fm through rfc follows here..
    method IF_EX_EXEC_METHODCALL_PPF~EXECUTE.
    21st November 2006
    Created by Venkata Sunder
    Method for
    Loss Disposal - ERP Equipment Status Update
    Damage Notifications
    Called by actions
    DATA: lv_guid_ref                      TYPE crmt_object_guid,
          lv_kind_ref                      TYPE crmt_object_kind.         "#EC NEEDED
    DATA: lv_preview                       TYPE char1.                    "#EC NEEDED
    DATA:
          lt_header_guid                   TYPE crmt_object_guid_tab,
          lt_orderadm_i_buffer             TYPE crmt_orderadm_i_wrkt,
          gs_orderadm_i_buffer             TYPE crmt_orderadm_i_wrk,
          lt_orderadm_i_db                 TYPE crmt_orderadm_i_wrkt,
          gs_orderadm_i_db                 TYPE crmt_orderadm_i_wrk,
          lt_customer_i_buffer             TYPE crmt_customer_i_wrkt,
          gs_customer_i_buffer             TYPE crmt_customer_i_wrk,
          lt_log_handle                    TYPE balloghndl,
          return                           TYPE bapiret2_t,
          gs_return                        TYPE bapiret2,
          ev_rfcdest                       TYPE rfcdest.
    get guid for referenced object
      CALL METHOD cl_hf_helper=>action_helper->get_ref_object
        EXPORTING
          io_appl_object = io_appl_object
          ip_action      = ip_action
          ii_container   = ii_container
        IMPORTING
          ev_guid_ref    = lv_guid_ref
          ev_kind_ref    = lv_kind_ref
          ev_preview     = lv_preview.
    current crm transaction is identified
      IF lv_guid_ref IS INITIAL.
        RAISE EXCEPTION TYPE cx_socm_condition_violated.
      ENDIF.
    Header GUID
      APPEND lv_guid_ref TO lt_header_guid.
    Read order details from buffer
      CALL FUNCTION 'CRM_ORDER_READ'
        EXPORTING
          it_header_guid       = lt_header_guid
        IMPORTING
          et_orderadm_i        = lt_orderadm_i_buffer
          et_customer_i        = lt_customer_i_buffer
        CHANGING
          cv_log_handle        = lt_log_handle
        EXCEPTIONS
          document_not_found   = 1
          error_occurred       = 2
          document_locked      = 3
          no_change_authority  = 4
          no_display_authority = 5
          no_change_allowed    = 6
          OTHERS               = 7.
      IF sy-subrc <> 0.
      ENDIF.
    call function  destination 'DERCLNT200'.
    (I'm not understanding how and wt to pass to this fm.)
    The fm 'Z_SET_EQUIPMENT_STATUS_RFC'  on r/3 side has the following coding..
    DATA:
        lv_objnr  LIKE equi-objnr,
        lv_estat  LIKE tj30-estat,
        wa_return LIKE bapiret2.
      LOOP AT equipment_status.
        SELECT SINGLE objnr
          FROM equi
          INTO lv_objnr
         WHERE equnr EQ equipment_status-equnr.
        SELECT estat
          FROM tj30t
          INTO lv_estat
         WHERE stsma = equipment_status-stat_profile
           AND txt04 = equipment_status-status
           AND spras = sy-langu.
        ENDSELECT.
        CALL FUNCTION 'STATUS_CHANGE_EXTERN'
          EXPORTING
          CHECK_ONLY                = ' '
            client                    = sy-mandt
            objnr                     = lv_objnr
            user_status               = lv_estat
          SET_INACT                 = ' '
          SET_CHGKZ                 =
          NO_CHECK                  = ' '
        IMPORTING
          STONR                     =
         EXCEPTIONS
           object_not_found          = 1
           status_inconsistent       = 2
           status_not_allowed        = 3
           OTHERS                    = 4.
        IF sy-subrc NE 0.
          MOVE:
            equipment_status-equnr       TO wa_return-message_v1,
             'E'                         TO wa_return-type,
             ' Equipment Update failed'  TO wa_return-message.
          APPEND wa_return TO return.
        ELSE.
          COMMIT WORK.
        ENDIF.
        CLEAR wa_return.
      ENDLOOP.
    ENDFUNCTION.
    Thanks in advance.
    Best Regards!
    Sam.

    Hi,
    You can write similar to the below.
    CALL FUNCTION 'CRM_ORDER_READ'
    <b>DESTINATION  'DERCLNT200'</b>
    EXPORTING
    it_header_guid = lt_header_guid
    IMPORTING
    et_orderadm_i = lt_orderadm_i_buffer
    et_customer_i = lt_customer_i_buffer
    CHANGING
    cv_log_handle = lt_log_handle
    EXCEPTIONS
    document_not_found = 1
    error_occurred = 2
    document_locked = 3
    no_change_authority = 4
    no_display_authority = 5
    no_change_allowed = 6
    OTHERS = 7.
    Thanks
    Ramakrishna

  • Unable to access ECC transactions from CRM using Transaction Launcher

    Hi Folks, we are trying to create a booking request using VA11 from portal. For this we have configured transaction launcher in CRM which will connect to ECC system from portal and VA11 screen will be launched. For this we have done the necessary configuration in transaction launcher (Including RFC destination and logical system) and this is working fine in Dev system but not in quality system. We are able to see SAP screen with toolbar Menu and System but not the entire transaction (refer image below). Our questions here are,
    1)     What user type has to be configured when connecting from CRM to ECC? (System, Communication data or any ohter)
    2)     If this has to work with user as Dialog, is there any supporting document from SAP saying this should be Dialog user?
    3)     Is there any other issue and need development specifically related BOR TSTC?
    Warm regards and thanks in advance for your time.
    Prasad

    Hello JC,
    Yes, it is possible . You have to create new work center link or Direct Link for the existing transaction launcher.
    Transaction Launcher
    Regards,
    Ashik

  • Middleware-Replicating service transaction from CRM to R/3

    Hi Experts
    We are using the transaction SRVO( Service Transaction) in CRM and it has to be replicated to the R/3.
    Can anybody tell me
    1.what is the load object for replicating this transaction ?
    2.Do i need to make any settings in R/3 for the replication ?
    3.Do i need to create one new transaction in R/3. If so where i have to create the transaction ?
    4. What would be the document type category of the replicated transaction ?
    Thanks in advance
    Nadh.
    Message was edited by:
            Nadh R

    Hi Nadh,
    Service transactions are replicated to R/3 as sales order, with sales items only.i.e. item category SRVS.
    You need to maintain the similar settings as you do while replicating a sales order from CRM to R/3.
    1. Create a order type in R/3 with the same name SRVO (Tcode: VOV8)
    2. Create the item categories with the same name as being determined in the service order (Tcode: VOV7) e.g. SRVS
    3. Mainatin item category determination, the way it is maintained in CRM (Tcode: VOV4)
    Other than this, assign an external number range to your order type SRVO which is same as the internal number range of CRM. Ensure that the customer master and product also exist in R/3.
    Before replicating a service order from CRM to R/3, Create a dummy sales order in R/3 (VA01) with order type SRVO (only for checking purpose)and your sales area,put the customer master and material and check if the transaction is complete. If not you will have to first remove the incomplete stuff, than only an order will get replicated error free.
    If you get incompletion items like Plant, shipping point, contact a SD consultant or post another thread.
    Regards,
    Shalini Chauhan

  • Call a Automatic Row Fetch from a Dynamic Action

    Hi,
    can I execute the Automatic Row Fetch from a dynamic action?
    I only found this post (Dynamic Actions to call Automatic Row Processing (DML) but the link where the solution is does not work :(
    Thanks,
    Edited by: Elena.mtc on 09-nov-2012 5:46

    Elena.mtc wrote:
    I forgot to say, for several reasons, I don't want to submit the page. So that's where I find the complexity in calling the ARf.
    Thanks.You cannot fire the ARF because it is designed to run when the page is rendered and it cannot be called as a standalone
    Create a dynamic action as follows to fetch the form detials
    Action: Execute PL/SQL Code
    PL/SQL Code:
    begin
      select ename, job, mgr, hiredate, sal
        into :P4_ENAME, :P4_JOB, :P4_MGR, :P4_HIREDATE, :P4_SAL
        from emp
       where empno = :P4_EMPNO;
    exception
      when others then
        null;
    end;
    Page Items to Submit: P4_EMPNO
    Page Items to Return: P4_ENAME,P4_JOB,P4_MGR,P4_HIREDATE,P4_SAL
    See this working example: http://apex.oracle.com/pls/apex/f?p=32940:4
    Login as test/test
    If you want to make it more dynamic you can query the APEX metadata to find the form items on your current page
    select * from apex_application_page_db_items
    where page_id =:APP_PAGE_ID
    and application_id = :APP_ID;

  • Calling a BAPI in R3 from CRM

    I called a BAPI to retrieve information in R3. However, I encountered a problem when our R3 is in the downtime period. It raises a short dump for my program. Is there any exception that I can catch to prevent or other solutions to prevent this short dump.

    Hi again,
    1.  I use the exception like the below code, right?
    Yes, use it like this only.
    2.
    Does my RFC function on R3 have these exceptions ?
    No, the RFC/BAPI does not have
    any such exceptions
    in the definition
    (u will see in SE37, that,
    the EXCEPTIONS tab is empty)
    3. BUT
      IT IS A FACILITY (AUTOMATIC FACILITY)
      PROVIDED BY R3
      TO DETECT SUCH COMMUNICATION PROBLEMS
    (The RFC FM/BAPI does not Take care of this by itself,
    bcos, if communication is not there,
    then the FM is not at all called in the target system)
    4.
    If not, how can the system know that when the system is cracked, it will raise the exception 2?
    Do not worry.
    If the target server is DOWN,
    then your program will not give run time error.
    However, u should chec sy-subrc
    to DETECT, some error has occured bcos
    of communication.
    5. To get a taste of it,
      just copy paste
    (Change the DESTINATION as per your requriement,
      give some wrong destination,
      give some right one
      etc)
    6.
    REPORT abc.
    DATA: msg_text(80) TYPE c.
    CALL FUNCTION 'RFC_PING' DESTINATION 'PRD'
    EXCEPTIONS
    communication_failure = 1 MESSAGE msg_text
    system_failure = 2 MESSAGE msg_text.
    IF sy-subrc <> 0.
    *----- MESSAGE
    message 'problem' type 'I'.
    ENDIF.
    regards,
    amit m.

  • How to create a savepoint in "BC4J transaction" from a struts Action

    Hello,
    I need to create a kind of savepoint in a transaction object in BC4J
    [    BC4JContext context = BC4JContext.getContext(request);
    context.getApplicationModule().getTransaction()."savepoint()" ]
    but it seems to me that it doesn't exist!!
    How can I do this.
    Thanks for help
    Mehdi

    Mehdi:
    BC4J does not support creation of savepoints in its transaction object. Savepoint support is quite tricky in that if we were to support it... If the transaction is rolled back to the SP, we would have to sync the cache back to the state when the SP was taken. And, this can be quite an expensive operation.
    Thanks.
    Sung

  • Calling a BI Publisher report from a dynamic action

    Greetings,
    I am working with Apex 4.1.0. I have created a BI Publisher query and layout and defined them in the Shared Components for my application. I also created a button defined as 'Download Printable Report Query'. When I press the button, everything works as expected. The page variable is passed to the report and the report prints as it should.
    My question is, can I run this report using a Dynamic Action instead of a button?
    Thanks
    Larry

    Hi,
    All that such a button does is submit the page and branch to page zero passing in the request field something like this:
    PRINT_REPORT=my_report
    So, to do the same in a dynamic action, use an "execute javascript code" action with something like this in it:
    location.href = 'f?p=&APP_ID.:0:&SESSION.:PRINT_REPORT=my_report';
    Luis

  • Call transaction from java iView (link)

    Hi,
    I would like to call SAP R/3 transaction from a java iView. I know how to do it using the UrlGenerator service. Is there any other way of doing that ? (better way)
      Thanks, Nir.

    You can Use EPCM.doNavigate() to call R3 Transaction or something like this:
    <hbj:link id="r3"
              text="R3 Transaction">
    <% r3.setOnClientClick("OpenWindow('/irj/servlet/prt/portal/prtroot/com.sap.portal.appintegrator.sap.Transaction?System=SAP_R3&TCode=SE80&GuiType=WinGui');return false;"); %>     
         </hbj:link>
    Regards,
    P.

  • Cross-System Copying of Transaction Types from CRM to ECC

    Hi Gurus,
    We have a requirement where we need to create followup transactions from CRM to ECC.
    eg:- We want to create a Sales Order in ECC as a followup transaction to a Service Ticket in the CRM.
    1) So please guide what needs to be done inside CRM.
    2) Is there some specific list of ECC transactions which could be created as followup to a CRM transaction or any ECC transaction can be created as followup.
    thanks for your help in advance.
    rgrds,
    Randhir

    Dear Randhir,
    You need to ensure that transaction type and item category of ECC and CRM are in Sync. Maintin followup of your transaction type.
    Thanks and regards
    Pankaj Kumar

  • Error in Sales Transaction in CRM 4.0 ?

    Hi All,
    We are working on CRM 4.0 i have created a sales transaction in WEB and  transaction will see in CRM and it is getting downloaded to R/3.
    But when I go back to CRM and check Sales Transaction it is showing me error as "An error has occured in the system XYZCLNT100 while copying the document".
    And i have been check in SMQ1&SMW01 ..in both T codes there is no error ..
    How can i figure out this problem ?
    can anyone help me in this regard?
    Thanks in advance.

    Please look into note 490932 for any issues of this nature
    This note gives an insight into possible error causes during the download or upload of sales transactions between CRM and R/3 and helps you correct these errors. This note is relevant for CRM Release3.0.
    It is also relevant for releases higher than 3.0.
    Other terms
    Download, initial, delta, delta download, SALESDOCUMENT, BUS_TRANS_MSG, event 00501014 501014
    Reason and Prerequisites
    The error causes may be included an incorrect configuration or missing system settings. The note only focuses on the sales transaction-specific configuration of the data exchange, but not on the settings for CRM Middleware in general or for other CRM Server applications.
    Solution
    In CRM Release 3.0, the following sales document items are transferred to the R/3 System:
    Sales items
    Customer return items
    Substitute delivery item
    Credit memo request items
    Debit memo request items
    As a leading system for the order entry, CRM only transfers data to the R/3 System if it is relevant for the logistical subsequent processing (delivery, billing). For this reason, requests for quotations and quotations themselves are not transferred to the R/3 back-end system with the standard delivery. With SAP note 455678, you can use a modification solution to also transfer quotations entered in CRM to the R/3 back-end system.
               Restrictions of note 455678:
    If you are using this solution, you cannot create any sales orders with reference to customer quotations in CRM.
    Mixed document processing (partially customer quotation items and partially sales order items) is not supported in the R/3 System and is therefore not possible during the quotation upload. The solution specified here only performs the upload for documents that consist of quotation items only.
    The quotation items must be defined in the Customizing for copying. This solution does not cover scenarios where the order is generated from the quotation as a result of a status change. Therefore, quotations entered in SAP Internet Sales (in particular) cannot be transferred to the R/3 System.
    Only completion rule 'A' ('Completed with one-time reference') is supported in the R/3 System.
    Sales transaction-specific settings for the data exchange
    1. Basic administrative settings for the replication of sales transactions
    a) The BDoc relevant for the distribution of all transaction types is called BUS_TRANSACTION_MESSAGE. In transaction SMOEAC, the relevant R/3 site must be subscribed to the corresponding publication 'All Business Transactions (MESG)' so that sales documents can be distributed to the R/3 back-end system. (To create a subscription, select the 'Subscription' object type in the 'Object type' selection list in transaction SMOEAC and then select the 'Object -> Create' function from the application menu or the corresponding symbol from the application function bar. The Subscription Wizard, which supports you during the creation of a new subscription, is started as a result.)
    b) Check to see whether the current CRM release has been maintained in the R/3 back-end system in the CRMPAROLTP table. This has to be taken into account in particular after an upgrade. You can maintain the CRMPAROLTP table in transaction SM30 in the R/3 back-end system:
                           Parameter name "CRM_RELEASE"
                           Param. value "30A"
    c) Event 00501014 must be activated in the R/3 back-end system so that the delta download of sales transactions from the R/3 back-end system to CRM works. The event must also be active for the upload of sales transactions from CRM to R/3.
    d) The event is activated automatically after a successful initial download. Call transaction R3AC4 ('Object Class Activation') in CRM and check whether the following entries exist:
                           Object class "BUSPROCESSND"
                           RFC destination <R/3 destination>
                           Select your entry and then choose 'Events by Object Class' (branch to the TBE31 table in the R/3 back-end system). The following entries must exist:
                           Event "00501014"
                           Obj. class "BUSPROCESSND"
                           Function "CRS_SALES_COLLECT_DATA"
                           If you do not see these entries, your initial download was not completed successfully.
    e) In transaction BD97 of your CRM system, the R/3 back-end system must have been maintained as the standard BAPI destination. Check the V_TBDLS view to see whether your R/3 back-end system has been defined as a logical system. A termination message in the SAPLCRM_ DISTRIBUTED_LOCKING program when you call a transaction in CRM indicates the missing destination assignment.
    Refer to notes 597812 and 674487. According to note 597812, the cross-system lock is processed using the RFC destination of the CRM middleware (SMOF_ERPSH table). However, the aforementioned entry in transaction BD97 for the Standard BAPI destination is still used to branch via the document flow to the R/3 system.
    f) In Release 3.1I, you can only have one entry for the RFCDEST field (RFC destination) in the CRMRFCPAR R/3 table.
    2. Definition of sales transaction-related Middleware parameters
    a) If you do not want a BOM explosion to occur for document items in CRM during the transfer to the R/3 back-end system, make the following settings in transaction R3AC6:
                           Key "R3A_SALES"
                           name "NOSTRUCTURE"
                           value "X"
                           This would make sense, for example, if you have already carried out a BOM explosion on the mobile client and if you do not want a new BOM explosion in the R/3 back-end system.
                           Make sure that the assigned item numbers in the sales transaction/sales document are set differently for main items and subitems so that no item numbers are assigned twice after the transfer and the BOM explosion in the R/3 System. The item numbers of the main items must be set identically in CRM and R/3. For more information, see note 496906.
                           Example:
                           CRM sales transaction
                           Pos.Nr.   Item No. Product
                           100 MAT1
                           200 MAT2
                           R/3 order
                           Pos.Nr.   Item No. Material
                           100 MAT1
                           101 Subitem1
                           102 Subitem2
                           103 Subitem3
                           104       ...
                           200 MAT2
                           You can maintain the item number assignment for the transaction types (CRM) or for the sales document types (R/3) in the Customizing.
    b) If a document is created in CRM and transferred to the R/3 back-end system, the warning messages of the transferred R/3 back-end document can also be displayed in the CRM document. In this way, you can recognize, for example, in the CRM document whether the transferred R/3 back-end document is incomplete and has to be postprocessed so that it can be further processed logistically. For this purpose, make the following settings in transaction R3AC6:
                           Key "R3A_SALES"
                           name "COLLECT_WARNINGS"
                           value "X"
    c) When you transfer a CRM document to R/3, you have the following control options with regard to pricing:
                           Key "R3A_SALES"
                           name "PRICINGTYPE"
                           value
                                             'B' = new pricing
                                             or
                                             'C' = copy manual pricecomponents,
                                             redetermine others
                                             or
                                             'G' = Copy price components unchanged,
                                             redetermine taxes (this value is
                                             delivered as a default setting)
    3. Definition of the R/3 dummy division in CRM
                  Note that no division exists in CRM in transactions at header level. In the R/3 order, however, the header division is a mandatory field. Thus, the R/3 dummy division must be maintained in CRM Customizing so that it can be determined during the transfer of a document. Otherwise, the order cannot be transferred to the R/3 back-end system.
                  Customizing path: 'Customer Relationship Management -> Master Data -> Organizational Management -> Division Settings -> Define Use of Division and Dummy Division'.
                  The use of several dummy divisions can be programmed in the CRM_DATAEXCH_AFTER_BAPI_FILL BAdI in the CRM_R3_SALESDOCUMENT_UPLOAD function module.
    Hints for the initial download
    Filter settings
    In transaction R3AC1, you set the filters for the initial/delta download of business objects. In the SALESDOCUMENT business object, you can set the filters for the order download from R/3 to CRM. For successful execution of the initial download, you have to set at least the VBAK-ERDAT filter criterion (document entry date) for the SALESDOCUMENT business object. This filter setting is required for the successful completion of order downloads.
    After you have completed these filter settings, you have to transfer these settings to the R/3 System. Select 'Filter sync.(R/3)'.
    Choose your R/3 System as a source site and check whether you are using the VBAK-ERDAT filter criterion:
    Example:
    Table/Structure Field OP Low
    VBAK ERDAT Greater than <Date>, for example, 20020128
    The date must be entered in the same form as it is stored on the database (YYYYMMDD)!
    The following filter criteria are also available:
    VBAK-AUART Sales document type
    VBAK-SPART Division
    VBAK-VBTYP Sales document category
    VBAK-VKORG Sales organization
    VBAK-VTWEG Distribution channel
    We recommend that you also use sales document numbers (VBAK-VBELN) as a further filter criterion. With this criterion, you can carry out an initial download according to sales document number intervals. The advantage of this filter criterion is that if your initial download terminates due to an error, you can restart the download after correcting the error as of the sales document number for which the error occurred. In this way you avoid having to restart a download for sales documents that have already been replicated.
    Example:
    Table/Structure   Field          OP            Low           High
    VBAK             VBELN          zwisch.        0005000000    0005099999
    Enter the field contents in the same way as it is stored on the R/3 database (leading zeros).
    If you want to use this filter criterion, go to transaction SM30 and make the following entry in the SMOFFILFLD table:
    Object name Table/Structure name Field name
    SALESDOCUMENT VBAK VBELN
    Note 497327 deals with possible filter-specific problems during the delta download that can occur due to missing R/3 back-end entries.
    Block size
    In this context, the block size specifies how many documents are selected in a transaction and transferred to CRM as a BDoc. The block size is defined on the system. The default value may have to be set to a lower value if problems occur (for example, memory overflow during the selection in the R/3 System). If the initial download terminates, check the dump log in the R/3 System (transaction ST22). The TIME_OUT or STORAGE_FREE_FAILED runtime errors indicate that the block size is too large. In this case, reduce the block size and restart the download.  In addition, you can clarify with your Basis Administration whether the rdisp/max_wprun_time kernel parameter is large enough (this avoids a TIME_OUT error).
    Basically, you should only download a few documents during the first download to check whether the system settings are correct. In this way, you can identify possible Customizing errors and correct them before the large load.
    Queue processing during the initial download
    In the case of very large transfer data sets, it may make sense to process the initial download in parallel within one object (object-internal parallel initial download) to complete the initial data transfer faster. Note 350176 describes the corresponding procedure.
    Queue processing during the upload/delta download
    Queues in CRM are defined in the SMOFQFIND table (for example, from CRM to CDB or from CRM to R/3).
    For the BUS_TRANS_MSG BDoc type, the default setting of the queue processing is that all orders for a customer are processed in one queue.
    As an alternative, you can set the queue processing in such a way that each order is processed in a separate queue. As a result, an individual order can no longer block the processing of other orders if an upload problem has occurred.
    If you prefer this queue processing, go to transaction SM30 and make the following change in the SMOFQFIND table:
    Select the BUS_TRANS_MSG BDoc type and change the segment field name from QUEUE_NAME to OBJECT_ID.
    In the same way, you can also set the queues for the delta download in the R/3 back-end system in such a way that each order is processed in a separate queue. If you prefer this queue processing, go to transaction SE16 in the R/3 back-end system and make the following change in the CRMQNAMES table:
    Select the entry for the SALESDOCUMENT object and change the BAPIFLD field from SOLD_TO to DOC_NUMBER (with BAPIOFFSET=3 and BAPIFLDLEN=10). Leave the second entry for the SALESDOCUMENT object (with QOBJPART=SAL_ERR) unchanged.
    In transaction SMQR, check to see whether the queues have been registered or check transaction SMQS to see whether the destinations have been registered because otherwise, the queues are not processed automatically, and this can lead to queue overloads.
    Check the queues regularly.
    Composite SAP Note 504090 covers all notes that solve known problems in the transfer as of Support Package 06 (SP06).
    Document cannot be maintained in online mode
    If you cannot maintain a document, this can have various reasons. Basically, a sales document entered in CRM is locked until the R/3 System has confirmed the update of the order successfully.
    If message CRM_ORDER019 "Document will be distributed - changes are not possible" occurs in CRM, check the queues (transaction SMQ1 and SMQ2). To analyze the data exchange from CRM to R/3, refer to note 431345.
    If message CRM_ORDER013 "Transaction &1 is being processed by user &2" occurs in CRM or if message V1042 "Sales document &1 is currently being processed (by user &2)" occurs in R/3, the document is processed in the other system respectively. To avoid inconsistencies, a cross-system lock is set during the processing of a replicated transaction so that the document cannot be processed simultaneously in two systems.
    Other notes
    Only error-free sales documents are distributed to the R/3 System. If, in R/3, you change a sales document that was originally created in CRM, these changes are not transferred to CRM. That is, you should always make the changes in the original CRM document to ensure the consistency of the document data in both systems. Sales documents entered in the R/3 System are transferred to CRM, but they are locked for processing there. Changes to a document created in R/3 are also transferred to CRM.
    In your settings for the data exchange, also make sure that the document number ranges correspond in both systems. For the successful sales document exchange between the systems, the transaction types and item categories have to be created in exactly the same way in both systems. If these objects do not exist in one system, you have to create them manually.
    In transaction CRMM_BUPA_MAP, you can determine into which R/3 customer number the CRM business partner is converted and vice versa. If you do not receive a conversion for the specified business partner here, this indicates that a transfer problem has not occurred in the sales document but during the business partner download.
    Header Data
    Release Status: Released for Customer
    Released on: 02.05.2006  15:04:13
    Priority: Recommendations/additional info
    Category: Consulting
    Primary Component: CRM-BTX-BF-IF R/3 Interface for Business Transactions

  • Data Migration from CRM 5.0 to CRM 7.0

    Hi Friends,
    We are into a re-implementation on CRM 7.0. The old system was on CRM 5.0.
    Since this is not an upgrade, the data will not copied over from the old system into the new system.
    So, now I would like to know how to migrate data (master/transaction) from CRM 5.0 into 7.0.
    I have read that we can make use of BAPI/LSMW/IDOC/XIF adapters to push info into CRM.
    But, the customer wants all the historical data to be in the new system.
    I think master data can be handled....  but how to migrate the transaction data?.... i mean the number ranges/document flow.. and other relationships.. how can we maintain the same links into the new system?
    If it was a migration from legacy system into the SAP CRM, we could have gone ahead with new number ranges etc... but this migration is from SAP to SAP.
    Also, we will have ECC6.0 connected to CRM 7.0. ANy additional things to be taken care of when the connection is live in DEV/QA/PROd instances?
    Any pointers to this ?

    Hi Gary,
    As per my understanding, your data migration involves quite complex scenarios covering the CRM and ERP box. As the customer needs the old data to be present in the new implementation, the old data needs to be migrated from the CRM 5.0 to CRM 7.0. For the migration to happen, you need to setup the customization (like the number ranges,Condition Data Tables, etc ). Then only you can proceed with the data migration. Also, you need a proper backup plan as this involves proper backup of the data.
    Once the setup is complete, you need to configure the ECC6.0 with the CRM7.0 system. Here also, you need to do a lot of settings and performing the Initial loading of the Adapter Objects. But before you proceed with the entire operation, the entire system landscape must be properly defined with appropriate settings.
    My recomendation is to take help of SAP Consultants and data migration experts as they are the best persons to guide you on this. Also it would be great if you can go through the SAP Best Practices documents which are best repository documents to guide you on this.
    Have a look on this link for an overview of the CRM Data Migration
    http://help.sap.com/saphelp_crm60/helpdata/en/1a/023d63b8387c4a8dfea6592f3a23a7/frameset.htm
    Hope this helps.
    Thanks,
    Samantak.

  • Launching GUI transactions from BSP

    Dear Gurus,
    I have requirement to launch ECC Transaction from CRM Web Client UI. Now, i dont want ITS based version of ECC version but WIn GUI version. I found Wiki link below which suggests the steps however it does not work.
    I have exactly same requirement in CRM 7.0 (Support Pack Level 5) and i implemented same steps as desribed in the article. However I am facing issues tha It first asks for the right applicaiton to open object, i choose SAP Applicaiton exe file but later it gives error -
    Erro Statusing "C:\Users\windowsloginid\App Data\Local\Microsoft\Windows\Temporary Internet Files\Low\Content.IE5\2DG74TFC\win_gui[1].sap'(rc=-2)"
    Here win_gui is the name of .HTM page with flow logic. I copied all the code in Page Layout and i am also not able to debug this as breakpoint does not hit.
    Please suggest as this is something really urgnet for me.
    Thank you very much in advance!!!
    http://wiki.sdn.sap.com/wiki/display/CRM/CRMWebUI-LaunchingtransactionsinGUIforWindows

    Hello,
    I am able to launch GUI for Windows though SAPshortcut method. I am also able to pass the Tx type and sales area on VA21 screen and skipping the first screen. However Now I am facing issue to pass customer number on VA21. I am using KUAGV-KUNNR field to populate customer but it never works. KUAGV-KUNNR buffer is emplty even when i am passing this through shortcut.
    Please suggest.

Maybe you are looking for

  • Looking for a DVD Player with same functionality as CyberPro Power DVD

    I have just converted from PC to Mac, and love it, but have a special requirement and need some guidance. I work in TV and need to be able to preview footage shot on site that has been converted onto a DVD. On my old PC using Power DVD, after hitting

  • Discussion Board item not displaying in web part page

    Hi, I am using SharePoint 2013 on-premise. I created new Discussion Board name as "Discuss" and displayed in Management View as shown below. The list item showing properly without any issues. But when i am adding this web-part into web part page with

  • Keyboard/mouse Focus 'Stuck' using reports and split screen

    With the screen split and arranged so that I have a report open on one side and a worksheet on the other, the keyboard/mouse focus gets 'stuck' on the report pane. using 1.5.1, xp pro/sp2 9ir2

  • Horizontal scrollbar mystery.

    In our application we use several interactive reports and we have an issue in some of them when using IE (horizontal scrollbar disappears). I have spent last few days trying to figure out what is the problem without any luck. Here are my discoveries:

  • Need a little assistance with Macbook Pro Battery....

    I feel my battery has been draining much faster than normal lately. Also, sometimes the computer will get a little noisy as if it's overheating and get hot too. Never used to do this. I read on a previous thread about the cycle count....if someone co