How to Do Validations When Approval Hits Reject Button?

The transaction has been initiated and now it routes to the next approval.  The approval opens up the work item and it brings the form with the details transaction initiated.  The approval hit "Reject" button to reject the transaction.
Is there a way / BADI that I can put a validations so that it'll throw a message whenever user hit "Reject" button?

Hi Shreya,
I saw that this question has been marked answered.
Do you mind to share the solution as I am also having the same problem here.
What i need to do is to add validation when approvers hit on Approve button or Back to Author button.
The validation will be checking whether comment is entered, error msg will be prompted if no comment entered.
Please advice.
Thanks
Regards,
Justin

Similar Messages

  • 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

  • My apple tv stopped working. When I hit a button on the remote I see the signal gets to the Apple TV because the little light flicks but nothing else happens. Anyone know how to fix this??

    My Apple TV suddenly stopped working. When I hit a button on the remote the light on the apple tv flickers but nothing else happens. Anyone know how I can fix this?

    I had the same problem; Apple TV was working proper then for no reason I got the continuous blinking front LED.  The Apple TV has no sound or video output at all.  I tried reseting the Apple TV via my Apple remote controller but that didn't do anything for me.  I finally called Apple and they told me that the way to fix my box is to reset the Apple TV to factory default.  So I had to attach the Apple TV to one of my Apple computers and launch iTunes.  Once iTunes was running it recognized my Apple TV and I clicked on the option to restore to factory default.  After the restore my Apple TV now works properly.  My final action on the Apple TV was to sign into my account and enter my password.

  • How can I stop iTunes from launching when I hit the button on my head phones

    On my MBP I have some head phones that have an inline mic with call answer button. The button on the head phones is fairly sensitive and I tend to bump it on accident often. When I hit the button iTunes is launched or if I have it open it starts music.
    Is there anyway to stop this from happening? This is driving me crazy!

    This problem has been an issue for a number of months and has led to frustration and public humiliation on countless occasions.
    When disconnecting from my Bose Soundlink at home (playing nothing) in order to taking my laptop on the run I open my laptop to find that the entire contents of my iTunes playlist is being belted in public. The subway, the library, my classroom is not the time or place for my laptop to make the decision to begin playing my music without permission. When at home and my Soundlink goes on standby I have nearly had a heart attack when my laptop spontaneously begins blaring my music when I wasn't even touching the thing.
    I love my Soundlink and I love my Mac but together the devices are causing no end of aggravation with no fix in sight. With each OS update I hope the problem is addressed but to no avail, it is getting tiresome that such a flaw isn't being fixed in a timely manner.

  • 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"/>

  • 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

  • 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

  • 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.

  • I know my network connection is fine and I've checked all the cables and that the tv is set to the correct source, but even though Apple Tv is on and responds with beeps when I hit the button, I see nothing on the screen. What do I do next?

    I know my network connection is fine and I've checked all the cable connections and my television is set to the correct input, but even though the remote beeps when I hit the button, I see nothing on the screen. The troubleshooting section in the setup guide says to make sure that Apple Tv is connected to my network by choosing Settings>General>Network. How do I do this? What do I need to do to get everything back? I've been using the Apple tv for a while now, and suddenly it's doing this.

    This is the iPod touch forum. I requested your posted be moved to the Apple TV forum
    Using Apple TV

  • Why do i get error 1122 at dequeue element in consumer loop when i hit stop button

    when i hit stop button from vi, the producer loop stops, the consumer loop gets an error and stops without reading all the elements and then my check queue status loop continues to run becuase it never goes to 0.
    Any help?
    Solved!
    Go to Solution.
    Attachments:
    READ SIC AND LOG.vi ‏48 KB

    matt198717 wrote:
    i believe this is what you were talking about.  If youve got any advice or pointers for this VI please let me know.
    1. Your consumer loop should be using the Dequeue Elements.
    2. Your consumer loop should actually be releasing the queue in the STOP case.
    3. There is also no need for the polling to see how many elements are left in the queue.
    4. Your wait in the producer loop shold only be when there is no data in the buffer (you have it in the wrong case).
    5. Do not use the value from the Bytes At Port to tell the VISA Read how many bytes to read.  You tell the VISA Read to read more bytes than you would ever expect the message to be.  Let the termination character stop the read.
    6. Use a VISA read right after intializing your port to sync up your messages.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines
    Attachments:
    Serial Port Producer Consumer.png ‏32 KB

  • Hello, i have one issue when i hit back button of F Fox than it will show me " Document Expired " alert message.. i need to avoid this alert.

    Hello, i have one issue when i hit back button of F Fox than it will show me " Document Expired " alert message.. i need to avoid this alert.
    because my site is based on ajax so i need same page with my all activity i perform before i go next page when i hit back button..
    Please give me solutions of this problem if possible.
    Thank you

    Are you sending HTTP response headers that instruct Firefox not to cache the pages?
    You can get a "document expired" message if you use the back button to return to a specific page and the web site has instructed Firefox not to cache the page.<br />
    Firefox tries to retrieve the page from the server, possibly by sending POST data.

  • I want to do banners ,how can we do  when click the same button (next button)  it must show differen

    i want to do banners ,how can we do  when click the same button (next button)  it must show different images . cam any one help

    Check out my blog with samples on Edgehero.
    http://www.edgehero.com/articles/interactivity

  • ECM spent budget was clean up when approval manager reject an org unit?

    Hi HR Experts,
    When an approval manager rejects an org unit, the spent budget of this org unit is clean up but the budget still distributed to each employee in that org in the infotype 0759 therefore leads to inconsistency of budget in ECM.
    Is there any body experience this issue?
    Thanks,
    Duy

    i lived through this painful process very much, we made a quick SM30 tcode transaction to be able to do data maintenace on HRPADPM - this is where the budget spent amount is actually saved. 
    the key for this table is stored on the budget unit to org unit relationship in HRP1001.
    if anyone has a better process to fix out sync spent budgets please let us know...

  • How can I disable Firefox asking me to confirm a resend when I hit BACK button?

    When I hit the back key after doing a search and clicking on a result, Firefox usually, but not always, asks me to confirm resending before taking me back. This is very annoying. I can't find any option to disable this.
    Is there some way to disable this, or can I suggest it as an enhancement? When I click on BACK, I just want it to go back without prompting me to confirm it.

    '''In url:'''
    about:config
    '''find:'''
    browser.sessionstore.postdata
    '''change:'''
    0 to 1
    Got this from a buddy, been working fine so far.
    OS: Ubuntu 10.04
    Browser: FF 3.6.18

Maybe you are looking for

  • Updating REBZG (Invoice Reference) from Legacy system

    Need help with updating REBZG (Invoice Ref.) for credit memos.  We are using the BAPI_ACC_DOCUMENTxx series of function modules to post invoices from our legacy system.  It correctly places a u2018Vu2019 in REBZG.  We would like to replace this with

  • How to delete rows in the SQL Server table based on the contents of Excel file

    Hello, everyone, I have an Excel file which contains data for certain dates. I need to load it in a SQL Server table. But before doing that, I need to check if the table already contains data for the dates in the Excel file. If it does, I need to del

  • I have a problem with ALV Grid User Command?

    Hi Experts, I have a problem with ALV GRID User Command. I am calling TCODE IW33 (Order Display) from the ALV output at first time by selecting an order. But, User command is calling IW33 Initial screen with blank value of order. Even I checked in de

  • ITunes movies for 99¢ - not on iPhone or iPad

    I wanted to download an inexpensive movie on my iPhone 5 to see what it's like on that small screen (as compared to my desktop or iPad) only to find the 99¢ movies can't be accessed on that platform. Can't get to them on iPad either, only on computer

  • Can't load jdbc driver in servlet

    Dear All, I have tried to connect to MS SQL SERVER 2000 through JDBC DRIVER FOR SQLSERVER. However I receieved an error: can't load jdbc driver class: null. The following steps were what I did: 1.Set up SQL Server and create a few tables and users. 2