Add a validation for a SAP Tr Code?

Hi Guys,
             i have a requirement where i have to add a validation Message to the SAp transaction Code
              Req is in FF68 trasaction Code we have selection options .In controls tab there is field for currency and on top of Controls tab we have a another currency filed.So if somebody entered a currency in curerency field on top of the controls and currency in the controls tab currency field , they must be same if somebody entered a different in both the currency fields then a Warning must be issued,.So can anybody tell me how to do?
Thanks,
Gopi.

Hi,
You cannot change any standard SAP transaction code unless you have exits available for it.
It seems to be some report transaction, so what you can do is... copy it to z* and make your changes.
Hope it helps.
Regards,
Siddhesh S.Tawate
Edited by: siddhesh tawate on Mar 27, 2008 3:29 PM

Similar Messages

  • How can i add multiple validations for a single input box in adf?

    hi,
    i want to add multiple validation for a single input text control in adf like number validation and its existence in database.
    MY JDEV VERSION IS 11.1.1.5.0
    pls help !!!!

    Hi,
    1.I want to validate if the value entered is pure integer
    Option 1-
    select the component and in the Property Inspector, in the "Core" category select a "Converter" format, select javax.faces.Number, if the user put a string, adf show a dialog error or message error...
    Option 2-
    or use the Regular expression:-
    http://jdevadf.oracle.com/adf-richclient-demo/docs/tagdoc/af_validateRegExp.html
    https://blogs.oracle.com/shay/entry/regular_expression_validation
    Also check this:-
    http://docs.oracle.com/cd/E15523_01/web.1111/b31973/af_validate.htm#BABHAHEI
    Option 3-
    Frank in his great book 'Oracle Fusion Developer Guide' shows a example using a javascript for input which is allowed only for numbers. You can manipulate for your requirement.
    Here is the code:
    function filterForNumbers(evt) {
        //get ADF Faces event source, InputText.js
        var inputField = evt.getSource();
        var oldValue = inputField.getValue();
        var ignoredControlKeys = new Array(AdfKeyStroke.BACKSPACE_KEY, AdfKeyStroke.TAB_KEY, AdfKeyStroke.ARROWLEFT_KEY, AdfKeyStroke.ARROWRIGHT_KEY, AdfKeyStroke.ESC_KEY, AdfKeyStroke.ENTER_KEY, AdfKeyStroke.DELETE_KEY);
        //define the key range to exclude from field input
        var minNumberKeyCode = 48;
        var maxNumberKeyCode = 57;
        var minNumberPadKeyCode = 96;
        var maxNumberPadKeyCode = 105;
        //key pressed by the user
        var keyCodePressed = evt.getKeyCode();
        //if it is a control key, don't suppress it
        var ignoreKey = false;
        for (keyPos in ignoredControlKeys) {
            if (keyCodePressed == ignoredControlKeys[keyPos]) {
                ignoreKey = true;
                break;
        //return if key should be ignored
        if (ignoreKey == true) {
            return true;
        //filter keyboard input
        if (keyCodePressed < minNumberKeyCode || keyCodePressed > maxNumberPadKeyCode) {
            //set value back to previous value
            inputField.setValue(oldValue);
            //no need for the event to propagate to the server, so cancel
            //it
            evt.cancel();
            return true;
        if (keyCodePressed > maxNumberKeyCode && keyCodePressed < minNumberPadKeyCode) {
            //set value back to previous value
            inputField.setValue(oldValue);
            evt.cancel();
            return true;
    2.I want to check if the value exists in my respective DB You must be having EO or VO if you want to validate with database in that case use the solution suggested by Timo.
    Thanks
    --NavinK                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How to add new validation for the iProcurement web page?

    Hi,
    I am very new to OA Framework. Can you experts give me some guidance on how to proceed with the following customization?
    My requirement is in iprocurement when you open a new cart and check out on "ICX_POR_SHOPPING_CART" there is a Project Field and reference to Charge account. If the users go to charge account (ICX_POR_CHECKOUT_SUMMARY) and enter the segment values ( which includes project segment) and enters a value in project segment other than '000000' with out entering the Project Field on "ICX_POR_SHOPPING_CART" the page should give error.
    Please give me some suggestions on how to proceed.
    Thanks
    Vish

    I need the client side validation. By saying server side validation if you mean writing a triger on tables to validate then I am thinking to take that option as last resort.
    Can you please tell me what is PPR ( Is it personalization?) stands for.? In my case the Charge Account is DFF.
    Can you direct me to any documentation on how to add custom javascript to achieve my objective?.
    Thanks for your Help.
    Regards

  • How to add a font for use by the code editor

    Version 3.0.04 windows
    found Preferences -> Code Editor -> Fonts
    Did not see the font I would like to use in the list. The font is terminal. The font can be displayed in Control Panel -> fonts in windows.
    In the help I found Edit Font Location but could not find the dialog box described in the help
    Is there a procedure to add the font so SQL Dev can use it?
    Thanks

    Hi Dag,
    Apparently editing Font Location in 3.0 applies only to ...
    Tools | Preferences | Database | Export/View DDL Options | PDF Format
    Regards,
    Gary

  • Before_report Trigger- Need to add a validation for p_start_date

    I have a parameter called p_start_date. I need to make sure the date entered in a Sunday. If not Sunday then give an error message and clear the p start date field.
    How can I accomplish this? Help is appreciated.

    Use to_char on a DATE parameter:
    if to_char(:p_start_date,'DAY') != 'SUNDAY'
    then
    end if;

  • Validation for tax code not to use

    Dear Gurus,
    i had done validation for purchase/sales tax code not use while doing transction.
    Prerequisite
    BKPF-BUKRS =1000
    CHECK
    NOT BESEG-MESKZ IN ZTAXCODE
    Message
    you can't use this tax code
    i had done this validation for parent company code(1000) but it is giving error for our subsidiary company(3000), though the tax procedure is differnet for both the company taxinj(india) and taxusj(usa). Also the end user is making transction in company code 3000 without tax code still system give him error.
    Please advice how to rectify it.
    Regards,
    Rajesh K

    Hi,
    As per my understanding the Tax Code is same but the Tax Procedures are different for the two Company Codes. The solution is to add Company Code 3000 also in the validation Prerequisite. With this it could work.
    Regards,
    Kiron Kumar T.

  • Additional validation for the Start investigation in investigation tab

    Hi all ,
    In health safety->overview -> incidents .
    I want to add additional validation for the start investigation based on the custom field values .
    so that the values in the custom field are not entered it should not allow the user to proceed for the investigation .
    In this case i have displayed an error message and return statement In needs_confirmation_method  method but still unable to stop the process . Please suggest any other method .
    Thanks ,
    Venkat Ratnam Naidu

    You can use these solutions:
    1) use the fields control (CMOD), insert a new rule that if the field is empty action is disabled.
    2) insert a custom validation before the action
    3) modify feederclass to on/off the action

  • Creation of Add-on package for 64 bit and 32 bit SAP Business One Client

    Please help me creating package for 64 bit and 32 bit SAP Business One. If Add-on executable is compiled with x86 option then there is no issue of connecting Add-on with 32 bit SAP Business one and if Add-on executable is compiled with Any CPU option then there is no issue of connecting Add-on with 64 bit SAP Business one. Problems are mentioned as below
    1. My Add-on uses MS ACCESS connection and the connection is read using Jet OLEDB 4.0 provider. It works fine for x86 compile mode but not when compile mode is Any CPU. I searched for the issue on Google and found a solution to change MS ACCESS connection provider to ACE.OLEDB.12.0 but again ACE provider is installed according to the Office version i.e. 32 bit or 64 bit office suite. If I install 32 bit ACE provider then Add-on executable compiled with x86 version is working fine but with Any CPU option throws error as provider is not registered on current machine.
    2. Secodly, our license validation activex dll is build using vb 6.0 and therefore when Add-on executable is compiled using Any CPU option, Add-on EXE cannot read from license dll. Any suggestion, how the activeX dll can be compiled whose component can be created from for X86 compiled exe and any cpu compiled exe.
    Please help because we are stuck in this issue and cannot move forward.
    Thanks.

    Hi Alejandro,
    That is one solution but did your add on used ms access connection? if you used Jet oledb to connection string or ace oledb connection string? what if 32 bit office is installed and what if 64 office is installed? how did you found the office version in install script? after determining the office version how did you installed Microsoft redistributable for ace oledb (32 bit or 64 bi )?
    I am sorry that I asked many questions but these are the problems where I am stuck with the addon installer?
    Thanks

  • Problem in SAP standard code modification for FB03

    Hi Experts,
    I am adding 4custom fields in FB03 tcode by doing a SAP standard code modification in SE51.
    The program name is SAPMF05L and screen no. is 302(In some SAP verion, it is 304). This is the screen for document line item of an invoice.
    My problem is:
    When I add the fields in the screen, in which module will I put logic in the PBO and PAI as I am unable to figure out the German comments and the program structuring.
    Also, if anybody can tell me what to write as I am little bit confused about the logic of populating my fields with the values.
    FB03 is a display transaction so I have to keep my custom screen fields disabled.
    Regards,
    Sangeeta.

    Hi Sangeeta,
    For enhancing the screen of this Tcode, first of all search is there any Screen enhancement is provided by SAP or not and in case if it is provided then use that only.
    Regards
    Jagesh Lakdawala

  • FM /BAPI for applicant actions Tx code PB40 in sap hr

    Hello all..
       Could you pls let me know the FM/BAPI for applicant actions (Transaction Code PB40) in  SAP HR ABAP
    Thanks in advance..
    Cheers,
    sami.
    Moderator message: if it exists, you can find it yourself by doing some research.
    Edited by: Thomas Zloch on Mar 15, 2011 2:02 PM

    Hi,
    There are no BAPIs/RFCs to create Infotypes directly. You have to create a custom wrapper RFC around the std function module HR_INFOTYPE_OPERATION to meet your requirements. This function module enables you to maintain master data for employees and applicants. You can transfer one data record ie one infotype record per employee at a time. In your case it would be 3 function calls per each employee. All validation checks take place that would take place in the individual maintenance screens in the dialog. If necessary, the module returns an error message. The error messages are the same as the error messages in the dialog, that is, the individual maintenance screen error messages are transferred rather than interpreted by this module.
    Regards,
    Suresh Datti

  • Tax code should be valid for A/P error

    Hello,
    I have created a new company and setup all the master data and G/L determination information. The account payable is also set for the vendor. On the line item the tax code has the A/P account set. When I try to add a new purchase order I get an error "Tax code should be valid for A/P[Purchase Order - Rows - Tax Code]"
    How can I fix this?
    Thanks & Regards,
    Sheetal

    TaxCode object in the DIAPI has a property called "ValidForAP". It was set to "N" hence the error. The warehouseinfo had this taxcode set and when the item was added to the purchase order the same tax code got set automatically. Hence the add on Purchase order would fail with the message.
    Regards,
    Sheetal

  • Code is only valid for users of store

    Help....
    Ive just gifted an app to my son as I often do and when he tries to redeem it it says "This code is only valid for customers of the Store".
    Ive looked this up and normally it will involve someone from one country trying to gift an app to someone in another country but with me this is not the case.
    My son lives in the same country, the same address everything.
    The app was called Kick the buddy: Second kick
    Can anyone please help
    Thank you

    Thanks to James, I have just had a reply saying that they do not know why this error has occured but they have refunded my purchase costs.
    Good luck to anyone who has the same problem

  • "This code is only Valid for customers of the USA Store.", "This code is only Valid for customers of the USA Store."

    I get this error message when redeeming an app from the apple "Aproved" website "Appexchanger" which is when you check out free apps and get credits to get paid apps, but i am in canada and everytime i go to redeem one i get "This code is only valid for customers of the USA Store." i think this is unfair because ive done what theve asked and theres nothing on the site that says "US ONLY" and the people who made it wont even contact me back! Please help i just want some apps!

    Just FYI, Appexchanger is not "approved" by Apple in any way that I can detect. Apple does not appear to have any connection of any sort with that company other than as a customer.
    This company looks to me to be nothing more than a way to harvest email addresses and other content information to sell to other companies, getting you onto all sorts of spam lists. I don't for one minute believe their claim that they won't sell your information (and if they don't, it's s good bet at least one if nor more of the developers will). But in any case, as Jay said, any problems or issues you may have with that company will have to be taken up with them. This is not an Apple issue.
    Regards.

  • Hi All how to add new payscale  for an employee in sap hr-abap,its urgent

    Hi All ,
    how to add new payscale for an employee  in sap hr-abap,its urgent.
    Message was edited by:
            bharat kumar
    Message was edited by:
            bharat kumar

    Hi
    If that field which you wants to add is available in one of the structures like EKKO,EKPO then you can add that field just beside the other fields
    If that field is not there in the any of the structures then you can define a variable using define command
    /: DEFINE  &VAR&
    / &VAR&  = <some value>
    or you can write subroutines to fetch the data from outside tables and can use those fields data in the script
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • SAP Trans.Code related to know the Inventory of previous for more than 5 yr

    I want to know the SAP transaction code of inventory Reports related.I want to know the  previous Inventory of more than 5 years from the current financial year vide G/L code and part wise.
    Regards

    Hi P K ,
    IF you want report for previous period by G/L account and part code wise.. then MB5L will not serve your purpose . MB5L will display current balances only ..
    Some users save MB5L details every month for future references..
    However , you can create a ABAP program which will work like MB5L but will pull data of previous period ( date selection will be there).
    My client is having such custom report..
    Regards
    Sarada

Maybe you are looking for

  • Bugs after Patch 27

    Hi everyone, this weekend I have applied PL 27 to all of my EP6 SP2 Components (J2EE, Platform and CM with HF1). There were some issues which came to my attention: 1. Especially the CM Patch 27 has a very long runtime (9hrs in my 2 CPU and 4GB RAM Sy

  • Screen color is off on mac mini and recalibrating doesn't seem to help

    the colors on my screen are off and I've tried recalibrating it at least 10 times and there is very little change to no change. is there an easier way like just resetting them to default or something?

  • Acrobat 9 Pro Extended on Windows Vista 32 bit

    Acrobat 9 Pro Extended on Windows Vista 32 bit consistently dies after about 10 seconds, with no error messages or other indication of what went wrong.

  • Table control on Tabbed selection-screen

    Hi All, My Requirement is: I have a tabbed selection-screen with 3 tabs. On one of the tabs I have to include a Table control. Currently I'm displaying Table control as Pop-up . But I want that on the screen itself. Please suggest me how to do this.

  • Update issue in the Master records & detail records

    Hi Good Day ! Senario : I have Master - Details Form , Master Block - A, Detail Block - B In Master Block i have 10 records, For Each records in the Master will have related records in Detail , Requirement : I want to reset records (some colums) in M