Goto statement in SAP workflows

Hi Experts,
               I have devleope a workflow; which has total 3 steps. I want to set back the control to get approvers (just like goto statement) after step "chamber of commerce display) again and again until my condition is met. I don't want to use a loop, because i am selecting the approver one by one in get_approver step.
It is possible in workflows that we have goto statement which send back the control to any step which is our requirement
An image is attached for your reference.
Regards,
Sohail

Hi Sohail,
   Loop until is best possible solution here. But if you are looking for other solutions without using Loop then you can try any of the below method:
1.) If you have list of all the approvers in an internal table then Create a subworkflow which will have your approval step. Now use this subworkflow in your main workflow and do index binding of Apprver internal table with this subworkflow so that the subworkflow will get called as many number of times the Approver internal table have entry.
2.) New workflow for each approver    Like PO workflow , every release step creates new workflow you can also do the same. The approval step will trigger new workflow instance with next approver. This will remain continue till workflow created for all the approver.
Cheers,
Prakash

Similar Messages

  • SAP Workflow: how to integrate html forms

    Hello.
    I have to built up a workflow, which starts with an ABAP report. This ABAP Report selects a number of persons and then an email is sent to these persons. A hyperlink should be in this email and the person should click at the hyperlink, which opens an html-form. In this html-form some data is filled in and then is sent to our SAP HR system where we start again an apab report.
    My questions:
    1) is this a typical process for SAP Workflow?
    2) What pre-conditions regarding our SAP HR system do we have (do we need ITS)? Where can I find an example for such a workflow with html-form?
    3) Is this state of the art? Please tell me some SAP keywords that I can continue my investigation.
    Thanks a lot.

    Hi,
    Then, you should activate Workflow Extended Notification component.
    http://help.sap.com/saphelp_nw04/helpdata/en/d5/581ee8d56f1247bf34cfcd66d16d81/frameset.htm
    Regards,

  • If Statement in SAP Scripts

    Hi All,
    I have written the below If statement in  SAP scripts but when i execute the same the controll doent check the second line entries. If firtst line doesnot satisfy it goes to the else part. Kindly suggest what is wrong in this..
    /:           IF &T156T-BWART& = '321' OR &T156T-BWART& = '322' OR
    /:           &T156T-BWART& = '349' OR &T156T-BWART& = '350' OR
    /:           &T156T-BWART& = '312' OR &T156T-BWART& = '326' OR
    /:           &T156T-BWART& = '343' OR &T156T-BWART& = '344'.
    /:           ELSE
    /:           ENDIF.

    Hi neha,
    Try to use the '/E' fo rnext line
    /E->Extended line
    Here is a code:
    /: IF &T156T-BWART& = '321' OR &T156T-BWART& = '322' OR
    /E  &T156T-BWART& = '349' OR &T156T-BWART& = '350' OR
    /E  &T156T-BWART& = '312' OR &T156T-BWART& = '326' OR
    /E &T156T-BWART& = '343' OR &T156T-BWART& = '344'.
    /: ELSE
    /: ENDIF.
    Hope this helps you.
    Regards,
    Rajani

  • Use of IF statement in SAP Scripts

    Can u tell me how to use IF statement in SAP Scripts.
    The problem is
    if &sy-tabix& eq '1'
    total
    else
    total1.
    endif.
    this sy-tabix is not working

    i think sy-tabix will not work here....
    do like this..
    data : vtabix type i.
    loop at itab.
    vtabix = sy-tabix.
    write_form...for the text element..
    endloop.
    in form layout
    /: if &vtabix(c)& eq 1
    /:endif
    regards
    shiba dutta

  • Is there a goto statement in java??

    is ther a goto statement in java
    if yes how is it
    and if no wat we use instead of it , if we want to redirect to control flow??
    thanking you
    rose!!!

    But he did not say it with three exclamation
    points!!!
    yes, I'm trying to restrict my usage of the exclamation mark as part of my attempts to be more even tempered (which aren't succeeding that well, but I may just need more practice).

  • How to use perform statements in sap scripts

    how to use perform statements in sap scripts . and pls send me one progam for this
    thnaks
    raja

    Hi Raja,
    <b>PERFORM</b> key work is used to include subroutine in sapscript form...
    But the processing is lttle bit different form the one we use in ABAP.
    Here the paramters passed to form is stored in internal table of name-value table. there are two table one for inbound parameter and other for outbound parameters.
    Check out the example below to see how this is used..
    <b>Definition in the SAPscript form:</b>
    /: PERFORM GET_BARCODE IN PROGRAM QCJPERFO
    /: USING &PAGE&
    /: USING &NEXTPAGE&
    /: CHANGING &BARCODE&
    /: ENDPERFORM
    / &BARCODE&
    <b>Coding of the calling ABAP program:</b>
    REPORT QCJPERFO.
    FORM GET_BARCODE TABLES IN_PAR STUCTURE ITCSY
    OUT_PAR STRUCTURE ITCSY.
    DATA: PAGNUM LIKE SY-TABIX, "page number
    NEXTPAGE LIKE SY-TABIX. "number of next page
    READ TABLE IN_PAR WITH KEY ‘PAGE’.
    CHECK SY-SUBRC = 0.
    PAGNUM = IN_PAR-VALUE.
    READ TABLE IN_PAR WITH KEY ‘NEXTPAGE’.
    CHECK SY-SUBRC = 0.
    NEXTPAGE = IN_PAR-VALUE.
    READ TABLE OUT_PAR WITH KEY ‘BARCODE’.
    CHECK SY-SUBRC = 0.
    IF PAGNUM = 1.
    OUT_PAR-VALUE = ‘|’. "First page
    ELSE.
    OUT_PAR-VALUE = ‘||’. "Next page
    ENDIF.
    IF NEXTPAGE = 0.
    OUT_PAR-VALUE+2 = ‘L’. "Flag: last page
    ENDIF.
    MODIFY OUT_PAR INDEX SY-TABIX.
    ENDFORM.
    Hope this is clear to understand...
    Enjoy SAP.
    Pankaj Singh.

  • How to debugg particular statement in sap script

    hi friends,
    i want to know How to debugg particular statement in sap script.
    plz reply.
    thanks in advance,
    regards
    bhaskar

    hi
      execute rstxdbug to activate script debugger...once the driver program reaches open_form, a popup box will come where u can mention the name of a command, call functinon, text element, etc to place a break point...once it gets into the debugging mode, double click on any line to set a break point, after that pressing f8 will get you to that line
    if helpful, reward
    Sathish. R

  • SAP Workflow Scenarios

    Dear all,
    We are planning to implement SAP workflow, for the creation of material master and info record of the materials. We are using SAP 4.7 version. Can you give me any idea or hint about how we can configure these cases. Is there any standard workflow on SAP?  If you can also send me documents or web address would be appreciate.
    Thank you for your help
    Melih

    Yes there is and you might not need any help from a workflow professional if you are trying to keep it simple
    Use the following links. They are of great help
    Link: [http://help.sap.com/printdocu/core/print46c/en/data/pdf/BCBMTWFMMM/BCBMTWFMMM.pdf.]
    Link :[http://www.sapdb.info/sap-workflow-scenarios/]
    link: [http://****************/Tutorials/Workflow/Workflow.htm]

  • SAP  workflow for purchase requisition and purchase  order

    Hello  Sap Workflow,
    Can you  please help me on  building workflow for purchase requisition and  purchase order    with  the necessary screen shots  ?
    your quick response  will be greatly appreciated.
    Thanks in Advance

    Hi,
    Please check http://help.sap.com .
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/04/92761846f311d189470000e829fbbd/frameset.htm
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/04/92775546f311d189470000e829fbbd/frameset.htm
    Configuration guides are available in SAP Solution Manager.
    Regards,
    Masa

  • SAP Workflow and GRC 10.1 Workflow

    Hi all,
        We are in the midst of upgrading our GRC system up to 10.1 and some questions are coming up about the workflows.  In short are GRC workflows and SAP workflows the "same thing", i.e. if someone outside of the upgrade project were to learn how to create/maintain workflows within GRC 10.1 would they be able to turn around and run the same transactions within an ECC 6.0 environment and create SAP Business workflows?  From what I have seen so far in my searching is that, they have the same basic principle but very different implementation/maintenance.
    Any documentation that you are aware of from SAP showing this would be helpful as well.
    Thanks

    The basic mechanism is the same, but the GRC workflows are more fixed (they leave less room for the workflow to be changed) have build in screens, and relay on the BRF engine to determine approvers etc.
    Workflows in the ECC give you a lot more room for implanting the workflow however you wish (use a decision task, asynchronous tasks, develop your own custom approval screen etc.) and some time required you to implement changes to the workflow object (set a user status, release a document etc.) and don't usually use the BRF.
    So I would have to say that the answer is no, someone who learned how to implement the GRC workflows will not be able to turn around and immediately create workflows in the ECC.  

  • How to route the information to approver with out involving sap workflows.

    Hi Developers,
    i have a doubt regarding how the requester filled form information will be send to approver with out involving SAP workflows in the portal.
    Normally i know the procedure where users fills the form with the approver details, the filled information is routed to approver UWL by trigerring a function module thru webdynpro.
    But i need to know is there any procedure to route the information without involving any backends.
    Thanks in Advance.

    Michele is correct - sneep will help you get the serial from the running domain on the M3000 ,
    and it is a good idea to install STB on your machines.
    If that isn't possible for you, then sneep can be downloaded directly from [http://www.sun.com/sneep]
    I believe that on this platform, sneep gets the serial from the output of prtconf.
    There is a minor correction to be made :
    After installed SNEEP use "man sneep" for all technical details.The sneep man page is not linked into the shared man pages, so you need to use
    man -M /opt/SUNWsneep/man sneep
    with out going to OK prompt (Banner)It is worth noting that the serial shown in the OBP banner is not the product serial
    that you will find on the physical serial tag.
    The banner "serial" is the decimal equivalent of the host ID, which you normally get in hexadecimal from the "hostid" command.

  • What's the work can we do for the position SAP-Workflow developer live link

    Hi,
    I got the requirement as a workflow developer.
    The requirement is to work as a SAP-Workflow live link open text developer.
    What does the  live link open text means?
    Early reply is highely appriciable.
    Regards,
    Chow.

    Hi,
    OpenText is a company providing different document management and archiving solutions. LiveLink is one of their archiving solutions. (Just use Google for more reference.)
    My guess is that you need to work with a workflow process that involves archiving of scanned invoices.
    Regards,
    Karri

  • SAP workflow certification

    Hi,
    I  would like to go for SAP workflow certification.Can anybody guide me how  to prepare for this test ? What are the topics(syllabus) covered in this test?
    Thanks&Regards,
    Veena

    Hi,
    1. BIT600, SAP WebFlow
    2. BIT601, SAP Webflow - Build and Use
    3. BIT610, WebFlow - Programming
    are taught for this purpose. It seems there is no certification as a Workflow consultant any more. Please confirm with your local SAP training center if they still offer certification in Workflows.
    Regards

  • Is it possible to see cash flow statement in sap fico ? ;How

    Is it possible to see cash flow statement in sap fico ? ;How

    Re: Cash Flow statement
    Forum Rule: Please search the forum before posting a thread.

  • How to triger SAP workflow after save in t-code RMWB

    Dear friends,
    After execute t-code RMWB, I could click save button to save it. but my requirement is to triger the SAP workflow to send an email.
    My question is, how to triger this SAP workflow after clicking save in t-code RMWB?
    Thanks a lot!

    Use this function module in a Exit or BADI or Enhancement spot during SAVE
    SAP_WAPI_START_WORKFLOW
    I THINK IT CAN BE DONE BY CREATING A SPOT IN "CALL METHOD GO_APPL->MO_RMWB->SAVE" IN PROGRAM OF RMWB

Maybe you are looking for