T-code FB01 ,validation on field XBLNR require?

hI,
is there any way available to validate XBLNR-Reference Document Number field of T-code FB01.
I want to validate it if the value entered by user already exists or if this field is blank than i have to send error message.
Is there any user-exit or Standard way available or
simply can i make this field mandatory.
Please suggest..
Regards,
Mayank

Hello,
You can do this using FI-Validations (trxn. GGB0). The node will be Financial A/c'ing --> Document Header.
You can search in SDN as to how to implement the "Validation".
Hope this will be of some help.
BR,
Suhas

Similar Messages

  • User exit for validation of field NEWKO in f-48 tcode in finance

    hi,
           Previously we  validated the Field XBLNR (Reference) in the document header from the table EKKO, for the PO Number. now we want to validate the vendor number(LIFNR)  in the field NEWKO from the table EKKO with reference to the PO number entered in the field XBLNR.
    we want to find out the correct user exits or any enhancement for the above validation.
    pls help me in this regard ,matter most urgent.
    Thanks & regards
    veera

    hi,
    for f-48 you could use FI-validation with tcode OB28
    use an exit (UK...) for your check in Program ZGGBR000
    A.

  • Struts validator for two fields(conditional required)

    Have a Drop down and an input field.
    When user selects "Type 1" from drop down only then the input field is required. otherwise it's not a required field.
    Looking at the validator guide in struts maybe I have to create a new validator rule which should check if drop down value "Type 1". But not sure how to code to say that the input field is required here.
    How to do this?
    Thanks.

    Yes you have to check for drop down value "Type 1".
    when you hit on submit it goes to the validation function right ...
    there add a condition. Check if tpe 1 is selected , if so proceed validation the text box , else skip that validation and come out.

  • Field STCEG required at FB01 (one-time vendor account)

    Hello,
    Does anyone know how to put the field STCEG required when posting, through FB01 or similar, to an one-time vendor account?
    Thanks!

    Hi,
    Account group field status determine the status while creating/ changing the master data.
    For posting, you can control via posting key setting or field status assigned to gl.
    As you need to make it as required only for one time vendors, so create a validation in OB28/ GGB1 for it.
    Regards,
    Gaurav

  • Unique problem with validation/ making field required

    I have searched the forums trying to find a way to make a field required based on the users selection of a check box, or something else. So far, everything says use nullTest = "error".
    I have tried to do this and get the following results: The red highlighting, which shows up around my other required fields, will not show up unless you click in the text box and then out of it. Weird! Then, when pressing the submit button, it will not actually give you an error message if there is nothing in that text box, as it will if there is nothing in the fields that I originally make required.
    Any thoughts, or fixes would be greatly appreciated.
    Thanks in advance for any help.

    We do the same thing here. We haven't had any issues with the submit not validating the field correctly though. Our only issue was the red highlighting. To get around this, we would call resetdata on the field. resetData clears out the value of the field so you need to store it off and then reset it.
    if (form1.BP1.ChangeActivities.Pos1.Department==1) then $.validate.nullTest = "error" else $.validate.nullTest = "disabled"
    endif
    $=$
    var x = $
    xfa.host.resetData("form1.BP1.ChangeParticulars.Pos1To.DeptNo")
    $ = x

  • MAKING PAN NO. FIELD AS REQUIRED EITHER T-code- J1ID OR XK01

    pL. PROVIDE THE SOLUtion for making pan ( personal account no.) field as required either in T-code- J1ID OR XK01.
    Edited by: nirupama swain on Mar 31, 2010 5:57 AM

    HI,
    Try these links,
    PAN NO. mandatory in Vendor Master
    Re: Vendors PAN Number field Mandatory in Vendor Master Data
    Re: PAN Number Field Mandatory in Vendor Master
    Regards
    KK

  • Validating some fields like Co Code & Bus Area

    Dear Friends,
    I am uploading Co Codes & Bus Area from excel sheets into the Ztable. Now I want to check if the Co Codes & Bus Area are not existing in the table T001 & TGSB then those values should not be uploaded in the zTable & should throw the error.
    Plz help me in doing this.
    Waiting for ur responses.
    Thanks & Reg,
    Nishu

    Hi Satesh,
    I am posting the code for you, plz tell me where to put the correct code to check the fields from the table.
    tables: bseg, zfi_tbl_qty.
    data:
            t_excel like alsmex_tabline occurs 0 with header line,
            l_excelfile(128)  type c,
            l_excelfile1(128) type c,
            l_excelfile2(128) type c,
            l_excelfile3(128) type c.
    data: begin of t_type,
           bukrs like bseg-bukrs,
           gsber like bseg-gsber,
           count type i,
         end of t_type.
    data: l_charlen1 type i,
          l_charlen2 type i.
    data:  t_type2 like t_type occurs 0 with header line.
    data:  l_end_row type i,
           l_endrow1 type i,
           l_count type i.
    data : q_count type i value 1,
           v_flag  type i value 0,
           v_gsber like t_type2-gsber.
    selection-screen begin of block b1 with frame title text-001.
    parameter :  p_file1  type rlgrap-filename obligatory,
                 p_file2  type rlgrap-filename obligatory,
                 p_file3  type rlgrap-filename obligatory,
                 p_file4  type rlgrap-filename obligatory.
    selection-screen end of block b1.
    *perform updation_tbl.
    *clearing the contents of database table before uploading a new file everytime
    delete from zfi_tbl_qty.
    *selection-screen
    at selection-screen on value-request for p_file1.
      call function 'KD_GET_FILENAME_ON_F4'
        exporting
          field_name = p_file1
        changing
          file_name  = p_file1.
    at selection-screen on value-request for p_file2.
      call function 'KD_GET_FILENAME_ON_F4'
        exporting
          field_name = p_file2
        changing
          file_name  = p_file2.
    at selection-screen on value-request for p_file3.
      call function 'KD_GET_FILENAME_ON_F4'
        exporting
          field_name = p_file3
        changing
          file_name  = p_file3.
    at selection-screen on value-request for p_file4.
      call function 'KD_GET_FILENAME_ON_F4'
        exporting
          field_name = p_file4
        changing
          file_name  = p_file4.
    at selection-screen.
      l_excelfile  = p_file1.
      l_excelfile1 = p_file2.
      l_excelfile2 = p_file3.
      l_excelfile3 = p_file4.
    if l_excelfile = l_excelfile1 or l_excelfile = l_excelfile2 or l_excelfile = l_excelfile3
        or l_excelfile1 = l_excelfile2 or l_excelfile1 = l_excelfile3 or l_excelfile2 = l_excelfile3.
            message e010(zn) with 'Files with the same name found Please enter again. '.
    endif.
    start-of-selection.
      perform upload_table using l_excelfile   5 2 6 4000.
      perform upload_table using l_excelfile1  5 2 6 4000.
      perform upload_table using l_excelfile2  5 2 6 4000.
      perform upload_table using l_excelfile3  5 2 6 4000.
      message i010(zn) with 'Files Uploaded Successfully.'.
    ************Calling the other program for posting
    SUBMIT ZFI_REP_IS_CHARGES_POST.
    *Calling the subroutine.
    form upload_table using filename
                           i_begin_col type i
                           i_begin_row type i
                           i_end_col type i
                           i_end_row type i.
      clear   : t_excel.
      refresh : t_excel.
      v_flag = v_flag + 1.
      call function 'ALSM_EXCEL_TO_INTERNAL_TABLE'
        exporting
          filename                = filename
          i_begin_col             = 5
          i_begin_row             = 2
          i_end_col               = 6
          i_end_row               = 4000
        tables
          intern                  = t_excel
        exceptions
          inconsistent_parameters = 1
          upload_ole              = 2
          others                  = 3.
      case v_flag.
        when '1'.
          perform fill_int_tab.
        when '2'.
          perform fill_int_tab.
        when '3'.
          perform fill_int_tab.
        when '4'.
          perform fill_int_tab.
      endcase.
    endform.                    "upload_table
    *uploading data from internal table into database table
    *&      Form  fill_int_tab
          text
    -->  p1        text
    <--  p2        text
    form fill_int_tab .
      clear   : t_type2, q_count.
      refresh : t_type2.
      describe table t_excel lines l_endrow1.
      l_endrow1 = l_endrow1 / 2.
      do.
        loop at t_excel where row = q_count.
          if t_excel-col = 1.
            t_type2-gsber = t_excel-value.
          elseif t_excel-col = 2.
            t_type2-bukrs = t_excel-value.
          endif.
        endloop.
        l_charlen1 = strlen( t_type2-bukrs ).
        l_charlen2 = strlen( t_type2-gsber ).
        if ( t_type2-bukrs <> ' ' and t_type2-gsber <> ' ' ).
          if ( l_charlen1 = 4 and l_charlen2 = 4 ).
            append t_type2. clear t_type2.
          endif.
        endif.
        q_count = q_count + 1.
        if q_count > l_endrow1.
          exit.
        endif.
      enddo.
      sort t_type2 by bukrs gsber.
      loop at t_type2.
        clear v_gsber.
        l_count = l_count + 1 .
        v_gsber = t_type2-gsber.
        at end of gsber.
          at end of bukrs.
            zfi_tbl_qty-company_code = t_type2-bukrs.
            zfi_tbl_qty-barea = v_gsber.
            zfi_tbl_qty-comb = l_count.
            if v_flag = 1.
              zfi_tbl_qty-type = 'D'.    " Desktop
            endif.
            if v_flag = 2.
              zfi_tbl_qty-type = 'L'.    " Lap Top
            endif.
            if v_flag = 3.
              zfi_tbl_qty-type = 'N'.    " Lotus Notes
            endif.
            if v_flag = 4.
              zfi_tbl_qty-type = 'S'.    " SAP ID
            endif.
            insert into zfi_tbl_qty values zfi_tbl_qty.
            clear l_count.
          endat.
        endat.
      endloop.
    endform.                    " fill_int_tab

  • Setting form fields to required not working in Adobe Acrobat XI Pro

    This should be a simple matter. However, I'm stuck in a rut with it, and cannot seem to get out.
    I have created a form. All I need is for users to be prompted that they have to complete the form field when they try to tab or click out of that particular field where there needs to be information input. I have tried the following "on blur" java script code:
    if (!event.value) {
        app.alert("This field is required. Please enter a value.");
        event.target.setFocus();
    What continues to happen is when the user clicks out of that field, the error message comes up asking them to click "okay." The problem is that the error message does not go away after the user clicks it.
    What I've learned is that if you right click on a field and click "set as required field," it doesn't work in the way I need it to. In fact, it hasn't been working at all for me.
    Does anyone have a simple suggestion? I more than willing to try anything at this point.

    OK, so the custom calculate script for field B could be something like:
    (function () {
        // Get field values as strings
        var sA = getField("A").valueAsString;
        var sC = getField("C").valueAsString;
        var sD = getField("D").valueAsString;
        // Only perform the calculation if all fields are filled
        if (sA && sC && sD) {
            var sum = +sC + sD;
            event.value = sum;
            // Alert the user if the sum is more than A
            if (sum > +sA) {
                app.alert("Error message goes here");
        } else {
            // Blank this field if all fields are not filled in
            event.value = "";
    Instead of (or in addition to) an app.alert popup, you could place this message in a read-only form field, and clear it if there is no error condition.

  • Using javaScript to change a field from required to not required

    Hi,
    I have what seems like a simple question .I would like to know if it is possible to have a function call from my jsf code to a javascript function which could change a text field input from required to not required .
    I can do this through the server but would prefer to do it in the front end .
    e.g . I have a pull down list and when I click on one of the values it calls a function in javascript which changes a text field from required to not required .
    Hope this is clear .
    Thanks for your help.

    Instead of having the field required on the component defeiniton, put that requirement on code.
    Either way you can't do that on javascript. If you could do that then you could fool the aplication...

  • How to Make Field/InfoObject Required Entry/Mandatory in DataSel of IPackag

    Hi All,
    How to make InfoObject or field as required/Mandatory Entry in the Data Selection TAB of InfoPackage.(Flat File Extraction)
    Actually I have already Checked Selection Option of my required fields  in DataSource/Transfer Structure  TAB  but unable to make mandatory
    Rgds,
    C.V.

    Hi,
      you can do that using an ABAP program in teh infopackage. You should write code to trigger an exception and throw a message if the selection is not given.
    If it is possible to give selection by calulating a date like thing you can automate with ABAP code once again and can use it in teh process chain.

  • Validating Input fields in Interactive Adobe Forms with Webdynpro ABAP

    Dear Friends,
    Am new to Interactive Adobe forms with Webdynpro Abap,
    My scenario is, I have few Input fields, i need to handle the Messages when am not entering values in any of the Input Field,
    and raise the message when i click on Save Button.
    I have tried with setting the field as Required in Form itself, but i can't set the Field as Mandatory.
    I don't know how to do, Please give some needed points, as well needed some Script/Formcalc code.
    Thanks,
    Pradeep.

    Hi Pradeep,
    You can validate the fields by using javascript/formcalc logic in onclick event of button.
    Please refer the below links
    Adobe Form -How to make an Input Field Mandatory
    Validate Intercive Adobe Form
    Hope it helps you.
    Regards,
    Rama

  • "Valid on field" on VK13 screen

    Hi SD Gurus,
    Can anyone tell me if there is any link between the "valid on" field on condition records screen (VK11, VK12, VK13) and pricing reports.
    Thank You,
    Alekhya.

    Hi Alekhya,
    The field valid on in VK11/VK12/VK13 is for the validity of your condition record what ever you are maintaining.
    Till the given date your condition record will be valid.For example if the date is 1/12/2008.Means that price will come in the sales order for that condition type will come if you have created the order on or before that date.If that condition type is mandatory and if you create another order on 2/12/2008 means it will not fetch your price because it's validity expires.Then you have create new condition record for that or extend the validity period in change mode by VK12 T.Code.
    Regards,
    Mohan

  • HCM F&P - How to set the field as Required based on drop down values

    Hi Experts,
    I have a requirement to set the Date field as mandatory when a particular value is selected in drop down list. I have already tried with MessageBox though it displays the error message but process moves further i.e. on clicking Check & Send button it throws an error message but still it moves further and i can see only Send button. Ideally it should halt there itself.
    Thanks & Regards,
    Jitesh Talreja

    Thanks for your valuable inputs
    Chintan
    I have already tried this. It only highlight the field with the red border but still allow to move further.
    Mukesh
    Yes, we can definately control this from the backend but that would be the last option i should execute. Ideally, this is something to be controlled in front end itself
    Poornima
    By setting the field attrbiute Required will set the field mandatory as a whole irrespective of drop down values or any other UI element.
    Regards,
    Jitesh Talreja

  • CR12 - Formula editor, why do I get message "A field is required here"?

    In both cases below, I get the error "A field is required here".  How do I sum a text column that has numbers in it?
    Sum(ToNumber({data.TextColumn}))
    ToNumber(iif(isNumeric({data.TextColumn}),{outbound_bol_detail.weight},"0"))

    Hi John,
    Your if statement is a bit off.  Try doing it this way instead:
    If NumericText ({data.TextColumn}) Then
        ToNumber ({outbound_bol_detail.weight})
    Else 0;
    Also, have a look in File | Report Options and turn on Convert NULL Values to Default.  It's possible you may have NULLs in the data that Crystal is having problems with. 
    Good luck,
    Brian

  • How can I limit numeric codes in a text field?

    How can I limit numeric codes in a text field? For example I want to list Industry SIC codes and I want to block someone from inputting an exlcuded industry code.

    We don't offer that type of input restriction for a text field. 
    Can you create a list of all allowed codes and use a Drop Down menu or Single/multiple Choice field? 
    Thanks,
    Josh

Maybe you are looking for

  • Export to PDF with scaling

    Hello I have completed a book in InDesign at a specific page size Now, we decided we want the book to be 7% larger (a proportionate scale) Is there a way to export to PDF from InDesign to a specific scale ratio? I am asking this question here because

  • Mac update notifaction without updates...

    I just got an update note by my software update option, but there is noting in the list. Is this an apple error?

  • Is "out of box" Planning flawed?

    Hi, I just joined a company that is rolling out Planning v11.1 and noticed the same flaw in design that I found in Planning v9.3.1 over a year ago. In fact, Pillar was designed right - Take Forecasting of Payroll Taxes for example- Pillar calculates

  • Finder crashes every 60 seconds

    Hi there I've been going lots of googling the past couple of days but haven't turned up a solution yet... Finder crashes and relaunches every minute or so. "Remove the .plugin files and log out/in again" I hear you say. Done, no joy. Tried removing c

  • [Solved] No printer setup module in KDE 4.1 System Settings

    I have cups installed, and gutenprint, but I really don't know how to use them outside of the normal KDE 4.1 gui. However, when I invoke "System Settings" I see no printer setup module in either the General or the Advanced tabs. Any ideas what I migh