Update data contract in CRM

Hi!!!
I'm try to update the data of crm contract from sap isu contract, but isn't works fine, the status and the description of CRM contract for example is not updated. The Bdoc SI_CONTRACT is generated correctly, and the Badi's DOWNLOAD on ISU and CRM are enhanced with the fields, but the info is not updated in crm when initial load is launched or when a move-out it's do it in isu.
Can you help me please?
Regards,
David

hi Umesh,
when you say you have replicated materials from R/3 to CRM 4.0, what all steps you have carried out.
CRM middleware is used to replicate products from R/3 to CRM, i am not sure what procedure you are following when you say you are updating materials using flat files.
pls explain your scenario in more details.
RH

Similar Messages

  • Web dynpro java application to update data in CRM system

    Hello All,
    I need to develop a web dynpro java application which will read and update data in CRM. How can I do this?
    Thanks and Regards,
    Deepti

    First develop RFC / BAPIs to update and read in CRM system.  Call those BAPIs from Web Dynpro Java application using AdaptiveRFC model.
    Cheers,
    ~kranthi

  • How to read XML file and update the data in MS CRM 2011?

    Hi Folks,
    Can anyone please help me finding some references to read XML files and push the data to MS CRM 2011 preferably by using a console application.
    Please let me know if any ways of handling it in simple ways.
    Thanks,
    Sri

    HI,
    How to read XML file:
    https://social.msdn.microsoft.com/Forums/en-US/5dd7261b-86c4-4ca8-ba87-95196ef3ba50/need-to-display-xml-file-in-textboxes-edit-the-data-and-save-the-new-xml-file?forum=csharpgeneral
    How to work with CRM:
    ClientCredentials credentials = new ClientCredentials();
    credentials.Windows.ClientCredential = new System.Net.NetworkCredential("USER", "Password", "Domain");
    Uri uri = new Uri("http://server/Organization/XRMServices/2011/Organization.svc");
    OrganizationServiceProxy proxy = new OrganizationServiceProxy(uri, null, credentials, null);
    proxy.ServiceConfiguration.CurrentServiceEndpoint.Behaviors.Add(new ProxyTypesBehavior());
    IOrganizationService service = (IOrganizationService)proxy;
    //using "service" you can create, update and retrieve entities.
    More information here about service functions:
    https://msdn.microsoft.com/en-us/library/gg328198.aspx

  • To update service contract Item data

    Hi Experts,
    I have to create the new Item number in the customer contract, for that I am using the FM 'BAPI_CUSTOMERCONTRACT_CHANGE'.
    But this fm is not sutable for my requirment.
    Except the above function module is there any available to update the service contract.
    Could any one please suggest me.
    Thnx,
    Jay.

    Hi Edit,
    Thanks for the reply.
    Yes, i wanted to do status update in bulk for service contracts in CRM system.
    Guess there are no FM to update status of service contracts in bulk.
    I used FM CRM_ORDER_CHANGE_STATUS in loop to update the status.
    The performance is little bad. Let me know if there is an alternative.
    Thanks in advance.
    Regards
    Shanthi

  • Updating service contract line item's end date

    Hi,
    I am trying to extend the end date on a line item in a service contract via the DI and it is giving me the following error:  'Item's end date cannot be greater than contract's end date' and I don't understand why.
    I retrieve the service contract object, change the header end date then find the line item  I need, update it with the same end date and then issue call the SC update method.  Here's my code:
        Try
                 SC.Lines.SetCurrentLine(SerialNbrLineNumber)
                 NewStartDate = LineEndDate
                 'calculate new end date & extend service contract
                 NewEndDate = NewStartDate.AddYears(Warranty_Duration)
                'never make the contract end date earlier than it had been
                SC.EndDate = IIf(NewEndDate > SC.EndDate, _
                                                             NewEndDate, _
                                                             SC.EndDate)
                'update service contract detail with new end date
                 If NewEndDate > LineEndDate Then
                     SC.Lines.EndDate = NewEndDate
                 End If
                 If SC.Update() <> 0 Then
                    rs.RtnCode = -1
                    rs.RtnMessage = B1Comp.GetLastErrorDescription()
                 End If
    I did see something in the di help that mentions that B1 calcs an end date based on the "duration of coverage" field but I don't think I could use that because I might only change the end date for one line item. 
    BTW I can do this in the application with no problem.
    Thanks in advance for any assistance.

    Known B1 bug.  Should have checked support first.  More info on note # 1026540

  • Material Updates from ECC to CRM

    Hi Experts,
    We recently had application of Enhancement Pack4 on our ECC system. After the application EHP4 pack, we have started getting some material updates from ECC to CRM. And those updates are failing in CRM as we do not have any material set up in CRM. Due to these failed updates, lot of dumps are getting created in CRM. So can u please advice where/how in ECC i can restrict these updates to go to CRM. Any help in this will be highly appreciable.
    Regards
    Charitha

    Hello Charitha,
    In txnn:R3AC4 of CRM , check INACTIVE flag for object MATERIAL (and any other objects whose data is not required in CRM)
    for your RFC destination (ECC).
    This would prevent any automatic data flow for this object from R/3 to CRM.
    Hope this helps!
    Best Regards,
    Shanthala Kudva.

  • Replication of Sales contract from CRM to R/3

    Hi Experts,
    I have a requirement of replicating the created sales contract in CRM to the R/3 system through Middleware in 2007. In the standard way replication of R/3 contract to CRM is only possible. Here the BDOC used in BUS_TRANSACTION_MESSAGE and there is no mapping modules present for CRM to R/3.
    Is it wise to create a custom adapter and use the fm CRM_BUS_MESSAGE_R3_UPLOAD_SRV as the mapping module and enhance the BADI CRM_BUS20001_R3A?
    Please throw me some light on how to proceed with the development.
    Yours answers are greately appreciated!!
    Regards,
    Suthagar.

    Hi Kai,
    Its the normal sales contract with the Pricing aggreements. In SAP help, I found a note saying Note that you cannot download CRM contracts to the SAP ECC system
    please find the link [http://help.sap.com/saphelp_crm60/helpdata/en/7a/e486398dcfd74fe10000000a11402f/frameset.htm], the note can be found in Data exchange for sales contract under the Sales contracts.
    Also on the transaction R3AC1 with the sales contract type, the mapping from CRM to R/3 is blank.
    If it is possbile to replicate from CRM to R/3, please let me know the steps to acheive it.
    Thanks for your help.
    Regards,
    Suthagar.

  • Update data automatically in sql server 2005 based on condition proplem

    Hi guys i have problem I have two table
    First one is
    Second One is Vacation
    as relation one to many (vacation has foreign key of Contract No OF Table Contract) 
    what i need is to update Contract table with field status =Finish where start vacation date >end contract Date
    How i do that in sql server 2005 to make update automatically
    Ex
    contract table
    status             nvarchar(20)
    end contract    date time
    vacation table
    start vacation date time
    end vacation date time
    start vacation date is 23/10/2014
    and End
    is 26/10/2014
    Now not update status in contract table to finish because vacation date start is less from end contract
    but when date today is 27/10/2014 update contract table field status to finish
    automatically with sql server 2005 
    How i do that condition to make update to data automatically based on changing on date
    Update statement i need is 
    update Contract set status = finish where start vacation>end contract
    but problem how i write this statement to update data automatically based on date today

    Please post DDL, so that people do not have to guess what the keys, constraints, Declarative Referential Integrity, data types, etc. in your schema are. Learn how to follow ISO-11179 data element naming conventions and formatting rules. Temporal data should
    use ISO-8601 formats. You failed again. Code should be in Standard SQL as much as possible and not local dialect. 
    This is minimal polite behavior on SQL forums. Now we have to write the DDL that you did not bother with! What you did post was wrong! There is no key or constraints. There is no generic “status” in RDBMS; a "<something in particular>_status"
    is a state of being, so it needs a temporal duration. The correct idiom for this data model is: 
    CREATE TABLE Vacations
    (vacation_contract CHAR(15) NOT NULL PRIMARY KEY,
     vacation_start_date DATE NOT NULL,
     vacation_end_date DATE,
     CHECK(vacation_start_date < vacation_end_date),
    Oh, a field is nothing like a column. You need to read a basic SQL or RDBMS book; you do not know the basics. 
    --CELKO-- Books in Celko Series for Morgan-Kaufmann Publishing: Analytics and OLAP in SQL / Data and Databases: Concepts in Practice Data / Measurements and Standards in SQL SQL for Smarties / SQL Programming Style / SQL Puzzles and Answers / Thinking
    in Sets / Trees and Hierarchies in SQL

  • How to create Lease Contract in CRM using CRMXIF_ORDER_SAVE

    Hi All,
    I need to upload CRM Lease contract from Legacy data in a flat file. I have created a test program where I call function module "CRMXIF_ORDER_SAVE".
    When I run this FM, it is creating a BDoc of type BUS_TRANS_MSG and I can see them in Txn SMW01
    Couls anyone please tell me:
    1. What next steps I need to follow to create a Lease Contract. Do I need to do some setting for BDoc consumoption.
    2. Is there any other alternative way like BAPI etc to create lease contract in CRM.
    <b>Reward point is gurranted for REAL HELPFUL answers.</b>
    -Regards
    Ashim
    I am also attching the code of my test program
    *& Report  YTESTCRMXIF_ORDER_SAVE
    REPORT  YTESTCRMXIF_ORDER_SAVE.
    DATA WA_CRMXIF_BUSTRANS_T TYPE CRMXIF_BUSTRANS_T.
    DATA WA_CRMXIF_BUSTRANS TYPE CRMXIF_BUSTRANS.
    DATA WA_CRMXIF_ORGMAN   TYPE CRMXIF_ORGMAN.
    DATA: WA_CRMXIF_STATUS   TYPE CRMXIF_STATUS,
          ITAB_STATUS LIKE TABLE OF WA_CRMXIF_STATUS.
    DATA:  WA_BAPIRETM TYPE BAPIRETM,
           WA_BAPIRETI TYPE BAPIRETI .
    DATA: WA_BAPIRETC TYPE BAPIRETC.
    DATA: WA_PARTNER TYPE CRMXIF_PARTNER,
          ITAB_PARTNER LIKE TABLE OF WA_PARTNER.
    DATA: BEGIN OF WA_TEMP_PARTNER,
          PARTNER_NO(10) TYPE C,
          PARTNER_FCT(8) TYPE C,
          PARTNER_PFT(4)    TYPE C,
          PFT_SUBTYPE(4) TYPE C,
          END OF WA_TEMP_PARTNER,
          ITAB LIKE TABLE OF WA_TEMP_PARTNER.
                  FILLING THE STRUCTURE OF THE PARTNER                    *
               WA_TEMP_PARTNER-PARTNER_NO = '0010000002'. WA_TEMP_PARTNER-PARTNER_FCT = '00000035'.
          WA_TEMP_PARTNER-PARTNER_PFT = '0012'.       WA_TEMP_PARTNER-PFT_SUBTYPE = 'CRM '.
          APPEND WA_TEMP_PARTNER TO ITAB.
          WA_TEMP_PARTNER-PARTNER_NO = '0010000002'. WA_TEMP_PARTNER-PARTNER_FCT = 'Z0000002'.
          WA_TEMP_PARTNER-PARTNER_PFT = '0029'.       WA_TEMP_PARTNER-PFT_SUBTYPE = 'CRM '.
          APPEND WA_TEMP_PARTNER TO ITAB.
          LOOP AT ITAB INTO WA_TEMP_PARTNER.
          MOVE-CORRESPONDING WA_TEMP_PARTNER TO  WA_PARTNER.
          APPEND WA_PARTNER TO ITAB_PARTNER.
          ENDLOOP.
           END    FILLING THE STRUCTURE OF THE PARTNER                    *
                  FILLING THE STRUCTURE OF THE ORDER HEADER               *
    WA_CRMXIF_BUSTRANS-OBJECT_TASK    = 'I'.
    WA_CRMXIF_BUSTRANS-PROCESS_TYPE   = 'LEAS'.
    WA_CRMXIF_BUSTRANS-OBJECT_TYPE    = 'BUS2000114'.
    WA_CRMXIF_BUSTRANS-POSTING_DATE   =  20061026.
    WA_CRMXIF_BUSTRANS-DESCR_LANGUAGE = 'E'.
    WA_CRMXIF_BUSTRANS-CREATED_AT     = 20061026203200.
    WA_CRMXIF_BUSTRANS-CREATED_BY     = 'DUTTAK'.
    WA_CRMXIF_BUSTRANS-CALC_SCHEMA    = 'Z00050'.
    WA_CRMXIF_BUSTRANS-SCENARIO       = 'A'.
    WA_CRMXIF_BUSTRANS-LOGICAL_SYSTEM = 'CDTCLN400'.
    WA_CRMXIF_BUSTRANS-CRM_RELEASE    = 'BBPCRM 500'.
    WA_CRMXIF_BUSTRANS-CLIENT         =  400.
           END FILLING THE STRUCTURE OF THE ORDER HEADER                  *
                  FILLING THE STRUCTURE OF THE ORGMAN                     *
    WA_CRMXIF_ORGMAN-SALES_ORG      = 'O 50000000'.
    WA_CRMXIF_ORGMAN-SALES_ORG_RESP = 'O 50000000'.
    WA_CRMXIF_ORGMAN-DIS_CHANNEL    = '10'.
    WA_CRMXIF_ORGMAN-DIVISION       = '20'.
           END FILLING THE STRUCTURE OF THE ORGMAN                        *
                  FILLING THE STRUCTURE OF STATUS                         *
    WA_CRMXIF_STATUS-STATUS = 'I1282'.
    WA_CRMXIF_STATUS-ACTIVE = 'X'.
    WA_CRMXIF_STATUS-TXT04  = 'CONH'.
    WA_CRMXIF_STATUS-TXT30  = 'Contract Header'.
    APPEND WA_CRMXIF_STATUS TO ITAB_STATUS.
           END FILLING THE STRUCTURE OF THE STATUS                        *
    MOVE WA_CRMXIF_ORGMAN TO WA_CRMXIF_BUSTRANS-ORGDATA-DATA.
    MOVE ITAB_STATUS TO WA_CRMXIF_BUSTRANS-STATUS-DATA.
    MOVE ITAB_PARTNER TO WA_CRMXIF_BUSTRANS-PARTNER-DATA.
    APPEND WA_CRMXIF_BUSTRANS TO WA_CRMXIF_BUSTRANS_T.
    *LOOP AT WA_CRMXIF_BUSTRANS_T INTO WA_CRMXIF_BUSTRANS.
    *LOOP AT WA_CRMXIF_BUSTRANS-PARTNER-DATA INTO WA_PARTNER.
    WRITE: / WA_PARTNER-PARTNER_NO,WA_PARTNER-PARTNER_PFT,WA_PARTNER-PARTNER_FCT.
    ENDLOOP.
    *ENDLOOP.
    CALL FUNCTION 'CRMXIF_ORDER_SAVE'
    EXPORTING DATA = WA_CRMXIF_BUSTRANS_T
    IMPORTING RETURN = WA_BAPIRETM.
    IF SY-SUBRC = 0.
    WRITE 'CONTRACT CREATED SUCCESSFULLY'.
    ELSE.
    WRITE: 'SY-SUBRC =', SY-SUBRC.
    ENDIF.
    LOOP AT WA_BAPIRETM INTO WA_BAPIRETI.
    LOOP AT WA_BAPIRETI-OBJECT_MSG INTO WA_BAPIRETC.
    WRITE: / WA_BAPIRETC-MESSAGE , WA_BAPIRETC-TYPE,WA_BAPIRETC-NUMBER.
    WRITE: / WA_BAPIRETC-MESSAGE_V1,WA_BAPIRETC-MESSAGE_V2.
    ENDLOOP.
    ENDLOOP.

    hi, it looks the crm pricing configuration doesn't suitable to the order data you inbounding.
    You can try to input a order according to your inbound data in SAP GUI or WEB UI order screen,  to check if the same error will also appear like IDOC inbound.  If so, then the configuration is in problem.  
    You can check the pricing related configure,  like pricing procedure,  procedure assign,  pricing condition record ,types,  and IPC if it is activated or not.
    If not,  you can check the data your filled in idoc,  maybe it is a data problem.

  • FM to update Service contract in bulk.

    Hi,
    I would like to know if there is any FM / BAPI to update the status of service contract in bulk.
    Thanks in advance.
    Regards
    Shanthi
    Edited by: shanthi v on Jul 27, 2010 9:35 AM

    Hi Edit,
    Thanks for the reply.
    Yes, i wanted to do status update in bulk for service contracts in CRM system.
    Guess there are no FM to update status of service contracts in bulk.
    I used FM CRM_ORDER_CHANGE_STATUS in loop to update the status.
    The performance is little bad. Let me know if there is an alternative.
    Thanks in advance.
    Regards
    Shanthi

  • Status profile for utility contracts in CRM

    Hi,
    Right now the status of the utility contracts created in CRM webclient remains unchanged to status 'Open'.
    Create a contract - 'Open'
    End a contract -     'Open'
    Does anyone know if we need to allocate a status profile to the transaction type/item category in CRM? And if so which status profile should we use?
    We are using IS-U specific transaction type ISUL, with the business transaction category 'BUS2000249' for the utility contract in CRM.  Is there any utility specific status profile that we should use? or is this field supposed to be empty?
    Kind Regards
    Saima

    Hello Bill,
    Thanks for your reply. Are your contract status being changed although you havn't allocated a status profile to the transaction type or item category?
    In your reply you said that our status issues might come from the transaction type customizing. But the only place I can see that I can customize anything regarding the status is the status field? Our contract is being replicated fine... no problems there, the only issue is that the status of the contract is not being updated....
    Kind regards
    Saima

  • How do you update installed base from crm Product Hierarcy

    does anyone know the steps to update an ibase from crm product hierarchy?   Can the data from the product Hierarchy be replicated to the install base via config?
    any help would be appreciated????

    Hi Shannon,
    no, it's a free update. The procedure goes like this:
    1. BACKUP!!!
    2. Unplug all peripherals but your original Apple keyboard and mouse
    3. Repair permissions before and after an update! (click the link and read it!)
    4. Download and apply the Mac OS X Update 10.3.9 (Combo)
    5. After the restart repair permissions again.
    Do NOT use the computer during the update!!!
    [ Edited by host. Please see the terms of use 4.2.2, http://discussions.apple.com/help.jspa#terms ]

  • Conversion of legacy contracts into CRM contracts

    I need to convert legacy contracts into CRM contracts.
    The transaction is CRMD_BUS2000112.  Has any does this and how did you do it?  Is there a bapi available?  What is the bapi?  Did you use functions? It appears that LSMW and BDCs can't be used to accomplish the load. 
    Any direction would be greatly appreciated.
    glenn

    Hi Glenn,
    Try this. It may help you.
    Run the IMG (SPRO) then click on Basis -> Initial Data Transfer -> Tools for Initial Data Transfer (SXDA)
    Hope this helps.
    Colin.

  • Can not insert/update data from table which is created from view

    Hi all
    I'm using Oracle database 11g
    I've created table from view as the following command:
    Create table table_new as select * from View_Old
    I can insert/update data into table_new by command line.
    But I can not Insert/update data of table_new by SI Oject Browser tool or Oracle SQL Developer tool .(read only)
    Anybody tell me, what's happend? cause?
    Thankyou
    thiensu
    Edited by: user8248216 on May 5, 2011 8:54 PM
    Edited by: user8248216 on May 5, 2011 8:55 PM

    I can insert/update data into table_new by command line.
    But I can not Insert/update data of table_new by SI Oject Browser tool or Oracle SQL Developer tool .(read only)so what is wrong with the GUI tools & why posting to DATABASE forum when that works OK?

  • Error while updating data from PSA to ODS

    Hi Sap Gurus,
    I am facing the error while updating data from PSA to ODS in BI 7.0
    The exact error message is:
    The argument 'TBD' cannot be interpreted as a number
    The error was triggered at the following point in the program:
    GP44QSI5RV9ZA5X0NX0YMTP1FRJ 5212
    Please suggest how to proceed on this issue.
    Points will be awarded.

    Hi ,
    Try to simulate the process.That can give you exact error location.
    It seems like while updating few records may be no in the format of the field in which it is updated.
    Regards
    Rahul Bindroo

Maybe you are looking for