Service notification workflow

Hi guys,
I need to work with a service notification workflow but actually I know nothing about what method and task I can work with.
I managed to create the service notification but this notification must be approved by a superior, this later can either validate it or reject it, if rejected the user can modify it and if the notification is validated the user can create the sales order.
The most important is that the user MUST NOT have the possiblity to create the sales order unless his superior validate his notification. How can I avoid user to create sales order while he is creating service notification??
I have a short deadline so any help would be useful.
Thanks.
Edited by: Alvaro Tejada Galindo on Apr 9, 2008 4:28 PM

Look for a standard workflow for service notification in tcode PFTC.
If there is not one, check tcode SWO1 for business object BUS2038 and make a workflow using the methods in that object.
activate the triggering event in the workflow (bus2038.created or something like that.
activate the event trace in tcode SWELS.
Make a notification.
Check tcode SWEL if a workflow is started by the event.
Be sure to do the agent assignment.
Good luck,
Bert

Similar Messages

  • Object type for service notification?

    Hi guys,
    In workflow what is the object type to create service notification (IW51). How can I find it?
    thanks in advance.
    Regards

    The object type for service notifications is BUS2080.  You can find it via transaction SWO1 - use the search help on the Object/Interface field.  You can also use the Business object repository (Browser) button on SWO1.

  • Email from Service Notification

    Dear Friends,
    There is a requirement to trigger an email from the service notification. In the standard SAP, I have seen a standard action box setting but I can't have this setting in the template am following.
    Could you please suggest any other settings to trigger the email??
    Thanks
    Prasad

    Hi,
    To send mail from service notification, you can use ABAP Function SO_NEW_DOCUMENT_SEND_API1.
    To Execute this Function Modul, you can use Action Box or Using user exit when notification is saved. Another trigger is using SAP Workflow.
    Regards.

  • How to avoid automatic data change in service notification from work order

    Hi,
    when I change work order address data the address data from the service notification connected to the order is changed too, how can I avoid this change? Is there anything on customizing to control whichs fields are updated automatically.
    Thanks,
    Juan.

    Hi,
    You can trying using Books of Business.
    Create a book and add that particular user to that book and at the time of task creation, through a workflow you can assign it to the corresponding book.
    This might resolve the access issue you are facing.
    hope it helps,
    Mayank

  • Creation of Service Notification and filling certain fields

    Hi,
    I am trying to create a service notification document from inside dunning activity (TR FBVB).
    The steps that I followed are
    A custom FM is configured which is called after dunning event ISU_DUNNING_BLOCK_DEVICE_0350. This std FM creates a disconnection order number which can be seen via TR EC87. This EC87 transaction has a tab for service orders created via it.
    The custom FM configured is called after standard FM is used to get disconnection order and then we are using FM ISU_S_DISCDOC_CHANGE. This FM creates the relevant service notification document for the disconnection order.
    The problem we face in here is the equipment number, connection number, installation, material, serial number created via the FM ISU_S_DISCDOC_CHANGE is blank.
    Our requirement is to have the service notification created via the above fields populated in it.
    Kindly suggest is there any alternative to get those fields populated in the service notification (TR IW53)
    Regards,
    Imran

    hi eshwar
    you can create service order by using the service notification,
    create service notification using IW54 after entering the details select the Service notification in the menu and select the service order create OR press the Order buttom ,and enter the order type you  want to create
    hope this will clear you
    regards
    thyagarajan

  • Creation of Service Notification  No for SO.

    Hi everyone,
    I am working on the User Exit for the first time. Kindly help me out with the following requirement.
    When a sales order is saved, create a service notification and link to the sales order header.
    To fulfill this requirement we need to use the following:
    Program SAPMV45A, Include MV45AFZZ, USEREXIT_SAVE_DOCUMENT
    BAPI to create service Notification is : BAPI_ALM_NOTIF_CREATE
    When the service notification is created, the following fields should be populated in the notification as the end result:
    1.     Sales Organization (VIQMEL-VKORG)
    2.     Distribution Channel (VIQMEL-VTWEG)
    3.     Division (VIQMEL-SPART)
    4.     Sales office (VIQMEL-VKBUR)
    5.     Sales Group (VIQMEL-VKGRP)
    6.     Notification short text should contain the sales order number (VIQMEL-QMTXT)
    7.     Sales Order (VIQMEL-VBELN)
    The following fields should be updated in the sales order as the end result:
    1.  Notification number (VBAK-QMNUM)
    I need to check if notification no. needs to be created or not. Also, the notification type should be valid. If not I need to throw a warning mess. but SO no. should be saved. if the condition is satisfied then BAPI should be called and notification no. should be created.
    In case if BAPI fails then handling should be done with the help of the transaction SLG1.
    Please provide me technical help.
    Regards,
    Ayushi

    Hi Ayushi,
    In the Include MV45AFZZ you need to write you code.
    First check for whcih service notification. I mean Notification Type.
    Then use you BAPI if it is correct for the notification type.
      CALL FUNCTION 'BAPI_ALM_NOTIF_CREATE'
           EXPORTING
                notif_type         = p_header-tables-mnmisc-notif_type
                notifheader        = p_header-tables-mnhead
                task_determination = p_header-tables-task_determination
                orderid            = p_header-tables-mnmisc-orderid
           IMPORTING
                notifheader_export = l_head
           TABLES
                notitem            = l_it_item         " Since you dont have any items to create leave it blank.
                notifcaus          = l_it_caus      " Since you dont have any causes to create leave it blank.
                notifactv          = l_it_act          " Since you dont have any activities to create leave it blank.
                notiftask          = l_it_task         " Since you dont have any tasks to create leave it blank.
                notifpartnr        = l_it_part       "etc ditto
                longtexts          = l_it_text
                return             = l_it_return.
    read table it_return index 1 / read table it_return TYPE = 'S'
    if sy-subrc = 0.
    lv_notNumber = MESSAGE_V1 / MESSAGE_V2 .
      message  'Notification created' with lv_notnumber type 'S'.
    endif.
    The above logic is a Psuedo or a hint only. Hope this helps.
    Thanks & regards,
    Bhargav.
    Finally in the user exit give the message

  • Create multiple sales orders from single service notification?

    Is it possible to create multiple sales orders from a single notification (IW51)? 
    We currently create sales orders directly within transaction IW51 (Create Service Notification).  We kick off the sales order creation by pressing the "SALES ORD." button in the notification screen.  We're now interested in creating a 2nd Sales Order which would tie directly to the same Service Notification.  This is so that we can have the second order assigned to a different account assignment WBS (there are two different parties doing work on the service notification).
    I assume you would have to go to VA01 to create the Sales Order, but am not sure how to tie it directly to the service notification from here.  I treied to do a create with reference, but there is no ability to create with reference to a service notification.
    Do I have to create a second service notification for the 2nd Sales Order for this to work?  I want to avoid doing this if at all possible.
    I'm running SAP R/3 Enterprise
    Thanks for your help!

    Hi,
    go to vtaa- copy controls for sales document to sales document.
    select your combination of order and quotation go to item level. There select value 0(zero) in field positive/negative negative.
    No need to change update document flow.
    After setting zero in copy control that be told on above. create order with respective to the quotation.
    After saving the order.
    go to document flow to see the status in between quotation and order.
    If you placed setting right, then u certainly observe for quotation status will be open. so you can create no. of sales order with respect to that quotation..
    Have a good day..

  • Creation of items in Service Notification

    Hi,
    I am trying to create a service notification document from inside dunning activity (TR FBVB).
    The steps that I followed are
    A custom FM is configured which is called after dunning event <u>ISU_DUNNING_BLOCK_DEVICE_0350</u>. This std FM creates a disconnection order number which can be seen via TR EC87. This EC87 transaction has a tab for service orders created via it.
    The custom FM configured is called after standard FM is used to get disconnection order and then we are using FM ISU_S_DISCDOC_CHANGE to create a service notification from the disconnection order. This FM creates the relevant service notification document for the disconnection order.
    The problem I am facing in here is the equipment number, connection number, installation, material, serial number created via the FM ISU_S_DISCDOC_CHANGE is blank.
    Our requirement is to have the service notification created with the above fields populated in it.
    Kindly suggest is there any alternative to get those fields populated in the service notification (TR IW53 to view service notification)
    Regards,
    Imran

    Hi Imran:
    Could you please Function Module  ISU_S_DISCDOC_CREATE instead  of
    ISU_S_DISCDOC_CHANGE ?
    Hopefully your problem would be resolved.
    Regards
    Shashi

  • Unable to view Service notification in CIC fact sheet

    In the Customer Interaction Center for Utilities(CIC0), I'm unable to view a certain service notification under a custom fact sheet. However, if I try to view it by accessing CIC from ECC, it is visible there. What could be the possible issue?

    It is working fine now. Actually I had some DML configuration data in the old DS and it got replicated in the new DS instance. So whenever I click on the ServiceConfiguration tab it tries get some config details about that service and ultimately fails to get so. When I deleted the entry in LDAP, I can see all the services available.
    --lakshmi                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How to block a material that not to creation of service notification thru-IW51

    Hi All,
    I have tried in all over areas ( MM02 level and MM06 level ) to block a material that not to create service notification with that material but didn't get a solution.If any one knows solution for this kindly provide me.
    "How to block a material that not to create a service notifcation thru IW51?"
    Best Regards,
    Narendra Konnipati

    Narendra,
    1. I do not see any possibility without using this exit. It is a very simple and effective thing for your ABAPer and you too.
    2. In case of many Materials-Notification type combinations, you can maintain similar code by joining several elseif s.
    3. Alternatively, you can maintain a Z Table as under:
    QMART
    MATNR
    S3
    10000000099999
    S3
    10000000099988
    S1
    10000000088988
    S2
    12000000088988
    Means, for every Notification type there will be one or more prohibited materials. The coding will not be difficult, but will have around 15/20 lines.Finally, if you have to get your issue resolved, I feel this is the way and also easy way through your ABAPer.
    Tell me in case of any further opinions.
    Best of Luck
    KJogeswaraRao

  • Link Between Service Notification and Sales Order

    Hi All,
    In our business process, we will create sales order from Service Notification and we can see the same in the Document flow. But when i check in the VBFA table, there are no entries. I would like to know how the document flow is updated without updating the VBFA Table or is there any other table gets updated for this flow.
    Please guide me.
    With Regards
    Vinu.N

    Hello Vinu
    For one Sales Order # figures in Notification header table- VIQMEL-VBELN.
    Similarly Notification # figures in Sales Order Header table- VBAK-QMNUM
    That is a solid link right there.
    I Also guess technical objects like Equipment, Serial number also form link between the Sales and Service Documents.
    Also check out the logic in document flow program RIBELF20, may be it will give you the clues to the problem.
    Hope this helps.

  • Planner group is not updated in service notification using BAPI

    Hi,
    Planner group is not updated in service notification using BAPI BAPI_ALM_ORDER_MAINTAIN.
    I have written the below code, but planner group is not updated in the service notification.
    Please advice which parameters do i need to pass to update planner group in the service notification.
              wa_methods-refnumber      = '000001'.
              wa_methods-objecttype     = 'PARTNER'.
              wa_methods-method         = 'CREATE'.
              wa_methods-objectkey      = wa_subscr1-aufnr.
              APPEND wa_methods TO i_methods.
              wa_methods-refnumber      = '000002'.
              wa_methods-objecttype     = 'HEADER'.
              wa_methods-method         = 'CREATE'.
              wa_methods-objectkey      = wa_subscr1-aufnr.
              APPEND wa_methods TO i_methods.
              wa_methods-refnumber      = '000000'.
              wa_methods-objecttype     = ' '.
              wa_methods-method         = 'SAVE'.
              APPEND wa_methods TO i_methods.
              REFRESH i_partner.
              CLEAR wa_partner.
              wa_partner-orderid        = wa_subscr1-aufnr.
              wa_partner-partn_role     = 'VW'.
              wa_partner-partn_role_old = ''.
              wa_partner-partner        = wa_subscr1-parnr.
              wa_partner-partner_old    = ''.
              APPEND wa_partner TO i_partner.
              REFRESH i_planrgrp.
              CLEAR wa_planrgrp.
              wa_planrgrp-orderid        = wa_subscr1-aufnr.
              wa_planrgrp-plangroup      = wa_subscr1-ingpr.
              APPEND wa_planrgrp TO i_planrgrp.
              REFRESH i_planrgrp_up.
              CLEAR wa_planrgrp_up.
              wa_planrgrp_up-orderid     = wa_subscr1-aufnr.
              wa_planrgrp_up-plangroup   = 'X'.
              APPEND wa_planrgrp_up TO i_planrgrp_up.
    *----Change order details with Technician name
              CALL FUNCTION 'BAPI_ALM_ORDER_MAINTAIN'
                TABLES
                  it_methods   = i_methods
                  it_header    = i_planrgrp
                it_header_up = i_planrgrp_up
                  it_partner   = i_partner
                  return       = i_return.
    Thanks & regards,
    Krishna

    Try this way
    CALL FUNCTION 'BAPI_SERVNOT_CREATE'
    EXPORTING
    * EXTERNAL_NUMBER =
    notif_type = 'S3'
    notifheader = ls_notif_h
    * TASK_DETERMINATION = ' '
    * SENDER =
    * ORDERID =
    IMPORTING
    NOTIFHEADER_EXPORT = ls_notif_e
    TABLES
    * NOTITEM =
    * NOTIFCAUS =
    * NOTIFACTV =
    * NOTIFTASK =
    * NOTIFPARTNR =
    * LONGTEXTS =
    * KEY_RELATIONSHIPS =
    return = lt_return
    * IF lt_return IS INITIAL.                                               " <<< Comment this lie
    read table  lt_return into ls_return with key type = 'E'. " << Change
    if sy-subrc ne 0.                                                             " << Change
    COMMIT WORK AND WAIT.
    write: / ls_notif_e-NOTIF_NO.
    ELSE.
    LOOP AT lt_return INTO ls_return.
    WRITE:/ 'errors'.
    * ls_return.
    ENDLOOP.
    endif.

  • Sales order with reference to Service Notification

    Hi Freinds,
    I have to create a sales order with reference to Service notification (IW51). can someone sugggest me BAPI or Function module to perform this task.
    Appriciate your help.
    Best regards
    Pravin

    no std bapi's as far as i know..when you hit create create repair order(in iw51) system calls QM06_RMA_ORDER_CREATE
    ..whick internally calls SD_ORDER_CREATE..may be this should give some pointers..
    Regards
    Siva

  • Why is creation of a service notification using BAPI not working?

    I need to create a service notification.
    I have found 2 BAPIs.
    BAPI_SERVICENOTIFICAT_CREATE
    BAPI_SERVNOT_CREATE
    The code below using the second BAPI is not creating a notification and the return parm does not have any errors.
    You can see it does a call to commit after the BAPI call
    Perhaps I am missing something critical in the parms.
    We are trying to creat a service type notification using equipment.
    DATA ls_notif_h TYPE bapi2080_nothdri.
    data ls_notif_e type BAPI2080_NOTHDRE.
    DATA lt_return  TYPE STANDARD TABLE OF bapiret2.
    DATA ls_return  LIKE LINE OF lt_return.
    ls_notif_h-equipment = '10000044'.
    CALL FUNCTION 'BAPI_SERVNOT_CREATE'
      EXPORTING
      EXTERNAL_NUMBER          =
        notif_type               = 'S3'
        notifheader              = ls_notif_h
      TASK_DETERMINATION       = ' '
      SENDER                   =
      ORDERID                  =
    IMPORTING
        NOTIFHEADER_EXPORT       = ls_notif_e
    TABLES
      NOTITEM                  =
      NOTIFCAUS                =
      NOTIFACTV                =
      NOTIFTASK                =
      NOTIFPARTNR              =
      LONGTEXTS                =
      KEY_RELATIONSHIPS        =
        return                   = lt_return
    IF lt_return IS INITIAL.
      COMMIT WORK AND WAIT.
      write: / ls_notif_e-NOTIF_NO.
    ELSE.
      LOOP AT lt_return INTO   ls_return.
        WRITE:/ 'errors'.
       ls_return.
      ENDLOOP.
    Thanks.
    Scott

    Try this way
    CALL FUNCTION 'BAPI_SERVNOT_CREATE'
    EXPORTING
    * EXTERNAL_NUMBER =
    notif_type = 'S3'
    notifheader = ls_notif_h
    * TASK_DETERMINATION = ' '
    * SENDER =
    * ORDERID =
    IMPORTING
    NOTIFHEADER_EXPORT = ls_notif_e
    TABLES
    * NOTITEM =
    * NOTIFCAUS =
    * NOTIFACTV =
    * NOTIFTASK =
    * NOTIFPARTNR =
    * LONGTEXTS =
    * KEY_RELATIONSHIPS =
    return = lt_return
    * IF lt_return IS INITIAL.                                               " <<< Comment this lie
    read table  lt_return into ls_return with key type = 'E'. " << Change
    if sy-subrc ne 0.                                                             " << Change
    COMMIT WORK AND WAIT.
    write: / ls_notif_e-NOTIF_NO.
    ELSE.
    LOOP AT lt_return INTO ls_return.
    WRITE:/ 'errors'.
    * ls_return.
    ENDLOOP.
    endif.

  • BUG: KEYBOARD SHORTCUT KEYS DO NOT ALWAYS ACTIVATE A SERVICE (A WORKFLOW)

    BUG: KEYBOARD SHORTCUT KEYS DO NOT ALWAYS ACTIVATE A SERVICE (A WORKFLOW)
    When you assign a keyboard shortcut to a Service (such as a Service Workflow created in Automator) using the System Preferences > Keyboard > Shortcuts, if that shortcut key combination includes the Command key, pressing that shortcut will always successfully activate the Service. No problem there.
    However, shortcut key combinations that do not include the Command key (for example, the shortcut key combo Ctrl-Shift-D) WILL NOT activate the Service in any newly opened application, until you click on the Services Menu option in that application.
    As soon as you click on the application's Services Menu, this seems to bind the shortcut key combo to the Service, and thereafter, that keyboard shortcut will activate the Service in that particular app. But if you then quit and reopen the app, you'll find the Service will once again lose its binding to the shortcut key combination and will thus fail to work again.
    This means that shortcut key combinations such as Ctrl-D, Ctrl-Shift-D, F15, Alt-F15, etc are not really viable shortcuts for Services, because they will not work in any newly-opened application until you click on the Services Menu in that application.
    This bug thus greatly limits the shortcuts that you can employ for Services, because you can only reliably use shortcut key combos that contain the Command key. This is a fault that Apple really needs to fix. This is a very old glitch: I notice it is present in Snow Leopard 10.6.8, as well as Yosemite 10.10.1.
    This bug does not apply to application shortcuts, however, or to other shortcuts in the Shortcuts Preference Pane, just to Services shortcuts (including the Mac's default Services, or any Services you make yourself using Workflows on the Automator software).
    To give some examples:
    The following keyboard shortcuts for Services WILL NOT work until you click on the Services Menu in the application you are using (and they will cease working again when you quit and reopen the app):
    Ctrl-X
    Ctrl-Shift-X
    Ctrl-Alt-X
    Ctrl-Alt-Shift-X
    Alt-X
    Alt-Shift-X
    F1, F2, F3, etc
    So until Apple fixes this bug, the above type of key combinations, that do not contain the Command key, are best avoided as shortcuts for Services. It is particularly unfortunate that function keys F1 to F19 do not work reliably, as these would make great single-key shortcuts to Services.
    However, the following sort of keyboard shortcuts for Services, all containing the Command key, once set up will always work without fail:
    Command-Alt-X
    Command-Ctrl-X
    Command-Shift-X
    Command-Ctrl-Shift-X
    Command-Alt-Ctrl-Shift-X
    Command-F1, Command-F2, Command-F3, etc
    So all the above can be reliably used as shortcuts to Services.
    Here X denotes keyboard keys such as A, B, C, 1, 2, 3, =, \, [, etc.
    Note that even for keyboard shortcuts containing the Command key, you may very occasionally need to click the Services Menu to get them to work initially in an application (notably in the System Preferences application itself). But if this is necessary, it is just required once when they are first set up, and thereafter the shortcuts containing the Command key will always work without fail.
    The above was tested on Yosemite 10.10.1, but most likely applies to other versions of OS X as well, as I believe this bug is an old one. This bug is definitely present in Snow Leopard 10.6.8, because I have observed this same fault in an old Mac I have that runs Snow Leopard.
    I have reported this bug to Apple, so hopefully they will see my report and act upon it. However, it might be an idea if others also report this problem of Services shortcuts not working property, to ensure that Apple get the message. You can report a bug to Apple via their bug feedback page here.

    Exactly where do you want to use a GO BACK "shortcut" in Bridge?  Maybe I don't even understand what you mean by Go Back.  Bridge is only a file browser, nothing more. It doesn't open, edit, manipulate or save files at all.
    Are you simply referring to going back to view a folder that you viewed before?
    Please don't take this a criticism.  As someone who will gladly pay money not to have to learn any shortcuts at all, I'm just puzzled and curious, that's all.

Maybe you are looking for

  • Internal Error: 8004, 4331081, 4339064, 4341927

    When attempting to import Word 2003/XP documents using .rtf saves of .doc files into Framemaker 8 p277, I get the error above. Importing the .doc file directly gives an error message but does not generate the error above. Copying the file from Word a

  • Border around links

    Just bought CS3 and dreamweaver adds a blue border to a link when a pic is inserted. anybody know why or how to turn it off? Thanks gcs

  • My charger broke can I have it replaced?

    I accidently broke my MacBook Pro charger, will my coverage cover it to be replaced or fixed?

  • Mon 4S est en fonction mais ecran noir plus de tactile le blutoo voiture fonctionne que faire

    mon 4s est allumé mais un écran noir, il sonne mais je ne peux pas répondre car plus de tactile. Je peux appeler avec le blutoo de la voiture avec les commandes vocale. Est il réparable et pour combien ?

  • Questions regarding Alerts

    I am wondering how Alerts are supposed to work in the following scenarios: 1. Alerts associated with a query has no output.  Does the alert still trigger and show up in the inbox eventhough there no output as result of the query?  For exemple. Alert