How to trigger a second workflow from a workflow?

Hi All,
          I want your guidance in deciding the process flow of a workflow to be developed.
          We have a scenario in our project where we have to develop a workflow for vendor creation/change
          done through a portal.Now we have designed to do through this 2 workflows.
          First workflow is triggered when the create/change is done in the portal and the entry is made in a
          z table.This is the trigger point of first workflow.
          First workflow will identify all approvals and store them in another z table with all the approval levels  needed and the approval groups stored in the z table itself.
          Second flow will trigger on the entry made in this z table.It will read all approvals and send the mails to tha approvers in the respective aproval groups.
Now can you please verify this.Is it possible to trigger a second workflow from a workflow?
If yes then can you please explain the methodology to do the same?
Also if any other approach can be taken,please suggest the same.
Thanks a lot,
Saket.

First Develop a Z Business OBject (let ZVENDOR) to update the Z table when ever a Vendor is created or Changed.
Now For the first workflow do like this
From the WD application when the user clicks on the SAVE button then call the Function module SAP_WAPI_START_WORKFLOW .
Develop a method in the ZVENDOR to update the Z table.Make the method as background.
Use the method that you have created in the above point in the first workflow but prior to this make sure that you have passed all the required information to the workflow.
Once the table is updated.
For Second Workflow
Create a Change document object for the Ztable.
And trigger the workflow when ever any entry is made or changed in the z table

Similar Messages

  • How to trigger updateMarker for TextEditor from code

    I'm making my own marker. But when I change document programmatically, I couldn't trigger updateMarker. So markers're indexs don't change.Markers has not showed correctly. How to trigger updateMarker for TextEditor from code?

    Hi Viren,
    Glad that your problem is resolved.
    Help.Sap.com is the best reference: http://help.sap.com/saphelp_nw04/helpdata/en/b2/e50138fede083de10000009b38f8cf/frameset.htm
    Also check the "How-To" docs in https://www.sdn.sap.com/irj/sdn/developerareas/bi
    Bye
    Dinesh

  • How do you get variable values from a workflow onto a jsp?

    I trigger a workflow and it does all the stuff I want, but I want the the jsp (a confirmation page) that eventually gets shown to the end user to have some of the variables from the workflow on it.
    How do I achieve this?

    Sorry--for not knowing how to post this in the right forum.
    I thought that I was posting on the right forum by placing the pl sql tag.
    Sorry for any inconvenience that I have cause….thanks for your feedback…and have a great day!!
    Edited by: user612347 on Mar 12, 2010 5:29 AM

  • How to call a function module from a workflow ? ?

    hi all,
    i have to call a function module from an workflow, i got a hint from someone that i have to enhance an object and then write and methode, in this methode i can call that function module. I dont know even how to go for it.
    Can anyone suggest that how to go for it ?
    thanks.
    raman khurana.

    Hi Raman Khurana,
    Please  go through the links it might be helpful , notsure
    http://help.sap.com/saphelp_nw2004s/helpdata/en/c5/e4af8b453d11d189430000e829fbbd/content.htm
    http://www.abapcode.info/2007/07/standard-function-module-text.html
    http://it.toolbox.com/wiki/index.php/SAP_Workflow
    Regards,
    Sreekar.Kadiri.

  • How to trigger an xi communication from abap report?

    Hello,
    I would like to ask if there is a blog, howto or something about How to trigger the communication in an abap programm. The communication will be either rfc->ftp or rfc->jdbc. So how can I tell XI to call that rfc to start the communication (from r/3 as abap programm)?
    thank you.

    >
    RAJEEV GUPTA wrote:
    > Hi Daniel,
    >
    > you can tell rfc to send the rfc response to XI.............but for this you have two options:
    > 1. by se38 report you can execute rfc in r/3 and send its response to XI destination target system by executing the function module of rfc in your abap report
    > 2. you can send the rfc req msg from XI to r/3 and then you will automatically get the rfc response from r/3 in XI via this synch msg.
    >
    >
    > Regards,
    > Rajeev Gupta
    Hello,
    about nr1:
    When I set the DESTINATION parameter in a abap report, doesn't this mean the system where the rfc is available? Because when I do it like that my abap report would look for the rfc there and not in r/3 itself. Isn't that right?
    e.g.
    CALL FUNCTION 'RFC_on_r3'
               DESTINATION 'XI.rfc.dest'
    So you think that should work?

  • How to trigger a background job from BADI method.

    hi friends,
    i need to trigger a background job from the badi method CHANGE_AT_SAVE for the BADI BOM_UPDATE.
    for this i think i need to create an event which i should give with parameters during job creation.
    can you pls help me solve this issue.
    thank u all.

    Hi Saravanan,
    Here is an example of what you have to do.
    Regards,
    Eric
    Reward any helpful sugestion.
    *&      Form  generar_job
    FORM generar_job .
    Generar Variante
      PERFORM generar_variante.
      w_fecha = sy-datum + 3.
      CALL FUNCTION 'DATE_COMPUTE_DAY'
        EXPORTING
          date = w_fecha
        IMPORTING
          day  = w_weekday.
    Si la fecha cae en sabado o domingo se debe continuar el lunes.
      CASE w_weekday.
        when '1'.
          ADD 2 TO w_fecha.
        WHEN '6'.
          ADD 2 TO w_fecha.
        WHEN '7'.
          ADD 1 TO w_fecha.
      ENDCASE.
      w_jobname = 'ZQM_CIERRE_LOTE_INSPECCION'.
      CALL FUNCTION 'JOB_OPEN'
        EXPORTING
          jobgroup         = 'QUEUE'
          jobname          = w_jobname
        IMPORTING
          jobcount         = w_jobcount
        EXCEPTIONS
          cant_create_job  = 1
          invalid_job_data = 2
          jobname_missing  = 3
          OTHERS           = 4.
      IF sy-subrc EQ 0.
        CALL FUNCTION 'JOB_SUBMIT'
          EXPORTING
            authcknam               = sy-uname
            jobcount                = w_jobcount
            jobname                 = w_jobname
            report                  = 'ZQM_CIERRE_LOTE_INSPECCION'
            variant                 = w_var
          IMPORTING
            step_number             = w_stepnum
          EXCEPTIONS
            bad_priparams           = 1
            bad_xpgflags            = 2
            invalid_jobdata         = 3
            jobname_missing         = 4
            job_notex               = 5
            job_submit_failed       = 6
            lock_failed             = 7
            program_missing         = 8
            prog_abap_and_extpg_set = 9
            OTHERS                  = 10.
        IF sy-subrc EQ 0.
          CALL FUNCTION 'JOB_CLOSE'
            EXPORTING
              jobcount             = w_jobcount
              jobname              = w_jobname
              sdlstrtdt            = w_fecha
              sdlstrttm            = w_hora
            IMPORTING
              job_was_released     = w_rel
            EXCEPTIONS
              cant_start_immediate = 1
              invalid_startdate    = 2
              jobname_missing      = 3
              job_close_failed     = 4
              job_nosteps          = 5
              job_notex            = 6
              lock_failed          = 7
              OTHERS               = 8.
          IF sy-subrc EQ 0.
            IF w_rel EQ 'X'.
              WRITE:/ w_jobname, 'FUE LIBERADO. VER SM37.'.
            Guardamos los destinatarios
              PERFORM destinatarios_job.
            Guardamos la información a utilizar al ejecutar el job
              PERFORM guardar_datos_job.
            ELSE.
              WRITE:/ w_jobname, 'NO FUE LIBERADO'.
            ENDIF.
          ELSE.
            WRITE:/ w_jobname, 'NO FUE CERRADO'.
          ENDIF.
        ELSE.
          WRITE:/ w_jobname, 'NO FUE ENVIADO'.
        ENDIF.
      ELSE.
        WRITE:/ w_jobname, 'NO FUE CREADO'.
      ENDIF.
    ENDFORM.                    " generar_job

  • How to export 4 second clips from GB as mp3?

    I'm trying to export little 4 second clips from a voice narration in GB as mp3 files.
    I tried saving the 4 second clips as loops... but they still seem connected to the rest of the audio track.
    Do I have to start a new project for each new 4 second clip and then save that separately?
    I'm a total GB newbie... so THANKS for any pointers in the right direction.
    p.s.  I want each GB clip to retain the filtering I've added to the voice.
    Thanks...

    The next time can you copy the answer to this forum directly? Very good collection of hints, but a horrible design and commercial background. A question should get the status "answered" only, if the answer was written in the forum. What good is a link to other users if this page at some point no longer alive?

  • How to stop my second monitor from dimming (connected on a mbp)?

    Hello
    I have a MBP 13" late 2011, I have a second monitor connected to it (LG 24EN43VS), and it doesn't stop from dimming. For me it seems that as soon as I have movements in the second screen it dims, then come back full brightness, but it's annoying I feel like having a stroboscope lol.
    Thanks for helping.
    PS: I even did a fresh install of Yosemite + Reset SMC & RPAM

    I would also very much like to know this.Multiscreen as default is less convenient for me. Please advice on how to disable this M

  • How to trigger RFC Func Module from XI.

    Hi Everyone,
               I am trying to implement a scenario where in the data is passed from
    RFC (async) <--> (async) BPM (Sync)<--> (Sync) SOAP
    I trigger the initial RFC function module in the background by running a report in R/3 to send data async to BPM.
    But how do I trigger the receiving RFC (Async) in R/3 from XI to post the data sent by synchronous SOAP service.
    Regards,
    Ashish

    Hi,
    1. You can make the RFC as Sync so that you need to worry.
    2. In BPM 1st step will be receive that is RFC Async, 2dn step is Send to SOAP Sync and what you can do is...
    Get the SOAP response and have once more Send step in BPM and trigger that RFC you watnted to.
    Thanks,
    Prakash

  • How to trigger alert in XI from a connected SAP R/3 4.7 system

    Hi,
    I have an asynchronous scenerio JDBC -> XI -> SAP R/3 interface.
    How can I trigger an alert when the interface fails in the SAP system ?
    BR,
    Vijay

    Hi Vijay,
    First , to create Alerts, Alert Rule, just check this blog,
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step
    It will help you in doing your entire Alert Configuration.
    Next,from SP14 onwards, activation of end to end monitoring is not needed for Alerting. Refer to this note 870232 for this info.
    Next, to test if your Alerts have been defined correctly, go to SE38. In the program , type RSALERTTEST and then click on EXECUTE button ( F8 ). In the next window, it will ask you for your ALERTCATEGORY. Just give the name of your ALERT CATEGORY and click EXECUTE.
    If you have configured your alerts correctly, you will receive a message that tells ALERT IS GENERATED and will give the ALERT ID.
    Now, go to your Run TIme workbench and then select ALERT INBOX and see if you have got the ALERT message in your ALERT INBOX.
    If this is working fine, then the last step, implement the note 913858.
    If you are below SP14, also check this blog,
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--troubleshooting-guide
    Regards,
    Bhavesh
    PS do mark points for useful answers

  • How to trigger 5v -ve polarity from pci 6251 to sincronise the image capture

    Hello!
    I want to synchronise the image capture of an IEE 1394 firewire camera with an 50hz input signal (acquired from Vsync of VGA port ). I want to accomplish this using PCI 6251 (SCB 68 E series) device. The IEE 1394 camera can be triggered using a 5V –ve polarity signal but have no idea how it is achieved, some examples about the application would be helpful
    shri

    This example illustrates how an application might be constructed in order to trigger an analog acquisition as well as an external system concurrently with an E-Series board. The analog component has been made retriggerable by tying a counter pulse train to its sample clock. Due to the complexities of the DAQ STC, an analog output line is employed in order to generate a hardware-timed, regular, pulse used to trigger both the analog acquisition, and potentially an external system. This type of architecture could be used for "stimulous - response" testing.
    Attachments:
    Timing_with_AO.vi ‏123 KB

  • How to restore the second volume from a time machine backup?

    Hi guys and gals,
    I have a October 2011 MBP running OSX lion (10.7.2), with 2 internal drives (the main drive is a 120gb SSD, the optic drive has been replaced with the original 750gb HDD that came in the computer). I use the SSD for all of my system files, with the HDD being used for my user account, which has my photo and video libraries on them.
    I use time machine to backup onto a 2tb external drive. In the beggining i was not sure how time machine would handle backing up two volumes, but after doing the first few backups then checking inside the time machine folder on the EHDD I was pleased to find that it was in fact backing up both volumes.
    Now we get to the problem I have. This morning I booted up my MBP, and it took a lot longer than it usually does, then when it finally booted it had a error saying that the user "chris" could not be found. My 750gb drive was not being seen from OSX. I ran disk utility and it was visible, but was not able to be mounted as it had an error. I did the verify permissions which came up OK, then did repair disk and it said that the disk had errors and to backup, format and re-install. As the last backup was done 2 days ago and I haven't done any important work on it since then, i didn't backup as I would prefer to restore to a point before the issue happened.
    I formatted the drive and started a time machine restore, but TM will only allow me to restore the SSD. I cannot see anything anywhere that will allow me to restore the 750gb drive. If i use migration assistant to transfer the files over from the EHDD to the 750gb drive, it won't recognise my EHDD (even though i am looking at it on the desktop and can open it and open files on it). If i try to transfer the files with finder, it says that i dont have permission to do this.
    I have spent the last hour looking for a possible solution or ways of doing what i need, but keep coming up blank.
    Hope someone out there can help me
    Cheers
    -Chris

    Chris W oz wrote:
    when it comes up with the "preparing to copy message" it hits ~24000 files and doesn't go any further.
    That sounds like some sort of directory problem.  Try Repairing the backups, per #A5 in Time Machine - Troubleshooting.
    I tried importing individual folders to reduce the number of files it was transferring in one hit and it doesn't hang. THe problem is after doing my users folder my desktop has changed and there are a lot of things that are not how they should be.
    I'm not sure what you mean. 
    Are you trying to restore to your user home folder while it's in use?  That could be part of the problem, but usually you'll get a message about things being in use, locked, or protected.  
    are there hidden files in the users folder that i am not seeing?
    Probably, but if you restore a folder, any hidden files should be restored, too.  Mostly they're the .DS_Store files where the Finder stores the last position, size, etc., where it displayed the folder, so no big deal even if it's lost.
    There are a few others at the top level of your home folder, but I think they'll be recreated as necessary.
    If i transfer the whole users folder will they transfer over (even though i cannot see them)?? Is there a way to transfer those hidden files??
    Why do you think there are hidden files that are causing a problem?

  • How to disable a second display from being auto-detected

    I have a 30" ACD and a 24" Dell hooked up to my Mac Pro, and most of the time I find myself only using the ACD. I normally keep the Dell powered off, but SL still detects its presence This actually creates a problem, because I invariably lose the cursor every now and then when my mouse strays off to the phantom display's side.
    I don't want to have to keep unplugging the video cable on the second display to make it go away, and I don't want to keep it on constantly, only so I can know where the cursor is at all times. BTW, mirroring does not work, because the resolution on the 30" is reset to 1920x1200 (i.e., the lower of the two displays). I know I could get a KVM switch, but I'm hoping there is some setting in OS X (even if only accessible through Terminal) that can stop my Mac Pro from detecting a display that is actually turned off.

    I use SwitchResX to disable one of my 24" ACD's when not needed. The program actually works quite well.

  • How to trigger the BPM process from WD Application

    Hello All,
    I have a simple business process with two ui activities. I am able to start the process from NWA -> Process Repository.
    But, I need to start the process from the application. Here is the requirement:
    User opens the application. ON completion, the BPM process for approval needs to be triggered. How do i access/obtain process?
    If I need to call a particular task in process, How do i do that?
    Kindly assist.
    Thank you.
    Regards,
    Sharath

    if you want to know the whole story, please refer to the doc
    http://help.sap.com/saphelp_nwce72/helpdata/en/44/4d2bb1c6b00597e10000000a155369/frameset.htm
    the profile, provider system,endpoint。。。。。
    search this doc in sdn, it is a good example regarding the configuration.
    How to Use SOA Configuration to Call RFCs and Web Services from within SAP NetWeaver BPM
    hope those may help.

  • How to Trigger CAF web services from java Job schedulers?

    Hi Experts,
    I am in need of calling CAF based web services from custom Job scheduler.
    Could you please provide your idea and input if anyway we can call such web service by java api in custom jobs development?
    Thing is that we have CAF BO which hold around 1 million record (master data) and based on approval scenario (developed in WDJ apps) we will have to move this record to another business object for further manipulation?
    Hence due to huge number of record in BO, I would like to automate this activity by calling Jobs from WDJ apps and then Job will trigger the CAF web service which would create record into the BO object.
    Please share your idea and let me if it can be achievable by java apis to trigger Jobs by WDJ apps & webservice by jobs?
    Thanks & Regards,
    Pankaj

    Hi Experts,
    I am in need of calling CAF based web services from custom Job scheduler.
    Could you please provide your idea and input if anyway we can call such web service by java api in custom jobs development?
    Thing is that we have CAF BO which hold around 1 million record (master data) and based on approval scenario (developed in WDJ apps) we will have to move this record to another business object for further manipulation?
    Hence due to huge number of record in BO, I would like to automate this activity by calling Jobs from WDJ apps and then Job will trigger the CAF web service which would create record into the BO object.
    Please share your idea and let me if it can be achievable by java apis to trigger Jobs by WDJ apps & webservice by jobs?
    Thanks & Regards,
    Pankaj

Maybe you are looking for