Lot Number Related to Service Request Tables - Ramya

HIi All,
Where is the lot number available in the tables ...which appear in the service request window??????????????????

Which release are you on? Also, which Service Request UI are you looking at? Is it the main SR form or the SR Tab in Contact Center?
FYI...Lot Number is not used and is not handled by the SR API.

Similar Messages

  • How to know an order number from the service contracts table

    Hi all,
    I want to know how the order entry module and service contracts module are connected. I mean to ask if a service is placed as an order for purchase how do i get the information about the order_id or order_number from the service contracts table.
    please point me in a direction so as to which tables i should be lookling at.
    Thanks.

    Try OKC_K_REL_OBJS table. The column JTOT_OBJECT1_CODE contains values 'OKX_ORDERHEADER' or 'OKX_ORDERLINE' and the column RTY_CODE = 'CONTRACTSERVICEORDER'. The column OBJECT1_ID1 should store order HEADER_ID or LINE_ID based on JTOT_OBJECT1_CODE value. Hope this helps.

  • Service Request Report with related Activities?

    Just curious if anyone has seen or created an SSRS report off the DWDataMart related to Service Requests and corresponding activities?  Specifically I am looking for approval activities and the approvers/status which relate back to Service Requests.

    Smjohn,
    Perhaps narative reporting can assist with this, I have a document I can send you that gives you information on narrative reporting. You can email me at alex.neill@{see profile}
    regards
    Alex

  • Child Service Request

    Is it possible to relate a Service Request to another? Like one is my parent and the other one is the child?
    Thanks in advance
    Rafael

    Rafael, this functionality is on our roadmap. However, I have a document that describes how this can be done today. Please provide me with your email and I will send it to you.

  • Table for Delivery number & Quality inspection lot number.

    Hi Gurus,
    In which table, Delivery Number & Quality inspection lot number  are related?
    Reg.
    Amol

    Hi,
    In LIPS
    If required modify layout and select Inspection lot option
    Kapil

  • Create Service Request to open for the incident number we pass

    I want to call open Service Request form(Form:CSXSRISR) with details of incident number already loaded.
    I am trying to pass parameters like request_id, p_incident_id ,... When the form opens it says no such parameter is there. Is there any way to open a create service request form with the service request loaded for the incident number we pass

    Hi Joaquin,
    Thank you for answering. I already tried: I select the line with the email in the Inbox, I press Interact (the account is automatically recognized and I am asked to confirm it), I confirm the account and then I navigate to "Service Request" workcenter: a new Service Request is displayed, with the employee responsible and the customer automatically filled. However, I can see no data regarding any attached email in any of the Service Request tabs (even if I save or select "End").
    After your answer, I tried the same procedure with the "Service Ticket" and noticed that the email is correctly displayed as an Interaction Record under the Business Content tab for the Service Ticket: since you confirmed that this should work also for Service Request, I guess there's something wrong in my customizing settings and now I will search for errors.
    Thanks for your help.
    Best regards,
    Laura.

  • Service request related question

    I wasn't sure where to put this - so I guessed here...I filled out the service form because my battery won't stay charged on my nano...I received the empty box, but I never got the email of instructions on what to do. I put my nano in the box and sealed it - and removed the top copy of the label, but there are 4 boxes at the bottom of the return label and i'm not sure if I'm supposed to check on or now. They are labeled: CIP - Unopened Box - Defective - Something Else I can't remember right now. Can someone help me please???
    Nano   Windows XP  

    Hi Sunil,
    You can already make surveys mandatory and get an error message if it is not filled from customizing.
    Open the following customizing:
    CRM > Transactions > Settings for Service Requests > Questionnaires > Define Determination for Surveys in Service Requests
    In this customizing, have a new determination rule with the Item category as needed and check the Mandatory checkbox. You might need to scroll to see this checkbox. With this setting, you should get an error message if the questionnaire is not filled.
    Regards,
    Shiromani

  • Close all related service request after closing master service request

    Hello Experts
            I have configured the service request 2000223.Now i have a requirement,that in any disastrous case, one service request will be made and other service request in that category will be linked to the main service request and after closing the first one or master service request  others will be closed.
    Please guide me
    Thanks in advance

    Hi Rashmi,
    You can follow below links, first will give an Idea about Master Service Request and Second one will provide you the configuration steps;
    Service Request Management with SAP CRM 7.0
    https://help.sap.com/saphelp_crm700_ehp01/helpdata/en/df/379cd1ec6c4de5984f38bd30b03a9c/frameset.htm
    When you click on second link on the right hand side you'll find the option of download and in another window you'll get the steps.
    Regards,
    Kamfrk,

  • Serial number related sales???

    Hi everyone,
    i am not quite sure whether i should put the question in this sub forum or not...
    i got this problem when i try to use serial number of an equipment to search all related sales orders.
    in our company it is defined that serial number would be created in the first sales order, when the customer purchase the configurable products at the first time.--- we call that initial sales.
    then after months or year, customer could come again and buy upgrades or addtional options on that products(we can select serial number to locate that machine in the configurator in sales order)--- we call that following up sales.
    so, now the situation is, i can call TA IQ03 to see the equipment and through reference to find the initial sales order, HOWEVER... if i want to have an overview of all Equipments related following up sales, Is that possible ??? or at least the last following up sales which determine the configuration status in the service equipment.
    i dont see any info about that in IE03 or IQ03, is that to be found in any DB tables?
    thanks a lot !!!
    yunfan

    Hi,
    Check table SER01 for serial numbers that are related to deliveries.
    Regards.

  • GWTDOMAIN Service request not forwarded to remote site gwerrno(402019)

    Hi
    my tuxedo sometime take errors as followed:
    084405.guzqz2!GWTDOMAIN.11056: LIBGW_CAT:1029: ERROR: Service request not forwarded to remote site:"TPESVCERR - server error while handling request" gwerrno*(402019)*
    084521.guzqz2!GWTDOMAIN.11056: LIBGW_CAT:1029: ERROR: Service request not forwarded to remote site:"TPESVCERR - server error while handling request" gwerrno(402019)
    OS: SCO Open Server506
    tuxedo version: 6.5
    patchlev: 455
    it will come OK each time 10-20 minutes after it take such errors.
    I checked the pq and IPCs . there seems to be no blocked process or queqes .
    have anybody solved problem like this?
    Please help. Thanks a lot
    =======================================
    pq
    Prog Name Queue Name # Serve WkQueued # Queued Ave. Len Machine
    C00000 00001.00015 1 0 0 0.0 SITE1
    BBL 140000 1 0 0 0.0 SITE1
    DMADM 00001.00010 1 0 0 0.0 SITE1
    WSL 00001.00005 1 0 0 0.0 SITE1
    GWTDOMAIN gwgrp 1 0 0 0.0 SITE1
    C00000 00001.00011 1 0 0 0.0 SITE1
    B31296 00003.00060 1 0 0 0.0 SITE1
    GWADM 00001.00020 1 0 0 0.0 SITE1
    ================================
    IPCS
    ipcs -a
    IPC status from /dev/kmem as of Thu Sep 25 09:03:30 2008
    T ID KEY MODE OWNER GROUP CREATOR CGROUP CBYTES QNUM QBYTES LSPID LRPID STIME RTIME CTIME
    Message Queues:
    q 16141 0x00000000 -Rrw-rw---- rmtsrv informix rmtsrv informix 0 0 32768 0 0 no-entry no-entry 23:11:32
    q 27406 0x00000000 -Rrw-rw---- rmtsrv informix rmtsrv informix 0 0 32768 0 0 no-entry no-entry 23:11:32
    q 21263 0x00000000 -Rrw-rw---- rmtsrv informix rmtsrv informix 0 0 32768 0 0 no-entry no-entry 23:11:32
    q 22288 0x00000000 -Rrw-rw---- rmtsrv informix rmtsrv informix 0 0 32768 0 0 no-entry no-entry 23:11:32
    q 4881 0x00000000 -Rrw-rw---- rmtsrv informix rmtsrv informix 0 0 32768 11055 11054 23:11:32 23:11:32 23:11:32
    q 8466 0x00000000 -Rrw-rw---- rmtsrv informix rmtsrv informix 0 0 32768 11054 11055 23:11:32 23:11:32 23:11:32
    q 22291 0x00000000 -Rrw-rw---- rmtsrv informix rmtsrv informix 0 0 32768 11065 11056 9:01:36 9:01:36 23:11:32
    q 13588 0x00000000 -Rrw-rw---- rmtsrv informix rmtsrv informix 0 0 32768 11056 11059 9:01:33 9:01:33 23:11:32
    q 277 0x00000000 rw-rw-- rmtsrv informix rmtsrv informix 0 0 32768 0 0 no-entry no-entry 23:11:32
    q 24854 0x00000000 -Rrw-rw---- rmtsrv informix rmtsrv informix 0 0 32768 11059 11062 10:53:01 10:53:01 23:11:32
    q 18711 0x00000000 rw-rw-- rmtsrv informix rmtsrv informix 0 0 32768 0 0 no-entry no-entry 23:11:32
    q 24856 0x00000000 rw-rw-- rmtsrv informix rmtsrv informix 0 0 32768 0 0 no-entry no-entry 23:11:32
    q 29465 0x00000000 rw-rw-- rmtsrv informix rmtsrv informix 0 0 32768 0 0 no-entry no-entry 23:11:32
    q 11546 0x00000000 rw-rw-- rmtsrv informix rmtsrv informix 0 0 32768 0 0 no-entry no-entry 23:11:32
    q 29467 0x00000000 -Rrw-rw---- rmtsrv informix rmtsrv informix 0 0 32768 11059 11063 9:01:26 9:01:26 23:11:33
    q 15132 0x00000000 rw-rw-- rmtsrv informix rmtsrv informix 0 0 32768 0 0 no-entry no-entry 23:11:33
    q 15133 0x00000000 -Rrw-rw---- rmtsrv informix rmtsrv informix 0 0 32768 11057 11064 16:04:23 16:04:23 23:11:33
    q 6942 0x00000000 -Rrw-rw---- rmtsrv informix rmtsrv informix 0 0 32768 11059 11065 9:01:33 9:01:33 23:11:33
    q 29471 0x00000000 rw-rw-- rmtsrv informix rmtsrv informix 0 0 32768 0 0 no-entry no-entry 23:11:33
    q 11040 0x00000000 -Rrw-rw---- rmtsrv informix rmtsrv informix 0 0 32768 0 0 no-entry no-entry 23:11:33
    q 29473 0x00000000 -Rrw-rw---- rmtsrv informix rmtsrv informix 0 0 32768 0 0 no-entry no-entry 23:11:33
    q 15138 0x00000000 -Rrw-rw---- rmtsrv informix rmtsrv informix 0 0 32768 11059 11068 11:09:39 11:09:39 23:11:33
    q 15651 0x00000000 -Rrw-rw---- rmtsrv informix rmtsrv informix 0 0 32768 0 0 no-entry no-entry 23:11:34
    q 7460 0x00000000 -Rrw-rw---- rmtsrv informix rmtsrv informix 0 0 32768 0 0 no-entry no-entry 23:11:34
    T ID KEY MODE OWNER GROUP CREATOR CGROUP NATTCH SEGSZ CPID LPID ATIME DTIME CTIME
    Shared Memory:
    m 0 0x000018e5 --rw-rw-rw-     root      sys     root      sys      2  23228   547   549 11:44:34 no-entry 11:44:34
    m 12307 0x0002c309 rw-rw-- rmtsrv informix rmtsrv informix 23 791012 11049 11150 8:59:50 8:59:56 23:11:30
    m 12308 0x00000000 rw----- rmtsrv informix rmtsrv informix 4 1568 11050 11053 23:11:32 no-entry 23:11:32
    m 12309 0x00000000 rw----- rmtsrv informix rmtsrv informix 2 69967 11055 11056 23:11:32 no-entry 23:11:32
    T ID KEY MODE OWNER GROUP CREATOR CGROUP NSEMS OTIME CTIME
    Semaphores:
    s 26009 0x0002c309 ra-ra-- rmtsrv informix rmtsrv informix 3 9:03:21 23:11:30
    s 26010 0x00000000 ra-ra-- rmtsrv informix rmtsrv informix 243 no-entry 23:11:30
    s 26011 0x00000000 ra-ra-- rmtsrv informix rmtsrv informix 243 no-entry 23:11:30
    s 13012 0x00000000 ra-ra-- rmtsrv informix rmtsrv informix 243 no-entry 23:11:30
    s 26013 0x00000000 ra-ra-- rmtsrv informix rmtsrv informix 243 no-entry 23:11:30
    s 26014 0x00000000 ra-ra-- rmtsrv informix rmtsrv informix 28 7:55:00 23:11:32
    Edited by: user7335851 on 2008-9-25 上午2:19

    There's a similar case to that in which the solution was to upgrade the patchlev of Tuxedo software. The latest RP for Tuxedo 6.5 resolve some issues related to GWTDOMAIN process.
    501. CR266129 Tuxedo 6.5 RP496: LIBGW_CAT:1029 Service request not forwarded - TPELIMIT (S-34477)
    517. CR342496 Tx 6.5 [propagation] pq in tmadmin report too large number for GWTDOMAIN, not match ipcs results (S-42376)
    Many things related to domains have been fixed.
    I hope that solves your problem.
    Regards.

  • 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

  • Warning message into Application log of Service request

    Hi Experts,
    I have a requirement where I am using Event handlers(CRMV_EVENT) to redetermine partners of a service request whenever certain values are changed in the transaction CRMD_ORDER.
    Partners will be retrieved from a custom table.
    In any circumstances, if the partners cannot be determined then we need to push a WARNING message stating that "Partners can not be determined, pls maintain the values in the custom table'.
    For this purpose I am using the function module CRM_MESSAGE_COLLECT with the following parameters, but still I am not able to see the same into the Application log of the Service request that is going to be created.
    CALL FUNCTION 'CRM_MESSAGE_COLLECT'
      EXPORTING
        iv_caller_name         = 'ORDERADM_H'
        IV_REF_OBJECT          = iv_header_guid
        IV_REF_KIND            = 'A'
       IV_LOGICAL_KEY         = '0001'
        IV_MSGNO               = '001'
        IV_MSGID               = 'ZSP'
        IV_MSGTY               = 'W'
      IV_MSGV1               = SY-MSGV1
      IV_MSGV2               = SY-MSGV2
      IV_MSGV3               = SY-MSGV3
      IV_MSGV4               = SY-MSGV4
        IV_MSGLEVEL            = '1'
      IV_FIELDNAME           =
      IV_ACTION              =
        IV_LOG_HANDLE          = lv_log_handle
        IV_CUMULATE            = 'X'
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Do I missed in passing of any additional parameters?
    Can any one of you have encountered the same problem and solved this, pls through some light on me too(if possible with block of code).
    Thanks in advance.

    Hi,
    Here is the block of code that I used to push a message in to Application log.
    Push your message into a variable called dummy and then call the below mentioned function module.
    DATA:        lv_dummy(254)    TYPE  c,            "#EC NEEDED
              MESSAGE w052(sppf_media) WITH text-001
                                            text-002
                                        INTO lv_dummy.
              CALL FUNCTION 'CRM_MESSAGE_COLLECT'
                EXPORTING
                  iv_caller_name = 'ORDERADM_H'
                  iv_ref_object  = iv_header_guid
                  iv_ref_kind    = lc_ref_kind_a
                  iv_msgno       = sy-msgno
                  iv_msgid       = sy-msgid
                  iv_msgty       = sy-msgty
                  iv_cumulate    = lc_x
                IMPORTING
                  ev_msgty       = lv_msgtyp
                  es_msg_handle  = gv_msghandle
                EXCEPTIONS
                  not_found      = 1
                  appl_log_error = 2
                  OTHERS         = 3.
              IF sy-subrc <> 0.
                MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                       WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
              ENDIF.
            ENDIF.
    Hope this helps to resolve your issue.
    Regards,
    Usha.

  • How to call Badi - CRM_ORDERADM_H_MERGE only on saving of service request.

    Hello CRM Experts,
    I am trying to change value of a field - "object_id" of table "CRMD_ORDERADM_H" while creation of a service request. I am doing this by implemeting BADI - CRM_ORDERADM_H_BADI, method - CRM_ORDERADM_H_MERGE. In this method I am creating a new number and updating it in Object_id field of orderadmh table. This badi is getting called on every button click like - NEW, SAVE, even on pressing enter in service request creation page.
    But I want to execute the code written in this method only on clicking SAVE button in web ui. But I am not able to find a way to do so.
    Please suggest something.
    Thanks,
    Pooja

    Actually another way of doing this would be to create a new BTE function module instead.  You can control the timing so that the function module will only fire once upon save if you configure the correct event timing.
    To find out more on how to use this do a search here on CRMV_EVENT or run that transaction code in your system and click on "read this information".
    For a bigger hint you would target:
    Transaction Category - BUS20001 - or specific category that you need.
    Execution TIme - 78 Before Saving
    Object - ORDERADM_H
    Event - BEFORE_SAVE
    Attribute <*>
    or perhaps
    Execution TIme 88
    Object ORDERADM_H
    Event - INIT
    or even:
    Execution time - immediately
    Object ORDERADM_H
    Event AFTER_Create
    In either case the call callback would be of type C call  once per transaction
    I would do an CRMV_EVENT_TRACE to figure out where to put this, but that's my best ideas.
    Take care,
    Stephen

  • How to find Goods Receipt Number particular to Service Entry Sheet Number.

    Hi Experts,
      In one of my reports  i need to bring purchase order ,service entry sheet, goods receipt number .
    In ekbe i am getting the purchase order and its service entry sheet while keeping BEWTP = 'D'.
    so i am getting purchase orders and their service entry sheet numbers in belnr.
    Now i want to get the corresponding goods receipt number .
    But i am getting goods receipt number against the purchase order but not against service entry sheet , in same EKBE 
    while keeping BEWTP = 'E' movement type = '101'.
    My doubt here is how to get the corresponding goods reciept number for a service entry sheet.
    if i have three service entry sheet numbers for a purchse order i have three goods receipt numbers
    but how to get the relation between them  which GRN to which service entry sheet
    . is there any table which stores the service entry and its grn.
    If i am any thing functionally wrong  which i wrote above please correct me and give ur inputs.
    Thanks
    vamsi
    Edited by: vamsi talluri on Aug 20, 2009 7:21 PM

    Hi Sarath,
         If the Purchase order Item category is 'D' then it is a service order then it can have N service entry sheet numbers and once each service entry sheet is accepted it will be available for Goods reciept .. so that information will be avaiable..
    U can obtain the GRN against the Service entry sheet in EKBE itself.
    BELNR refers to GRN
    LFBNR refers to Service entry sheet number.
    And hence i am closing the thread.
    Thanks
    vamsi

  • Service Request Tempaltes in Service Plan.

    There are two related questions here:
    1. Has Any one used Service Request Temaplates before ? There is no standard available, so I created my own of Template 
        Type: D. Is there a standard template transaction type that should be used ?
    2. After I create some transactions using the Service Request template, I am unable to assign it to the Service Plan Item. the Serivce Plan item only accepts Service Order temaplates and throws an error message if I manually enter the Service Request Template number. the error message reads: "The Transaction ######## does not exist"  (##### --> Request Number).
    Can some one shed light on these issues ?
    Thanks,
    Farhad.

    Can you check if the Microsoft.EnterpriseManagement.HealthService.Modules.WorkflowFoundation.dll
    is found on your management server (folder where service manager is installed)?
    Cheers,
    Anders Spælling
    Senior Consultant
    Blog:  
    Twitter:   LinkedIn:
    Please remember to 'Propose as answer' if you find a reply helpful

Maybe you are looking for