How to fill appointment details during service ticket creation?

Hi experts,
I have a requirement wherein I need to populate a specific appointment type details i.e. <b>APPT_TYPE</b>(ex:ZCREATE, TICKET_CREATE..etc) for a service ticket when the <b>service ticket</b> is being <b>created.</b>
Although it can be done by CRM configuration, I want to do it through ABAP only.
Service tickets are being created in <b>ICWebClient</b>.
<b>Reward points assured for helpful answers.</b>
Regards,
Amit
Message was edited by:
        Amit Kumar

Hi,
To achieve this, create an action in which you will place your code that is only triggerred once (you will need to decide what is the start condition for this new action)
It will need to do 2 things to set the information you want:
<i>1. Use function module CRM_ORDER_MAINTAIN to set the appointment data
2. Call method REGISTER_FOR_SAVE in class CL_ACTION_EXECUTE to ensure the new information is saved onto the service ticket.</i>
I have done this with other information setting on the service ticket during creation and it works fine.
Why are you not using config to do this ? Is it a special calculation for the date that is not catered for in configuration ??
Cheers
Colin.

Similar Messages

  • How to fill the details tab in tv shows with description

    Can anyone tell how to fill out the details tab metadata in the tv shows section of iPad? The tv shows purchased from the iTunes Store have the details tab beside the episodes tab filled in with helpful description about the show. Isn't there a way to do that manually for personally downloaded tv shows? It's not possible to buy every content from the iTunes Store. Please help if anyone know how to add description to tv show details.

    see your duplicate thread : How to fill the details tab in the iPad tv shows with description

  • Inbound for Service ticket creation

    Dear all,
    An inbound FM being triggered for Service ticket creation which those info are coming from legacy system.
    My requirement is, at the end of the inbound processing, i need to send back the newly created SAP ticket number back to legacy.
    I found that during the Inbound FM execution, it just hold a new GUID where the actual ticket number has not been determined/populated yet (i noticed, actual SAP ticket number will only be populated after the execution of Inbound FM). For this case, i can not get the new SAP ticket number send back to legacy during the Inbound processing.
    Do you have any ideas on how can i get the newly created SAP ticket number during the Inbound FM execution?
    Your comments are highly appreaciated.
    Thanks in advance.

    cud u plz tell me function module ur using for inbound process for creating service ticket..
    thanks in advance ..

  • How to Overrride ATP values during sales order creation

    Hi all,
    How i override ATP values during sales order creation.
    The scenario is that we need to migrate open orders from an existing legacy system to SAP.
    While migrating these orders, we need to make sure that dates on the schdule lines are same as they are in the old system. Hence we need to override ATP.
    Any suggestion welcome..
    Regards,

    Hi Kantur Shekar madhuri,
    Would you confirm the whether in your schedule line category is activated for "Product Allocation" or not.
    if not please activate and re run your scenario.
    Regards
    Arun

  • How to check Category is filled or not in Service ticket?

    I have requirement to check the category field (CAT_GUID) is filled with value or not.
    I would like to check this category field in the Badi zOrderSave of service ticket.
    How I can accomplish this issue?
    Your reply is appreciated.
    Banu

    Hi Banu,
    I understood that you have to check Category field.
    Please, "se"nd m"e an "e"mail" with a print screen highlighting the information that u need.
    caiqueescaler hotmail com
    Regards,
    Caíque Escaler
    Edited by: Caíque Escaler on Jun 23, 2010 8:34 PM

  • How to fill the details tab in the iPad tv shows with description

    Can anyone tell how to fill out the details tab metadata in the tv shows section of iPad? The tv shows purchased from the iTunes Store have the details tab beside the episodes tab filled in with helpful description about the show. Isn't there a way to do that manually for personally downloaded tv shows? It's not possible to buy every content from the iTunes Store. Please help if anyone know how to add description to tv show details.

    You should be able to do it on your computer's iTunes - select the TV programme in the TV Shows part of your iTunes library, do 'get-info' (control-I) on it, and on the popup select the Video tab and enter what you want to have in its Description field and then sync that updated version to your iPad.

  • Listening to Service ticket creation event

    Hi,
    I have a requirement to check the ticket details and populate one field as per the  ticket details. This operation has to be done on the below scenario.
    u2022 A service ticket is generated and already has a property confirmed
    u2022 A property(iObject) is confirmed for a new service ticket
    u2022 The property(iObject) is changed on the service ticket
    u2022 The service ticket is saved .
    We can handle the scenario 2 and 3 from UI. But I do not know how to handle the scenario 1 i.e. whenever a service ticket is generated. Is there an event which gets raised whenever a service ticket is generated ?
    For scenario 4, I am planning to invoke the required operation in the save button code which is available in UI. But when agent ends call, then also the service order gets saved. Is there a way I can invoke my code just before save ?
    Regards,
    Manas.
    Edited by: manas sahoo on Aug 6, 2008 9:44 AM

    Hello Manas,
    Check if this suggestions may help you.
    For scenario 1, you can check method IP_INBOUNDPLUG of your service ticket controller class. Maybe there you'll understand if a new bol entity for the service ticket was created or not.
    For scenario 4, you can use ORDER_SAVE badi. This BADI was 3 methods to manipulate a document before you saving it. See it to check if any of those three can help you.
    Kind regards.
    Bruno

  • Automation of service ticket  creation using RFC

    Hello Friends,
    Here is our new requirement.
    In general, in HR team , a manager / employee will perform an action that triggers a workflow in ECC. Then they will call an agent in CRM to raise a service ticket for that. Our requirement is to automate this generation of service ticket when the manager/employee performs an action.  But sometimes CRM system will be down. so at that time we need to save the data and create the service ticket when the system becomes active.
    Approach:
    The workflow will have a method(custom enhancement) that updates a custom table in ECC.
    We(CRM) have to develop a RFC function module to read the data from ECC and update it in the custom table of CRM.
    we have to create a program to loop the data from custom table and create a service order/ticket by using a function module.
    As of now the process looked good.
    1. But we don't see any link between the record in the custom table and service ticket generated. we cannot compare the service ticket and from which record it generated?
    2. After using RFC we read the data into CRM custom table. How do we compare both the tables and delete the ECC table as soon as the CRM tables is updated?
    3. when the service ticket failed to generate we should update the field in the custom table (CRM), the number of failures
    Please help me .....Suggest me if there are any other approaches?

    For question 1 look at the attachments in oss note 940882 Frequently Asked Questions about ERMS
    a mailform can be used but is not required.
    For question #2, John Burton wrote an article in CRM expert a few years back that explains this concept well.  The email coming into the agent inbox doesn't create the ticket until processed but his article explains how it can and give and auto repsonse to the sender with the ticket number attached.

  • Service ticket creation through web request

    Hello,
    I just need to know if there is any standard CRM functionality to serve the form and to create the service ticket ?
    Regards
    Sachin

    Hi Gagan
    Could you please share with your solution, i am kind looking help in same are. We are using CRM 7.0, but i can not find BOL component which is ISUSRV.
    My requirement is to create Service Order from Webclient, example meter problem reporting, etc
    Please kindly reply or by email shankar no dot vangari at gmail com
    regards
    shankar

  • GSS-API How to get the client-to-service ticket

    In Kerberos when requesting services, the client sends the following two messages to the TGS: A composed message of the Ticket-Granting Ticket and the ID of the requested serviceand authenticator (which is composed of the client ID and the timestamp), all encrypted using the client/TGS session key.
    Then upon receiving these messages the TGS sends the followings to the client:
    A: Client-to-server ticket (which includes the client ID, client network address, validity period and Client/server session key) encrypted using the service's secret key.
    B: Client/server session key encrypted with the client/TGS session key.
    Now I'm wondering how to obtain A and B throught the kerberos login in GSS-API . I have the following code that I use to request a kerberized service but it returns only a KerberosTicket in PrivateCredentialsSet for the Subject. A sessionKey can also be obtained form this KerberosTicket ! Which session key is this ? the session key B described above? and Where to get the Client-to-server ticket (A) described above ?
    Thanks for any help !
    Alex
    lc = new LoginContext("login-client", new TextCallbackHandler());
    lc.login();
    mysubject = lc.getSubject();
    java.util.Set principals = lc.getSubject().getPrincipals();
    java.util.Iterator iterador = principals.iterator();
    if (iterador.hasNext()){
    KerberosPrincipal principal = (KerberosPrincipal) iterador.next();
    clientName =principal.getName();
    PrivilegedAction generateServiceTicket = new ClientAction(clientName,"[email protected]");
    Subject.doAs(mysubject, generateServiceTicket);
    Set prvCredentials = lc.getSubject().getPrivateCredentials();
    for (Iterator i = prvCredentials.iterator(); i.hasNext(); j++) {
    KerberosTicket ticket = (KerberosTicket) i.next();
    prvKrbCrds = (KerberosTicket[]) mysubject.getPrivateCredentials().toArray(new KerberosTicket[0]);
    public Object run() {
    try{
    GSSManager manager = GSSManager.getInstance();
    Oid krb5Mechanism = new Oid("1.2.840.113554.1.2.2");
    Oid krb5PrincipalNameType = new Oid("1.2.840.113554.1.2.2.1");
    GSSName userName = manager.createName(pn,GSSName.NT_USER_NAME);
    GSSCredential cred = manager.createCredential(usr,
    GSSCredential.DEFAULT_LIFETIME,
    krb5Mechanism,
    GSSCredential.INITIATE_ONLY);
    GSSName peerName = manager.createName(servicename,
    GSSName.NT_HOSTBASED_SERVICE, krb5Mechanism);
    GSSContext setContext = manager.createContext(peerName, krb5Mechanism, cred,
    GSSContext.DEFAULT_LIFETIME);
    setContext.requestInteg(false);
    setContext.requestConf(false);
    byte[] inputBuf = new byte[0];
    byte[] tkt = setContext.initSecContext(inputBuf, 0, 0);
    }catch(GSSException gsse){
    gsse.printStackTrace();
    }

    In Kerberos when requesting services, the client sends the following two messages to the TGS: A composed message of the Ticket-Granting Ticket and the ID of the requested serviceand authenticator (which is composed of the client ID and the timestamp), all encrypted using the client/TGS session key.
    Then upon receiving these messages the TGS sends the followings to the client:
    A: Client-to-server ticket (which includes the client ID, client network address, validity period and Client/server session key) encrypted using the service's secret key.
    B: Client/server session key encrypted with the client/TGS session key.
    Now I'm wondering how to obtain A and B throught the kerberos login in GSS-API . I have the following code that I use to request a kerberized service but it returns only a KerberosTicket in PrivateCredentialsSet for the Subject. A sessionKey can also be obtained form this KerberosTicket ! Which session key is this ? the session key B described above? and Where to get the Client-to-server ticket (A) described above ?
    Thanks for any help !
    Alex
    lc = new LoginContext("login-client", new TextCallbackHandler());
    lc.login();
    mysubject = lc.getSubject();
    java.util.Set principals = lc.getSubject().getPrincipals();
    java.util.Iterator iterador = principals.iterator();
    if (iterador.hasNext()){
    KerberosPrincipal principal = (KerberosPrincipal) iterador.next();
    clientName =principal.getName();
    PrivilegedAction generateServiceTicket = new ClientAction(clientName,"[email protected]");
    Subject.doAs(mysubject, generateServiceTicket);
    Set prvCredentials = lc.getSubject().getPrivateCredentials();
    for (Iterator i = prvCredentials.iterator(); i.hasNext(); j++) {
    KerberosTicket ticket = (KerberosTicket) i.next();
    prvKrbCrds = (KerberosTicket[]) mysubject.getPrivateCredentials().toArray(new KerberosTicket[0]);
    public Object run() {
    try{
    GSSManager manager = GSSManager.getInstance();
    Oid krb5Mechanism = new Oid("1.2.840.113554.1.2.2");
    Oid krb5PrincipalNameType = new Oid("1.2.840.113554.1.2.2.1");
    GSSName userName = manager.createName(pn,GSSName.NT_USER_NAME);
    GSSCredential cred = manager.createCredential(usr,
    GSSCredential.DEFAULT_LIFETIME,
    krb5Mechanism,
    GSSCredential.INITIATE_ONLY);
    GSSName peerName = manager.createName(servicename,
    GSSName.NT_HOSTBASED_SERVICE, krb5Mechanism);
    GSSContext setContext = manager.createContext(peerName, krb5Mechanism, cred,
    GSSContext.DEFAULT_LIFETIME);
    setContext.requestInteg(false);
    setContext.requestConf(false);
    byte[] inputBuf = new byte[0];
    byte[] tkt = setContext.initSecContext(inputBuf, 0, 0);
    }catch(GSSException gsse){
    gsse.printStackTrace();
    }

  • Retrieve item level dates during service order creation before saving

    I have a requirement where I need to retrieve item level date (First Response i.e. APPT_TYPE as SRV_RFIRST) and modify the date and put it back to the same screen field when ever a line item is entered.
    To do this we found a BADI CRM_SERVICE_I_BADI which triggers when ever we enter line item. We tried many FM which retrieves item level dates from buffer CRM_DATES_READ_MULTIPLE_OB; CRM_DATES_READ_SINGLE_OB;
    CRM_DATES_READ_SINGLE_OW;
    Most of them are returning all the dates except first response. No configuration issues. Can anyone help me how to get the first response date during creation.
    Thanks
    Vamsee

    Hi Vamsee,
    Do you happen to know the solution? We have similar issue too as we can not retrieve the new entered dates and process it in BADI CRM_SERVICE_I_BADI.
    I would appreciate your reply if you have a solution.
    Thanks,
    Bin

  • Error during Service Order creation

    Hi,
    I configure the Maintanance order for the plant and tried to create the Service ordeer for that Plant.
    But system shows the Following Error Massage,
        Field 'Additional Device Data' must still be filled
    Can anybody guide me to proceed further on this
    Thank You,
    With Best Regards,
    M.Suresh

    Hi,
    Thanks for your info PETEA.
    Sorry Paul Meehan , I didn't see the field settings in OIAN properly last time.
    There is a setting exist for field 'Additional data' as Mandatory. I removed this setting and tried to release the order and I succeeded.
    Thanks Paul Meehan and PETEA for your Information.
    M.Suresh

  • ME21N - error during service PO creation - "Please enter a service"

    Hi,
    PR was created with reference to agreement.  When we try to create PO, below error appears.  Apparently service code, text are available so this error does not make sense.  Have you come across such a situation ?
    Thanks,
    Sankar

    Root cause was a mess up from the user.  The user has linked multiple line item services from contract (OA) to single line in PR.  System does not stop at PR level.  But throws this error at PO creation level.  User has recreated the PR and all OK.
    Wrong process:
    OA item 10 - PR item 10
    OA item 30 - PR item 10
    OA item 60 - PR item 10
    Correct process:
    OA item 10 - PR item 10
    OA item 30 - PR item 20
    OA item 60 - PR item 30
    Moreover error does not happen in ME59 (automatic PO creation) even through the wrong process.

  • How to delay stock confirmation during sales order creation

    We have following requirement -
    Whenever an order is created, even though stock exists, it should not confirm it right away. We need the delivery date to be current date + 7 days.
    This will help us avoid new orders consuming the stock.
    For example:
    Order 1 created; There was no stock; Hence no confirmation
    Order 2 created; There was no stock; Hence no confirmation
    Order 3 created; There is stock; At this stage, the order quantity should not be confirmed even though there is stock since there are 2 old orders waiting.
    Therefore whenever an order created, delivery date should be in future so that older orders get first preference when stock is available. This is material specific i.e., for  some it might be 7 days and for few it might be 10 days.
    We either want the delivery date to be a future date or the order quantity should not be confirmed even though there is stock.
    We saw that there is lead time in the sales order type customizing, but this will be applicable to all the materials which is not what we want.
    Is there any way we can achieve this by just customization and not use user exits.

    Hi Kantur Shekar madhuri,
    Would you confirm the whether in your schedule line category is activated for "Product Allocation" or not.
    if not please activate and re run your scenario.
    Regards
    Arun

  • " Dimension must be in details" during Journal Template Creation/Chan

    Hi all
    I have an issue while changing/Creating  journal wizard from BPC ADMIN, getting  " STRUCTURE  CHANGE NOT ALLOWED" when selecting an dimenion to be on header level information.
    current WEB Parameters: ALLOW_STRUCTURE CHANGES - YES  for given application and current SP09  with NW7.5
    your feed back/inputs are higly appreciated.
    Thanks in Advance
    Ramana

    Hi Ramana,
    I have found that the wording of this parameter is not as the documentation describes it.
    Please try adding a parameter named ALLOW_CHANGE_STRUCTURE with value Yes.
    Hope this helps,
    Tom.

Maybe you are looking for

  • I can't open, reinstall or uninstall my itunes

    I downloaded iTunes for the 64 bit model a month ago, and it was working fine. But last week, I couldn't open it anymore. I've tried to reinstall and uninstall it but a page always pops up that says "The feature you are trying to use is on a network

  • How do I delete an old icloud id without a password from my imac?

    Hi, Can anyone tell me how I delete an old icloud id from my imac so I can start using my new one. Reason for change was new email address after a change of provider

  • I am new to mac can you tell me how to uninstall a program?

    I purchased Office for MAC and it's terrible. In order to get a refund I have to uninstall it from my computer. Being from a PC I am not sure how to completely uninstall the program. Can comeone tell me the steps to do this? Thanks

  • Production Order Printing CO04N

    Hi, We have a issue while printing production order with T Code CO04N. The print output shows all operations other than those which are subcontrated. I have tried changing the print option in contol key but it doesnt work. can anyone please suggest a

  • CO-PA document is not created while doing the sale order cycle

    Dear Experts, I have 4 company codes in my controlling area. I did all CO-PA configuration. But CO-PA Document is generated in Only one company code. Remaining company codes CO-PA document is not created while doing the sale order cycle I’ve carried