Attaching a commercial activity with a contract.

Hi,
I have a requirement to remove a commercial activity from an existing contract in CRM and re-tag with a new contract.  Is the function module CRM_ORDER_MAINTAIN is going to help in this purpose? If it does, can I have some clue like which parameter to use for this?

Hi Kushal,
I hope while you are deleting the link , you might be using the same details from CRM_ORDER_READ for it_doc_link including relation_id , only modification would be field BREL_MODE = "D" , which is for deletion.
While assigning new link, don't copy parameters from CRM_ORDER_READ , all you need to fill is
objkey_ a -  Fill preceding document guid  ( Activity)
objkey_b  - fill Succeeding document guid   ( New Contract guid)
brel_mode - 'A'  Create Mode
brel_kind - 'A'
reltype - ' VONA'.
vona_kind - 'A'
Do not fill relation id , as it will create a new relation id if you re trying to create a link between two documents . for update of existing link you need to provide the relation id ( as in case of deletion).
Regards,
Nithish

Similar Messages

  • Web Service 2.0 add Activity with attachment

    I have a requirement, use Java code to add an activity with attachment using the wsdl of web service 2.0.
    However, I can't add attachment successfully.
    without any attachment, the activity can be added successfully in CRMOD.
    my soap msg without attachment is like "<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:ns=\"urn:crmondemand/ws/ecbs/activity/10/2004\" xmlns:data=\"urn:/crmondemand/xml/Activity/Data\"><soapenv:Header /><soapenv:Body><ns:ActivityInsert_Input><data:ListOfActivity><data:Activity><data:ServiceRequestNumber>85-3143833</data:ServiceRequestNumber><data:Description>at-test18</data:Description><data:Subject>AT18</data:Subject><data:Activity>Task</data:Activity></data:Activity></data:ListOfActivity></ns:ActivityInsert_Input></soapenv:Body></soapenv:Envelope>";
    in this case,I can found the new activity AT18 added in CRMOD.
    But, if I add attachment in my soap msg, such as
    "<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:ns=\"urn:crmondemand/ws/ecbs/activity/10/2004\" xmlns:data=\"urn:/crmondemand/xml/Activity/Data\"><soapenv:Header /><soapenv:Body><ns:ActivityInsert_Input><data:ListOfActivity><data:Activity><data:ServiceRequestNumber>85-3143833</data:ServiceRequestNumber><data:Description>at-test18</data:Description><data:Subject>AT18</data:Subject><data:Activity>Task</data:Activity><data:ListOfAttachment><data:Attachment><data:DisplayFileName>attachment.txt</data:DisplayFileName><data:FileNameOrURL>attachment</data:FileNameOrURL><data:FileExtension>txt</data:FileExtension><data:Description>Attachment Desc</data:Description><data:Attachment>dGVzdCBhdHRhY2htZW50</data:Attachment></data:Attachment></data:ListOfAttachment></data:Activity></data:ListOfActivity></ns:ActivityInsert_Input></soapenv:Body></soapenv:Envelope>";
    then I will get the error
    Update operation on integration component 'Activity' failed because no matching record in business component 'Action' with search specification '[Description] = "AT18"' could be found.(SBL-EAI-04403)
    I am not sure whats the reason....in the API document. It mentions for web service 2.0 'the Insert method can be used to insert both parent records and child records', and 'ActivityInsert' above is actually call the insert method, How I can insert both ativity and attachment successfully? Does anybody have some suggestions?
    Thanks in advance!
    Kane
    Edited by: user13108801 on 18-May-2010 20:05

    Thanks Dinesh,
    I am in Release 17, in R17, the InsertChild is not supported, API only support 'insert' for both parent and child.
    It looks the 'insert' operation with child record actually do the 'update' operation for the parent record to update its child node.
    if I send msg using insert operation like:
    "<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:ns=\"urn:crmondemand/ws/ecbs/activity/10/2004\" xmlns:data=\"urn:/crmondemand/xml/Activity/Data\"><soapenv:Header /><soapenv:Body><ns:ActivityInsert_Input><data:ListOfActivity><data:Activity><data:ServiceRequestNumber>85-3143833</data:ServiceRequestNumber><data:Description>at-test18</data:Description><data:Subject>AT18</data:Subject><data:Activity>Task</data:Activity><data:ListOfAttachment><data:Attachment><data:DisplayFileName>attachment.txt</data:DisplayFileName><data:FileNameOrURL>attachment</data:FileNameOrURL><data:FileExtension>txt</data:FileExtension><data:Description>Attachment Desc</data:Description><data:Attachment>dGVzdCBhdHRhY2htZW50</data:Attachment></data:Attachment></data:ListOfAttachment></data:Activity></data:ListOfActivity></ns:ActivityInsert_Input></soapenv:Body></soapenv:Envelope>";
    it will failed with the error msg I mentioned before.
    however, if I create the parent node first:
    "<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:ns=\"urn:crmondemand/ws/ecbs/activity/10/2004\" xmlns:data=\"urn:/crmondemand/xml/Activity/Data\"><soapenv:Header /><soapenv:Body><ns:ActivityInsert_Input><data:ListOfActivity><data:Activity><data:ServiceRequestNumber>85-3143833</data:ServiceRequestNumber><data:Description>at-test18</data:Description><data:Subject>AT18</data:Subject><data:Activity>Task</data:Activity></data:Activity></data:ListOfActivity></ns:ActivityInsert_Input></soapenv:Body></soapenv:Envelope>";
    and then still use insert operation to add the activity with a attachment:
    "<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:ns=\"urn:crmondemand/ws/ecbs/activity/10/2004\" xmlns:data=\"urn:/crmondemand/xml/Activity/Data\"><soapenv:Header /><soapenv:Body><ns:ActivityInsert_Input><data:ListOfActivity><data:Activity><data:ServiceRequestNumber>85-3143833</data:ServiceRequestNumber><data:Description>at-test18</data:Description><data:Subject>AT18</data:Subject><data:Activity>Task</data:Activity><data:ListOfAttachment><data:Attachment><data:DisplayFileName>attachment.txt</data:DisplayFileName><data:FileNameOrURL>attachment</data:FileNameOrURL><data:FileExtension>txt</data:FileExtension><data:Description>Attachment Desc</data:Description><data:Attachment>dGVzdCBhdHRhY2htZW50</data:Attachment></data:Attachment></data:ListOfAttachment></data:Activity></data:ListOfActivity></ns:ActivityInsert_Input></soapenv:Body></soapenv:Envelope>";
    then, the attachment will be added successfully.
    And I searched API document of Release 17, it mention that 'The Insert method can be used to insert both parent records and child records. If a child node is specified in the request, the Insert method inserts the child and associates it with the existing parent record. If a child node is missing, the Insert call inserts only the new parent record.'
    So, is it that we can say the Insert method for child node can success only if the parent node is already existed? seems we can not insert both parent and child at one time.
    Thanks
    Kane

  • How to get Apple ID and password that is different to iTunes store account which I have already activated and completed contracts, tax information and bank information I want to create a Paid Books Account use apple ID

    I was given this address from the Apple customer support team.
    I have an active existing iTunes store account and use the same Apple ID for signing into my iTunes Connect Account that distributes Apps.
    I have created some books using the iBook author and in order to distribute content on the iBookstore I have been told electronically that I need a new Apple ID and password that is different to iTunes store account which I have already activated and completed contracts, tax information and bank information valid until 2013?
    I want to create a Paid Books Account using the same email address, tax information and bank information. This has been most frustrating, as I cannot get passed the sign in section and there is no contact person I can speak to. I was of the understanding the iTunes connect account and the Developer programs which I paid good money for is all what I needed to be paid for selling iBooks on the iBookstore???
    I only have one email address and wish to also use it for the Paid Books Account. I have books ready to be exported and published.
    I am also having trouble locating and downloading iTunes Producer. I understand I need to have the Paid Books Account active to access the iTunes Producer program. Please help.
    See additional information below:
    What device did you use to connect to the store?  Mac computer
    Which operating system is installed?  Mac OS X v10.7.x
    What version of iTunes is installed on your computer?  iTunes 10.6
    Choose the iTunes Store or App Store for your country:  Other
    Please select your country:  Australia

    Hi Lrwill,
    If the apps that are on your son's iPad were purchased under his Dad's Apple ID, then signing your Apple ID onto the iPad will not help you with updating those apps.
    Also, if the iPad was sync'd with his Dad's iTunes library, then hooking it up to your computer/iTunes library, will require you to reset the iPad, and everything that was loaded under the other Library and Apple ID will be wiped out.
    Can you provide a little more info about what was set up under which Apple ID and what iTunes library the iPad was sync'd with?
    Cheers,
    GB

  • Moving materials from QI to Unrestricted when QM is active with HUs

    We have QM active with Handling units.  At Goods Receipt a Delivery is created for packing HUs and an inspection lot is created with HUs attached.  Normally in QM this means that materials can only be released through the QM module.  However, we have learned that users can start a 321 movement which creates a Delivery and if the TO is created and saved, the material is locked up.  We cannot post the Delivery and we cannot make a UD and move materials to unrestricted because it is locked by the Delivery.  How can we prevent users from making a 321 movement to start this process?

    Are you using insp type 03 or 04?
    FYI - 03 insp type is not stock relevant. 04 insp type is stock relevant. If you using 04 then with ref to UD system will move stock from QI to UNR.
    Hope this helps.
    Thanks!!!

  • Hello.  I upgraded my MIFI 2200 (had no contract on it) to a Jetpack (with a contract) when customer service told me this 4G device would use less data because it was faster.  This was not correct.  Anyway, I got the device, had problems, did tech support

    I upgraded my MIFI 2200 (had no contract on it) to a Jetpack (with a contract) when customer service told me this 4G device would use less data because it was faster.  This was not correct.  Anyway, I got the device, had problems, did tech support, re-activated my MIFI.  1.  Decided to return the device. Spent hours with Customer Service, then finally up to Management, they agreed to take it back and void the contact, I sent it back immediately – and instead of voiding the contact they transferred it to my MIFI! Please cancel the contract on the MIFI. 2.  During the short time I had the Jetpack I continually received overage alerts, took it all the way up to 30 GB, each time I backdated the new data plan except twice when customer service did and failed to back date the increase, and once the computer locked customer service out and could not increase.  The end result is I have a $495 bill, many of these alerts were false since I ended up with only 14 MG for the month, etc.  I am asking that my bill be reduced significantly to reflect no overage and to compensate for these problems. Please open up a ticket for this.

    I had Verizon JetPak and you will find it will eat data like crazy. I opted to sign on to ATT Uverse and configured my phones and other devices to the WiFi on the Uverse system. It took about 5 minutes to completed the configuration.  I was using 10 to 12 GB monthly to support 5 devices. Even if you use Verizon DSL, you are still subjected to same GB allotment.  In my area, Verizon DSL is not available. With Uverse, I have 250 GB monthly to use, and I have not even come close to using anything of that magnitude. I reduced my GB package with Verizon to 2 GB per month and since having ATT Uverse, I never use more than 1GB a month with Verizon.
    I have no problem with Verizon cell phone service as we get a much stronger signal where we live than you can with ATT or any others.  It is just my opinion, but if you are running multiple devices off Verizon Jetpak, you will eventually spend a fortune to keep pace.  I pay $60 a month for 18 Mbps speed, although ATT have packages that cost much less. But, it saves me a bundle each month. The cost of Uverse alone is worth not having to run everything through a Jetpak.  
    If you have the  option to use another DSL service provider in your area, I recommend dumping the Jetpak and sign on with another carrier.

  • Create business activity with products

    Hi,
    I am Trying to create a business activity with products. Adding  Activity Journals TAB in the activity u201CBus Act.:With Prodsu201D. The issue is that when I am trying to make a Journal template type in (CRMM_JOURNAL : Define Activity Journals) I am not getting my own transaction type under Transaction Type option (I have copied my own transaction type  from the standard u201CBus Act:With Prodsu201D activity). I only get the standard activity type (0020 :Bus Act.:With Prods) in my drop down box. (attached is the screen shot)
    Any ideas
    I am using SAP CRM 5.0.

    Hi,
    first your transaction type has to be active.
    Next, you need to assign item categories ACT0, ACT1 and ACT in SPRO, in order to use activity journals.
    All three.
    Regards

  • Create activity with more than partner and send email to all of them

    Hello All,
    I am working on CRM 5.0 activity management I want  to create activity with more than activity partner and send email to all of them
    Regards
    Khaled Fahim

    hi
    you can achieve this easily by creating a partner determination procedure in which you will be having more than one partner function having the function category as activity partner.
    once you created the PDP just attach this to the transaction and then call the procedure when you are actually creating an activity.
    for sending mail you can use FM
    SO_SEND_MAIL_DOCUMENT_AP1
    this is just one way
    another way is which stephen suggests
    you can use the personalised mail form functionality ,this is good in a way u neednt do any coding it will solve ur purpose in standard way.
    another way is when you create campaign and when an inbound activity is created for the every survey response
    this way you can send multiple mail and also for more than one or even n number of activity partners ,we can create the activity for the same
    best regards
    ashish

  • CUCM pim is active with some warnings

    Hi ,
         In sprawler the CUCM pim is showing as ACTIVE with 21 config warnings. It sowing as Bad Device type (check log)  on status bar.
    Here im attaching logs. Please solve this issue.
    Thanks&Regards,
    MB Reddy.

    It's a little hard to tell, but I have a feeling you have some device targets which aren't configured properly, check this part out these are the first errors which come up in your log:
    04:15:28 pg1A-pim1 ADDED\UPDATED 1 AgentDeskSettings on Peripheral 5000.
    04:15:28 pg1A-pim1 Trace: [  1444]DeskLinkDeviceTarget::DeskLinkDeviceTarget: Unknown device type specified. NetTrgID=5002 Type=
    04:15:28 pg1A-pim1 Trace: [  1444]DeskLinkPeripheral::SetAlert - (DeskLinkDeviceTarget::DeskLinkDeviceTarget) Setting CONFIG Alert #1 - 4 :15:28 Bad Device Type 
    04:15:28 pg1A-pim1 Trace: [  1444]DeskLinkDeviceTarget::Constructor: NetworkTargetID=5002, Type=, Ext=, Dialed#=
    04:15:28 pg1A-pim1 Trace: [  1444]DeskLinkDeviceTarget::DeskLinkDeviceTarget: Error Device Target Glob Addr=1004/Net TgID=5003 with duplicate ext=  not configured
    04:15:28 pg1A-pim1 Trace: [  1444]DeskLinkPeripheral::SetAlert - () Setting CONFIG Alert #2 - 4 :15:28 Duplicate Extension 
    04:15:28 pg1A-pim1 Trace: [  1444]DeskLinkDeviceTarget::DeskLinkDeviceTarget: Unknown device type specified. NetTrgID=5003 Type=
    04:15:28 pg1A-pim1 Trace: [  1444]DeskLinkPeripheral::SetAlert - (DeskLinkDeviceTarget::DeskLinkDeviceTarget) Setting CONFIG Alert #3 - 4 :15:28 Bad Device Type 
    04:15:28 pg1A-pim1 Trace: [  1444]DeskLinkDeviceTarget::Constructor: NetworkTargetID=5003, Type=, Ext=, Dialed#=
    See if you can find NetworkTargetID 5002 and 5003 and figure out what they refere to.
    david

  • Record is not displayed in Historical Reports-Activity with no Customer

    Hi All,
    We have an issue in Historical Reports for Activity.we are using Book of Business also.
    Now the issue is under Activity History as subject area, when an activity doesn't have any Customer it should come as Unspecified in the report.
    Like if it doesn't have account assosiated to it then it is shown as Unspecified in the report.
    But for activity with no customer assosiated to it, it is not showing the entire record (Acitivity) in the report.
    When the Customer field is removed from the displayed columns then we are able to see those activities in the report.
    Note:
    But when the Book of Business is not there previously, it was working fine
    An response is appreciated.
    Thanks & Regards,
    Lemu
    Edited by: Lemu on Dec 28, 2010 10:33 PM
    Edited by: Lemu on Dec 28, 2010 10:34 PM

    Hi,
    Yes we have a workaround for this.
    Since the Primary Customer is not exposed as an Activity filed.
    Copy the value of the Primary Customer and display it in a filed of activity using workflows.
    Then replace the customer filed with this filed.
    Then u will get the activity without customer also cause the customer filed is a normal activity field.
    Hope this helps.
    Regards
    Lemu

  • I want to create a Paid Books Account however, I already have a iTunes store account for creating Apps with complete contracts, tax,

    I have created some books using the iBook author and in order to distribute content on the iBookstore I have been told electronically that I need a new Apple ID and password that is different to iTunes store account which I have already activated and completed contracts, tax information and bank information valid until 2013?
    I want to create a Paid Books Account using the same email address, tax information and bank information. This has been most frustrating, as I cannot get passed the sign in section and there is no contact person I can speak to. I was of the understanding the iTunes connect account and the Developer programs which I paid good money for is all what I needed to be paid for selling iBooks on the iBookstore???
    I only have one email address and wish to also use it for the Paid Books Account. I have books ready to be exported and published.
    I am also having trouble locating and downloading iTunes Producer. I understand I need to have the Paid Books Account active to access the iTunes Producer program. Please help.

    Did you use an existing Apple ID or create a new one just for paid books sales/distribution?

  • When i attach my iphone 4 with computer it shows one of the USB devices attached to this computer has malfunctioned and windows does not recognize it,now what can i do ..plz help me

    when i attach my iphone 4 with computer it shows one of the USB devices attached to this computer has malfunctioned and windows does not recognize it,now what can i do ..plz help me

    I would first try unplugging All the USB devices plugged into your computer, and then plug back in just the iPhone and see if that is recognized.  Also, do you have the latest version of iTunes for Windows installed on your PC, as you need to?
    Hope this helps

  • HT1349 my IPOD touch won't be recognized by my DELL Latitude PC and it won't synch. I'm technologically handicapped but all I know is it used to synch whenever I would attach it to computer with USB. Aside from tossing my DELL can anyone help?

    My IPOD Touch isn't being recognized by my PC(DELL LatitudeD630) and it won't synch. I'm "technologically handicapped" but all I know is it used to synch whenever I would attach it to PC with USB cable. Aside from tossing my DELL can anyone offer suggestions that might solve this problem ? Thanks

    I had this issue, I fixed it by going to:
    Start > Control Panel > Devices and Printers
    Then find the iPod, and Right Click > Properties > Hardware > Properties > Driver > Update Driver > Update Automatically
    The driver had not been automatically installed, and windows found and installed the driver files for me. Took ~90 seconds, and then the iPod began it's sync process almost immediately after. Hope this helps anyone with the same issue! I'd try this before re-installing iTunes.

  • Creation of Activity with campaign

    hi guys,
    Can anybody help for the below scenario.
    I am creating an activity with an 'CAMPAGIN ID'. Once the Campagin id is populated in the activity transaction and click on save button it will become as a preceding document for the activity.
    I am using the function module(BAPI_ACTIVITYCRM_CREATEMULTI) to create an preceding document as marketing campaign for the activity. But it was not working.
    can anyone guide how to approach to the above mention scenario. If possible post sample code.
    Thanks
    Viswa

    Hi Viswa
    Try this.
    Create a Marketing Campaign first.
    On save create activity using actions.
    Thanks

  • Issue in creating sales order with ref contract(quantity)

    hi friends,
           I am creating sales order with reference contract using
    "BAPI_SALESORDER_CREATEFROMDAT1"
    my issue is with quantity field when i am entering quantity as  1 then it is taking as 0.001
    i am also declaring its unit field too but there is no change.
    in my program i am taking quantity as parameter.
    field description is like this Order qty in sales units - 00009001 corresponds to 9.001
    is there any chance of changing the quantity .
    please help.

    There is another similar post...look at those comments.  Consider the data types in use...in true numeric fields with decimals, the decimal is implied, so look at how you're sending and/or converting any value....  For instance, if I were sending data to a quantity field described as curr 15, decimals 3, I would expect that I needed to send 1.000 (or perhaps 1000, depending on my testing) in the input to get a quantity of 1.

  • If imessage is not activated with my phone number, does text messages can be forwarded to my ipad?

    my imessage is not activating with my mobile number, i do not receive code for text forwarding in my ipad/ air 2, my iphone 4s and ipad is operating with the same iOS. plz help i am being able to use call and messages forwarding facilities.

    Hi, uttam_june15.  
    Thank you for visiting Apple Support Communities.  
    I am not sure if you are unable to activate iMessage or that your phone number is not registering with iMessage.  However, here are the troubleshooting articles that cover both scenarios.  
    If you get an error when trying to activate iMessage or FaceTime
    iOS and OS X: Link your phone number and Apple ID for use with FaceTime and iMessage
    -Jason H.  

Maybe you are looking for

  • Aggregation function for field in ALV Webdynpro ABAP

    Dear all, Can I create aggregation function on one field of ALV WDA which that is currency type field and then display the result based on currency key field? i've tried using code as shown below   lo_wd_field = lo_model->if_salv_wd_field_settings~ge

  • Async r3- xi- soap problem.. no soap msg sent from SOAP receiver adapter

    Hi guys! I have an issue with SOAP scenario. I have ABAP Proxy->XI->SOAP async scenario. When I send msgfrom r3, it arrives into XI, but no SOAP message is sent to the target url. In the SXMB monitor, the flag is delivered The status of adapter is no

  • Quicktime Logo has question mark NO VIDEO

    HI, I am not new to computers, however I am new to trying to see videos on my windowsXP with quicktime. For instance, I received in email this http: http://img502.imageshack.us/img502/8610/mooninggrans1jy.swf It won't play, I just opened a myspace an

  • Dataguard.... [ the achivelog not transfort between primary & standby db] m

    Dear all Dataguard gurus [sorry if i wrong to place this message] i tried to install oracle 10g dataguard on 2 machines with Centos 4.6 for development after finish the installation, i 've got some "STRANGE" ..when i do a query at dataguard1 dataguar

  • DataProvider is XMLList from flat-file

    I have a menuBar that is populated from an XML flat-file (as an e4x XMLList). I successfully read the flat-file to determine the saved settings (e.g., display toolTips or not). I can't figure out the way to set the menuBar toggle based on the content