Create an Activity Record

Hi All
I am trying to create an Interaction record Business Transaciton from code on the Web Ic.
I am using the function module crm_order_maintain, but I am getting errors.
Does anyone know if this is the correct fm to create the activity. 
Any help would be greatly appreceiated.

Hi Darren,
Have you use function crm_order_maintain before?
Because it is quiet complicated that you have to prepare
each of group tables (Orgman, Partner, Order_h, Order_I etc...) depending upon your requirement.
For the error, can you more specific on the error.
At which step this error occurr?
Yes you can create Activity using this function module.
The only thing you need to do is to fit necessary parameters (tables) to this function (which are some quiet
trick and complex).
Rgds,
Gun.

Similar Messages

  • Create a DNS record that switches IP address based on active server

    Good morning,
      I am trying to create a DNS record that will automatically update which server is the "primary" server.  We use a utility to lock the data and mirror between two servers on our network.  I have been investigating scripting the
    DNS record edit when we change over to the backup server but am still working on that.
    So essentially,
    I have SERVER-SQL record created.  When SERVERSQL1 is the primary with an ip of 1.1.1.1, I want SERVER-SQL to have the IP address of 1.1.1.1.  When SERVERSQL2 is the primary with an ip of 2.2.2.2, I want SERVER-SQL record to have the IP address
    2.2.2.2.
    Any help would be appreciated.

    Hi,
    According to your description, I suppose that you have two SQL server, one is active and another is passive. I noticed that the
    name is record is presented as SERVER-SQL which is different from both of the two servers. So we need create a CNAME record here.
    Based on my knowledge, A record can be created dynamically. But we still need create CNAME record manually. So I think the solution
    is back to the scripts.
    Hope this helps.

  • How to create an activity when system finds duplicate record!!

    Hi CRM Experts,
    I am working on CRM 5.0. We are uploading contact details to CRM through ELM.
    Here My queries are:
    1) How to create An Activity when system finds duplicate record?
    2) By using ELM we can create BP with Activities and BP with Leads. But Here, my scenario is we have to Create BP with leads and Acivities. can any one help me on these areas?
    Thank in Advance.
    Sree

    Hi Sree,
    I can help you with your first query.
    When the system finds a duplicate record then either the system stops working further or proceeds with the error free record.
    So once the duplicate entry is found only the first record will be considered and not the second or the duplicate record.
    Regards,
    Rekha Dadwal
    Kindly reward with points if usefull !!!!

  • How to create a sipinternaltls record and make it work?

    I  set up a Lync 2013 server environment and all end uses can log in Lync clients, communicate with others. however, I can't connect to the DNS server by UCMA api. It throws an exception: "No connection could be made because the
    target machine actively refused it 10.148.202.69:5061". So I thought it's a sip involved event.
    I typed _sipinternal._tcp.<domain> and it returns:
    Server: Unknown, Address:10.148.202.69( why the server is "unknown"?)
    I tried use telnet and it returns: could not open connection on port 5061.
    What should I do to make port 5061 work? Thanks.

    What is the error when you run the command nslookup?
    The default server is unknown because you didn’t create a PTR record in Reverse Lookup Zones to resolve to host name.
    Run the command netstat –ano | findstr 5061 on Lync Front End Server to check the port 5061 is opened.
    Lisa Zheng
    thank you Zheng. when i said error i means the "Unknown" word. After i entered the command,it returns:
    Server: Unknown
    Address: 10.148.202.69(my DNS server ip)
    Non-authoritative answer: _sipinternaltls._tcp.domain.com SRV service location:
    priority = 0
    weight = 0
    port = 5061
    svr hostname = lync.domain.com
    lync.domain.com internet address = 10.148.202.13
    lync.domain.com AAAA IPv6 address = ::1
    when i entered telnet 10.148.202.13 5061 or telnet 10.148.202.69 5061, both return failed connection. obviously the port 5061 is not open.

  • Populate fields when creating an new record

    Hello,
    When I create a new record from an other record type (ex: a service request from a task), I would like to pre populate some fields which are common to the task and the SR (ex: Owner, Account, Contact) and already on the task record.
    I have read that I could use the joinfieldvalue function with the post default activated.
    But the fields Owner, Account and Contact are read only picklist on the service request record and I am not allowed to use the default feature...
    Could you help? Do you have any idea?
    Thanks in advance
    Laurent

    Hi, As a service request can have multiple activities and you dont have the activity field (primary) in the service request, i dont think it is possible to acheive your requirement through JoinFieldValue. On the other hand if you like to default activity fields on basis of the associated SR to activity that is possible as the activity has the associated SR information. Hope it helps
    -- Venky CRMIT

  • Unable to insert Activity record

    Hi, I am using the webservice to insert a new Activity record.
    Step 1: I created a insert object with "ActivityNWS_Activity_Insert_Input",
    <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
    WSOD_Activity.ActivityNWS_Activity_Insert_Input insActObj = new WSOD_Activity.ActivityNWS_Activity_Insert_Input();
    WSOD_Activity.ActivityNWS_Activity_Insert_Output outputActObj = new WSOD_Activity.ActivityNWS_Activity_Insert_Output();
    insActObj.ListOfActivity = new WSOD_Activity.Activity1[1];
    insActObj.ListOfActivity[0] = new WSOD_Activity.Activity1();
    ..... assigning values to the fields .......
    <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
    Step 2: I call the function "Activity_Insert", it returns an "ActivityNWS_Activity_InsertChild_Output" object.
    <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
    WSOD_Activity.Activity prxySrvcActivity = new WSOD_Activity.Activity();
    prxySrvcActivity.Url = GlobalVariables.mSession.GetURL();
    prxySrvcActivity.CookieContainer = GlobalVariables.mSession.GetCookieContainer();
    outputActObj = prxySrvcActivity.Activity_Insert(insActObj);
    <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
    When I check the output object, most of attributes are empty, (include the end time, start time, status & type), but the ActivityID and Created By is filled with content.
    Next I checked the webservice utilization from the SoD page, there is a insert record showing the transaction has no error.
    But when I search the Activity module, I could not find any records.
    When I tried using WSDL 2.0 and do the above again, I got the same result.
    What's wrong with that ? Could anyone please help me ?

    I wounder if I should assign "" to the "ActivityId" when doing insertion or what else............
    Has anyone tried this before ?

  • MSA - creating/changing activity for bp error : enter a valid value for bp

    Hello experts,
    while using msa with activites, on one client for one bp
    I cannot create/change an activity: error:
    insert a valid value for bp   
    This happens only for one bp on this client,
    on other clients this bp works fine.
    When I look in old activites for this bp, there in activity -> detail
    the field bp (hyper link) is not filled.
    I think there is a problem with the incorrect bp, but in which tables
    can search for this ?
    Best regards
    Gerd

    Hi,
    I assume that the BP is present in table smokna1 but not available in smokna1sht (anymore).
    When creating an activity the BP selection is based on smokna1, but the field/property validation is based on smokna1sht (see error message).
    But unfortunately I don't have any idea for now how to download this particular record to this site...
    Regards,
    Wolfhard

  • Need help to create a new record in mdm using java webdynpro

    hi all,
    I have to develop an application to create a new record in mdm by using java WebDynpro  . Please help me what is the process that i have to follow to do this and provide me if you have any step by step guidance for this.
    thanks & regards,
    Mahi.

    Hi,
    The below link will help u to make the application in JAVA webdynpro
    The article has code to for creating records.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/803e9e80-21f4-2a10-8cbf-bcf6a8060be3
    Hope this may help u .
    Rgds
    Ankit

  • Create an Activity Report for Current Week

    I would like to create a activity report for the current week. The trick is that if the weekday is Wednesday or earlier (Sunday being the first day of the week), the report shows last week's activities; but if the weekday is Thursday or later (Saturday being the last day of the week), the report shows the current weeks activities.
    I have a filter that works in Access but does not seem to work in Siebel. It does just what I explained above:
    Between CDate(Int((IIf(Weekday(Now())<=4,Now()-(6+Weekday(Now())),Now()-(Weekday(Now())-1))))) And CDate(Int((IIf(Weekday(Now())<=4,Now()-Weekday(Now()),Now()+(7-Weekday(Now()))))))
    Thank you,
    David
    Edited by: DavidE on Oct 7, 2008 4:17 PM

    David,
    try this:
    case DAYOFWEEK(CAST(Activity."Planned Start Time" AS date))when 1 then timestampadd(sql_tsi_day,1,CAST(Activity."Planned Start Time" AS date)) when 3 then timestampadd(sql_tsi_day,-1,CAST(Activity."Planned Start Time" AS date)) when 4 then timestampadd(sql_tsi_day,-2,CAST(Activity."Planned Start Time" AS date)) when 5 then timestampadd(sql_tsi_day,-3,CAST(Activity."Planned Start Time" AS date)) when 6 then timestampadd(sql_tsi_day,-4,CAST(Activity."Planned Start Time" AS date)) when 7 then timestampadd(sql_tsi_day,-5,CAST(Activity."Planned Start Time" AS date)) else CAST(Activity."Planned Start Time" AS date) end
    This gave me the sunday of the week. You should be able to modify this format for your purposes.
    cheers
    Alex

  • How can you create an activity as subsequent act. of more than one activity

    Hi.
    I want to create an activity as subsequent activity of more than one activity.
    I am using FM CRMXIF_ORDER_SAVE, but if I write data structure CRMXIF_DOC_FLOW with more than one item the system shows the error CRM_COPY 010 More than one predecessor was entered for data transfer.
    However I have customized multiple relationship allowed, and if I do multiples links in transaction crmd_order it works all right.
    Only it doesn't work with FM CRMXIF_ORDER_SAVE. I need create activities with FM because they are interface R/3. What FM can I use to create multiple subsequent activities?
    Thanks and best Regards
    Sorry for my english.

    Hi,
    I have got some activities creates in the system. (e.g. Act. 1, Act. 2, Act. 3 and Act. 4). With the FM CRMXIF_ORDER_SAVE  filled the structure CRMXIF_DOC_FLOW you can create subsequence activity of one of them (e.g. Act. X.1). I need create the same activity (Act X.1)  from another activity, (e.g. Act. 2). I know to do this in transaction CRMD_ORDER by link tab. But I don't know how to do this using FM or BADI or another thing.
    Act. 1     Act. 2      Act. 3     Act. 4 
    .....Act. X.1
    Thanks in advance.
    Edited by: Ana Isabel París on Jul 7, 2008 2:42 PM

  • When creating a new record in a list, I want to create a new record in another list, too, together with the ID of the first record

    OK, for anyone who has ever programmed a database, this one is easy. However, I am EXTREMELY limited. I work with SharePoint 365 (2013). I am pretty proficient in a number of programing languages, but I really don't know how to program SP. I wouldn't even
    know where to put code.
    Say, I have two lists: List A, with Items A1 (ID), A2, A3 and List B, with Items B1 (Lookup to A1), B2, B3. What I want this: When I create a new record in List A I want that also an empty record (except for the B:A1 item) is created. Is that possible without
    any major programing?

    you can create a workflow to achieve your requirement
    http://sharepoint.stackexchange.com/questions/50059/create-a-list-item-when-item-is-created-in-another-list
    My Blog- http://www.sharepoint-journey.com|
    If a post answers your question, please click Mark As Answer on that post and Vote as Helpful

  • How can I create an active table of content in the sidebar to help readers to get to the section?

    How can I create an active table of content in the sidebar to help readers to get to the section?

    You can create bookmarks with Adobe Acrobat.

  • How do I create a DNS record on my Mac Server?

    How do I create a DNS record on my Mac Server?

    The following is info that I found in another post that I have been trying to follow.
    MrHoffman      New England
    Re: Configure DNS - OS X Server Next Steps
    Feb 13, 2011 6:36 AM (in response to Jimbooooooo)
    You're setting up internal DNS services, you referenced your ISP DNS servers and you should not have, and now those servers have no translations for your hosts. This is a common misconfiguration.
    See [configuring DNS on Mac OS X Server|http://labs.hoffmanlabs.com/node/1436] for how to set up your internal DNS server.
    And if there are any references to your ISP DNS servers here (within your client settings, within your server settings, your Airport settings, etc), then you're usually going to have DNS and connectivity problems. You're running a server now, so you'll be running your own services, and (particularly because of NAT here) referencing only your own DNS server(s).
    You may be setting up external DNS (if and when you need that), but that should happen after you set up your internal DNS. The above article has a link to setting up external DNS, when you get around to that, if/when you need in-bound connections into your LAN.

  • How to create a DNS record for a domain itself (without a hostname)

    Hi,
    Normally, you can create a DNS record that points to the zone itself, e.g.:
    @               10800 IN A    196.197.200.201
    How do you accomplish that on a Mac OSX Lion Server? The DNS requires you to enter a hostname and it does not accept "@" as the hostname as it normally appears in the zone file.
    (manually modifying the host file does not work - I tried that ;-) )
    Any help is appreciated
    Thanks
    Bjoern Dirchsen

    Create either a blank record with a ., or a FQDN such as 'domain.com.' (note the trailing dot). Either of these should map to the domain name.

  • Is there a way for the Yosemite maps app to add address to an existing contact (in contacts app) instead of creating new contact record with blank name (not useful)?

    I was using the maps app in yosemite to look up an address, once I was able to verify the address, I wanted to add that address to an existing contact record in the contacts app.  When I clicked on the option to add address to contacts, it unfortunately creates a new record with the address in it, however, the rest of the contact is blank. 
    My question is: is there a way to prompt the user (me), to select whether they want to create a new contact or add it to an existing contact?
    Thanks in advance for your help!
    Regards,
    Peter

    I was using the maps app in yosemite to look up an address, once I was able to verify the address, I wanted to add that address to an existing contact record in the contacts app.  When I clicked on the option to add address to contacts, it unfortunately creates a new record with the address in it, however, the rest of the contact is blank. 
    My question is: is there a way to prompt the user (me), to select whether they want to create a new contact or add it to an existing contact?
    Thanks in advance for your help!
    Regards,
    Peter

Maybe you are looking for

  • Missing Motion Tab

    When I open a PSD in the viewer, why does it sometimes have no Motion Tab? Somebody answered this for me about two years ago but can't find where I made the note. Thx.

  • Trying to get out of Maximum Runtime Mode?

    I just got a ThinkPad X100e and notice the Power management is in Maximum Runtime Mode - is there a way to change this to a more performance-oriented mode?I can't seem to find a setting for this aspect. - Maurice Solved! Go to Solution.

  • How to get delivery number in message type I

    hi, i created a screen with some input and output fields , if i entered sales order number i will get item details of the sales order , i kept a button in the screen  if i press that button delivery number shd displa with message "your delivery numbe

  • Updating an External Hard Drive Operating System to Yosemite

      I have a MacBook Pro (late 2007), it was upgraded to 500GB hard drive. I use the old hard drive as an external hard drive for backing up files from the MacBook Pro. It's operating system is version Mac 10.6.8 and formatted Mac OS Extended (Journale

  • WMA Fi

    I have just bought a new Dell XPS 420 with windows Vista, when I load in my Creative Zen Vision M Cd with the creative organizer 5 I only can rip music in WMA format, when I go into settings and try to chamge it, The only options are WMA or WAV no MP