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

Similar Messages

  • Creating activity and populate activity journals from ext. data

    We are looking to create activities and corresponding journal entries from an external database application.
    The external database is SQL, and there are 30,000 data records.
    What is the best approach for mass load of external data into a CRM activity.
    Thanks

    I don't know of a tool to use to load them.  We wrote a load program that calls function module BAPI_ACTIVITYCRM_CREATEMULTI to create the activities
    Hope this helps;
    Brant

  • Create activity with survey through BSP

    Hello,
    can somebody tell me how we can create a survey through a BSP page and link this to an activity?
    Kind regards
    Geoffrey

    Hi Gerard,
    Any speific reason to go in for a BSP? If you have the Enterprise Poratl 6.0, you have a quickpoll / survey feature in Knowledge Management. Pl post this question in the BSP or EP forums for a better response.
    Regrads,
    Suresh Datti

  • Create activity from survey reponse

    Hi Experts,
    I'm trying to implement a scenario in campaign automation (CRM2007) where an activity is created when in a survey response a particular questions is answered with a specific answer (for example, when question X has answer Y, an activity (task) should be created so that customer service can pick this up).
    In the scenario outgoing mail as the response are generated in CRM. But how will i go about the creation of the additional tasks? After the decision node (when question X has answer Y --> campaign element Z) i put campaign element Z with communication medium Activity with an Activity Template associated to it. The workflow puts the business partner in the campaign element (number responses is + 1) but a activity is not created.
    Your help will be very much appreciated!
    Regards,
    Marius

    Implement these two BADI:
    1. BADI: Campaign Determination
    2. BADI: PAI Processing of Survey Data in Campaign Automation
    Note: In the seconde BADI modify the method to add your transaction type.
    IMG>Customer Relationship Management>Marketing>Marketing Planning anc Campaign Management>Campaign Automation-->Business AddIns
    Let me know if you have any questions!

  • Creating Activity and want to attach PDF

    Hi,
    I am using function BAPI_ACTIVITYCRM_CHANGEMULTI
    to create activities via bulk process
    I want to attach a result of smartform and adobe print forms as attachments
    I can not find any simple function pr process to do this
    please help!!!!!!!
    cheers
    brendan

    did u find the answer?

  • 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

  • Create Activity with Campaign and Activity Result

    Hi everybody!
    I'm developing a report and I would like to create an activity in CRM passing values to field Campaign and Result (Activity Result).
    Thanks in advance for your tips and suggestions..

    You can do this with the CRM_ORDER_MAINTAIN FM. Sorry, but I do not know by heart where the two fields are stored, but if you like to know use CRM_ORDER_READ to access a known activity and check where your data is stored.
    Hope this helps,
    Kai

  • 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

  • We have created two partitions in removable drive(USB). One of the partition is active and the other is hidden. We are trying to acess the hidden partition in Win PE 3.0 environment using WMI

    We have created two partitions in removable drive(USB). One of the partition is active and the other is hidden. We are trying to access the hidden partition in Win PE 3.0 environment using WMI. VBScript code snippet used to detect the partitions is given
    below:- 
    SetobjWMIService = GetObject("winmgmts:"_&
    "{impersonationLevel=impersonate}!\\"&
    strComputer & "\root\cimv2")
    SetcolDisks = objWMIService.ExecQuery
    Select * from Win32_LogicalDisk")
    It will return the partition which is active but fails to list the partition which is hidden. The same piece of code was supported on WinPE 2.0

    I am giving the complete code, may be you are able to understand better. We are using Win32_LogicalDisk to retrieves the complete information of all the drives (like C:, D:) including removable drives. 
    Function
    LocalDriveFound()
        strComputer =
    SetobjWMIService = GetObject("winmgmts:"_
    "{impersonationLevel=impersonate}!\\"&
    strComputer & "\root\cimv2")
    SetcolDisks = objWMIService.ExecQuery
    "Select * from Win32_LogicalDisk")
    ForEachDiskDrive
    IncolDisks
            DriveLetter = Left(DiskDrive.Name,1)
            DriveType = DiskDrive.DriveType
            VolumeName = DiskDrive.VolumeName
            WScript.echo Driveletter &
    "|"& Drivetype &
    "|"&VolumeName
    SelectCaseDriveType
    Case2 ,3  
    'Fixed or removable
    If(VolumeName=USBVolumeName)
    Then
    If(DriveLetter<>
    "Z")
    Then
                        ChangeDriveLetterWithMountvol DriveLetter,
    "Z"
    EndIf
                    bIsLocal=
    True
    EndIf 
    If(VolumeName=USBRootName)
    Then
    If(DriveLetter<>
    "Y")
    Then
                        ChangeDriveLetterWithMountvol DriveLetter,
    "Y"
    EndIf
                    bIsLocal=
    True
    EndIf 
    CaseElse
    EndSelect
    Next
    SetDrives =
    Nothing
    SetFileSystemObject =
    Nothing
    End
    Function

  • Tcode to create activity group and authorization check,

    hi,
      can any one say me the transaction code to create activity group and authorization check.

    Hi
    I'm not sure about what you want to do, anyway have you try the trxs SU20 and SU21?
    Max

  • I just recently up graded from AI CS6 to AI CC and I am having issues with my pen tool. If I create a starting point and then make another point it does not allow me to make the secnd point an end point. The pen tool stays active and I either have to clic

    I just recently up graded from AI CS6 to AI CC and I am having issues with my pen tool. If I create a starting point and then make another point it does not allow me to make the second point an end point. The pen tool stays active and I either have to click to isolate the path or I have to return to the first point and close the path. Please help.

    artisttouch,
    If you cannot close the Pen Tool by switching to another tool, as a temporary measure you may try pressing P (for Pen).
    To solve it, you may try the list.
    The following is a general list of things you may try when the issue is not in a specific file (you may have tried/done some of them already); 1) and 2) are the easy ones for temporary strangenesses, and 3) and 4) are specifically aimed at possibly corrupt preferences); 5) is a list in itself, and 6) is the last resort.
    If possible/applicable, you should save curent artwork first, of course.
    1) Close down Illy and open again;
    2) Restart the computer (you may do that up to 3 times);
    3) Close down Illy and press Ctrl+Alt+Shift/Cmd+Option+Shift during startup (easy but irreversible);
    4) Move the folder (follow the link with that name) with Illy closed (more tedious but also more thorough and reversible);
    5) Look through and try out the relevant among the Other options (follow the link with that name, Item 7) is a list of usual suspects among other applications that may disturb and confuse Illy, Item 15) applies to CC, CS6, and maybe CS5);
    Even more seriously, you may:
    6) Uninstall, run the Cleaner Tool (if you have CS3/CS4/CS5/CS6/CC), and reinstall.
    http://www.adobe.com/support/contact/cscleanertool.html

  • I have a problem with the device does not accept 5 slot after work and survey content is not possible activation of the device and iTunes

    I have a problem with the device does not accept 5 slot after work and survey content is not possible activation of the device and iTunes imei: 01******206
    <Personal Information Edited by Host>

    لدي جهاز ترقفت الشبكه ويعطي جاري البحث وتم تحديثه ولم يتم حل المشكلهة  والان الجهاز لايقبل التنشيط والايتونز لايتعرف عليه امل تنشيطه 013619004986206

  • Survey (via Web) - some especifications

    Hi Experts!
    We are implementing Survey via Web. Acording to the especification of the client, it should contain the following especifications:
    - There appears only one section (question) at a time.
    - According to the answer option selected, the next question appears (not necesary the next in the order, but follwing an inner logic).
    - Integration with Mkt. Attributes.
    I would be very grateful for your help.
    Thanks,
    Cristina

    hi MON
    this is the procedure
    In SAP Standard when a customer answers a survey, a new activity with transaction type ‘0000’ will be created that automatically triggers the follow-up processes. In our business scenario we’re not using transaction type ‘0000’ but ‘Y004’ instead.
    To make the campaign automation survey scenario running for this transaction type as well you have to change a BAdI.
    The following procedure describes where and how to adapt the respective changes.
    In a real customer scenario this is a very likely procedure.
    Transaction Code SE18
    1. SAP Menu Architecture and Technology---->ABAP Workbench -
    >Utilities -
    >Business Add-Ins
    2. Enter the name of the respective BAdI CRM_MKTCA_SVY_PAI in the field Definition Name and choose Display first.
    3. Go to tab ‘Interface’ and double-click on the default implementation class CL_DEF_IM_CRM_MKTCA_SVY_PAI.
    4. Again, double-click on method IF_EX_CRM_MKTCA_SVY_PAI~PROCESS_SVY_PAI_FOR_CA and confirm the following dialog box with Yes.
    5. In the following you see the example implementation for transaction type ‘0000’.
    6. Now switch to change mode and search for ‘0000’ with the Find/Replace button.
    7. In the following replace the line
    iv_process_type = '0000' with the line
    iv_process_type = 'Y004'
    8. Save your settings and don’t forget to activate your coding again.
    now just try to understand it
    because as soon as customer repond to the survey you get an in bound activity
    this activity generation is crucial part of response analysing because this activity contains the info regarding the customer response
    i would also advise you to go through the campaign automation,as it is the standard way to get the customer response.
    best regards
    ashish

  • 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

  • Apple Mail and GoogleMail via IMAP

    Disclaimer: Apple does not necessarily endorse any suggestions, solutions, or third-party software products that may be mentioned in the topic below. Apple encourages you to first seek a solution at Apple Support. The following links are provided as is, with no guarantee of the effectiveness or reliability of the information. Apple does not guarantee that these links will be maintained or functional at any given time. Use the information below at your own discretion.
    _*Apple Mail and GoogleMail via IMAP*_
    As posts concerning the setup of Apple Mail for GoogleMail IMAP access become more frequent on Apple Discussions, I decided to collect some of the most asked-for info in one place. The following hints are intended to provide enough info for anyone who wants to get started with Google Mail IMAP and Mail.app.
    As you might have noticed already, GoogleMail behaves differently from other IMAP accounts in some respects. One of the underlying reasons is its use of labels instead of folders (i.e. instead of moving messages to different folders – like e.g. Private and Work – in order to establish some order, rather there are labels tagged to the messages). Because of this a particular setup of Apple’s Mail client is required.
    *Activating IMAP for Google Mail*
    If you haven’t activated access via IMAP for Google Mail already, follow the instructions given by Google [here|http://mail.google.com/support/bin/answer.py?answer=77695&topic=13294]. It boils down to this:
    1) Sign in to Gmail.
    2) Click "Settings" at the top of any Gmail page,
    3) click "Forwarding and POP/IMAP",
    4) select "Enable IMAP".
    5) Click "Save Changes".
    *Creating a new account in Apple Mail*
    To add a Google Mail IMAP account in Mail.app, go to File > Add Account. A wizard will open which prompts you to insert your Name, the eMail-address of the new account and the password. Don’t use the option for automatic configuration if it’s available. Info on what to type into the different fields can be obtained from Google [here|http://mail.google.com/support/bin/answer.py?answer=78799&topic=12814]. The most important are:
    1) Incoming Server: imap.gmail.com, port 993 (using SSL)
    2) Outgoing Server: smtp.gmail.com, port 465 or 587 (using SSL)
    3) Your account name is your full email address including "@gmail.com" (without the quotation marks)
    *Configuring the Google Mail account in Apple Mail*
    After you have added your Google Mail IMAP account to Mail.app, you’ll find a section for Google Mail in Mail.app’s sidebar with subfolders like "All Mail" (which has in turn several subfolders) and folders for each label you created with GoogleMail. Now you have to configure the account properly. Despite what [Google recommends|http://mail.google.com/support/bin/answer.py?answer=78892&topic=1281 4], I found the following settings to work best for me.
    In the sidebar, navigate to the subfolders Trash/Sent/Drafts/Junk of "Google Mail" (the one with the white folder icon instead of a blue one) in turn and go to "Mailbox" menu > "Use this mailbox for..." > Trash/Sent/Drafts/Junk respectively. Afterwards these folders show up as subfolders to the main Trash/Sent/Drafts/Junk folders in the sidebar (and at the same time disappear from the GMail section). Among others this step is necessary because of Google Mail’s implementation of labels. E.g., as Google states [here|http://mail.google.com/support/bin/answer.py?answer=78892&topic=12814]:
    Messages that are deleted from an IMAP folder (...) only have that label removed and still exist in All Mail
    So if you want to delete a message you have to set the option to "Use this mailbox for… Trash" as described above. Same applies to sent messages etc.
    Furthermore, make sure every checkbox in Mail's Preferences > Accounts > GoogleMail > Behavior is checked . (Some will already and automatically be checked when you apply the option "Use this mailbox for..." as described above).
    *Some basic troubleshooting tips*
    1) If your counter for unread messages in Mail.app doesn’t refresh properly, go to "Mailbox" menu > "Sync all accounts".
    2) If you have set up a Smart Mailbox in Mail e.g. for unread messages and every unread message of Google Mail shows up twice, then add the criterion "Message is not in mailbox" > "All Mail", and set the requirement for messages to comply with ALL conditions (instead of ANY). This is necessary because of every message there is a copy stored in All Mail.
    I hope these info will be regarded as helpful by anyone who tries to get started with Google Mail and experiences some problems on the way.
    The links given were accessible as of September, 3rd, 2008. The setup was tested on a MacBook with OS X 10.5.4 Leopard and Mail 3.4 (928/928.1).
    Good computing.
    floba
    (Note: the above given hints are personal suggestions and I don’t assume liability for any disorders that might occur after applying the described steps.)
    Do you want to provide feedback on this User Contributed Tip or contribute your own? If you have achieved Level 2 status, visit the User Tips Library Contributions forum for more information.

    Disclaimer: Apple does not necessarily endorse any suggestions, solutions, or third-party software products that may be mentioned in the topic below. Apple encourages you to first seek a solution at Apple Support. The following links are provided as is, with no guarantee of the effectiveness or reliability of the information. Apple does not guarantee that these links will be maintained or functional at any given time. Use the information below at your own discretion.
    _*Apple Mail and GoogleMail via IMAP*_
    As posts concerning the setup of Apple Mail for GoogleMail IMAP access become more frequent on Apple Discussions, I decided to collect some of the most asked-for info in one place. The following hints are intended to provide enough info for anyone who wants to get started with Google Mail IMAP and Mail.app.
    As you might have noticed already, GoogleMail behaves differently from other IMAP accounts in some respects. One of the underlying reasons is its use of labels instead of folders (i.e. instead of moving messages to different folders – like e.g. Private and Work – in order to establish some order, rather there are labels tagged to the messages). Because of this a particular setup of Apple’s Mail client is required.
    *Activating IMAP for Google Mail*
    If you haven’t activated access via IMAP for Google Mail already, follow the instructions given by Google [here|http://mail.google.com/support/bin/answer.py?answer=77695&topic=13294]. It boils down to this:
    1) Sign in to Gmail.
    2) Click "Settings" at the top of any Gmail page,
    3) click "Forwarding and POP/IMAP",
    4) select "Enable IMAP".
    5) Click "Save Changes".
    *Creating a new account in Apple Mail*
    To add a Google Mail IMAP account in Mail.app, go to File > Add Account. A wizard will open which prompts you to insert your Name, the eMail-address of the new account and the password. Don’t use the option for automatic configuration if it’s available. Info on what to type into the different fields can be obtained from Google [here|http://mail.google.com/support/bin/answer.py?answer=78799&topic=12814]. The most important are:
    1) Incoming Server: imap.gmail.com, port 993 (using SSL)
    2) Outgoing Server: smtp.gmail.com, port 465 or 587 (using SSL)
    3) Your account name is your full email address including "@gmail.com" (without the quotation marks)
    *Configuring the Google Mail account in Apple Mail*
    After you have added your Google Mail IMAP account to Mail.app, you’ll find a section for Google Mail in Mail.app’s sidebar with subfolders like "All Mail" (which has in turn several subfolders) and folders for each label you created with GoogleMail. Now you have to configure the account properly. Despite what [Google recommends|http://mail.google.com/support/bin/answer.py?answer=78892&topic=1281 4], I found the following settings to work best for me.
    In the sidebar, navigate to the subfolders Trash/Sent/Drafts/Junk of "Google Mail" (the one with the white folder icon instead of a blue one) in turn and go to "Mailbox" menu > "Use this mailbox for..." > Trash/Sent/Drafts/Junk respectively. Afterwards these folders show up as subfolders to the main Trash/Sent/Drafts/Junk folders in the sidebar (and at the same time disappear from the GMail section). Among others this step is necessary because of Google Mail’s implementation of labels. E.g., as Google states [here|http://mail.google.com/support/bin/answer.py?answer=78892&topic=12814]:
    Messages that are deleted from an IMAP folder (...) only have that label removed and still exist in All Mail
    So if you want to delete a message you have to set the option to "Use this mailbox for… Trash" as described above. Same applies to sent messages etc.
    Furthermore, make sure every checkbox in Mail's Preferences > Accounts > GoogleMail > Behavior is checked . (Some will already and automatically be checked when you apply the option "Use this mailbox for..." as described above).
    *Some basic troubleshooting tips*
    1) If your counter for unread messages in Mail.app doesn’t refresh properly, go to "Mailbox" menu > "Sync all accounts".
    2) If you have set up a Smart Mailbox in Mail e.g. for unread messages and every unread message of Google Mail shows up twice, then add the criterion "Message is not in mailbox" > "All Mail", and set the requirement for messages to comply with ALL conditions (instead of ANY). This is necessary because of every message there is a copy stored in All Mail.
    I hope these info will be regarded as helpful by anyone who tries to get started with Google Mail and experiences some problems on the way.
    The links given were accessible as of September, 3rd, 2008. The setup was tested on a MacBook with OS X 10.5.4 Leopard and Mail 3.4 (928/928.1).
    Good computing.
    floba
    (Note: the above given hints are personal suggestions and I don’t assume liability for any disorders that might occur after applying the described steps.)
    Do you want to provide feedback on this User Contributed Tip or contribute your own? If you have achieved Level 2 status, visit the User Tips Library Contributions forum for more information.

Maybe you are looking for