How to initiate the workflow from  pa40?

dear experts
I wanted to know how to trigger  or initiate my workflow from PA40. in PA40 if i givet he hiring process then the empid given there has to be passed to my customised workflow & ini tiate my workflow.
please help me out.
Thanks & regards
Nigesh

check this answer to a previous question of you:
how to initiate workflow from PA30
basically it's the same, procedures are infotype 0.
Kind regards, Rob Dielemans

Similar Messages

  • How to Initiate the Workflow from Java webdynpro?

    Hi All,
    I am developing Customized WD application for ESS, which in turn having integration with Workflow.
    Now How to Initiate the Workflow coding part in Webdynpro Development.
    Through Adaptive RFC Model, i created model using sap_wapi_start_workflow RFC
    Can anybody provide the sample code on this!!!
    What are the stpes i have to follow to this Workflow Initiation from WD Java..
    Thanks In Advance
    Krishna

    Krishna,
    What Alejandro is mentioning that create a RFC which accesses you workflow on ABAP end. At your Java side just make the call the BAPI.
    So you need a BAPI say ZMYBAPI which accesses your ZWORKFLOW.  Now on Java side create a WD project which accesses ZMYBAPI.
    For information on how to connect to a BAPI please refer this [link|https://www.sdn.sap.com/irj/sdn/webdynpro?rid=/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d#15]
    Chintan

  • How to trigger the workflow from the excel sheet

    hello friends,
    my problem is that i should trigger the workflow from a excel sheet which contains a list of appraisers and appraisees.how to do this. can anyone  help on this.
    thanks.

    Hi Murthy,
    If you are asking if a workflow can be started on R/3 while in Excel - may be possible if you can develop some fancy macros that can make RFC calls to an ABAP function module. I won't even attempt to travel that route.
    Save the excel sheet as CSV or Tab delimited file and process it using ABAP. You can use the WAPI function module SAP_WAPI_CREATE_EVENT (Rel 4.7)to start the Workflow by raising the relevant event. In earlier releases, see FM SWE_EVENT_CREATE.
    Please do keep in mind there could be performance and response time issues for dialog users of the system if you are going to start several workflows using a report program.
    Cheers,
    Ramki.

  • How to trigger the workflow from RFC

    Hi,
    I need to trigger a workflow from a RFC.How can I call the event and start my workflow?
    How can i do this?
    please advice.
    Thanks,
    Anand

    Hello Anand,
    Goto swetypv transaction.Mention the abap class/bor object with the corresponding event.
    In the receiver type, just mention some unique name.In the receiver function module mention the async RFC.
    Mention the SENDER     TYPE     SIBFLPORB                        Local Persistent Object Reference - BOR Compatible
    EVENT     TYPE     SIBFEVENT                               Event
    RECTYPE     TYPE     SWFERECTYP                               Name of Receiver Type
    HANDLER     TYPE     SIBFLPORB                               Local Persistent Object Reference - BOR Compatible
    EXCEPTIONS_ALLOWED     TYPE     SWEFLAGS-EXC_OK     SPACE     Checkbox
    XML_SIZE     TYPE     SWF_XMLSIZ                               Size in Bytes
    EVENT_CONTAINER     TYPE     SWF_XMLCNT                               Container as XML Stream of Fixed Width
    So that the guid can be used inorder to identify the instance.
    you can use : "sap_wapi_start_workflow" fn module.
    Hope this helps.
    Best Regards,
    Saujanya

  • Regarding how to pass the data from web dynpro to workflow

    hi gurus,
    how to pass the data from web dynpro to workflow.
    Regards
    vijay

    Check this [thread|SAP_WAPI_START_WORKFLOW;

  • How to pass the data from web dynpro to workflow.

    hi gurus,
    how to pass the data from web dynpro to workflow.
    Regards
    vijay

    Hi
    you can use function module
    data   ls_input_container  TYPE swr_cont.
    data   lt_input_container  TYPE TABLE OF  swr_cont.
    CALL FUNCTION 'SAP_WAPI_START_WORKFLOW'
        EXPORTING
          task            = ptask
        IMPORTING
          return_code     = lv_return_code
          new_status      = lv_new_status
        TABLES
          input_container = pinput_container
          message_lines   = lt_message_lines
          message_struct  = lt_message_struct.
    where you pass the data in imnternal table "pinput_container" as
      ls_input_container-element = 'KUNNR'.
      ls_input_container-value = ls_skna1-kunnr ."wd_this->lv_kunnr.
      APPEND ls_input_container TO lt_input_container .
      ls_input_container-element = 'CLUSER'.
      ls_input_container-value = lv_cluser.
      APPEND ls_input_container TO lt_input_container .
      ls_input_container-element = 'BUKRS'.
      ls_input_container-value = lv_bukrs. " youe value as per requirement.
      APPEND ls_input_container TO lt_input_container .
      ls_input_container-element = 'VKORG'.
      ls_input_container-value = ls_sknvv-vkorg. " youe value as per requirement
      APPEND ls_input_container TO lt_input_container .
      ls_input_container-element = 'VTWEG'.
      ls_input_container-value = ls_sknvv-vtweg. "youe value as per requirement.
      APPEND ls_input_container TO lt_input_container .
      ls_input_container-element = 'SPART'.
      ls_input_container-value = ls_sknvv-spart. "youe value as per requirement.
      APPEND ls_input_container TO lt_input_container .
    *Also Forgot to mention where ptask is your workflow ID *
    Regards,
    Arvind
    Edited by: Arvind Patel on May 14, 2010 7:38 AM

  • How to initiate the call JDBC_Sender adapter from BPM?

    Hello,
    I have a periodicall proccess in BPM. After receiving some message in BPM  I check some fileds of the message.If condition is true I need to initiate SQL request to external DB, to receive the message and send it after transformating to SAP.
    How to initiate the call JDBC_Sender adapter from BPM? As I understand I need to use JDBC Sender adapter and once.
    How to construct the correct BPM?
    Thank You

    the message comes into BPM. You check for some conditions and if true use a send step (Sync) that would query into DB table and as a reponse retrieve the related data. After the send sync step have the transformation step and another send step to SAP.
    U would not configure sender jdbc but u wud need to config for recv jdbc. this wuld service the request and in response return the set of data from the table
    Message was edited by:
            Prabhu  S

  • How to initiate a workflow saved in a wft files

    Dear WF_developers
    I am a very beginner in WF technology. I just finished with all installations requirements (server/ client/ configuration) and start creating wft files. But how to initiate a workflow contained within a wft is not clear to me.
    I did a lot of search in forum as well as html docs available with the product, but couldn't find the exact details.
    The version information for my installation components are as follows:
    Server version: 2.6.2 (Oracle 9i)
    Workflow builder: 2.6.2
    Regards,
    IAI

    Hello Everybody,
    I at last found a wonderful demonstration of a complete activity cycle (right from workflow creation to upload and firing the workflow) at http://gehlpad.oracleicenter.com/isdfiles/viewlets/Workflow_Builder_viewlet_swf.html
    Regards,
    Irfan Ilyas

  • How to purge the workflow which is in process

    Hi Friends,
    I am facing one problem in the AME Workflow.
    when a user submit a page for approval process, workflow engine invokes . and in the hr_api_transcations table transacation id is created for that workflow transacation. now the problem is, if i purge that workflow process using concurrent program 'PURGE OBSELETE WORKFLOW RUNTIME DATA' . it is deleting the workflow. but when i see the hr_api_transacation table still the transacation id for that workflow is active.
    Example :-
    when i see through through the responsibility (workflow administrator web applications)=>Administrator workflow=>Status monitor
    when i type the item key say some x and search for the workflow status i cant see the workflow status. i can see it is deleted.
    but when i type the same item key in the hr_api_transacation
    like :- select * from hr_api_transactions where item_key='X' i can see the status of this transacation is active and workflow is in pending.
    can anyone explain me why system is behaving like.. how to stop the workflow process and how to delete the transacation id from the table.
    Thanks in advance

    Please check below nots
    453137.1 (Oracle Workflow Best Practices Release 12 and Release 11i) sections titled "Choosing Not to Use E-mail Notifications" and "Cleaning Up the WF_NOTIFICATION_OUT Queue"
    How to purge e-mail notifications from the workflow queue so the e-mail is not sent [ID 372933.1]
    264191.1 describes how to Purging Oracle Workflow tables of obsolete workflow runtime information for completed workflow processes is a required regular maintenance tas
    Notification Mailers Unavailable
    How to delete undelivered notifications from WF mailer

  • HOW TO TRIGGER AN WORKFLOW FROM A PROGRAM ?

    HELLO THERE ,
    CAN ANYBODY PLZ TELL ME HOW TO TRIGGER AN WORKFLOW FROM AN PROGRAM AND TO PAS THE VALUE TO THE CONTAINER ?

    Hello Neon,
    If you want to trigger the workflow directly, use the FM, SWU_START_WORKFLOW
    CALL FUNCTION 'SWU_START_WORKFLOW'
      EXPORTING
        task                  =
    *   LANGUAGE              = SY-LANGU
        user                  =
    *   SENDER_ID             =
    * IMPORTING
    *   RETURN_CODE           =
    *   WORKITEM_ID           =
      tables
    *   CONTAINER             =
    *   MESSAGE_LINES         =
        attachment_list       =
    A workflow can also be triggered by and event which is in turn triggered by a program.
    By the FM, SWE_CREATE_EVENT
    Example:
    w_key = 'Connie'.
      w_creator-otype = 'US'.
      w_creator-objid = 'SAPDEV02'.
      CALL FUNCTION 'SWE_EVENT_CREATE'
        EXPORTING
          objtype                       = 'YH_BUDDIES'
          objkey                        = w_key
          event                         = 'event'
         creator                        = w_creator
    *     TAKE_WORKITEM_REQUESTER       = ' '
    *     START_WITH_DELAY              = ' '
    *     START_RECFB_SYNCHRON          = ' '
    *     NO_COMMIT_FOR_QUEUE           = ' '
    *     DEBUG_FLAG                    = ' '
    *     NO_LOGGING                    = ' '
    *     IDENT                         =
    *   IMPORTING
    *     EVENT_ID                      =
    *   TABLES
    *     EVENT_CONTAINER               =
       EXCEPTIONS
         objtype_not_found              = 1
         OTHERS                         = 2
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ELSE.
        WRITE: / 'EVENT TRIGGERED'.
      ENDIF.
      COMMIT WORK.
    Hope it helps you.
    Regards
    Indu.

  • How to call a Workflow from a Report in SE38?

    How to call a Workflow from a Report in SE38?
    Please can Anyone Send me a Source code (with Explanation)which I can use for calling Workflow >> WS99900253?
    Regards,
    Shashank.

    you can use FM
    SAP_WAPI_CREATE_EVENT
    SWE_EVENT_CREATE
    OR
    SAP_WAPI_START_WORKFLOW
    Regarding usge of this FMS search the forums you will get ample examples.
    Thanks
    Arghadip

  • How to execute a workflow from a webdynpro application???

    hi friends....
    How to execute a workflow from a webdynpro application???
    we are using ep6, ecc5????

    If you want to start a workflow in the backend, you need to call a RFC that starts it.

  • How to  Initiate Demantra Workflw from EBS SPP ?

    Hi ,
    I need to know ;
    1. How to kick start a "Demantra Workflow " from within EBS ? ( A step wise approach is appreciated) ( opening Demantra workflow manager and manually doing starting is workflow is not an option for me)
    2. When we kick start the workflow from SPP , I need to pass a parameter to the workflow ( the first step of workflow is a Stored procedure Step) , Is that possible , and how to do that ?

    Hi,
    Please find the answers inline
    1.We can use the package utl_http.request to call demantra workflows from EBS. Develop a custom procedure similar to msd_dem_collect_history_data.run_load (this standard procedure has all the logic required to launch demantra workflow) and register it as a concurrent program in EBS which accepts workflow name as a parameter.
    Using this concurrent program you can launch any demantra workflow just by passing the workflow name as a parameter to the concurrent program. No need to log in to workflow manager to launch a workflow :)
    2.We can only pass arguments to workflow through methods but to use methods one needs to login to collaborator workbench , but to pass an argument from SPP(EBS) without logging into Workflow Manager or Collaborator workbench , you can follow below workaround
    a.Hard the parameter in the workflow(procedure step) as P_PARAM
    b.Accept the parameter which you want to pass to the workflow say ACT_PARAM from the concurrent program which launches workflow
    c.update the table wf_schemas (this stores the workflow definition)
    UPDATE wf_schemas
    SET schema_data = replace (schema_data,'P_PARAM','ACT_PARAM')
    WHERE schema_name='xx_workflow_name';
    commit;
    d.Launch workflow using the custom procedure developed to launch workflows
    e.Rollback the changes done to the wf_schemas
    Please try this workaround on a test instance thoroughly before progressing it to Prod.
    Thanks,
    Sudeep.
    Edited by: Sudeep Bemidigi on Aug 26, 2012 11:45 PM

  • How to install the Workflow Manager for 10g ?

    how to install the Workflow Manager for 10g ?
    where can I find the information ?

    Ting,
    When you install the workflow server from the 10gdb DB, it will install the workflow manager as well. Please make sure you read the Metalink note 265554.1 for known issues and tips. Make sure you give the correct information in the WFCA as mentioned in the metalink note.
    Cheers,
    Raja

  • How to install the Workflow Manager for ?

    how to install the Workflow Manager for ? where can I find the information ?

    Ting,
    When you install the workflow server from the 10gdb DB, it will install the workflow manager as well. Please make sure you read the Metalink note 265554.1 for known issues and tips. Make sure you give the correct information in the WFCA as mentioned in the metalink note.
    Cheers,
    Raja

Maybe you are looking for