Validation at "Save and Send for approval" in Create Expense Report

Hello gurus,
I have an issue where in at Create Expense report we have two options:
1. Save
2. Save and Send for Approval.
When this trip is SAVED and SEND FOR APPROVAL the validation should trigger and error message should appear if expense type XXXX is used in any of the line item of the trip.
I have been told that this can be done by  user exit at the backend level. But, at the frontend we will have to make some changes as well.
I know WD JAVA, but a little short on knowledge in WD ABAP.
Could you please help me by telling me as to how to do a validation in this scenario or even if its necessary to do it ?? I mean, is it possible that the backend validation will hold true if someone will create a expense report from the frontend as well ??
Please explain me ...

Hello friend,
Its easy to handle this problem,
To know how you can use the message effectively see this details about the interface,
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/6c/7aae42cd7fb611e10000000a155106/content.htm
For clear understanding about the steps for creating messages see the code below,
http://e-university.wisdomjobs.com/sap-abap-web-dynpro/chapter-105-274/messages-exceptions-and-web-dynpro-abap.html
I think you will be clear after reading this code. Any queries please revert back to me.
Thanks,
Sri Hari

Similar Messages

  • Duplicate Document number in Document Draft while sending for Approval

    Hello Experts,
    In Purchase order when we create document and send for approval ... if in a single day we create 25-30 Purchase orders, system assign same number lets say: 120011 to all the 30 documents created in a single day.
    is there a way we can give unique number to all the PO drafts being created and sending for approval ... ?
    Help Required
    Regards,

    Hi Shazad,
    The document number that you refer to works as follows. If you go into Purchase Orders, it will say that the next purchase order number (OPCH.DocNum) will be for example 345. When you're done capturing the information and go to File > Save as draft, the same screen appears again and you can add another draft.
    Seeing that the first draft didn't actually create a purchase order, but only a draft, the next available number is allocated. The next available purchase order number is still 345.Only you add a actual purchase order will the number be changed again.
    Internally in the SAP database, the DocEntry field of the draft contains the actual draft internal number. You can view this number if you open the drafts. Draft No is unique, but document number isn't and doesn't matter until the actual document is added.
    Hope it helps,
    Adele

  • I'm using Adobe Acrobat with the hope of editing a url on the graphic...a simple 3-letter change, save, close and send for printing..how do I get in edit mode to delete 3 letters and insert 3 new letters?

    ?I'm using Adobe Acrobat with the hope of editing a url on the graphic...a simple 3-letter change, save, close and send for printing..how do I get in edit mode to delete 3 letters and insert 3 new letters?

    pkg4ibm wrote:
    editing a url on the graphic...
    Not sure what you mean by that: is that URL in an image, or is it actual text?
    If it is in an image, then you need to extract the image, edit it with something like Photoshop, then add it back to the PDF.
    If the URL is actual text, I suggest that you remove the entire URL, then add the corrected link.

  • Office 2010 MUI in Finnish and Save and Send function not working after upgrading to Lync 2013 MUI

    Problem is as follows. Used to have Office 2010, Outlook 2010 and Lync 2010, everything was working. People used it in Finnish and seemly quite a many of them used the Talleta ja lähetä (Save and Send in Finnish) in Office products.
    After upgrading Lync to 2013 version, with Finnish language pack installed with it, the Save and send does not work in Office 2010 if it is used with Finnish as display language. When you try to use it you get a Mapi error and reason is undefined or something,
    hard to say what it is exactly in english as the error message is in finnish. On those machines if the display language is changed back to english the Save and send works as it should.
    Any ideas? 

    The problem was caused by the Language Packs for Lync 2013 or Office 2013. Without them all works.
    And if you want to just unisntall the 2013 lang packs, then you also need to repair install the office 2010 ones to make it work again.

  • Email Security Plug-in - Doesn't seem to work with right click or save and send

    I've searched the knowledge base but have not located the answer yet.
    We have the Encrypt Message plug-in installed to flag the email [SEND SECURE].  This works very well when in Outlook.  It does not seem to work when right clicking a file to send outside of Outlook or performing Save and Send from within Microsoft Office.  The add-in still shows and users are clicking it and the Send button but the emails are not going securely.  We are on Microsoft2010 on mostly XP machines.
    How can I get Encrypt Message to work in all instances?
    Thank you.
    Starla

    Andreas
    I am getting an error.  See below for what I'm choosing and the response.  let me know if I'm supposed to be trying to download from another area.
    Thanks
    Starla
    Email Security Plug-in - Doesn't seem to work with right click or save and send
    Cisco IronPort Email Security Appliance C370
    Release:IPAS
    Filename: CiscoEmailSecurity_7-2-0-039.exe
      Remove
    Details
    Release
    IPAS
    Filename
    CiscoEmailSecurity_7-2-0-039.exe
    Release Date
    25/Oct/2011
    Description
    Cisco IronPort Email Security Plug-in (Outlook)
    Size
    32541.84375 KB (33322848 bytes)
    Router Checksum
    0x553f
    MD5
    f0c864697d9e1a3e8f5297062943ac50
    Email Security Plug-in - Doesn't seem to work with right click or save and send
    Save the device to 'My Added Devices' list
    More Info
    'My Added Devices' list could be found by: 1. Clicking on 'My Cisco' Tab and expanding
        the 'Added Devices' section. 2. Selecting any task specific product
       selector and clicking on 'My Added
        Devices' in left pane.
    Email Security Plug-in - Doesn't seem to work with right click or save and send
    Set Cisco Notification Alert
    More Info
    All 'Cisco Notification Alerts' list could be found
    by: 1. Clicking on 'My Cisco' Tab and expanding
        the 'Support Notifications' section.
    Cisco service contract information indicates you are not authorized to download software for the following product(s):
    Cisco IronPort Email Security Appliance C170
    Cisco IronPort Email Security Appliance C370
    Cisco IronPort Email Security Appliance C650
    To download software for other product(s), remove the software for the product(s) listed above.
    Or, if you feel this message is in error, please:
    1. Email technical support for 24x7 assistance. To expedite your request, please include the following information:
             User ID (Cisco.com ID used to download software)
             Contact Name
             Company Name
             Contract Number
             Product ID
             Desired Software Release or File Name
    2. Contact your Cisco Representative, Partner or Reseller to ensure product(s) listed above are covered on a service contract. The Partner Locator link may assist in locating your nearest partner.
    3. Associate contracts for those products to your Cisco.com profile using the Instructions found in Profile Manager. After you submit your additional contracts, verification and updates may take up to 6 hours to complete.

  • In our application we have CV Builder and after submit we want to show in  pdf format. and also we want save and send option.

    In our application we have CV Builder and after submit we want to show in  pdf format. and also we want save and send option.

    1. For the PDF see TCPDF
    2. For saving see PHP Insert Data Into MySQL
    3. For sending see Basic PHP mail() Function code to send emails from a form | InMotion Hosting

  • STS: Why manager can still send for approval?

    Hi Folks,
    Could you kindly help me on this matter ?
    Why on the STS, I'm working on it now, the manager (the position is highest) stll can send for approval ? In my opinion, he should only be able to approve / reject.
    If I check under that user ID, it has authorization for: R_STS_PT, R_STS_SUP, R_STS_CUST. Is it caused by this ?
    Thanks a lot all

    Hi Niel,
    Refer to the consulting note 530285 and read all the conditions and points.
    It will clarify your issue.
    Regards,
    Amit

  • In Ap invoice grid is showing no value when send for approval

    Dear Experts,
    There are 3-4 purchase invoice send for approval when it is open by approving authority the detail grid i.e. where the item details are shown is blank only gross total and net total in footer is showing value and header values.
    This all four invoices are of same vendor, invoices punch after those invoice are showing proper values.
    what could be the reason ?
    Thanks & regards
    Kamlesh

    Dear Kamlesh,
    If the problem only occur for one BP, check this BP's profile.
    What is the condition for approval?
    Thanks,
    Gordon

  • PSB- Worksheet cannot send for Approval

    Dear All,
    We are implementing Public Sector Budgeting module. When we create an worksheet and try to submit for the approval the submit worksheet is disabled.
    and if any one can differentiate wat is the difference between global worksheet and local worksheet.
    Some more doubts are
    - Is The approvals will go to notifiers available in budget group or review group notifiers
    - In worksheet line items cannot be visible. Even in parameter set i ve entered the line items..?
    Since this is an rare module which was implemented in metalink we can find less number of documents.
    Can any one can provide process document, BR 100, TE40 likewise..
    Regards
    Naveen.s

    Duplicate post -- Please post only once.
    PSB- Worksheet cannot send for Approval
    PSB- Worksheet cannot send for Approval

  • Change Expense report default to Save and Send

    I have been looking for a way to override the default in an expense report to be the Save and Send radio button instead of the Save radio button.
    I have worked within the configuration and the FITE_EXPENSES webdynpro configuration, but cannot identify any area to change this.  Has anyone been able to override this SAP standard default to go to Save and Send?
    JLM

    There is no setting in standard to make "save and send" the default setting, but how about the option of also hiding the 'save' radio button via the content administration, that is one possibility?
    I also saw a suggestion to add modificationby adding an implicit enhancement implementation before the end method statement of the mehtod CONFIGURESAVESTATUS of the component controller of view fite_vc_review. example
    for the enhancement:
    elem_generaldata->set_attribute(
          exporting
            name =  `SETTL_STATUS`
            value = cl_fitv_constants=>gc_settled_status_requested ).
    Of course this is a modification however..
    Also check your setting for tcode PE03 for feature TRVPA for WRP, here you can select various status' on save"
    The documentation in PE03 explains more
    "Entry "WRP" for Employee Self-Service:
    The entry "WRP" allows you to control the dialog for saving a trip. The
    settings apply to the Employee Self-Service (ESS). With some statuses, a
    distinction must be made between the process steps "Temporary Save" and
    "Save and Send."
    Hope these suggestions help.
    Sally
    Edited by: Sally Redmond on Sep 6, 2011 6:37 PM

  • I can't get FaceTime or iMessage to connect, I enter valid password (tested and works for Apple account) and it won't connect. I have checked all settings, upgrades iOS to 8.3 rebooted, changed Apple acount PW still wont connect. My internet connecti

    I can't get FaceTime or iMessage to connect, I enter valid password (tested and works for Apple account) and it won't connect. I have checked all settings, upgrades iOS to 8.3 rebooted, changed Apple acount PW still wont connect. My internet connection is fine Safari works and I can access all sites. I have an iPad 2. Any help on this will be greatly appreciate.  iPad 2, iOS 8.3

    This is an ongoing problem as you will see by searching the forum. 
    Out of curiosity, do you have 2 step verification enabled?  It was recently extended to include iMessage & FaceTime & I'm wondering if it might be causing some of the issues that some users are experiencing.

  • Save and Send to Sharepoint error

    I'm using Microsoft Word 2010 and a sharepoint 2010 site.
    And I'm having troubles with file locations when saving files back to sharepoint library.
    First, when I open a file from sharepoint site, edit and try to save, the default location is not the location of the library the file was at.
    If I try to do 'File>Save and Send> Save to Sharepoint' and select a recent location,
    or if I click onfind location, I get the following error message:
    Could not Find http://xxxxx.xxx/DocumentLibraryA/FolderA
    The only way I'm able to save is via 'File>Save as' and input the url on
    the file name field.
    This issue is not happening with every computer I try to open files from sharepoint. On some other computers, I am able to open the file from the library and it comes with the default location, and if I do 'File>Save
    and Send> Save to Sharepoint', it opens normaly.
    Does anyone knows how to fix this?

    Hi,
    Please try to add the "Desktop Experience" feature in your computer.
    Go to All Programs –> Administrative Tools –> Server Manager. Choose Features –> Add Features
    Next, check the "Desktop Experience" feature. On the popup, choose "Add Required Features".
    More informaiton is here:
    http://petervdberg.blogspot.com/2011/01/how-to-enable-save-and-send-option-in.html
    Best Regards
    Dennis Guo
    TechNet Community Support

  • Save and send malfunctioning

    i am using microsoft office 2010 and windows 7. no network.
    in the last month or so "save and send" from word, excel and adobe pdf's have been malfunctioning. each of these programs delivers to my outlook 2010 outbox and thereafter to the sent box BUT the email is NOT sent - even though it shows in the
    sent box!!  emails generated within outlook with the same attachments send perfectly. this is very disturbing as there is no error feedback so you assume the email has been sent when it has NOT. this is a repeatable error and occurs every time.
    i have tried repairing office from within the control panel/programs/change/repair and i have scan.pst the outlook data file. but this has made no difference.
    please can you assist with this serious problem?
    many thanks

    here is extract from OPMLog.log when trying save and send from word:
    2014.07.14 14:36:45 <<<< Logging Started (level is LTF_TRACE) >>>>
    2014.07.14 14:36:45 [email protected]: Synch operation started (flags = 00000001)
    2014.07.14 14:36:45 [email protected]: UploadItems: 0 messages to send
    2014.07.14 14:36:45 [email protected]: Synch operation completed
    2014.07.14 14:36:46 [email protected]: Synch operation started (flags = 00000030)
    2014.07.14 14:36:46 [email protected]: DoPOPDownload(flags = 00000030, max msg = 000f9c00): full items
    2014.07.14 14:36:46 [email protected]: Synch operation started (flags = 00000001)
    2014.07.14 14:36:46 POP3 (pop.tiscali.co.za): Begin execution
    2014.07.14 14:36:46 [email protected]: UploadItems: 0 messages to send
    2014.07.14 14:36:46 [email protected]: Synch operation completed
    2014.07.14 14:36:46 [email protected]: Synch operation queued
    2014.07.14 14:36:47 POP3 (pop.tiscali.co.za): =========  Initial blob   =========
    2014.07.14 14:36:47 POP3 (pop.tiscali.co.za): +B104733-1176888802
    2014.07.14 14:36:47 POP3 (pop.tiscali.co.za): +B104734-1176888802
    2014.07.14 14:36:47 POP3 (pop.tiscali.co.za): +B104735-1176888802
    2014.07.14 14:36:47 POP3 (pop.tiscali.co.za): +B104736-1176888802
    2014.07.14 14:36:47 POP3 (pop.tiscali.co.za): +B104737-1176888802
    2014.07.14 14:36:47 POP3 (pop.tiscali.co.za): +B104738-1176888802
    2014.07.14 14:36:47 POP3 (pop.tiscali.co.za): +B104739-1176888802
    2014.07.14 14:36:47 POP3 (pop.tiscali.co.za): +B104740-1176888802
    2014.07.14 14:36:47 POP3 (pop.tiscali.co.za): +B104741-1176888802
    2014.07.14 14:36:47 POP3 (pop.tiscali.co.za): +B104742-1176888802
    2014.07.14 14:36:47 POP3 (pop.tiscali.co.za): +B104743-1176888802
    2014.07.14 14:36:47 POP3 (pop.tiscali.co.za): +B104744-1176888802
    2014.07.14 14:36:47 POP3 (pop.tiscali.co.za): +B104745-1176888802
    2014.07.14 14:36:47 POP3 (pop.tiscali.co.za): +B104746-1176888802
    2014.07.14 14:36:47 POP3 (pop.tiscali.co.za): +B104747-11768888

  • Infopath 2010 Save and Send does not attach .xsn file

    Hello all, last year we had departments using the "Save and Send" to send their filler forms to a mail box, since that time we have upgraded from 2007 to 2010 InfoPath. Now when the Save and Send feature is used just the xml file is attached?
    Any help? thanks

    after a little discovery, my biggest problem is I have InfoPath 2010 and Outlook 2013.  On a machine with IP 2010 and Outlook 2010 I tested and found only "Restricted" forms allow the template to be sent using Save and Send. 
    This setting is in the Options/Security and trust. 
    As long as you have Options/Email attachments set to Form and template + Options/Security and trust set to restricted + matching versions of outlook and InfoPath it works fine.  This was nothing more than user error on my part

  • How do you approve/forward an Expense Report thats fallen into ERROR?

    How do you approve/forward an Expense Report thats fallen into Systems Administration Action status -"ERROR" (or Expense Status Code)?
    When I try logging into IE Audit manager responsibility half the buttons described in the doc:
    http://download.oracle.com/docs/cd/B53825_03/current/acrobat/121oieig.pdf (Oracle® Internet Expenses Implementation and Administration Guide)
    ..are not visible?
    The approvers Cost (GL) Code is valid and the mileage expense lines have been created correctly. What else could it be?
    thanks.
    S

    Hello.
    For anybody thats interested please find below the reasons I've found so far for ER's dropping into said status..
    ERROR – Pending System Administrator Action
    If an employee cannot get their ER approved – check their Cost Code and/or that the approver named is actually an Approver. Also check the person who’s trying to Approve the ER has that particular GL Code in their Payables Signing Limits. Just add, then get ER creator to withdraw and resubmit it. Also check their actual ER lines table. Something must be up. And, of course, their expense Report via Auditor resp.
    J

Maybe you are looking for