Creating Active X

Hi
Anybody created your own ActiveX control to work with SBO?
Is it possible to build an ActiveX control in C#.net / VB.net for SBO 2007?
I do not need the SDK sample of Active X Tree view. Since this example is for loading the active X in SBO form.
Can anybody help me to download a sample active x (From scratch) working in SBO?.
Thank you
Anoop

For creating activeX COM controls please go here.
http://www.csharphelp.com/archives/archive281.html
http://www.codeproject.com/KB/cs/CreateActiveXDotNet.aspx
Follow the steps listed there.
Very important part while you use this in SDK is
1. Com Registration part
2. COM Unregistration part
3. Visibility of COM
4. Registration command using Regasm
These are well explained there.
In addition to these you must enable a remote channel to communicate with server.
For this, use this code in the constructor
BinaryServerFormatterSinkProvider provider = new BinaryServerFormatterSinkProvider();
            provider.TypeFilterLevel = System.Runtime.Serialization.Formatters.TypeFilterLevel.Full;
            // Creating the IDictionary to set the port on the channel instance.
            IDictionary props = new Hashtable();
            props["port"] = 0;
            props["name"] = DateTime.Now.Ticks.ToString(); //DateTime.UtcNow.ToString();
            // Pass the properties for the port setting and the server provider in the server chain argument.
            //(Client remains null here.)
            TcpChannel chan = new TcpChannel(props, null, provider);
            ChannelServices.RegisterChannel(chan, false);
Now you can use the activex..  If any question, contact me in the mail address provided here.
Anoop

Similar Messages

  • Creating Activity object for a Service Request object...

    <b>[This thread was migrated from the On Demand Developer Forum in the old Siebel Community] </b>
    drangineni
    New Contributor
    Ho do we use Activity object of a Service Request object. I am trying to
    create an Activity object for a existing Service Request object.
    I am looking for some sample code.
    I greatly appreciate your help.
    Product: CRM OnDemand
    11-26-2006 12:40 PM
    Re: Creating Activity object for a Service Request object...
    BigSlick
    Valued Contributor
    drangineni, What programming language are you using?
    BS
    12-04-2006 10:56 AM
    Re: Creating Activity object for a Service Request object...
    drangineni
    New Contributor
    Hi, I am using C# .
    12-04-2006 07:40 PM
    Re: Creating Activity object for a Service Request object...
    BigSlick
    Valued Contributor
    drangineni, assuming you know the service requestid or externalId of the
    Sr you are dealin gwith you would first set that value.
    ServiceRequest1[] objSRList =new ServiceRequest1[1];
    objSRList[0] = new ServiceRequest1();
    objSRList[0].ServiceRequestId = <YourSRId>;
    Then you create an array of activities and initialize the first one:
    objSRList[0].ListOfActivity = new Activity[1];
    objSRList[0].ListOfActivity[0] = new Activity();
    Now set the data fields
    objSRList[0].ListOfActivity[0].Subject ="My Subject";
    objSRList[0].ListOfActivity[0].Description ="My Description";
    objSRList[0].ListOfActivity[0].Display = "Task"; //valid values are either
    "Task" or "Appointment"
    Then call the ServiceREquestInsertOrUpdate method on the ServiceRequest
    WebService and pass in the above variable.
    BS
    12-06-2006 12:36 PM
    Re: Creating Activity object for a Service Request object...
    drangineni
    New Contributor
    Thank you BigSlick.
    The following error is thrown when I use the
    ServiceRequestInsertOrUpdate(objInput)
    "No user key can be used for the Integration Component instance 'Service <br/>
    Request_Action'.(SBL-EAI-04397)"
    When I use the prxySrvcRequest.ServiceRequestInsert(objInput), no error is
    thrown and the Activity gets added, but a new Service Request object is
    created, but the Activity gets added to an existing Service Request
    object. I greatly appreciate your help.
    The following is the code:
    int ActivityLength = 0;
    WSOD_ServiceRequest.ServiceRequest1[] ServiceRequest = new
    WSOD_ServiceRequest.ServiceRequest1[1];
    ServiceRequest[0] = new WSOD_ServiceRequest.ServiceRequest1();
    ServiceRequest[0].ServiceRequestId = this.Request.QueryString["id"];
    ServiceRequest[0].ListOfActivity = new
    WebSelfService.WSOD_ServiceRequest.Activity[ActivityLength + 1];
    ServiceRequest[0].ListOfActivity[0] = new WSOD_ServiceRequest.Activity();
    ServiceRequest[0].ListOfActivity[ActivityLength].Description =
    this.txtDescription.Text;
    ServiceRequest[0].ListOfActivity[ActivityLength].Display = "Task";
    ServiceRequest[0].ListOfActivity[ActivityLength].Subject = "My Subject";
    WSOD_ServiceRequest.ServiceRequest prxySrvcRequest = new
    WebSelfService.WSOD_ServiceRequest.ServiceRequest();
    WSOD_ServiceRequest.ServiceRequestWS_ServiceRequestInsertOrUpdate_Input
    objInput = new
    WebSelfService.WSOD_ServiceRequest.ServiceRequestWS_ServiceRequestInsertOrUpdate_Input();
    WSOD_ServiceRequest.ServiceRequestWS_ServiceRequestInsertOrUpdate_Output
    objOutput = new
    WebSelfService.WSOD_ServiceRequest.ServiceRequestWS_ServiceRequestInsertOrUpdate_Output();
    objInput.ListOfServiceRequest = ServiceRequest;
    Session objSession;
    objSession = (Session) Application["Session"];
    prxySrvcRequest.Url = objSession.GetURL();
    try
    objOutput = prxySrvcRequest.ServiceRequestInsertOrUpdate(objInput);
    catch(Exception e)
    12-09-2006 09:53 AM
    Re: Creating Activity object for a Service Request object...
    drangineni
    New Contributor
    Thank you BigSlick.
    The following error is thrown when I use the
    ServiceRequestInsertOrUpdate(objInput)
    "No user key can be used for the Integration Component instance 'Service <br/>
    Request_Action'.(SBL-EAI-04397)"
    When I use the prxySrvcRequest.ServiceRequestInsert(objInput), no error is
    thrown and the Activity gets added, but a new Service Request object is
    created, but the Activity gets added to an existing Service Request
    object. I greatly appreciate your help.
    The following is the code:
    int ActivityLength = 0;
    WSOD_ServiceRequest.ServiceRequest1[] ServiceRequest = new
    WSOD_ServiceRequest.ServiceRequest1[1];
    ServiceRequest[0] = new WSOD_ServiceRequest.ServiceRequest1();
    ServiceRequest[0].ServiceRequestId = this.Request.QueryString["id"];
    ServiceRequest[0].ListOfActivity = new
    WebSelfService.WSOD_ServiceRequest.Activity[ActivityLength + 1];
    ServiceRequest[0].ListOfActivity[0] = new WSOD_ServiceRequest.Activity();
    ServiceRequest[0].ListOfActivity[ActivityLength].Description =
    this.txtDescription.Text;
    ServiceRequest[0].ListOfActivity[ActivityLength].Display = "Task";
    ServiceRequest[0].ListOfActivity[ActivityLength].Subject = "My Subject";
    WSOD_ServiceRequest.ServiceRequest prxySrvcRequest = new
    WebSelfService.WSOD_ServiceRequest.ServiceRequest();
    WSOD_ServiceRequest.ServiceRequestWS_ServiceRequestInsertOrUpdate_Input
    objInput = new
    WebSelfService.WSOD_ServiceRequest.ServiceRequestWS_ServiceRequestInsertOrUpdate_Input();
    WSOD_ServiceRequest.ServiceRequestWS_ServiceRequestInsertOrUpdate_Output
    objOutput = new
    WebSelfService.WSOD_ServiceRequest.ServiceRequestWS_ServiceRequestInsertOrUpdate_Output();
    objInput.ListOfServiceRequest = ServiceRequest;
    Session objSession;
    objSession = (Session) Application["Session"];
    prxySrvcRequest.Url = objSession.GetURL();
    try
    objOutput = prxySrvcRequest.ServiceRequestInsertOrUpdate(objInput);
    catch(Exception e)
    12-10-2006 08:49 AM
    Re: Creating Activity object for a Service Request object...
    BigSlick
    Valued Contributor
    Ah yes, I forgot you also need to specify a unquie Id for the activity.
    It's kinda strange.
    Try adding this:
    ServiceRequest[0].ListOfActivity[ActivityLength].ActivityId = "DummyId";
    //OD will overwrite this with a real Id
    Or if you have a unquie ID for your Activities you can use:
    ServiceRequest[0].ListOfActivity[ActivityLength].ExternalSystemId = <Your
    Unique Value>;
    Hope that helps,
    BS
    12-11-2006 10:52 AM
    Re: Creating Activity object for a Service Request object...
    surgientweb
    New Contributor
    Hi all,
    I have a similar problem, but mine is returning a message that field
    "Display" is required. Looking at this post and the documentation it is
    obvious that Display is a required field, but my WSDL did not include a
    field called "Display", so my proxy did not generate one.
    I tried adding a field called Display to the WSDL and the proxy class, but
    I get a different error... I figure I maybe cannot add it manually like
    that - but I think the bigger problem is it is not part of the WSDL that
    Siebel OD generates for me in my admin account.
    On top of that Display is not shown in the list of fields for Activity
    through the admin interface.. is it possible my account is bugged? Am I
    missing something simple here? BigSlick, I see you mention a .Display in
    your code sample so I thought you might understand what is wrong. Here is
    my code (I am trying to add a activity to a lead).
    Thanks for any insight into this!
    private void InsertLeadActivity(Session session, NameValueCollection data,
    string leadID)
    try
    if (blnDebug)
    Response.Write("Setting up Activity<br>";
    // instantiate the proxy service
    Activity_Service.Activity activityProxy = new Activity_Service.Activity();
    // set up the target URL
    activityProxy.Url = session.GetURL();
    activityProxy.CookieContainer = session.GetCookieContainer();
    // set up input argument
    ActivityNWS_Activity_Insert_Input input = new
    ActivityNWS_Activity_Insert_Input();
    input.ListOfActivity = new Activity1[1];
    input.ListOfActivity[0] = new Activity1();
    if (blnDebug)
    Response.Write("Getting Data<br>";
    // dg note: name value
    // input.ListOfActivity[0].MrMrs = data["MrMrs"];
    input.ListOfActivity[0].LeadId = leadID.ToString();
    input.ListOfActivity[0].Description = DataToString(data);
    input.ListOfActivity[0].Subject = "Website Submission Activity";
    input.ListOfActivity[0].Priority = "3-Low";
    //input.ListOfActivity[0].DueDate =
    DateTime.Now.AddDays(7).ToShortDateString();
    input.ListOfActivity[0].Owner = this.defaultLeadOwner;
    input.ListOfActivity[0].Type = "Call";
    //input.ListOfActivity[0].Display = "Task";
    input.ListOfActivity[0].ActivityId = "DummyId";
    input.ListOfActivity[0].ExternalSystemId = "web";
    activityProxy.Activity_Insert(input);
    catch (Exception exInsertActivity1)
    if (blnDebug)
    Response.Write("<br>Error inserting activity.<br><br>" +
    exInsertActivity1.ToString() + "<br>";
    01-06-2007 05:05 PM
    Re: Creating Activity object for a Service Request object...
    surgientweb
    New Contributor
    Figured it out.. the field "Display" is also known as "Activity"........
    Here are some notes for other people.. good luck and feel free to write me
    at raskawa-at-gmail-com if you want a code sample.
    Some unpublished nice to knows for Siebel On Demand Activities....
    In summary:
    - .Activity is also known as Display in documentation and on the error
    messages coming back from the WS. Also, it appears based on these boards
    some people actually have a .Display field. Maybe different accounts
    generate different WSDL's.... buggy.
    - If a error message is thrown saying "Description is required" it really
    means "Subject is required" (make sure .Subject has a value)
    - If a error message is thrown complaining that ActionType is not right..
    that is really .Type.. make sure it's lookup value is valid for the
    dropdown values in your CRM OD system.
    My code/values that worked..
    input.ListOfActivity[0].LeadId = leadID.ToString();
    input.ListOfActivity[0].Description = DataToString(data);
    input.ListOfActivity[0].Subject = "Website Submission Activity";
    input.ListOfActivity[0].Priority = "3-Low";
    //input.ListOfActivity[0].DueDate =
    DateTime.Now.AddDays(7).ToShortDateString();
    input.ListOfActivity[0].Owner = this.defaultLeadOwner;
    input.ListOfActivity[0].Type = "Call";
    input.ListOfActivity[0].ActivityId = "DummyId";
    input.ListOfActivity[0].ExternalSystemId = "web";
    //input.ListOfActivity[0].Display = "Task"; //doesn't work
    input.ListOfActivity[0].Activity = "Task"; //does work.
    01-06-2007 05:17 PM
    Re: Creating Activity object for a Service Request object...
    raskawa
    First Time Contributor
    Hi,
    This is surgientweb (under my own login now..)
    Anyway, I wanted to add that I figured out that there are two ways to add
    a Activity to a Lead. Via the Lead object (by getting a ListOfActivities)
    OR by creating a Activity directly and just adding your "LeadID" to it (or
    you can also add a "ContactID" to relate the activity to a Contact.)
    Feel free to email me for a code example (raskawa....at....gmail)
    -David
    01-09-2007 02:58 PM

    Hi Stephane,
    You can definitely read the categories using Tables in CRM. The logic is a bit complicated though.
    Use the following steps to retrieve Categories using Std. CRM Tables:
    1. Pass transaction GUID in field GUID of table CRMV_REPORT_SUBJ and get KATALOGART, CODEGRUPPE and CODE field values in lv_catalog, lv_codegrp and lv_code.
    2. Now you need to concatenate these 3 fields values carefully like this:
    CONCATENATE lv_catelog lv_codegrp '    ' lv_code into lv_category1.
    Remember there are 4 spaces between lv_codegrp and lv_code.
    3. Now pass this lv_category1 in field OBJEXT in table CRMC_ERMS_CAT_OK and get OBJGUID in field lv_objguid.
    4. Pass this lv_objguid in field OBJ_GUID and LNK_TYPE = 'IS_CODE' in table CRMC_ERMS_CAT_LN and get value of CAT_GUID in lv_cat_guid.
    5. Pass this lv_cat_guid in field CAT_GUID in table CRMC_ERMS_CAT_CA and get value of CAT_ID in field lv_cat_text.
    Remember this lv_cat_text is the text value of your last level of category of transaction.
    6. To get its upper cateogry level value, simply use table CRMC_ERMS_CAT_HI and get parent guid value and pass this as CAT_GUID again in table CRMC_ERMS_CAT_CA to get its text.
    Alternatively, you can also use class method cl_crm_ml_category_util=>get_parse_all to get all levels of categories.
    Hope this helps.
    Thanks
    Vishal

  • Error while creating activity by using BAPI

    Hi,
    While creating activity by using BAPI Im getting error as follows,
    Start processing of refference object handle generated.
    Integrity rule a d0008 broken
    business partner with function from vbkakom not vbpakom
    Integrity rule a d0008 broken
    edit all incomplete field .
    Please help me for solving this issue.
    Regards,
    Suresh

    Not received any proper reply Closing the issue.

  • How to create activity template for email campaign in CRM 5.0

    Hi,
    I tried attaching only a simple activity transaction type (Z005) to communication type email in SPRO > CRM > Marketing > Marketing Planning and Campaign Management > Campaign Execution > Define communication medium.
    After doing this, I was expecting that when I execute my campaign for channel email, emails will be sent to the customers and activity transactions of type Z005 will be created for each outbound email.
    Activity transactions are created, but I think I would like to maintain more details (description, responsible org etc.), which should be possible using activity template.
    I am struggling with creating activity template. I created a normal transaction of type Z005 and tried to maintain it as a template (which was obviously wrong), and the system gave me a message that I need to attach a template transaction of template type D.
    How do I create an activity template of type D?
    Any help would be appreciated.
    Regards,
    Kaushal

    Hi Kushal,
    As your are in CRM 5.0 you can create Activity template from SAP GUI. Just execute CRMD_ORDER and select your Activity type (ZOO5) and in Menu click on Extras->Template->Create  just enter required details such as (description, responsible org etc.)  save the template it will create Activity template number. While creating Email Campaign just enter activity template number.
    Execute Email Campaign it should create Activity with required details.
    Regards,
    Dipesh.

  • Issue in Creating Activity in R/3 GUI

    Hi All
    I face an issue while creating an activity in Project System. When I click the Create --> Activity (intenal) in the menu in Project Builder, the system returns me back on the same page (Network Details page) and does not move further. (Same with clicking the Activity Overview)
    I had already created two activities for a diffrent network, sometime ago - which got saved but later display the message on accessing - "Inconsistent data in activity ..". Also, I am not able to add any new activity in this network too.
    Could you please help me know if I am doing something wrong or what the solution to this problem is ?
    Regards
    Sheenam

    Hi Kalyan;
      You can define different number ranges in R/3 and CRM.
    As per my understatnding number ranges maintained in R/3 is  0000000001-ZZZZZZZZZZ which is already exist in CRM.
    You can try following steps
    1. Define new number range ( as an ext no range)in CRM as per your requirement (which is not used in CRM)
    2. create new groupings then assign number range in to grouping.
    3. Then go to R/3 and change the number ranges for BP as a internal number ranges
    4.Goto T.Code PIDE there select R/3 to CRM. and enter the mapping details with new number ranges then start downloading.
    If helps reward the points.
    Regards
    Jameem Khan.
    TTL Mumbai

  • How to set up meeting with sales employee & how to create activity in a emp

    Hi all,
    I have two scenarios to be configured for my client.
    1. Sales manager should be able to set up a meeting with his sales team in CRM. can any one give me a idea how we can configure it in SAP CRM & what is the transaction type (Business activity) to be used to setup meeting with employees.
    2. How to create an activity or task in employees calendar. where we configure calendar in SAP CRM, do we need to assign this calendar any where in order to create create activity for employees calendar.
    Please do let me know how to achieve the above scenarios.
    I got one more issue is that, I have created two transaction types (business activity types) 1 for transaction type for meeting with employee with category "meeting" in business activity and 2nd transaction type is for sending email to employees with category "email" in business activity. I have also assigned these transaction types to categories under sentings for activities ->assign transaction types to categories in SPRO. But I am not finding these two transaction types on UI under activities. If use different category for these transaction types like appointment then these are available on UI for activities. Please suggest me how to fix this issue too.
    Thanks in advance
    JM

    Hi JM,
    1. It depends how you want to configure this and your detailed requirements. One way would be to create an activity of type Appointment and from this, create a CRM E-mail activity that sends an e-mail to all the Attendees in order to setup the meeting.
    2. Synchronizing Activities/Tasks is done with the Groupware Integration. I'm sure you can find some documents in SDN for it, but for now you can take a look at the IMG node (Customer Relationship Management->CRM Middleware and Related Components->Groupware Integration) and the help.sap.com (http://help.sap.com/saphelp_crm70/helpdata/EN/47/09e1c4cc8d4861e10000000a155369/frameset.htm) page.
    The "New" button in the standard Activities Search will load everything under the "screen kind" ALLS, which means all Activities with Activity Class Appointment, Task, E-mail and Sales Call. You can see this in the method CL_CRM_UIU_BT_ACT_CUST_GET=>GET_ACT_CLASS_FOR_SCREEN_KIND. It is pure UI logic that you can influence if you make modifications or enhance the Appointment UI (for example the component BT126S_APPT, by changing the screen kind passed). You'd need to debug a little bit to understand the logic, however.
    Hope this helps,
    Kind regards,
    YZ

  • Error in NWDS Creating activity is not allowed

    Hi all,
    I received this error and can't use the NWDI fully...
    the error message is:
    FAILED: Creating activity is not allowed because workspace is not modifiable
    all properties in .dtc, .metadata, NWDS folder, and project folders are not set to read only..
    where i need to change to work that??
    Thanks in advanced!

    Hi Bruno Ricciardi,
    While creating the project from DTR, did you create the project from Inactive DC's?
    You should not create a project from Active Dc's.
    Regards,
    Jaya.

  • Error in 'eMail Response - Process Message' --- Error running sub-process 'eMail Response - Create Activity' at step 'Create Activity Process'.(

    Hi,
    When I was simulating the 'eMail Response - Process Message', I had been getting the below error when entering to 'Create activity Process' step.(provided all the inputs per testmode.xml file)
    Error running sub-process 'eMail Response - Create Activity' at step 'Create Activity Process'.(SBL-BPR-00183)
    I increased the log level to 5 and got the below message in log file
    ObjMgrBusServiceLog    InvokeMethod    4    0000000251b51f04:0    2013-06-10 01:30:12    Begin: Business Service 'XML Hierarchy Converter' invoke method: 'DocToHier' at 12cc4240
    ObjMgrBusServiceLog    Error    1    0000000251b51f04:0    2013-06-10 01:30:12    (xmlcnvsv.cpp (548)) SBL-EAI-00246: XML Hierarchy Converter error - empty input message, expecting an XML document in <Value> of input arguments
    I was wondering I could not find 'XML Hierarchy Converter' business service in 'eMail Response - Process Message' and 'eMail Response - Create Activity' sub process.
    Can any body help me out in this regard.
    Thanks in advance..
    Jagadeesh

    Hi Naresh,
    yes, I am using the delete polling strategy. Here is the .jca file:
    <adapter-config name="Pozadavky" adapter="Database Adapter" wsdlLocation="Pozadavky.wsdl" xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">
    <connection-factory location="eis/DB/PozadavkyConn" UIConnectionName="PozadavkyConn" adapterRef=""/>
    <endpoint-activation portType="Pozadavky_ptt" operation="receive">
    <activation-spec className="oracle.tip.adapter.db.DBActivationSpec">
    <property name="DescriptorName" value="Pozadavky.Pozadavky"/>
    <property name="QueryName" value="PozadavkySelect"/>
    <property name="MappingsMetaDataURL" value="Pozadavky-or-mappings.xml"/>
    <property name="PollingStrategy" value="DeletePollingStrategy"/>
    <property name="PollingInterval" value="120"/>
    <property name="MaxRaiseSize" value="1"/>
    <property name="MaxTransactionSize" value="10"/>
    <property name="NumberOfThreads" value="1"/>
    <property name="ReturnSingleResultSet" value="false"/>
    </activation-spec>
    </endpoint-activation>
    </adapter-config>

  • Err in creating Activit under tab Ext. Process using BAPI_NETWORK_MAINTAIN

    Hi Gurus,
    I need to create activity under tab Ext. Processing for a network and i am planning to use BAPI "BAPI_NETWORK_MAINTAIN" for this purpose. I am able to create activity under "Int. Processing" using this BAPI but got error for "Ext. Processing" tab.
    Below is the code i am doing for ext. processing tab.
    ****to move 3rd activity number for external processing
    itemsg-internal_object_id = '000004000873'.
    activity = '0030'.
    CONCATENATE itemsg-internal_object_id activity INTO v_str.
          MOVE  itemsg-internal_object_id+0(12) TO itactivity-network.
        MOVE '0030' TO itactivity-activity.
        MOVE 'Activity2' TO itactivity-description.
        MOVE 'PS02' TO itactivity-control_key.
        MOVE '5001-KOS-0061' TO itactivity-project_definition.
        MOVE '5001-KOS-0061-BA' TO itactivity-wbs_element.
       MOVE 'AA' TO itactivity-factory_calendar.
       move '2000' to itactivity-DURATION_NORMAL.
       MOVE 'DAY' to itactivity-DURATION_NORMAL_UNIT.
       MOVE '2000' to itactivity-WORK_ACTIVITY.
       MOVE 'Z0004' to itactivity-MILESTONE.
       MOVE 'M3'    to itactivity-UN_WORK.
        MOVE '099' to itactivity-MATL_GROUP.
        MOVE 'PGL' to itactivity-PUR_GROUP.
        APPEND itactivity.
        MOVE '000003' TO itnetmethod-refnumber.
        MOVE 'NETWORKACTIVITY' TO itnetmethod-objecttype.
        MOVE 'CREATE' TO itnetmethod-method.
        MOVE  v_str TO itnetmethod-objectkey.
        APPEND itnetmethod.
        CLEAR  itnetmethod.
    Below is the error message i got when i load this code.
    Enter a time unit, since you have entered either work or actual work
    Termination: Too many errors (more than 10% of methods)
    The order or network could not be saved
    Please help me to resolve this issue.
    Thanks in advance
    Ajay

    Hi,
    1)
    I would suggest declaring a structure of type BAPE_VBAP & BAPE_VBEP...Then move the values instead of using offset..
    Example
    DATA: S_BAPE_VBAP TYPE BAPE_VBAP.
    Populate the Extension structure WITH Order commited flag
    LW_EXT_STRUCTURE-STRUCTURE = C_BAPE_VBAP.
    S_BAPE_VBAP-VBELN = W_VBAP-VBELN.
    S_BAPE_VBAP-POSNR = W_VBAP-POSNR.
    S_BAPE_VBAP-ZZORDCOFL = W_VBAP-ZZ_ORDCOFL.
    LW_EXT_STRUCTURE-VALUEPART1 = S_BAPE_VBAP.
    This will make sure the BAPE_VBAP is extended with the Z fields..
    2)
    You are checking only for abort messages...You are not checking for error messages..
    Instead of this..
    READ TO CHECK THE ERROR AND ABORT MESSAGES DURING BAPI CALL
    READ TABLE LT_RETURN_TAB INTO LW_RETURN_TAB
    WITH KEY TYPE = C_MSGTYP_A
    BINARY SEARCH.
    Have this code..
    LOOP AT LT_RETURN_TAB WHERE TYPE = 'E' OR TYPE = 'A'.
      EXIT.
    ENDLOOP.
    IF SY-SUBRC = 0.
      WRITE: / 'ERROR'.
    ELSE.
      WRITE: / 'SUCCESS'.
    ENDIF.
    This will make sure there are no error messages..Also check the return table for error messages in the debugging mode..
    Thanks,
    Naren

  • Creating active directory users with dscl

    Our mac workstations (OSX 10.8) are bound to a 2008 Active Directory server.  We are attempting to use some existing dscl scripts on the mac client computer to create Active directory users.  We can successfully read and change AD attributes of an existing user with dscl, but creating new users or new attributes for an existing user gives us an error.  Here are some examples.
    SUCCESSFUL READ OF AD USER ATTRIBUTE:
    root# dscl -u administrator  "/Active Directory/CXAD/All Domains" -read /Users/jholmes SMBHomeDrive
    Password:
    SMBHomeDrive: H:
    root#
    SUCCESSFUL DELETE OF ABOVE USER ATTRIBUTE
    root# dscl -u administrator  "/Active Directory/CXAD/All Domains" -delete /Users/jholmes SMBHomeDrive
    Password:
    root#
    FAILED ATTEMPT AT RE-CREATING THE DELETED ATTRIBUTE
    root# dscl -u administrator "/Active Directory/CXAD/All Domains" -create /Users/jholmes SMBHomeDrive
    Password:
    <main> attribute status: eDSInvalidRecordType
    <dscl_cmd> DS Error: -14130 (eDSInvalidRecordType)
    root#
    The same error occurs when attempting to create a new user.  Any ideas?  Thanks in advance for any suggestions.

    In the end I could not find them; account info is ONLY stored locally in Open Directory when they have mobile accounts.
    However, I found I could migrate their user directories in Terminal via ditto ( I connected the old macs via Firewire Target mode) , and when they log in all their stuff and settings are there.
    the command is: ditto /Volumes/<old mac hard drive>/Users/<username> /Users/<username>

  • Create activity and survey via 'CRM_ORDER_MAINTAIN'

    Dears,
    i am in CRM 6.0 now. i have decided to use FM 'CRM_ORDER_MAINTAIN' to create and change activity, also there is a import field named 'IT_SURVEY'. Now i want to batch upload the answers of the survey in a txt file to CRM and then create the survey and attach the survey to the activity.
    After check program 'CRM_SURVEY_UI' which also use 'CRM_ORDER_MAINTAIN' to create activity and survey, i found SAP will convert your input to a rawstring. But the convertion is based on the HTML container(class gr_survey_html), my case is flat txt file. How could i realize the convertion ?
    Any advice? I am so puzzled on this for a long time..
    BR.

    Hi,
    I have the same issue. Any suggerence with this topic?
    Regards,
    Mon
    Edit: It is solved. CRM_ORDER_MAINTAIN allows introduce a survey in an activity.
    Edited by: Mon on Apr 7, 2008 3:51 PM

  • Create Activity from a Lead on PCUI

    Hi everybody,
    I am having a problem, I don't know if anybody has had this before. I am trying to create an Activity from the lead screen on PCUI by using the Standard create activity button, but when I click on it instead of trying to open a popup accessing the portal and one of the roles in it, it tries to open a popup calling the CRM WAS but it sends the portal role and i-view information. Of course with this instead of getting the activity I-view open I am getting a BSP Error from the PCUI BSP application.
    I am not sure why is this happening I am using the standard i-views.
    The exact error I am getting is as follows:
    Business Server Page (BSP) Error
    What happened?
    Call of BSP page terminated due to error.
    Note
    Following error text processed in system:
    BSP Exception: the Application Name com.sap.pct.crm.LeadManager in URL /roles/com.sap.pct.crm.LeadManager/ActivityManagement/MaintainActivities_2?DynamicParameter=CRM_OBJECT_TYPE%3DBUSINESSACTIVITYCRM%26CRM_BOR_TYPE%3DBUS2000126%26CRM_LOGSYS%3DCRDCLNT110%26CRM_NAV_EVENT%3DCREATE_FOLLOWUP%26sap-syscmd%3Dnocookie%26crm_psid_gu is invalid.
    Error Type:
    Your SAP Business Server Pages Team
    Thanks a lot for any help you can give me on this.
    Regards,
    Felipe

    The CRM Context Service is already installed, but I don't know if maybe something on it was not installed right and I don't know how I could check it.
    Regards,
    Felipe

  • Create activity from external system

    Hi
    What is meant by creating activity from external system.
    I need to work on an enhancement which deals with function module to create activity that can be called from external systems e.g. on demand.
    I am not sure what does that exactly mean?
    Any pointers would be helpful.
    Thanks
    Alka

    Hi guys,
    Thanks for your answers... But is it possible to call transaction NOTIF_CREATE from an external system?
    I have done something already so that those 3 fields will be automatically populated for a message sent from an external system.
    I changed the screen and called FM BAPI_NOTIFICATION_CREATE(a remote enabled FM which is the one being used by transaction NOTIF_CREATE to create a message) inside FM BCOS_SEND_MSG.
    I populated the category, subject and solution in the FM export parameters as well as the solution number in the sap data table. I put a destination also..
    This FM calls another FM DNO_OW_CREATE_NOTIFICATION which is the one being used from the external system but do not cater the functionality to send the 3 fields that we need.
    As you will notice, there are lots of standard objects that I've changed. =)
    My problem now is that the system data sent is the same with the system data if you create the message using NOTIF_CREATE. Some system that were sent when a message is sent from an external system is missing but at least the sap system and client ID is sent. There is no external reference number also. But hopefullly, the users will accept it. Can't find any other solution to this.
    Thanks,
    Eric

  • Creating Activity Diagram from existing code in 11g

    Hi,
    How can I create activity diagram for an existing application in 11.1.2.2.0 version?
    -Infy

    Do you mean you select activity diagram in wizard but you see classes (not invocations/partitions etc) on created diagram?
    If so.. it's a design, you just see activity diagram with inappropriate elemnts.
    We support to create any diagram from any elemnts but may be it's better to block diagram creation from not appliable elemnts.

  • Authorization for creating activity journal template

    I have log on with salespro role in CRM 7.0.When I try to click the link in UI for creating activity journal template.
    It said that I don't have authorization.
    Could I ask where to control this authorization?
    I thought this should include in the authorization for salespro.
    Thanks

    Hi Jiao,
    Just Check the PFCG role assigned to Salespro role is having authorization for object CRM_ACTJNL
    Regards,
    Dipesh.

  • Create Activity : result attribute is showing BTSubject is not bound.

    Hi,
    When we are creating activity we need to show two standard ddlb i.e., reason and result. with the help of configuration we added these two fields but only reason ddlb is showing list of values but result ddlb is totally non editable and when we are searching activities itu2019s showing BTSubject is not bound. How can I select correct field in configuration or is there any solution to enable this fields
    Reason ddlb technical information
    BT126H_APPT
    view : BT126H_APPT/ApptDetails
    context node : BTSUBJECTF
    attribute : STRUCT.CONC_KEY
    Result ddlb
    context node : BTSUBJECTG
    attribute : STRUCT.CONC_KEY

    Kumar,
    I suggest you search SAP Notes with keywords like 'BTSUBJECTG' and 'BTSubject is not bound'. There are quite a few issues about reason and result fields and some note must have already addressed this standard issue.

Maybe you are looking for

  • Itunes download error message (-50)

    I have been trying to download some purchased music and every time I get an error message (-50) to check back later. I have 3 songs that won't download and I'm afraid to try to buy anything else until this clears up. I've tried to update my Itunes so

  • Posting down payment document through F-48 without down payment request

    Dear All: I am facing a serious control issue in vendor down payment. SAP transcation code F-48 (vendor down payment) can post a payment document without even any Down Payment Request. Is there some configuration / notes missing in my SAP system?? If

  • How to get the value of passwordexpirationtime at LDAP

    LDAP Gurus, I want to sent an email notification before user's password is expired, so I need get the value of attribute "passwordexpirationtime" for all the users. while I tried a lot of ways, but I can not see and get the value. e.g command and out

  • Caching downloaded classes - again

    I created another thread for this problem, please refer to the original thread "caching downloaded classes". Here is the complete code: import java.net.*; import java.io.*; import java.lang.reflect.*; class Connect public static void main(String...a)

  • Bug: Color change of plot on wrong line

    When changing the color of a plot in a mixed signal graph, there is a graphical issue that the Plot is "previewed" on the line above. Have a look at the screenshots, it's quite obvious. We use LabVIEW 9 SP1 and are just changing to 11 SP1, but the bu