Program to launch workflow

hello , i have a workflow badi n steps. is there a program i can use to launch it?

Hi,
You can try executing FM 'BBP_PDH_WFL_APPROVAL_SIMULATE'. It might trigger your Badi and you can check your code.
Regards,
Sanjeev

Similar Messages

  • Do you have an ABAP sample which launches workflow(s)?

    Hello friends,
    Do you have an ABAP sample code which populates containers and launches workflow(s) afterwards? A sort of driver program.
    Your help is greatly appreciated.

    You can search this forum
    You can start a Workflow using FM
    SWE_EVENT_CREATE
    SAP_WAPI_CREATE_EVENT
    provided an event is maintained as a triggering event of wflow or you can directly start a wflow using FM
    SAP_WAPI_START_WORKFLOW
    Give a search in this forum you will get lots of example.
    Thanks
    Arghadip

  • How to tell if program is launched from JAR?

    I have a program that needs to launch itself at some point in the program. The class is called CalcSolidsWindow.
    The only problem is that I launch it from Eclipse to debug, and it's not in a JAR. However, I pack it into a JAR to distirbute it. To do so, I put this into the code:
    if (runningInJar) {
        Runtime.getRuntime().exec("java -jar [...JAR name...] [...arguments...]"); //JAR launch
    } else {
        Runtime.getRuntime().exec("java CalcSolidsWindow [...arguments...]"); //Non-JAR launch (mainly debug...)
    }The problem is how to set the runningInJar vairable. I've tried:
    File runFile = new File(CalcSolidsWindow.class.getProtectionDomain().getCodeSource().getLocation().getPath()).getCanoncialFile();
    boolean runningInJar = runFile.getName().endsWith(".jar");However, that does not yield the correct result. After printing some stuff to the console, I realize that runFile is just the directory in which the program is running.
    Is there a way to determine if a program was launched from a JAR or not? Thanks in advance for anyone's help!
    Edited by: Vetruvet on Oct 22, 2009 10:25 AM

    Vetruvet wrote:
    I have a program that needs to launch itself at some point in the program. The class is called CalcSolidsWindow.
    The only problem is that I launch it from Eclipse to debug, and it's not in a JAR. I am almost certain that Eclipse can do debugging for Jars, so why ever run it as loose class files?

  • Summary : WF: PO - Emailing PO's from concurrent program using new workflow

    Hi Consultants,
    We have requirement to send PO - Emailing PO's from concurrent program using new workflow
    Request details>
    develop a way to email a PO as a PDF from the reports menu. Currently the PO can only be emailed from the PO approval screen.
    The business would like a way to email the PO anytime after the PO is approved. Reference IT Request ticket #87341.
    Ticket#87341: Details
    Details: If a purchase order has been sent to the supplier by email, and it needs to be resent for some reason (lost, recipient out on vacation, etc.)
    we have to print off a hard copy, then scan it and email it out.
    We cannot just send a new email copy directly. We would like to have the ability to re-send an email copy of the PO directly.
    Business Justification: If a purchase order has been sent to the supplier by email, and it needs to be re-sent for some reason (lost, recipient out on vacation, etc.) we have to print off a hard copy, then scan it and email it out. We cannot just send a new email copy directly.
    This takes extra time and is inefficient.
    Please advice me how can i achive this one
    Thanks,
    Ashok

    Pl post details of OS, database and EBS versions.
    Pl see if MOS Doc 387949.1 (How Can a User Email a Purchase Order To an Email Address Without Modifying and Reapproving the PO?) can help
    HTH
    Srini

  • Error when launching Workflow Editor

    Hi gurus,
    I am expriencing an error when i try to launch the Workflow editor from the Workflow definition page (Actions -> Launch Workflow editor). The error is:
    Unable to load resource: http://jawe.enhydra.org/twe.jnlp
    I have the latest JRE installed on my windows machine, and i am running Internet Explorer 9.
    Thank you in advance,
    Simion

    Hi Simion,
    Make sure the together editor is installed on your laptop. Try saving the xpdl file from workflow definition to your laptop first and then launch the editor and open it. Also, check out comments from Rob in the message below.
    ESourcing Workflow - SRM UWL integration?
    If you still have problems, let us know.
    Regards,
    Vikram

  • Is there a user exit called when a module pool program is launch ?

    Hello,
    I know the exit 'EXIT_SAPLSABE_010' and it's very usefull for adding code before a report is launch.
    But this exit is not called when a program is a "Module pool" type.
    Is there a way to add my own code before this kind of program is launch ?
    Thanks in advance,
    Simon
    Edited by: Simon Desbonnets on Mar 9, 2010 2:23 PM

    Thanks for your answer.
    No it's not for initializing values. It's for logging statistics into a specific table (program name, date ...).
    The event "load-of-program" can be use for one program, it's not what I'm looking for.
    I would like to know if there is an exit that is called each time a module pool program is executed.

  • Scope Of ABAP Programming in the WorkFlow

    Can any one tell me the scope of programming in the workflow and also the way to start it.

    Amit:
    Not sure what you mean by "scope", but anyway .....
    You can call a function module as a workflow task. Once in the function module, you can write as much ABAP as you want. In terms of data available, any parameters / values you want to access and / or modify within the called function module has to be passed in the workflow container.
    Suggested reading is Practical Workflow for SAP available from SAP Press: link is http://www.sap-press.com/H950.html Also try the following links for more documentation:
    https://sapneth9.wdf.sap.corp/workflow
    http://help.sap.com/saphelp_webas620/helpdata/en/a5/172437130e0d09e10000009b38f839/frameset.htm
    Regards,
    D.

  • How to search a program sapscript launcher

    Hello everybody.
    I have to modify a value that it's filled in a sapscript, but I don't know how to do for search the program that launch my sapscript.
    Can you help me, gurus?
    Thanks a lot!

    Hi Alessio,
    first you should know that what  are the modification you want .than goto nace copy the standard script to your ZZ_script than you can adding or modify the layout.
    in the program fallow the these steps:
    Using the PERFORM SUBROUTINES you can call the extra fields info into the script and print them
    see the sample code and do accordingly
    How to call a subroutine form SAPscripts
    The Form :
    /:PERFORM CDE_CENT IN PROGRAM ZKRPMM_PERFORM_Z1MEDRUCK
    /:USING &EKKO-EBELN&
    /:CHANGING &CDECENT&
    /:ENDPERFORM
    The report :
    REPORT zkrpmm_perform_z1medruck .
    DATA : BEGIN OF it_input_table OCCURS 10.
    INCLUDE STRUCTURE itcsy.
    DATA : END OF it_input_table.
    déclaration de la table output_table contenant les
    variables exportées
    DATA : BEGIN OF it_output_table OCCURS 0.
    INCLUDE STRUCTURE itcsy.
    DATA : END OF it_output_table.
    DATA : w_ebeln LIKE ekko-ebeln,
    w_vbeln LIKE vbak-vbeln,
    w_zcdffa LIKE vbak-zcdffa.
    FORM CDE_CENT
    FORM cde_cent TABLES input output.
    it_input_table[] = input[].
    it_output_table[] = output[].
    READ TABLE it_input_table INDEX 1.
    MOVE it_input_table-value TO w_ebeln.
    CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
    EXPORTING
    input = w_ebeln
    IMPORTING
    output = w_ebeln.
    SELECT SINGLE zcdffa FROM ekko
    INTO w_zcdffa
    WHERE ebeln = w_ebeln.
    it_output_table-name = 'CDECENT'.
    MOVE w_zcdffa TO it_output_table-value.
    MODIFY it_output_table INDEX 1.
    output[] = it_output_table[].
    ENDFORM.
    REPORT ZMPO1 .
    form get_freight tables in_par structure itcsy out_par structure itcsy.
    tables: ekko,konv,t685t.
    data: begin of itab occurs 0,
    ebeln like ekko-ebeln,
    knumv like ekko-knumv,
    end of itab.
    data: begin of itab1 occurs 0,
    knumv like konv-knumv,
    kposn like konv-kposn,
    kschl like konv-kschl,
    kbetr like konv-kbetr,
    waers like konv-waers,
    kwert like konv-kwert,
    end of itab1.
    data: begin of iout occurs 0,
    kschl like konv-kschl,
    vtext like t685t-vtext,
    kbetr like konv-kbetr,
    kwert like konv-kwert,
    end of iout.
    data v_po like ekko-ebeln.
    read table in_par with key 'EKKO-EBELN'.
    if sy-subrc = 0.
    v_po = in_par-value.
    select
    ebeln
    knumv
    from ekko
    into table itab
    where ebeln = v_po.
    if sy-subrc = 0.
    loop at itab.
    select
    knumv
    kposn
    kschl
    kbetr
    waers
    kwert
    into table itab1
    from konv
    where knumv = itab-knumv and
    kappl = 'M'.
    endloop.
    loop at itab1.
    if itab1-kposn <> 0.
    select single * from t685t
    where kschl = itab1-kschl
    and kappl = 'M'
    and spras = 'EN'.
    iout-vtext = t685t-vtext.
    iout-kschl = itab1-kschl.
    iout-kbetr = itab1-kbetr.
    iout-kwert = itab1-kwert.
    append iout.
    clear iout.
    endif.
    endloop.
    sort itab1 by kposn.
    loop at iout.
    sort iout by kschl.
    if ( iout-kschl eq 'GSDC' OR
    iout-kschl eq 'GSFR' OR
    iout-kschl eq 'GSIR' ).
    at end of kschl.
    read table iout index sy-tabix.
    sum.
    write:/ iout-kschl,iout-vtext,iout-kwert.
    out_par-name = 'A1'.
    out_par-value = iout-vtext.
    append out_par.
    out_par-name = 'A2'.
    out_par-value = iout-kwert.
    append out_par.
    endat.
    endif.
    endloop.
    endif.
    endif.
    endform.
    IN THE FORM I AM WRITING THIS CODE.
    /:DEFINE &A1& = ' '
    /:DEFINE &A2& = ' '
    /:PERFORM GET_FREIGHT IN PROGRAM ZMFORM_PO1
    /:USING &EKKO-EBELN&
    /:CHANGING &A1&
    /:CHANGING &A2&
    /:ENDPERFORM
    &A1&
    &A2&
    This Code is to be written in the PO form under ADDRESS window.
    /:DEFINE &A1& = ' '
    /:DEFINE &A2& = ' '
    /:DEFINE &A3& = ' '
    /:DEFINE &A4& = ' '
    /:DEFINE &A5& = ' '
    /:DEFINE &A6& = ' '
    /:PERFORM GET_VENDOR IN PROGRAM ZMFORM_PO
    /:USING &EKKO-EBELN&
    /:CHANGING &A1&
    /:CHANGING &A2&
    /:CHANGING &A3&
    /:CHANGING &A4&
    /:CHANGING &A5&
    /:CHANGING &A6&
    /:ENDPERFORM
    &A1&
    &A2&
    &A3&
    &A4&
    &A5&
    &A6&
    Reward is usefull

  • Launching WorkFlow when are executing ImportManagerBatch

    Hello together!
    I am trying to use the ImportManagerBatch to load date into repository and apply launching WorkFlow automatically.
    My WorkFlow set Trigger Actions = Record Import .
    When are executing MDM Import Manager function, I assign my WorkFlow in Dialog window, and Import Manager and WorkFlow works fine.
    In the ImportManagerBatch .ini file no options for setting my WorkFlowName.
    Does anybody have an idea how to resolve this problem?
    Thank you very much for your help!

    Hi Alexsey
      This setting is saved in the Import Manager maps. If you use maps saved with a workflow assigned in the Import Manager Batch, it should work fine.
    Hope this helps you.
    Thanks
    Alexander
    Note:Please mark the reward points, if found useful.

  • Calling report program to my workflow method

    hi friends
        I have writen the logic to find the email id for travel admin now i want to call this  REPORT program to my workflow method. How can i do that. I know how to do that in function module but i want to try with report program. How to get the import and export parameter in the report program. I know there is some thing called memory id export but i dont no how to do that. Can any one show with sample code.
    Regards
    vijay

    Hi Vijay,
    You can make use of the following sample code.
    BEGIN_METHOD ' ' CHANGING CONTAINER.
    export itab to memory id 'PQR'.
    submit zMM_R_BUDJETDISP AND RETURN."exporting list to memory and return.
    END_METHOD.
    In your program you can use
    import itab from memory ID 'PQR'.
    Here Itab is a internal table.
    Similarly you can define single data elements as well.
    you can use this syntax to import, export parameters.
    let me know if you have any queries.
    Regards,
    Raj

  • None of our CS6 programs will launch

    I cannot launch any or our nonprofit's Adobe CS6 products all of a sudden. I am not sure if it had anything to do wiith a huge bunch of Windows Updates I had to preform yesterday... like 23 updates I believe. I thought it was only an Adobe AcrobatX Pro problem since suddenly I could not view online PDF's in my browsers. I ran the fix I found online for that from step #1 here; http://helpx.adobe.com/creative-suite/kb/acrobat-failed-launch-30-days.html
    I ran AcroFix three times. It finally decided it would work on Firefox at least so I thought all was solved. Now none of outr CS6 programs will launch. So I looked down to step #3 from that same link called Solution 3: Reactivate Acrobat through another Suite product
    It says to;
    Launch a CS6 Suite product.
    Choose Help > Deactivate. Follow the onscreen prompts to deactivate.
    Close the application.
    Launch the same CS6 Suite product again.
    Accept the EULA.
    Sign in with your Adobe ID to register trial.
    Restart the application.
    The problem is none of the CS6 applications will open! I get an error on every one that says; the program has stopped working and ut checks fr a problem, the says Windows will close the program and notify me if a solution is available.  BLAH!!!!
    What do we do now?
    If it involves the upates I can reverse them or do a system restore if I hear back quickly enough,but Adobe needs to know and do something quickly because no way will I be alone. These were all updates to Windows x64 based systems that showed up on Novermber 14, 2013
    Blair Corbett,
    Ark of Hope for Children

    Hello Mylenium,
    OK well I have an HP Pavilion g7 Notebook (x64 based) 
    Windows 7 Home Premium version 6.1.7601 Service Pack 1 Build 7601
    AMD Radeon Graphics HD 6320
    On November 14, 2013 Windows Update brought 22 updates it said I needed. All were updates for x64 based Windows  systems and Microsoft Office x64 based and 32-bit programs. The following 9 updates all came in that grouping;
    KB 29000The Windows 7 for x64 updates were;
    KB2868626 Security Update
    KB2830477 Update for Windows 7
    KB2875783 Security Update
    KB29000986 Cumulative updates for ActiveX Killbits
    KB2893519 Update for Windows 7
    KB2868725 Security Update
    KB2876331 Security Update
    KB2862152 Security Update
    I hope this helps

  • Apple iphone camera connected, no program to launch

    hi, i need help big time. i can't get the pics i take of the iphone to my computer. i tried everything. the iphone camera won't come up in my computer. and when i connect the iphone, i get the apple iphone camera connected - sprogram to launch... But in that box, its empty there is no program, what the heck. do i need a special one, does my xp not have one for apple. **** apple, great phone bad software. can someone help me out? thanks, a pc user forever

    nope, no passcode lock, i do have photo shop. the camera still can not be found by my computer. doen't see the iphone camera. if someone can help, i'd be ever so greatful. i read all the threads so far and nothing has addressed my issue. i restarted my computer, reinstalled itunes and still no luck. still get the same thing that i posted first. apple iphone camera conncted, select program to launch, but the box is empty, there is no prgrams to choose. have to close. go to my computer, there is still no camera drive and scanners and camera there is nothing. awwwwwwww!!!! shoot me and apple.

  • I just upgraded my system to Mavericks X and now none of my CS6 programs will launch, What can I do short of reinstalling CS6?

    I just upgraded my system to Mavericks X and now none of my CS6 programs will launch, What can I do short of reinstalling CS6?

    probably nothing helpful.  migrating adobe apps doesn't always work, and if it doesn't work you're better off uninstalling, cleaning and reinstalling per, Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6

  • CS3 None of the programs will launch

    I get the following error:
    Adobe Photoshop CS3 has encountered a problem and needs to close. We are sorry for the inconvenience.
    This happens with all of the programs in the suite if they even try to launch - sometimes nothing happens. All programs previously worked. No changes in the system set up that I am aware of.
    Any help would be appreciated. Thanks.

    Thanks for the reply. I wanted to do the restore only to find that the previous user had disabled restore so that there were no previous restore points to use.
    I did get it working again though. I think I went to add remove programs and it prompted me to do a "repair" it went through that routine (at least an hours time) and then it started working again. Program by program the status indicator said it was "repairing".

  • To Launch Workflow Notifications repeatedly

    Hi All,
    We have created a new workflow process and are trying to launch it for specific task types in Service Requests. The notifications are getting kicked off for the first time. But, when I want to launch the workflow again for the same task it's not working. However if i change some attributes with in the task like owner,task type or assignee, it's launching the workflow. Can someone help me out how i can launch notifications multiple times without changing anything in the task.
    Thanks in advance
    Sravanthi

    Hi,
    Sounds to me like the creation is erroring (but the error is suppressed), or there is some kind of logic in place that stops the generation of a duplicate Workflow process.
    What are you using to derive the item key? May be that duplicate item keys are being generated, which the system won't allow.
    HTH,
    Matt
    WorkflowFAQ.com - the ONLY independent resource for Oracle Workflow development
    Alpha review chapters from my book "Developing With Oracle Workflow" are available via my website http://www.workflowfaq.com
    Have you read the blog at http://thoughts.workflowfaq.com ?
    WorkflowFAQ support forum: http://forum.workflowfaq.com

Maybe you are looking for