Userexit in xd01 to validate field

i have a field in the create customer transaction which i need to validate after the user enters the value.
its not a user-defined field, we need to validate the existing field
where i can do this i mean which userexit?
thanks

HI Mahesh,
go to CMOD.. create a project and in enhancements give a name SAPMF02D and save and click on components.
there u see a user exit function module <b>EXIT_SAPMF02D_001</b> doublw click on it. it forwards to se37 with this function module.
check the import parametrs and table paprameters and find in which ur entered value is there.
after that double click on include z******. it show a warning... press enter..
go to chnage mode and validate the value of import parametrs or tables.
activate the include.
back--> again back
u will be in again cmod screen activate the user exit.
and restart the transaction xd01.
hope this helps
Regards
CNU

Similar Messages

  • XD01 - Making Dunning field required

    I know that I can add code to EXIT_SAPMF02D_001 for this, but is there an easier way to make the dunning procedure field on XD01 a required field? Thanks

    You can do this via SPRO. Here is the path:
    Financial Accounting>Account Rec and Payables>Customer Accounts>Master Data>Preparation for creating Customer Master Data-->Define Account Groups with Screen Layouts (Customers).
    Select the Account Group and Click details button. In the Field Status section, select Company Code Data and hit the Edit Field Status button. Double Click Correspondence. You would find Dunning Data there as an option with various radio button. Click the Req. Entry radi button to make it mandatory. Save and test.
    Hope this helps!

  • Validate field value is number or varchar

    Hi All,
    I want to validate field's value is number/varchar by single line query. is it possible?
    e.g.
    select is_number(fieldval, 'Number','Varchar') from dual;
    Thanks in advance.
    - Hiren Modi

    Hi,
    If you cannot use regexps (due to your DB-version perhaps) you could do something like:
    MHO%xe> create table t as (
      2  select 'YES' col from dual union all
      3  select 'NO' from dual union all
      4  select '1' from dual union all
      5  select '2' from dual union all
      6  select '3' from dual union all
      7  select '4' from dual union all
      8  select '5' from dual union all
      9  select '6' from dual union all
    10  select '7' from dual union all
    11  select 'NO' from dual union all
    12  select 'YES' from dual union all
    13  select 'ABCED' from dual union all
    14  select '33' from dual union all
    15  select '5699' from dual union all
    16  select 'KPKHIH' from dual union all
    17  select 'ASDFSDAFSD' from dual union all
    18  select 'ASDFASDFSDFSDFSDAFASD' from dual union all
    19  select '212121' from dual union all
    20  select '9689898' from dual union all
    21  select '6545454' from dual union all
    22  select '212121' from dual union all
    23  select '5745757' from dual union all
    24  select '9857441969*' from dual
    25  );
    Tabel is aangemaakt.
    MHO%xe> create or replace function is_number( p_string in varchar2 )
      2  return varchar2
      3  deterministic
      4  as
      5    l_num number;
      6  begin
      7    l_num := p_string;
      8    return 'Number';
      9  exception
    10    when others then return 'Varchar2';
    11  end;
    12  /
    Functie is aangemaakt.
    MHO%xe> select col, is_number(col) dtype from t;
    COL             DTYPE
    YES             Varchar2
    NO              Varchar2
    1               Number
    2               Number
    3               Number
    4               Number
    5               Number
    6               Number
    7               Number
    NO              Varchar2
    YES             Varchar2
    ABCED           Varchar2
    33              Number
    5699            Number
    KPKHIH          Varchar2
    ASDFSDAFSD      Varchar2
    ASDFASDFSDFSDFS Varchar2
    DAFASD
    212121          Number
    9689898         Number
    6545454         Number
    212121          Number
    5745757         Number
    9857441969*     Varchar2You could index is_number as well.
    See: http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:15767849694647

  • Express - Validate Field

    Hello
    We have been using Express as our application development tool... One
    particular aspect of the user interface that we are trying to improve
    upon centers around the "validate field method".
    The Forte express manual and examples use a raised exception to generate
    an error dialog when they detect invalid data in a field. This has the
    effect of the user getting "stuck" in this field until entering proper
    data. In most cases a good thing. However the user can not close
    the window or reset the result set while being "stuck" by the validate field
    until entering correct data, then closing or reseting.
    In order to allow the user to back out an update we changed (as suggested
    in the express advanced class) the
    validate field from generating an exception to generating a message dialog.
    Unfortunately this causes confusion as the user can continue on even
    thou getting the message and have the message pop back up later.
    We have made the default express interface much more user friendly by
    implementing lookup and using a standard message dialog so getting
    "stuck" isn't perminate in most cases. However we still have a couple
    cases of cross editing where the user may have to check another folder
    of the window for information but can't because of being "stuck" by the
    validateField.
    Has anyone improved on the way express handles this
    Nick Keren voice: (519) 253-4232 ext. 2750
    Security Administrator fax: (519) 973-7083
    University of Windsor e-mail: [email protected]
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    At 03:32 PM 6/8/98 -0400, Nick Keren wrote:
    This has the
    effect of the user getting "stuck" in this field until entering proper
    data. In most cases a good thing.Actually NOT a good thing, IMHO. It is just fine to do something to let
    the user know that they have entered bad data and can't complete screen
    until it is fixed, but they should be able to go anywhere else on the
    screen or in the application before dealing with it. This is basic to
    event-driven design.
    =========================================================================
    Thomas Mercer-Hursh, Ph.D email: [email protected]
    Computing Integrity, Inc. sales: 510-233-9329
    550 Casey Drive - Cypress Point support: 510-233-9327
    Point Richmond, CA 94801-3751 fax: 510-233-6950
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

  • Validate field in the pop up for a Table Maintenance View

    Hi,
    I have created a maintenance view for a Z table. Among the many fields the table, I needed to display the records based on a selection criterion. So, I have enabled a popup for sales org and customer no'.
    Now the sales org and cust no' are being validated individually at the pop up screen itself.
    The requirement is that I need to validate for presence of records for their combination.
    ( FYI: KNVV is the table with the combination of both)
    Kindly let me know how this requirement can be fulfilled.
    Thanks in Advance.

    Hi,
    Try like this..
    in the Table Maintenance Generator>Environment>Modification-->Events.
    in the event on_save(didn't remember exact name)
    select * from ztable into itab where kunnr in kunnr
                                              and    vkorg in vkorg..
    Regards,
    Nagaraj

  • CRM Survey Suite - Validate fields with custom Java Function

    Hi all,
    Does anybody now how to validate the survey fields when pressing a custom button and before submitting it to the CRM database?
    If I add a custom field, it appears in the html as:
    <a onMouseOver='return true;' href="javascript:void(0)" onClick="return htmlbSL(this,2,'SUBMIT:SUBMIT')" class="sapBtnStd" id="CHECK_VALUES"><nobr>CheckValues</nobr></a>
    Which makes impossible to handle the event with a client side function defined in java script in the html code.
    I've tried to setup the EXAMPLE_DYNAMIC_SURVEY, but I wasn't successful.
    Any tips?
    CRM5.0
    Regards,
    Dora

    FYI
    Note 945112 "Addition of Javascript validation to onSubmit event" was created.

  • Validate field value against LOV in JClient

    Hi,
    I have wondered is it possible when i have a LOV attached to a textfield or column from JTable to validate entered value against values in LOV. I mean when i enter wrong value in field, automatically to invoke LOV panel when the field lost focus.
    Thanks in advance!

    Hi,
    this is currently not a feature available in JClient. We are evaluating this as a new feature in a next version fo ADF JClient (which will be named ADF Swing then)
    Frank

  • User Exits to validate Fields in BP transaction

    Hi,
    Anyone Send me the User Exits To validate the Screen Fields of Transaction BP.
    with Regards
    kesavaperumal

    Please Check Following BADI's.
    BUPR_FILTER_RELSHP_2                Filtering or Hiding of Relationships Within the GUI   
    BUPA_ROLEGRP_HIDE                    Badi For Hiding Role Groups                           
    BUPA_NUMBER_GROUP                 Badi for presetting the number grouping field         
    BUPA_INITIAL_SCREEN                   Initial Screen for BP creation                        
    BUPR_ENQUEUE_TEST                   INTERNAL: Tests Whether BP is Locked                  
    BUPR_RELSHP_OVR_EXT                SAP BP: Extension of the Relationship Overview        
    Regards,
    Swamy.

  • Validate field with value range

    Hello,
    I need to validate a field. This field's domain is defined in the Dictionary as a Value Range (i. e. 'A', 'B', etc.).
    How can I do it generically, that is, when I update the domain, my code will still validate correctly the values?
    Thank you!

    hi,
    Write a select on DD07L table by passing DOMNAME and get DOMVALUE_L & DOMVALUE_H which has the domain values and validate accordingly ... You can get the domain name of a data element from DD04L table where pass the data element name in ROLLNAME and get DOMNAME ...
    Regards,
    Santosh

  • Create Custom list form and validate fields using sharepoint designer 2010

    Hi All,
    I have a requirement to create a custom job application form which will be filled and submitted by anonymous users. I have a an option to create custom user control web part but I wanted to
    create it using custom list form using SharePoint designer. My requirement is below
    Date of birth (user age should be above 22yrs )
    Email Validation
    Phone validation
    Resume attachment (should attach only word documents or PDF)
    Qualification (If other is selected then show textbox else hide)
    Can above validations be done using SharePoint designer (JavaScript or validation controls)? Or do I have to create custom control web part?
    MercuryMan

    Hello,
    I think jquery/javascript can be used to put validations on those fields. Fortunately some of validation can be done via sharepoint itself like: email, phone, age. For Attachment and Qualification fields use jquery/JS.
    See below link for column validations:
    http://thechriskent.com/2012/08/15/validate-phone-number-columns-in-sharepoint/
    http://sharepointsolutions.com/sharepoint-help/blog/2011/12/how-to-validate-an-email-address-using-column-validation-in-sharepoint-2010/
    See this for attachment:
    http://stackoverflow.com/questions/4234589/validation-of-file-extension-before-uploading-file
    For qualification:
    http://sharepoint.stackexchange.com/questions/88064/hide-show-field-on-list-form-based-on-value-from-another-field
    Hope it could help
    Hemendra:Yesterday is just a memory,Tomorrow we may never see<br/> Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • I need to validate field in repeated region

    I need to validate a form that is inside a repeated region,
    therefore the
    name of the form element changes, like ... name1, then same
    field next row
    is 'name2', and so forth ... I haven't been able to find help
    nor tutorials,
    I need to get this done over the weekend, does anyone knows
    someone who I
    can hire to do this job ?
    A

    I did, I just don't know how to validate them .... any clues
    A
    "Randy Edmunds" <[email protected]> wrote in
    message
    news:eesnug$bbd$[email protected]..
    > Alejandro,
    >
    > To use form elements in a Repeat Region, you'll need to
    setup a scheme to
    > automatically generate unique ids/names for each
    element. And do it in
    > such as way that you can interpret the data later.
    >
    > HTH,
    > Randy
    >
    >
    >> I have a page that updates multiple records, the
    first field in the
    >> repeated region is a date.
    >>
    >> I need to validate that the information entered in
    such field is a date,
    >> keep in mind this is not just one field but a
    repeated region. I tried
    >> using my regular form validation extensions but none
    work.
    >> Is there a way to validate form elements inside a
    repeated region ?

  • Events in Table Maintenance - How validate fields and deliver error message

    Simple transparent table.  I have generated one step table maintenance.  I use a view variant to make some fields display only.  I would like to use Events to provide some validation.  For example: If field STATUS = 'T', then field QUANTITY must be > 0.
    So far, I have tried events 05 and 21.  When the user tries to enter a new row, I can issue an error message that is returned to the screen.  The problem is that the screen is no longer typeable, i.e. the user cannot correct the error.  They have to exit and start over.
    Is there a different event or different coding I should provide to open up the screen for typing?

    Hi,
    Tried 'message type 'I' display like 'E''', in event 5 and 21. The non-key fields are now typeable but the validation is not enforced, i.e. you get a message that you must enter a QUANTITY but you can save the row without entering a QUANTITY.
    Yes I was afraid of that... that's why I would use the event 01 (with 05, if user still tries to save invalid entries, 01 will block). Normally when you get the error and press the ENTER key, you should get back to your table in edit mode... Well this is happening on my system...
    I'll let you know if I got a better idea...
    Kr,
    Manu.
    Edited by: Manu D'Haeyer on Nov 10, 2011 5:01 PM

  • Validate field in tabular forms apex 4.2

    Hi.
    i need help doing next validations :
    1.- i have a product_item field (wich is a lov and user choose one value), so i need to call a function (sending it the selected value product_item) that will return me some data about the product i selected, for example :
    if the function return 'A' then
    disable the next item on tabular form, lets say quantity
    else
    enable the next item on tabular form, lets say quantity
    end if
    2.- i need to determine the result of two items operations:
    total := final_quantity - start_quantity
    the user will introduce start and final quantity and i will determine the total.
    any ideas ?
    i am new on apex and need to do this on tabular forms.
    thanks in advance.

    Thomas,
    Is this a standard APEX tabular form validation, or a custom PL/SQL based validation? It might be easiest to diagnose what's going on there, if you could replicate this issue on apex.oracle.com, and point us to an example.
    Thanks,
    Marc

  • USEREXIT to update BSEG-BVTYP field through VF01 transaction

    Hi Folks !
    I have a requirement where I have to update the Partner Bank Type(BSEG-BVTYP) field through the transction VF01.
    I tried with many exits like SDVFX008, RV60AFZC, RV60AFZZ and Includes like ZXVVFU01, ZXVVFU08, but unfortunately no results.
    I want to know which structure is passed from SD to FI when we create a invoice in VF01.
    Please help me, how could i update this field through VF01.
    Thanks in advance !

    Hi Sudarsan
    What u r telling u tried the exit
    SDVFX008 and u didnot get the solution.
    This exit is for the structure sd-fi only and i have created 2 projects with this for somw enhancement and its  populating with vf01.
    Pls try to craete a project on this exit and write code in the functionm exit of that definitely u will get the solution.
    Rajendra

  • How to validate a field in Asset master?

    Hi,
    I have requirement like need to validate field ANLA-TYPBZ,
    Data uniquely passing to this field, i need to check whether data already exist or not while creating asset master using AS01 transaction.
    eg: suppose ANLA-TYPBZ = 12345' entry is there in the table, if i tried to post the data using AS01 as '12345', it should give error message.
    Thanks.

    hi,
    Follow the below steps:
    1. create a validation in GGB0 at node Assets - > Master Data
    2. create a routine in program where these validations were written. It is a copy from RGGBR000
    3. activate validation: append a record in transaction OACV
    http://wiki.sdn.sap.com/wiki/display/ERPFI/Validations
    Regards
    Alok
    Edited by: alpatr on Nov 21, 2011 8:12 AM

Maybe you are looking for

  • Windows stops responding and closes when I try to print

    I have IE 9 on a vista 64 bit.  Recently I had some problems with print jobs staying in the que.  I resolved that and reinstalled the printer and drivers.  I have a photosmart 5514.  Ever since that day I can't print off a webpage.  Coupons, bank sta

  • Connecting an hp pavilion p7-1155 to my tv

    how do I connect my p7-1155 to my hdtv? I don't see any hdmi output on my computer. I have an avr with hdmi conns and others I can use. It's a marantz 7008.My tv is panasonic top of the line plasma. I want to use the tv as a monitor so I can surf fro

  • Requirement of sending Sapscript through mail and fax

    I need help in code for sending sapscript through email or fax as the data is maintained in customer master table . If anybody has done so please help. I do not want to use CONVERT_OTF function and SO...API1 function.

  • No Sound On My Ipod Touch

    I put in my headphones and NO SOUND at all...not on videos not on music not even on itunes samples...the only sound that comes out of my ipod touch are the alarms! thats it! i tired restarting it...i might restore it...i dont know

  • Ipad will not turn on but shows in itunes?

    I have an iPad 4S which has been working absolutely perfectly until  now.  I put it on charge after it ran out and it will not turn on now.  I have connected it to my PC and it shows up in iTunes but still won't turn on.  At one point I tried moving