Validation or somethin else (for master records)

Hi everyone, I just want to set some rules in vendorsu2019 master records, and I donu2019t how I can do this with some validation or with something else. I want when sap user creates vendor master records, if the bank country key (field u2013 BANKS) is = u201CMKu201D, then the field Bank account number (field u2013 BANKN), must be 12 characters or the vendor master records canu2019t be saved. So please if is possible, then some one to send me detail (because i am new on this) example how it can be done.
Moderator: Please, search SDN

Hello,
You can control this using country specific checks in view V_005_B.
Use transaction code SM30 to maintain the settings here.
Also you can access the setting with below patch.
IMG > SAP NetWeaver > General settings > Set countries > Set Country Specific Checks.
Thanks!
Raju

Similar Messages

  • INSPECTIONPLAN_CREATE  (Specify a valid data import mode for master inspec)

    BAPI_INSPECTIONPLAN_CREATE this is the bapi where i am updating INSPECTION LPAN ,,,i am getting this error if i update it with (MSTR_CHAR )master inspection char or else it is updating. Is there any key field to be given? Even i tried passing C,L, but its not working... Can any one help me for this,,

    If you try this it will work,,,but here i have the import mode as 'N'.
         LOOP  AT lt_insp_char_temp INTO wa_insp_char_temp.
          wa_insp_char-inspchar          =  wa_insp_char_temp-merknr.
          wa_insp_char-mstr_char        =  wa_insp_char_temp-verwmerkm.
          IF wa_insp_char-mstr_char IS NOT INITIAL.
            wa_insp_char-cha_master_import_modus = 'N'.
          ENDIF.
          READ TABLE lt_qpmk  INTO wa_qpmk WITH KEY mkmnr = wa_insp_char_temp-verwmerkm.
          IF sy-subrc = 0.
            MOVE wa_qpmk-steuerkz TO wa_qmkst.
            wa_insp_char-quantitative_ind                 = wa_qmkst-quantitat.
            wa_insp_char-meas_value_confirm_ind  = wa_qmkst-messwerte.
            wa_insp_char-attribute_required_ind       = wa_qmkst-pruefkat.
            wa_insp_char-up_tol_lmt_ind                   = wa_qmkst-toleroben.
            wa_insp_char-lw_tol_lmt_ind                   = wa_qmkst-tolerunten.
            wa_insp_char-scope_ind                         = wa_qmkst-pumfkz.
            wa_insp_char-result_recording_type      = wa_qmkst-estukz.
            wa_insp_char-docu_requ                        = wa_qmkst-dokukz.
            wa_insp_char-confirmation_category     = wa_qmkst-rzwang.
            wa_insp_char-sampling_procedure_ind  = wa_qmkst-stichpr.
            wa_insp_char-qscore_and_share_relevant = wa_qmkst-ausslos.
            wa_insp_char-defect_no_confirmation    = wa_qmkst-bewfhlzhl.
            wa_insp_char-target_val_check_ind       = wa_qmkst-sollpruef.
            wa_insp_char-long_term_insp_ind          = wa_qmkst-lzeitkz.
            wa_insp_char-add_sample_quantity       = wa_qmkst-addpro.
            wa_insp_char-destructive_insp_ind        = wa_qmkst-zerstprf.
          ENDIF.
          wa_insp_char-pmstr_char            = wa_insp_char_temp-qpmk_werks.
          wa_insp_char-activity                   = wa_insp_char_temp-inspec_opr_no.
          wa_insp_char-char_descr            = wa_insp_char_temp-kurztext.
          wa_insp_char-smpl_procedure     = wa_insp_char_temp-stichprver.
          wa_insp_char-smpl_unit                = wa_insp_char_temp-probemgeh.
          wa_insp_char-smpl_quant            = wa_insp_char_temp-bmsch.
          wa_insp_char-spc_criterion_key  = wa_insp_char_temp-spckrit.
          wa_insp_char-dec_places            = wa_insp_char_temp-stellen.
          wa_insp_char-lw_tol_lmt              = wa_insp_char_temp-toleranzun.
          wa_insp_char-up_tol_lmt              = wa_insp_char_temp-toleranzob.
          wa_insp_char-meas_unit              = wa_insp_char_temp-masseinhsw.
          wa_insp_char-sel_set1                = wa_insp_char_temp-auswmgwrk1.
          wa_insp_char-psel_set1              = wa_insp_char_temp-qpmk_werks.
          wa_insp_char-infofield1               = wa_insp_char_temp-dummy10.
          wa_insp_char-pmethod                = wa_insp_char_temp-qpmk_werks.
          IF wa_insp_char_temp-spckrit IS NOT INITIAL AND
             wa_insp_char_temp-stichprver IS NOT INITIAL.
            wa_insp_char-spc_ind  = 'X'.
          ENDIF.
          APPEND wa_insp_char TO lt_insp_char.
          CLEAR:wa_insp_char.
        ENDLOOP.

  • Can validation check can be set for vendor master record .

    Hi Experts ,
    User wants to remove two existing payment methods,instead of removing i think to set validation for the vendor master record .
    can validation can be set for vendor master record ?
    PLease suggest me with advice.
    Thanks
    Pardha

    Hi,
    To my knowledge, validation can be set up for accounting document.
    Though a work around, create a validation such that
    Make the user enter the Payment method to be mandatorily entered by the user.
    Also, restrict the unwanted payments as well in the same validation.
    In case of APP also, the payment method in the document will take precedence.
    Regards,
    Sridevi

  • Creating a Validation for WBS Element in the Asset Master Record

    I would like to know how to create a validation in the AMR for the WBS Element field. I would like to have a particular Business Area when used be required to only use a WBS element that starts with, let's say, AL. Can someone shed some light on how I would set up my check in OACV?

    Hello
    You can validate or substitute data directly at the input stage. You make the settings for validation and substitution in the Implementation Guide (IMG) for Controlling, under Controlling General ® Account Assignment Logic ® Define Validation or Define Substitution
    Substitution and validation are only intended for actual postings
    For a complete description of validation and substitution, see the SAP Library under Accounting - FI Financial Accounting ® Special ledger ® Tools ® Validation and Substitution Rules
    Coordinate with ABAPer and make settings.
    Reg
    *assign points if useful

  • Close period for material Master record error

    my current period is 07 2010.
    I want to close period 07 2010, and make new posting to period 08 2010.
    but when i do the posting, system show error "Posting only possible in periods 2010/07 and 2010/06 in company code C999"
    PS: C999 is the company code that contains the plant P999
    And when i try to close the current period of material Master record  by MMPV, system show below information :
    "L O G
    Mode: Check and close period
    Client: 000
    Period entered (month/year): 07 2010
    Incorrect period in control rec. of CoCd C999; no conversion The current period (month/year) of the control record is 07 2010
    Period closing complete; log issued.
    E N D"
    and my current OB52 setting is below:
    Please help to supply some suggestion.
    P999     +               1     2010     12     2010     13     2010     16     2010
    P999     A          ZZZZZZZZZZ     1     2010     12     2010     13     2010     16     2010
    P999     D          ZZZZZZZZZZ     1     2010     12     2010     13     2010     16     2010
    P999     K          ZZZZZZZZZZ     1     2010     12     2010     13     2010     16     2010
    P999     M          ZZZZZZZZZZ     1     2000     12     2010     13     2000     16     2010
    P999     S          ZZZZZZZZZZ     1     2010     12     2010     13     2010     16     2010
    V001     +               1     2000     12     2010     13     2000     16     2010

    Hi,
    Check in T.code: MMRV and see which period is open for ur Co.Code and back posting is allowed or not. If you are sure to open new period now of  new posting to period 08, then
    use t.code: MMPV ,
    enter
    Company code C999
    Period to open 08
    Fiscal Year 2010
    Execute
    ( system will close the period last period 07 and automatically system open the new one 08)
    Now try ur transaction.
    if any problem, then check  in FI Side:
    Use t.code: OB52 and open the 08,2010 period in Account Types A, K, D,M, S and specially Account Type u201C+u201D which stands for valid for all accounts type and save. Better consult FICO consultant for OB52 step.
    Regards,
    Biju K

  • Asset master record validation rule

    Dear All,
    Could you tell me the way, how i can write a validation/substitution rule in the Asset master record. I need to make sure the below steps shoud be the same:
    A. Cost center in the Aseet master record.
    B. Responsible cost center in the asset master record.
    C. Responsible cost center in the WBS element of the same asset.
    The above three should be the same. User should not be allowed to change, if tries to change error shoud be thrown.
    Regards,
    Suresh Patipati.

    OACV Define Validation
    OACS Define Substitution
    The Respond cost center is copied from the WBS to Asset. Set this field on display int he asset.
    Financial Accounting / Asset Accounting / Master Data / Define Screen Layout for Asset Master Data / Define Screen Layout for Asset Master Data
    When this give problems with the copy rule from PS you can set-up authorization groups
    Financial Accounting / Asset Accounting / Preparing for Production Startup / Authorization Management / Process Asset Views

  • Validations in GL Master Records

    Hi Gurus,
    My client wishes to have checks in creations of GL Master Records e.g. for creation of an account on putting the account group the system will check if the radio button "P and L Account or Balance Sheet Account", is correct or not, etc. The purpose of this is to create the GL accounts correctly without any errors. Can somebody help me in this please?

    Hi,
    Account groups are created for our convenience. The Account group controls the company code segment of GL account. It has not role in the Chart of Account Segment of GL account. And it controls the no range of GL accounts. The naming convention of an Account Group is freely definable. You can name a particular Account group as "Fixed Assets" and still you can define the GL account while creating under this as P&L account. It is the due deligence of the user who is creating the GL account whether it falls under BS item or P&L item. I do not think any sort of link/validation is possible between account group and BS/P&L checks

  • Error: A Master Record for 412000/4400PM only exists in 2007

    Hi Gurus,
    I was using the timesheet (CAT2) and while plugging in the data, i got this message: A Master Record for 412000/4400PM only exists in 2007.  When I clicked the log, the diagnosis is: you want to use cost center 412000 together with activity type 4400PM.  For this combination, however only one master data record was created in fiscal year 2007.  the record is defined in CCA during activity type planning. 
    Thanks in advance!
    Paul

    extend activity type validity..ask help from FI/CO consultant

  • Customer Master Record :Sales area INSO IN IN is not defined for customer

    Hi Experts
    I got error , when creating Customer Master Record .The error message likes below
    "Sales area INSO IN IN is not defined for customers" .I maintained all the settings .But why i am getting again and again the same error .Even i checkd in TVTA table in SM30 but is shows clear data , please tell me where i made mistake .
    I traid so many times maintain with new configuration ,but still field .Please what i have to done to over coome this issue .
    Your Suggestions needful to me .. Please
    Issue Details :
    Message no. F2644
    Diagnosis
    The sales area specified has either not been defined (i.e. there is no entry in table TVTA) or it refers to another sales area for customers (customer division/customer distribution channel in the TVTA detail screen). This means that the customer master data of the sales area entered correspond to the data in the reference sales area and customer master data only needs to be maintained for this reference sales area.
    Procedure
    You can display the relevant and therefore valid sales areas for customers by selecting "Extras" -> "Sales areas" -> "All areas".
    Regards
    Rajesh .P

    Maintain relevant entries in t.code VOR1 and VOR2 and then try again. Here assign the distribution channels and divisions to reference distribution channel and division.

  • Row level validation for Master-Detail form

    OA JDeveloper 9i (RUP5) 9.0.3.5 (Build 1453)
    I have a form which is based on a master detail relationship.
    - For each employees details (Advancetable) based on a EO (AbsenceInputsEO)
    - For each employee you can add one or more allowances records (AdvanceTable) VO (AbsenceInputsVO)
    Both the above VO and EO is based on the same table (XHR_BWCD_KRONOS_INTERFACE)
    How do stop a user from selecting (radio button) the next employee in an advance table (master level), it the the records they entered at the detail level for the previous employee is not valid?
    I used the the same validation method I used for the "APPLY" event to validate the records entered at detail level
    to the "EmployeeSelect" event, but the error message showed only after the new employee has been selected. Thus the error message that is displayed does not relate to the employee record selected at that stage.
    How do I prevent the user from selecting the next employee in the Master(Advancetable) if the records in the Detail(AdvanceTable) is not valid?

    Thanks for you help,
    Where able to reset the "SelectFlag" for the employee the error related to, but now I endup with two radio buttons being selected. One for the employee which the error relates to and one for the employee which triggered the validation when user navigated away from the current employee record.
    I need to be able to set the attribute "SelectFlag" for any other employee selected in the master record to "N", before the error is thrown. I do not seem to be able to access the newly selected employee record to set the "SelectFlag" to "N" as I only have access to the currentrow SelectFlag in the processFormData.
    It looks to be if I can only access the new selected employee in the processFormRequest(OAPageContext pageContext, OAWebBean webBean), but I never get to this method as the error message stop processing in the processFormData().
    I have the following code in the processFormData(OAPageContext pageContext, OAWebBean webBean)
    if ("EmployeeSelect".equals(event))
    if (!IsValid(pageContext,am,true,AsgJobName,EmpStartDate.toString()))
    // oracle.jbo.Row ValidationRow = vo.getFirstFilteredRow("SelectFlag", "Y");
    // Set flag for employee record with error
    Row [] rows = vo.getFilteredRows("SelectFlag", "Y");
    // getFilteredRows returns a zero-length array if it finds no matches.
    if ((rows != null) && (rows.length > 0))
    // Set the master row and get the unique identifier.
    Row masterRow = rows[0];
    am.findViewObject("EmployeeAbsenceDetailsVO1").getCurrentRow().setAttribute("SelectFlag","Y");
    vo.setCurrentRow(masterRow);
    // Unselect new Employee
    throw new OAException(ErrorMessage, OARowValException.ERROR);
    } // EmployeeSelect-Event
    Question:
    =======
    Can I access the newly selected employee rows from the processFormData to reset the "SelectFlag" to "N" before I through the error message? I would like to be able to do this in the section I have marked "// ?????", before I throw the error. How would I do this?

  • Creation of HR master record For a user when a time entry role is added

    Hi,
    Description summary:Automating creation of HR master record For a user when a time entry role is added to a user account
    Description detail:When time entry role is provisioned to a user account,the HR master record is linked,It is compleated after a user is created because a user id must exist .
    It is part of the record.In addition the user must be hired into SAP in order for the HR Master Record to Appear in SAP.
    What we need to do is when a 'Time and Personal Data Maintainer Role "is Added by the VIRSA_ADMIN user,automate the creation of the HR Master Record.
    Transaction code :SU01 to add the role to the Account.
    How to Create the User Exists For this Request…Its very urgent pls help me on this.
    Thanks.
    Vipin

    Why do you need a User Exit? You can create a BDC on PA40 & kick it off upon adding the role..
    ~Suresh

  • Automatic Creation of Scheduled Master Record for Scheduled Master Data

    Hi experts,
    We know that MRU and Portion are Scheduled master data but Scheduled master record is transactional data. So it is obvious that we have to generate scheduled master record in every server wher we transport the master data manually. And we can generate records for a particular time span and after that time we have to generate the records again.
    All I want to know that whether it is possible to get all the records generated automatically after certain period.
    Thanks,
    Arghya

    Hi,
    Scheduled records do NOT get created automatically , altleast not by any sort of configuration, in case you are looking for it.
    Your can always create custom program to do so, but it isn't worth the effort.
    You can create records for upto 7yrs ( do need to check but definitely for a period long enough)
    Hope that helps!!!

  • Automating creation of HR master record for a user when a time entry role

    Hi Abapers,
    We need an automated solution for the creation of the infotype 105 based on the addition of the time personal data maintainer role into an SAP user Account Master Record(PA30).
    Is it asking to add authorisation objects which would allow the user the time data, may be it is talking about 105 as user data is maintained in 105.
    For this requirement what I am going to do.Plz help me for this and how we can give authorization setting for a particular user plz send me some document.
    Thanks
    Sridhar.A

    Hi,
        You can create a BDC on PA40 & kick it off upon adding the role..
    Regards

  • PR, PO, GR for a consumable material without material master record

    Hi,
    I have created a complete cylcle till Invoice Verification for a material without a material master record.
    But i have one query i.e. in the cylce i created i had to create a GR before entering MIRO.  Is there any way by which i need not create a GR for a consumable material i.e. to be posted directly to a GL without any inventory management.
    In my case, the GR checkbox in the PO was automatically ticked.
    Can anyone help on this please.
    Regards,
    Laxmi

    Customizing Error Message in ME23N
    When displaying of modifying Purchase Orders with a document type of Framework Order,  a user selects the LIMITS tab, they get the error message Customizing incorrectly maintained, message number SE729.
    The problem is caused by version upgrades of the SAP software.
    Number of entries in table T162V is different to the number of columns in table control for screen SAPLMLSP (400).  You can use screen painter SE51 to display the screen.  View the Element list for TC_VIEW.
    The list of fields can also be viewed within the program.  Transaction code ML81N (service entry sheet), program SAPLMLSR.  Click on the Configuration button (top right hand corner) select Administrator.  This shows the number of fields as 67.
    Using SE16N to view table T162V shows 69 fields.  This table contains six layouts (variants), they must all be the same.  Before the change the total count was 414 (69 x 6). 
    The ME23N transaction only checks that the number of entries is correct.  You will notice that the fields are not in the same sequence, but that should not matter if you donot use the service transaction ML81N and it is not a selectable tab on ME23N.
    Transaction SM31 was used to delete the extra fields.  As this is a SAP table, you may need extra authorisations to make the change.
    Note:  the number of fields shown above will be different in each site.  This is because of different SAP versions and in what software is loaded. 

  • Solved - Group Fields for Vendor Master Records in IMG

    This was the solution.
    The new field's data element I added to LFB1 did not have the "change document" field checked.  I made that change and now that field shows up in IMG.
    Hello all,
    I added an append structure to the table LFB1.  This structure has 1 field.  I then created a "Modification-Free Enhancement of Vendor Master Record" to add the new LFB1 field to the vendor master screen, edit and display screens.  This is the 3rd time I have done this.  So far so good.
    Now our functional analyst went into IMG to add this new LFB1 field to a "Group Fields for Vendor Master Records" which we have done 2 other times.
    The new LFB1 field does not show up in the list of possible Table-fields.  
    There must be some other step I am missing.
    Does any of this ring a bell?  We are on version 4.7.
    Thanks
    Bruce
    p.s.
    This is the IMG path for adding 'Field Groups' to vendor master fields.
    Financial Accounting/
    Accounts Receivable and Accounts Payable/
    Vendor Accounts/
    Master Data/
    Preparations for Creating Vendor Master Data/
    Group Fields for Vendor Master Records
    Edited by: Bruce Tjosvold on Nov 21, 2008 1:18 PM

    Hi Vandana,
      There are several tables that are contain Vendor Master related data which can be used for extraction to BW. Some of the tables which can be useful for you are:
    LFA1 :  Vendor Master (General Section)
    LFM1 :  Vendor master record purchasing organization data
    LFBW : Vendor master record (withholding tax types) X
    WYT3 :  Partner Functions
    LFBK : Vendor Master (Bank Details)
    LFB1:  Vendor Master (Company Code)
    ADRC: Addresses (Business Address Services)
    ADR3: Fax Numbers (Business Address Services)
    ADR6: SMTP Numbers (Business Address Services)
    ADRT: Communication Data Text (Business Address Services)
    You may use the Data sources mentioned in the previous update from Venky above namely :
    0VENDOR_ATTR --- for master data attributes
    0VENDOR_TEXTS -- For texts
    Since the fields that you are using are from different tables so its better if you go for a Generic Data source where you can use the fields as per your requirement.
    Thanks
    Pawan
    Edited by: pawan190187 on Aug 19, 2011 12:40 PM

Maybe you are looking for

  • Saving LiveCycle PDF without opening the PDF

    One of our legacy web sites still uses LiveCycle 7.1 to generate and serve up PDFs to our end users. Instead of displaying the PDF, we would like to let the end user click a button on our site to pop up a file save dialog so that they can save the ge

  • ERS - MRRL - Not working Production Client

    Hi, While executing the transaction MRRL, it is generating a list of items, which are already posted. It is generating the list which does not have a status as postable. It is observed that some of the documents are already cleared and some are parti

  • Firefox 4 removed important data from MY.MSN homepage and won't allow me to access MSN helps

    Firefox 4 upgrade has wiped out important data I had on my My.MSN homepage and will not allow me to access the MSN homepage Menu or Options tabs. How do I get that information back and what happened to my other features?

  • No proper result for program

    Hi All, I am executing the following code but I'am not getting the Proper result. Can anybody help me out.. SQL> ed Wrote file afiedt.buf   1  declare   2  l_day varchar2(10);   3  begin   4  select to_char(sysdate,'DAY') into l_day from dual;   5  

  • Is it worthwhile to load windows 7 onto my MacBook Air? Will it slow down my computer?

    Is it worthwhile to load windows 7 onto my MacBook Air? Will it slow down my computer? What might be the benefits of having windows and mavericks as two different operating systems side by side?