TRIGGER WORKFLOW IN  HR MODULE FOR TERMINATION OF AN EMPLOYEE

Hi all
i have an employee terminated in my organisation and
i have to trigger the workflow at the background
to inform through mail the line manager and the finince dept.to clear all his dues or to make a final settlement.
As soon as i fill the bank details (infotype 9) of the corressponding employee and say save the workflow should trigger at the background to inform through mail.
i will main the information like this below
PERSONALAREA   PERSSUBAREA  EMPGROUP  EMPSUBGROUP IDOFTHE PERSONTOBEINFORMED.
the information has to be sent to the id maintained above in the table

Hi Jyothi,
I feel that you can make use of dymanic actions(V_T588Z) instead of workflow for the same. The mail can be triggered when you do the leaving action for the employee in actions infotype and as well can be triggered when you the save the records in infotype 9.
Regards,
Rajeev

Similar Messages

  • Std Bapis which can trigger Workflows inHR

    Hi friends,
    Do we have any std Bapis which can trigger workflows in HR module.
    The functionality I am looking at is Intra country promotion/transfer.
    Please suggest.
    Cheers,
    Rajesh.

    Hi,
    I do not know your knowledge of SAP Workflow. So maybe you should start with standard [SAP documentation|http://help.sap.com/saphelp_nw04/helpdata/en/8d/25f90a454311d189430000e829fbbd/frameset.htm]. Especially check section Using Events. I really enjoyed book [Practical Workflow for SAP|http://www.sappress.com/product.cfm?account=&product=H950].
    What's the name of the workflow you want to start?
    Cheers

  • Workflow in MM module

    Dear Experts,
                          I have to use workflow in MM module (for P.O), have never worked with workflow, Plz send some useful documents and links and suggest how to do it.
    Looking forward to your response.
    Regards,
    Gulrez

    Purchase Order Workflow
    Purchase Order workflow ( Transaction : ME23N) determines the approval path for the buying organization . It first goes to the buyer, buyer's manager & thereafter based on the cost center & the associated amount, it goes for approval through the Cost Center organization .
    Chk these links.
    MM - Workflow Scenarios
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMMM/BCBMTWFMMM.pdf
    Purchase Order and Sales Order Workflow
    http://www.sap-img.com/workflow/purchase-order-and-sales-order-workflow.htm
    Workflow of Purchase Requisition Release Strategy
    http://www.sap-img.com/workflow/workflow-of-purchase-requisition-release-strategy.htm

  • How to trigger workflow for already created purchase order ?

    HELLO EXPERTS
    let me clear my scenario first . i have 1 purchase order whose workflow is not triggered . means it is showing me message no workflow that have already worked for this object.i have created 1 more purchase order taking reference of this purchase order means both are same same message for this po also. it was happening because event linkage for the business object bus2012 is not activated but now it is enabled and i have created third purchase order with reference to above po means this third po is also same as above 2 no change other than po number but for this workdflow is getting triggered . now i want to trigger workflow for orignal first po but for my first po it is showing me same message that no workflow that have already worked for this object. what i have to do to trigger workflow for this po. i have performed this steps in test system. i have workflow number

    Hello !
          You can trigger the workflow from SWUE.Enter bus2012 and created for object type and event respectively.
          Click object key button where enter the purchase order number which have been already created.
          But, why do you want to trigger the workflow again for already created purchase order ?
    Regards,
    S.Suresh

  • Trigger workflow for MIRO invoice creation

    Hello,
    In standard functionning it is not possible to trigger the workflow for documents coming from MM.
    When using transaction MIRO and selecting invoice creation the created document has following value :
    BKPF-AWTYP = 'RMRP'. whereas creating it from FB60 results to BKPF-AWTYP = 'BKPF'.
    The problem is standard code checks AWTYP is not equal to 'RMRP' before creating event to start the standard workflow for invoice validation.
    Question : why sap doesn't allow workflow creation for invoices from MIRO?
    Thanks for your answers.
    Best regards,
    Laurent.

    Hi,
    here they are...
    WS20000397 MMIVBlockedP Treatment of inv. blkd for price, Log.IV
    WS20001004 MMIVToRel Release the Completed Log. IV Document
    WS00400026 MMIVquantity Treatment inv.blocked f.quantity reasons
    WS20001003 MMIVToCompl Complete the Parked Log. IV Document
    WS00400027 MMIVprice Treatment invoic.blocked f.price reasons
    All of these workflows are a one-step / one-level of approval and needs some workflow configuration at least for the agent assignments. For a full-blown workflow you should take these workflows as an example, how you could work with it.
    The last two workflows work with preliminary posting on the miro (transaction MIR7).
    Best regards,
    Florin

  • Trigger workflow when PR changed and copmlete activ workflow for same PR

    Hi,
    i am triggering the workflow for all line item of PR when PR is created. now i want to create workflow when PR change also.
    but before triggering the workflow i have to check the any in process workflow for the same and if then complete is and delete all its work item.
    for Ex.
    PR -4500000001 created with item 10 workflow triggerd ,
    suppose i changed it and agan save next workflow trigged now before triggerin this workflow we have to complete the 1 instance of workflow , delete all workitem of that instant
    Please suggest how can i achive this .
    Thanks in Advance
    Deepanker Dwivedi

    Hello,
    We have already implemented this in our old  project.Please find below the solution.
    No config change is required.
    1.Go to tcode SWETYPV
    2. Double click on your linkage.
    3. You will see there check function module.
    4. MAke a custom custom function module of yours and it will have CDPOS and CDHDR as its component.
    5. When so pr is changed or created this function module will be triggered there you can identify whether pr is changed or not using cdpos and cdhdr.
    6. If it is change raise two events one for completeion of old worklfows which are in process second for creation of new workflow instance.
    7. Create a wait step in your workflow which will wait for the completion event to be raised.
    Hope it helps.
    Regards,
    Nabheet Madan

  • Workflow configuration for FICO module for Bill Posting and Release of Paym

    Hi All,
    I need your help regarding configuration of workflow for FICO bill posting and payment release transaction. Can any one guide me in this process. In my scenario, the client has a billing department, which receives bill from various vendors and other departments. Once they receive the bill, they check it and post it. After bill posting bill needs to be approved by various levels depending upon value.
    <= 10000 Approval by HOD
    >=10001 and <= 100000 Approval by HOD and Finance Head
    >=100001 Approval by CEO.
    I have worked thoroughly on PO & PR workflow in MM module, but i don't have idea about FICO module. Can anybody guide me what all steps are involved in workflow configuration of above FICO process.
    Thanks & Regards
    Ranjan

    Hi KK,
    Now my requirement is change, below are my requirement details:
    I need your help regarding configuration of workflow for FICO bill posting release transaction.There are no standard process in SAP , I have to customized and develop new workflow for this scenario. Can any one guide me in this process. In my scenario, the client has a billing department, which receives bill from various vendors and other departments. Once they receive the bill, they check it and post it. After bill posting bill needs to be approved by various levels depending upon value.
    <= 10000 Approval by HOD
    >=10001 and <= 100000 Approval by HOD and Finance Head
    >=100001 Approval by CEO.
    I have worked thoroughly on PO & PR workflow in MM module, but i don't have idea about FICO module. Can anybody guide me what all steps are involved in workflow configuration of above FICO process.
    Thanks & Regards
    Ranjan

  • How to trigger workflow from WDA and read workflow container into WDAscreen

    Dear Expert,
      Please suggest the solution for the following requirement:
       1. Create 1 leave request from WDA and submit for approval
       2. When User press "submit" button in WDA screen, workflow will be triggered for processing approval  .
       3. When 1 request is sent to approver, he logon into portal and access to UWL to process task himself.
       4. After he press approval link, the system will call WDA screen to process approval ( this screen will contain full information of requester.)
       5. After finishing process, the result will return workflow and end of process.
    Please send simple example for step 1 and one for get data from workflow into WDA screen at step4
    Any help would be appreciated
    Thanks and best regards,
    DucTV.

    Hi,
      I am not sure for what reasons you are developing a application but SAP has its own standard workflow process for applying leave from ESS portal..
    1. AS soon as you click on the submit button of the applicaiton then you need to trigger a workflow right in that case you make sure that you need to pass some data to the workflow container I hope you might be using either SAP_WAPI_CREATE_EVENT or SAP_WAPI_START_WORKFLOW to start the workflow  in both the function module you have to fill this table in Order to pass the values from ABAP    program to workflow container.
      The answer to your question is it depends on the type of the work item ID you are passing to the SAP_WAPI_READ_CONTAINER if you are passing a top work item ID  then you will have workflow container in LT_CONTAINER if you are passing any of the child or dependent work item ids of the top work item id then you have that respective task container value.
    2. You can make use of the any foreground activity or a decision step, it depends on how you want to get back the result, if you use a foreground activity step then in that case you have to populate the result back to the task container and if let say you are using a decision step then in that case you do not have to populate the result there will be standard  container element _RESULT in the decision step it will be filled.
    Make sure if you are expecting some work item in UWL and as soon as you click on the work item your application should open then configure in SWFVISU transaction and maintain DTD in UWL any portal consultant can perform this steps in few seconds.
    3. When the workflow is started then the work item which you are able to get back is the one which helps to identify dependent work item ids it is the TOP or PARENT work item ID.
    Regards
    Pavan

  • Problem in triggering the correct workflow on  AdobeForm submission for PCR

    Hi All,
    I am facing a problem involving triggering of workflows through Adobe form submission. I have created a scenario for "Employee seperation" in QISRSCENARIO transaction and assigned it to an approval workflow. I have also activated and assigned the BUS7051-Created event in the workflow Basic Data. My workflow also triggers perfectly when i submit the adobe form. Everything is perfect till here.
    Now i have to create another scenario for "Request for Transfer" Now for this i had to create a seperate workflow. My problem is since both these workflows are assigned to the same event whenever i submit the "Employee seperation" form both the workflows get triggered. <b>Is there a setting where i can configure the corresponding workflow to be triggered for the respective scenario's alone?</b> How do we handle this situation?

    Hi Jocelyn/Raja,
    I am trying to use SWB_COND for differentiating between the different workflows. I have created a virtual attribute W_SCENARIO_KEY for this. I tried populating this scenario key by using the following staement,
    <b>
    CALL FUNCTION 'ISR_SPECIAL_DATA_GET'                       
      EXPORTING                                                
        notification_no                     =  object-key-number
    IMPORTING                                                 
        SCENARIO                            = w_scenario_key.  
      SWC_SET_ELEMENT CONTAINER 'W_SCENARIO_KEY' W_SCENARIO_KEY.</b>
    When i try to include W_SCENARIO_KEY as a start condition the workflow shows up an express message and fails to trigger. In ST22 i can see that there is an exception "INVALID_NOTIF_NUMBER" raised.
    But if i don't set this as a start condition all the workflows activated to BUS7051-CREATED are triggered and in the WF logs i can see the correct value of W_SCENARIO_KEY for the respective notification number.
    I am not sure why this happens when i set it as a start condition alone.
    I instead used a select statement as shown below,
    <b>select * from viqmel into table itab_VIQMEL          
                  where qmnum = object-key-number.       
    loop at itab_viqmel where qmnum = object-key-number. 
    w_scenario_key = itab_viqmel-auswirk.                
    endloop.</b>
    After inserting this statement it works fine without any issues. Any idea on why ISR_SPECIAL_DATA_GET cant be used in the virtual attribute implementation?
    The following is the dump i get if i use ISR_SPECIAL_DATA_GET,
    Information on where terminated                                                                 
        The termination occurred in the ABAP program "SAPLQISR9" in                                 
         "ISR_SPECIAL_DATA_GET".                                                                    
        The main program was "RSWDSTRT ".                                                                               
    The termination occurred in line 39 of the source code of the (Include)                     
         program "LQISR9U01"                                                                        
        of the source code of program "LQISR9U01" (when calling the editor 390).                                                                               
    Source Code Extract                                                                               
    Line  SourceCde                                                                               
    9 *"  EXCEPTIONS                                                                               
    10 *"      NO_INTERNAL_SERVICE_REQUEST                                                       
       11 *"      INVALID_NOTIF_NUMBER                                                              
       12 *"      INT_SERVICE_REQUEST_NOT_FOUND                                                     
       13 *"----
       14                                                                               
    15 * local data                                                                               
    16   DATA: lt_dummy TYPE qisrsgeneral_param.                                                 
       17                                                                               
    18   DATA: lr_isr_document TYPE REF TO cl_isr_xml_document.                                  
       19                                                                               
    20   DATA: ls_notif TYPE qmel.                                                               
       21                                                                               
    22 * MAIN                                                                               
    23 * try buffer first                                                                      
       24   CALL FUNCTION 'ISR_SPECIAL_DATA_BUFFER_GET'                                           
       25     IMPORTING                                                                               
    26       ET_SPECIAL_DATA       = special_data                                              
       27       ED_SCENARIO           = scenario                                                  
       28     EXCEPTIONS                                                                          
       29       BUFFER_EMPTY          = 1.                                                        
       30                                                                               
    31   IF sy-subrc eq 0.                                                                     
       32     EXIT.                                                                               
    33   ENDIF.                                                                               
    34                                                                               
    <b>   35 * check notification number                                                             
       36   SELECT SINGLE * FROM qmel INTO  ls_notif                                              
       37                             WHERE qmnum = notification_no.                              
       38   IF sy-subrc NE 0.                                                                     
    >>>>>     RAISE invalid_notif_number.                                                         
       40   ELSEIF ls_notif-auswirk IS INITIAL.                                                   
       41     RAISE no_internal_service_request.                                                  
       42   ENDIF.     </b>                                                                               
    43                                                                               
    44 * set scenario                                                                          
       45   scenario = ls_notif-auswirk.                                                          
       46                                                                               
    47 * read ISR XML document                                                                 
       48   CALL METHOD cl_isr_xml_document=>read_for_display                                     
       49     EXPORTING  id_notif_no         = notification_no                                    
       50     IMPORTING  er_isr_xml_document = lr_isr_document                                    
       51     EXCEPTIONS bds_error = 1.                                                           
       52                                                                               
    53   IF sy-subrc NE 0.                                                                     
    54     RAISE int_service_request_not_found.           
    55   ENDIF.                                           
    56                                                    
    57 * read data from XML document                      
    58   CALL METHOD lr_isr_document->get_data_from_xml

  • WM/IM modules for SAP

    Being a newby to the WM/IM modules for SAP, does anyone know where I can get documentation and/or refer me to documentation on low level features of these modules.  I'm basically looking for answers to the features listed below. Thanks
    Feature
    RECEIVING
    ASN/EDI:
    Conventional:
    Automatic:
    Purchase Order:
    Lot:
    Serial Number:
    Vendor:
    QC Sampling:
    Receipts Tagging:
    Cross-docking:
    STORAGE/PUTAWAY
    Operator Directed:
    System Directed:
    Dedicated Storage:
    Random Storage:
    Verification:
    Quarantine:
    INVENTORY CONTROL
    Units of Measure:
    Shelf Life:
    QC Status:
    Bulk Storages:
    Lot Tracking:
    Consolidation:
    Relocation:
    Cycle Counting:
    ORDER PROCESSING
    Conventional:
    Local Terminal:
    Emergency:
    Back Orders:
    ORDER PICKING
    Mechanized:
    Pick Generation:
    Stock Allocation:
    Picking Labels:
    Picking Strategy:
    Negative Picking:
    Sortation:
    Restrictions:
    Pick Strategies:
    Verification:
    Pick Retasking:
    SHIPPING
    Order Verification:
    Anomaly Handling:
    Manifesting:
    Bills of Lading:
    Freight Ratings:
    Shipment Labels:
    Product Sizing:
    OTHER
    Reports/Screens:
    GUI
    Host Link:
    Returns:
    Fine Granularity
    Partial Receiving
    Handling Unknown
    Reverse Pick

    Hi Sonny,
    I am working with Extended Warehouse Management, the latest solution of SAP for WM/PI, and you will be glad to know that all the functionality asked by you are provided by EWM and many more.
    to know more about EWM you can search its documantation at https://help.sap.com
    search for mySAP Business Suite -> Supply Chain Management-> SCM 5.0 -> EWM
    you will find the complete documentation explaining the solutions to all your problems regarding warehouse management and PI. Just check it out.
    If you still faces problems or need some direct answers just ask me I will be happy to help you out.
    Regards,
    Shailesh

  • Function Module For F-04

    Hi
    Is there any function module for F-04 transaction.
    Please help with answers.

    Hi,
    Check the following Exits
    SAPLF051                     Workflow for FI (pre-capture, release for payment)
    RFKORIEX                    Automatic correspondence
    RFEPOS00                   Line item display: Checking of selection conditions
    RFAVIS01                  Customer Exit for Changing Payment Advice Segment Text
    FEDI0001                    Function Exits for EDI in FI
    FARC0002                  Additional Checks for Archiving MM Vendor Master Data
    F180A001                  Balance Sheet Adjustment
    reward if useful
    regards,
    Anji

  • Workflow 2.6.3. install terminated because a 10g database is not recognized

    The installation of workflow 2.6.3 was terminated by the configuration assistant because the wfdbck10.sql script did not find a 10g database. When checking the script i found a bad sql statement that will produce an error (a select to_number('10g') from dual ...). I found a entry in metalink that say for a similar problem that the solution is not to call this script or change the script. I correct it so it doesn't crash but the result is the same. I think the script has to return a given value i don't know. I check all scripts but didn't find any call to this script. It is something called directly by the assistance i suppose. I'm blocked and don't know how to solve this installation problem. Some help will be very appreciated.

    Has you can see the script is executed ... so tnsnames and password are correct. Yes I will install it in a windows xp sp2 machine (multiple home, but in the main home and all seem to be correct).
    SQL*Plus: Release 10.1.0.4.0 - Production on Wed Nov 2 11:55:24 2005
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connected.
    TO_NUMBER('10')
         10
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.1.0.4.0 - Production
    With the Partitioning, Oracle Label Security, OLAP and Data Mining options
    WorkflowCA: Base détectée autre qu'une base de données Oracle10g
    WorkflowCA: Terminating...

  • How can i trigger workflow from report

    hi i create one report and workflow. i want to trigger workflow from report, how can i do this one, please send me any code you have.
    Thanks & Regards
    Sankar

    Hi Sankar,
    There is another sample code...
       REPORT ZRGEVTCR.
    INCLUDE <CNTN01>.
    DATA: OBJKEY  LIKE SWEINSTCOU-OBJKEY,
          EVENTID LIKE SWEDUMEVID-EVTID.
    DATA: BEGIN OF EVENT_CONTAINER OCCURS 0.
            INCLUDE STRUCTURE SWCONT.
    DATA: END OF EVENT_CONTAINER.
    PARAMETERS:
      OBJTYPE  LIKE SWETYPECOU-OBJTYPE DEFAULT 'ZRGMARA',
      MATERIAL LIKE MARA-MATNR,
      EVENT    LIKE SWETYPECOU-EVENT   DEFAULT 'CREATED',
      VOLEH    LIKE MARA-VOLEH,
      LED      LIKE SY-DATUM           DEFAULT '19971231'.
    OBJKEY = MATERIAL.
    CLEAR EVENT_CONTAINER. REFRESH EVENT_CONTAINER.
    set input parameters for CREATED event.
    remark: to be more general, we had to use fm SWO_QUERY_PARAMETERS
    IF EVENT EQ 'CREATED'.
      SWC_SET_ELEMENT EVENT_CONTAINER 'LatestChangeDate' LED.
      SWC_SET_ELEMENT EVENT_CONTAINER 'VolumeUnit' VOLEH.
    ENDIF.
    CALL FUNCTION 'SWE_EVENT_CREATE'
         EXPORTING
              OBJTYPE           = OBJTYPE
              OBJKEY            = OBJKEY
              EVENT             = EVENT
         IMPORTING
              EVENT_ID          = EVENTID
         TABLES
              EVENT_CONTAINER   = EVENT_CONTAINER
         EXCEPTIONS
              OBJTYPE_NOT_FOUND = 1.
    IF SY-SUBRC NE 0.
      WRITE : / 'Object type', OBJTYPE, 'not found in object repository'.
    ELSE.
      IF EVENTID NE 0.
        WRITE : / 'At least one receiver was found'.
        COMMIT WORK.
      ELSE.
        WRITE : / 'No receivers found'.
      ENDIF.
    ENDIF.
    Hope this will help you to solve your problem that how to trigger workflow from the report.
    Thanks,
    Pramod

  • Trigger Workflow when IDOC_INPUT_ORDERS FM

    Hi,
    When there is an error in IDOC excution using FM "IDOC_INPUT_ORDERS', I have to send a mail to idoc Partner. Please let me know how to do it.
    Thanks and Regards
    Ravi

    Hi Ravi,
    Pick the status of the idoc from the DDIC table when the sy-subrc is <> 0. Create a business object under SCDO and generate the update program which will generate the Function Module for the same. Once the Function Module is generated, call the same Function Module after the IDOC_INPUT_ORDERS depending on the sy-subrc and using the Return code from the same generated Function Module setup a workflow which triggers an email using the distribution list.
    Hope this is clear.
    Regards,
    -Syed.

  • Deadline Monitor thru actions and trigger workflow

    I have a requirement when service ticket is created.After 5 days somesequence of process should happen through workflow.Now i have configured the start condition in Actions which should trigger workflow.
    Will there be no specific triggering  event for this workflow to trigger.As now the Action is green but no workflow is triggered.

    Hi
    in action in method you should raise event.
    this event next will trigger workflow.
    also check in tcode swetypv is you workflow connected with this event.
    Regards
    Radek

Maybe you are looking for