Same event trigerring while create , approve and reject -RELEASESTEPCREATED

Hi gurus,
I am currently working with scheduling agreement workflow with business object BUS2013 and event RELEASESTEPCREATED,
and i take a zcopy of the standard workflow - WS200000078 and modified according to the requirement.
When i create the Scheduling agreement my workflow triggers fine and when i approve it triggering a mail and completed successfully, but when i reject the scheduling agreement the workflow doesn't completed instead it triggering again.
I checked in trace and find the event RELEASESTEPCREATED is triggered while Creating , Releasing and Rejecting the scheduling agreement document. So it is placing again and again.
Please help me how to proceed while rejecting the scheduling agreement document.
Thanks in advance,
Vijayan.R

Hi,
You could create a check function module and set that for the event in transaction SWETYPV. In the function try to check whether the object is rejected, and if it is, raise exception. => Workflow will not start.
It is quite normal that some events are created (by the standard) even if you don't want. You just need to find a way to prevent it to do some unwanted action such as starting a workflow. For that a check function module is one way.
Regards,
Karri

Similar Messages

  • Email Notifications through workflow for all Approved and Rejected Orders

    hi,
    i have to send Email Notifications through workflow for all Approved and Rejected Orders to the user who have submitted the order for approval.how could it be done.please send ur solutions.
    regards
    yesukannan

    Hi,
    An option would be use Oracle Alert. Create an event based alert on the table where you have order approvals or rejections. This alert will be raised after inserting or updating this table. Create an action linked to this alert, and choose message as action type.
    This setup can be done under Alert Manager Responsibility.
    Regards,
    Ketter Ohnes

  • Approve and reject button not appearing in the POrtal screen

    Hi All ,
    I have an issue where i create a meeting rwquets and then it goes for approval to the manager , but in this case the manager is not able to see the approve and reject button in the screen , whereas it appears in the back end , please suggest what setting are to be in place to appear those two buttons to click on .

    Hi,
    Then you will have to modify the standard UWL configuration file.
    If your task looks like a standard task (maybe you copied a standard task and modified it slightly), you have to find the ItemType corresponding to the standard task in the UWL configuration file then copy this ItemType and adjust it for you custom task. Please take a look at my last post in another thread : Re: UWL - how to approve purchase requisitions
    If your task is 100% custom then you'll have to find out what is behind the Approve and Reject buttons in the Business Workflow and modify the UWL configuration file accordingly. For instance if a function module is used to approve or reject the request you can define your approve and reject actions using the FunctionModuleActionHandler. You can find more information in the documentation : [Task Launch Customization|http://help.sap.com/saphelp_nw70/helpdata/en/36/dd4ad73c86412e81e9ce66eeb147e7/frameset.htm].
    Regards,
    Pierre

  • Fiori Error while creating catalog and Group in Fiori Launchpad

    Hi ,
    We are getting following error while creating Catalog and Groups in Fiori Launchapd:
    Error (500, Internal Server Error) in OData response for GET "/sap/opu/odata/UI2/TRANSPORT/CustomizingRequests?$filter=isDefaultRequest%20eq%20true": HTTP request failed
    Details: Model 'ZTRANSPORT_MODEL_0001_BE' contains errors. Contact Adminstrator
    Regards,
    Trilochan
    Message was edited by: Michael Appleby

    Hi Trilochan,
    Have you assigned transport request? Select the config icon at right top.
    Creating Transport Requests for User Changes - User Interface Add-On for SAP NetWeaver - SAP Library
    Also look at SAP Fiori - UI Add-on SP09 update troubleshooting
    Regards, Masa
    SAP Customer Experience Group - CEG

  • Sending a document as an mail attachment with approve and reject button

    Hi all,
         i have an infopath form where a user fills the form and on submit the form is saving as an document in the document library,
    now my question is, how can i get this document as an mail attachment with approve and reject option.

    Hello,
    You need to hide them on form load for user. Add one more hidden control in form and keep control value blank initially. Now add rule on button submit to set the control value to some other so you can hide/show the button.
    Now add rule on approve and reject buttons that, if field1 is blank then hide this control.
    http://office.microsoft.com/en-in/infopath-help/add-formatting-rules-HA101783371.aspx
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • UWL Approve and Reject buttons not available in Portal 7.31?

    Hi I've been doing some research and came across some interesting articles...
    http://scn.sap.com/thread/1871429
    http://wiki.scn.sap.com/wiki/pages/viewpage.action?pageId=221611154
    I am trying to enable the Approve and Reject buttons per customer requirements but having some issues making these options available in the UWL ...
    Based on the articles above...
    Does the UWL not support this ?
    If it does, can anyone direct me on how to enable these ?
    Thanks

    After doing some research, it looks like the XML needs to be modified...
    Can anyone confirm that the code is still relevant in 7.31?
    <Action
    reference="com.sap.pct.srm.core.action.approve"/>
    <Action
    reference="com.sap.pct.srm.core.action.reject"/>

  • CCM 2.0 Approve and Reject buttons disabled

    Hi!!!
    We log into de CAT with the Catalog Approver User. And when we go to the Procurement Catalog, the approve and reject buttons are disabled.
    The procurement Catalog has the status To Be Approved (we defined it in the spro), so the items that I mapped from the Supplier to the Mater and to the Master to the Procurement catalog have this status.
    I loged in to the Procurement Catalog with the Catalog Manager and assigned the approver to the catalog (CCM_APROVER). And this user has the role of approver (we have double checked in the pfcg).
    Any idea why the buttons are disabled?
    THANKS IN ADVANCED!!!!

    Hi Jay, Hay Nimish,
    First of all, thanks for reply.
    I think that we have found the problem. Is in relation to the transaction SICF. But we won't be able to check it until monday.
    If the SICF solution doesn't work I will get back to you.
    Thanks once again!
    Message was edited by: Patricia Mussons

  • Workflow - split approved and rejected items for next step

    Hi! I have just started building a simple approval workflow for any price variation of the catalog items. I have a question in regards to the handling of rejection and approval of items. Say I run the workflow which does the validation and it spits out 4 items with huge price variation which requires approval by the manager (using the Approve stencil). The manager logs in, review the items and mark 3 items for approval and reject one. It seems that using this Approve function, I can only proceed to the next step if ALL of the items are approved. Is there a way to be able to release the approved items leaving the rejected one behind? This is so that we can release the approved item first (which also means to check in the items) and leave the rejected item in check-out mode.
    Appreciate your comments on the above.
    Thanks!
    SF

    Hi SF,
    Yes there is a workaround for dealing with the Approved and Disapproved Records by using the Process step instead of the Approve step.
    Kindly follow the Elearning session below which will explain you how to go about this:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/90efe90c-b03f-2b10-65bf-e572fef651cb
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/60f28084-b90e-2b10-3eb6-d6565367048a
    You can also refer the other related links that discusses such common problems:
    Re: SRM MDM catalog
    Hope It Helped
    Thanks & Regards
    Simona Pinto

  • LR Approve and Reject buttons missing?

    Hi,
    We have recently customised standard LR workflow and we have replaced standard LR task (TS12300097, TS12300116) to custom task.  We have updated UWL configuration file to add these 2 new task.  We could successfully see the LR raised by ESS user in the MSS UWL task list but when we click on the task we could see the task details without APPROVE and REJECT buttons, these 2 buttons are missing.
    We have made necessary changes in the SWFVISU tcode and Portal UWL XML configuration.  Is there any other configuration need to be done to fix this issue(make APPROVE and REJECT button visible)?
    NOTE: If we switch it back to standard task the buttons are visible it's invisible only when it's using new task.
    Thanks
    Praveen

    Thanks Vivek.
    I have resolve this issue, I found that in the UWL xml configuration I have configured task WebDynproApplication property incorrectly, it was pointing to LeaveRequest instead of LeaveRequestApprover.  Changing this has fixed the problem.
    Thanks anyway.
    Closing this thread.
    Praveen.

  • How to hide Approve and reject radio buttons at item level.

    Hi All,
    On the HOME screen of EBP click Approval link ---> Under Appoval tab under Action Column click the magnifying glass icon ---> a table is displayed with Approve and Reject as two columns which contain radio buttons at item level .
    How can we hide these two columns and the radio buttons?
    Thanks & Regards,
    Anubhav

    Hi Daniel,
    As you said the template bbp sc ui its 120 is to be modified, i also located the code to be changed but when i comment the code for displaying the RBs , i get "Syntax Error in Tempate" dump in IE.
    <!--  manager view  -->
                          `if (gt_scr_itmovr_i-DEDUCT_IND[j].disabled)`
                              `if (gt_scr_itmovr_i-DEDUCT_IND[j] != "X")`
                                  `TD(align="center",valign="middle", class=tdcellclass)`
                                     <img src="`mimeURL(~service="bbpglobal",~language="", ~name="images/icon/checkedradio.gif")`"  border="0">
                                  `TD(align="center",valign="middle", class=tdcellclass)`
                                     <img src="`mimeURL(~service="bbpglobal",~language="", ~name="images/icon/uncheckedradio.gif")`" border="0">
                              `else`                
                                  `TD(align="center",valign="middle", class=tdcellclass)`
                                     <img src="`mimeURL(~service="bbpglobal",~language="", ~name="images/icon/uncheckedradio.gif")`" border="0">
                                  `TD(align="center",valign="middle", class=tdcellclass)`
                                     <img src="`mimeURL(~service="bbpglobal",~language="", ~name="images/icon/checkedradio.gif")`" border="0">
                              `end`
                          `else`
                              `TD(align="center",valign="middle", class=tdcellclass)`
                                 <input type="RADIO" name="gt_scr_itmovr_i-DEDUCT_IND[`j`]" value=""  `if (gt_scr_itmovr_i-DEDUCT_IND[j] != "X")` CHECKED `end;
                                 if ( group_hierarchy_position > -1 ); <!-- are we in a hierarchy group ? -->
                                   if ( group_hierarchy_position != j ); <!-- are we processing a subitem? -->
                                       `on click="jav asc ript:toggleSu bItemApprovalState(`j`)";`
                                     group_last_subitem_position = j;
                                   else; <!-- we are on the top of the group (the hierarchy position) -->
                                     if (GT_SCR_ITMOVR_I-HIER_EXPANDED[j] == "X");
                                       `on click="java scr ipt:setAppro valStateAllSubItems(true, `j`)";`
                                     end;
                                     group_last_subitem_position = j;
                                   end;
                                 end`>
                              `TD(align="center",valign="middle", class=tdcellclass)`
                                 <input type="RADIO" NAME="gt_scr_itmovr_i-DEDUCT_IND[`j`]"  value="X"  `if (gt_scr_itmovr_i-DEDUCT_IND[j] == "X")` CHECKED `end;
                                 if ( group_hierarchy_position > -1 ); <!-- are we in a hierarchy group ? -->
                                   if ( group_hierarchy_position != j ); <!-- are we processing a subitem? -->
                                     `on click="javas cript:tog gleSubItemApprovalState(`j`)";`
                                     group_last_subitem_position = j;
                                   else; <!-- we are on the top of the group (the hierarchy position) -->
                                     if (GT_SCR_ITMOVR_I-HIER_EXPANDED[j] == "X");
                                       `on cli ck="javas cript:setApprovalStateAllSubItems(false, `j`)";`
                                     end;
                                     group_last_subitem_position = j;
                                   end;
                                 end`>
                          `end;
                       end;
                   end`
    I guess the above mentioned code has to be modified but how?
    Thanks a lot,
    Anubhav

  • How to Place Approve and Reject Button in every row to approve and reject the particular order in sapui5

    Hi Experts,
       How to Place Approve and Reject Button in every row  to approve and reject the particular order in sapui5.
      Please Kindly help me.
    Thanks & Regards
    Chitti Babu

    Hi Chitti,
    You can achieve this using sap.m.CustomListItem.
    View :
    <core:View xmlns:core="sap.ui.core" xmlns:mvc="sap.ui.core.mvc"
      xmlns:l="sap.ui.layout" xmlns="sap.m" controllerName="demoallinonegrid.tablewithscroll"
      xmlns:html="http://www.w3.org/1999/xhtml">
      <Page title="Title">
      <content>
      <ScrollContainer horizontal="true" width="100%">
      <Table id="empTable">
      <headerToolbar>
      <Toolbar>
      <Label text="Employees"></Label>
      </Toolbar>
      </headerToolbar>
      <columns>
      <Column width="12em">
      <Label text="Employee Id"></Label>
      </Column>
      <Column width="12em">
      <Label text="Last Name"></Label>
      </Column>
      <Column width="12em">
      <Label text="First Name"></Label>
      </Column>
      <Column width="12em">
      <Label text="Title"></Label>
      </Column>
      <Column width="12em">
      <Label text="Approve"></Label>
      </Column>
      <Column width="12em">
      <Label text="Reject"></Label>
      </Column>
      </columns>
      </Table>
      </ScrollContainer>
      </content>
      </Page>
    </core:View>
    Controller:
    var model = new sap.ui.model.json.JSONModel();
      model.loadData("http://services.odata.org/Northwind/Northwind.svc/Employees?$format=json",null,false,'GET',false,null);
      this.getView().byId("productTable").setModel(model);
      var template = new sap.m.ColumnListItem({
      cells:[
            new sap.m.Text({text:"{EmployeeID}"}),
            new sap.m.Text({text:"{LastName}"}),
            new sap.m.Text({text:"{FirstName}"}),
            new sap.m.Text({text:"{Title}"}),
            new sap.m.Button({text:"Approve"}),
            new sap.m.Button({text:"Reject"})
      this.getView().byId("empTable").bindAggregation("items","/value",template);
    Output:
    Regards,
    KK

  • Approve and Reject of a workflow from outlook

    Hi,
      We have a requirement in which the approval and rejection of the workflow has to be done from outlook inbox. Please let me know in what way can this be achieved.
    I have gone throuigh the SWNCONFIG documentation, However I am not sure on whether it satifies the above requirement. Kindly let me know if this is possible using SWNCONFIG.
    Regards,
              Milan Thaker

    Hi MT,
    well as our friends suggested about DUET, DUET is a separate software altogether.
    Its an Outlook synchronization with SAP, but it is limited to very few business processes.
    Now question is,
    a) what is your business process which you are looking for?
    b) Your actual requirement is to approve/reject thru Outlook, well this could be resolved in a different way, that is, say for instance your business process is for Invoice Verification, where you want user to approve or reject. In this case you can integrate Outlook with SAP for this process, where the user would get the workitem in his/her Outlook, the moment the user db-clicks on it, it would take him to SAP tcode for releasing the Invoice block. This could be done thru RSWUWFML2 for all SAP versions or thru SWNCONFIG for ECC versions.
    c) If this is not you looking for, then I doubt if such an integration is possible, because getting an Approve and Reject button in your Outlook would be difficult.
    d) Else if your organization has EP or UWL installed, then Approve/Rject buttons could be populated.
    Hope it helps.
    Aditya

  • I am not using condition for Approval and Rejection.

    Hi Balaji,
    I am not using condition for Approval and Rejection.
    I am using Decision.
    I am not able to find the error.Rejection is going on Successfully.
    I am to rectify this error from past 4 days.
    Can you give the solution.
    Regards,
    Chow.

    Hi chow,
    What is the condition that u are using the Condition Statement.
    Please check the status returned from the Approval Process, by analyzing the Workflow Log for the particular step.
    Think there is a problem with the condition statement.
    Regards,
    Raj

  • Difference between generating VO while creating EO and otherwise

    Hello All,
    I wanted to know - Is there any difference between
    creating a VO while creating an EO (i.e.by checking 'Generate Default View Object')
    and
    when If I create an EO first , then seperately create a VO for the same table used in EO; and then attach that EO to the VO . By attaching EO to VO, I mean, after creation of VO ; if we right click that VO to edit - the 'View Object Editor ' window opens. here, I select an EO through the 'Select Entity Objects for this View Object' window.
    My requirement was to create a page where I wanted to do search and create. In the create page, the employee id and date has to come automatically. When submit button is clicked, the record is to be saved .
    1st I tried through the second method. I got the search results and in the create page, the id&date came as expected but create wasnt successfull. No error or exception came but in the record that got inserted into database had only the id,date and who column values. The other columns had null value.
    Later, when I tried using the 2nd method i.e by using the 'Default VO generated', creation was successfull.
    Could anybody tell me why it wasnt working the second way?

    user605260 ,
    There is no difference between creating a VO while creating an EO (i.e.by checking 'Generate Default View Object') and create an EO first , and then seperately creating VO . The latter is used if u haven't planned to make which VO or haven't finalised VO query.
    In ur case it looks the first time some mapping in VO might have not created correctly in any one case!
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • RESTRICT USER FROM USING SAME REQUIREMENT TYPE  WHILE CREATING SALES ORDER

    Hi Friends,
    I Have a requirement to in SD while creating any sales order i want the system sholud throw a error
    message when i am using line items having same requirement type more than one time
    i have tried some customer exits v45a0001 & v45a0003 . but was not successfull .
    kindly somebody help me with elaborated steps  .
    thanks in advance  .
    regards
    digvijay rai

    no reply and i am to close this thread so i am putting it as answered ;(

Maybe you are looking for