MDG-F Custom field validation

Hello Expert,
I have extended MDG-F data model 0G for GL account with addition custom fields as mandatory field.
I have one change request to Change GL account . Now as I have some old accounts which doesn't have this custom fields have values.
When I trying to create CR with change GL account -> don't change any value -> submit
then this validation doesn't through any error.
Custom mandatory field still doesn't have any data but rules badi doesn't through any error bcoz no data change .
Any notes ? Reason ?
Thanks in advance ,
Varun

Hi Sanjay,
Custom field is mandatory and displaying with red mark.
So during change request creation ( Change request type is meant for changing GL account ).
Expected result is when user submit CR then mandatory error msg.
This is working correct when user change any of the field at UI.
Step 1. enter account no and COA
Step 2. enter Explanation
Step 3. Change any field at UI
Step 4. Summit -> CR generated with error ( Custom mandatory field is blank )
But
When if user do this.
Step 1. enter account no and COA
Step 2. enter Explanation
Step 3. No change
Step 4. Summit -> CR generated with error ( Custom mandatory field is blank )
Regards,
Varun

Similar Messages

  • Custom Field Validation

    Hello there
    Is it possible to use a Javascript function to validate a field, rather than use the “Validation Pattern” approach?  I am OK to write the function, however I also want to be able to use it with the Form Level Validation Settings (having the function run again when the form submits etc.).
    I have seen references to the “Run custom validation script” option on a Validate tab, however I don’t see these.
    I am using LiveCycle Designer 9. 
    Many thanks
    Geoff Olding

    Tried it here and it worked fine. Here is my code on the Validate event of the field I wanted to test:
    if (this.rawValue == "1111"){
    true
    } else {
    false
    If the user enters 1111 in the field then true is rturned and nothing will happen and the tab will put thecursor in the next field. If they eneter anything else then false is returned and the Validate script error message is displayed.
    Paul

  • ESS Leave Application - Custom Field - Validation

    Hi,
    We have added two fields that are being shown in ESS Leave. Fields which are added are KEPAU and EXPAU through SPRO.
    We want to do validation on these fields.
    KEPAU is Annual Ticket and EXPAU is Vacation Allowance
    We have implemented BADI PT_ABS_REQ to do validation but in this BADI these fields are not being populated.
    Anyone knows that why these both fields are not appearing in BADI?
    Thanks,

    You need to check in  PT_ARQ_REQUEST_CHECK.
    and also read here
    http://wiki.sdn.sap.com/wiki/display/ERPHCM/ValidationsforESSLeaverequest

  • SBL-DAT-00398 error msg for User Field Validation

    Hi All,
    I have created the following field validation on the User field "Division": Len([<Division>])>0 AND InStr([<ltValidation_OU_ITAG>],[<Division>])>0, As the "Division" field is free text, the porpuse of the validation is to prevent the user from entering in this field any value that is diffrent from the ones available in the custom field "Validation OU" via the User Owner Page Layout. The validation works OK for Admin Role via the User Admin Page Layout but a SBL-DAT-00398 error msg stating " Field '<Division>' does not exist in definition for business component 'Occam Current Employee' " appears when users with other roles are trying to update this field via the User Owner Page Layout.
    I have contacted OD Customer support and they validated this in several POD saying this "is most likely a defect in the application" and a CR will be submitted to dev team to fix it sometime in the future.
    I am wondering though if support isn't making life easy here stating the above...:
    1. Anyone encountered this error before? (couldn't find any trace for this on My Oracle Support)
    2. Anyone aware of field validation limitations for the 'User' entity?
    3. Workaround suggestions are welcomed
    10X for you help!
    Alex.

    Error(), fatal(), info() and warn() issue FacesMessages that get picked up by the MessageGroup component.
    By adding in the uicomponent you can target the facesMessage so that it gets picked up by the Message component associated with the field causing the error.
    But, to get the label to show the error as well, you need to throw a validationError. See this tutorial for more informaiton:
    http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/customvalidator.html
    Lark

  • Validation of Enterprise Customer Fields in Project Creation Page

    I want to do the validation on the Enterprise Custom Fields of PWA site for Project center. A set of custom fields have been added on the Project Creation Page.
    Custom Business Validation (such as a field value should be unique or based on another field) is required for some custom fields. This validation is required on clicking Save button in Project Creation Page of Ms Project Server 2010. The validation ought
    to be done on clicking "Save" button.
    Any help in this regard would be apppreciated.

    The link mentioned by you ToonS is not acessible.
    Here is the link:
    http://msdn.microsoft.com/en-us/library/office/gg615466(v=office.14).aspx
    Hope this helps,
    Guillaume Rouyre, MBA, MVP, P-Seller |

  • Perform a simple validation of a custom field in AI_CRM_ORDER_SAVE

    Hello,
    I want to perform a custom validation of a custom field just before saving my order.
    I found out I should do this in the CHECK_BEFORE_SAVE method of the AI_CRM_ORDER_SAVE Badi, but I cannot figure out how to get the value entered in my custom field.
    Can anyone point me in the right direction?
    Thanks in advance!
    Regards,
    Tim.

    Hi Shailaja Gandam,
    I am having the same error.
    But for me its a little diferent.
    The error only occurs when I'm saving more then 2 objects, then on second order it try to save a guid from the previous loop step.
    I clean every objects on beginning of the loop, but its not working.
    I think its buffers or someting like it
    Have you solved your problem?

  • Field Validation on Custom Obj. 4:  Value of one field making other Req.

    Hello All,
    I have been working on a field validation problem for a while. I have a custom Picklist on CO4. This picklist has two values YES and NO (a checkbox does not meet requirements). What I need to do is If Picklist='YES' then FieldA, FieldB, and FieldC are Required else they are not required. FieldA = Text (short), FieldB = Date, and FieldC = Currency. I've tried numerous ways to validate on Fields A, B, and C with statements like IIf(Picklist=LookupValue(Picklist,"YES"),FieldA<>NULL,FieldA) or IIf(FieldValue(Picklist)="YES",FieldA<>NULL,FieldA) etc... these were just my latest attempts at this point I'm jsut trying random things to try to get it working. I am probably using incorrect syntax (even though it passes the sytax checker). If anyone has any suggestion let me know. Also if I haven't made clear what it is I'm attempting to do let me know and I'll try to clarify.
    Thanks,
    Z

    Hi,
    if I understand correctly, you want this functionality:
    If Picklist = NO => it doesn't matter what values are contained in Field A, B and C.
    If Picklist = YES => Field A is not null and Field B is not null and Field C is not null
    To trigger the validation when the picklist value changes then you have to configure the Field Validation for the Picklist:
    [<Picklist>]=LookupValue("Picklist","NO") OR ( Len([<Field_A>])>0 AND Len([<Field_B>])>0 AND Len([<Field_C>])>0 )
    You have to put the validation also on Field_A and Field_B and Field_C, because in case of an update of , let's say, Field_B, you should prevent that Field_B is blanked.
    If someone updates only Field_B and he doesn't change the value of the Picklist, the validation expression put on the Picklist is not evaluated.
    Simona

  • Validating Custom Fields

    Hi All,
    I added 3 custom fields in the service order item shopping cart.
    I am trying to validate those 3 fields.
    I implemented the code in "BBP_DOC_CHECK_BADI" BADI.
    The problem is the error is raised as soon as I enter the data and click on
    " Add to Shopping Cart " button.
    But I want the error to be raised once we enter something in the custom fields and click on Check button.
    Appreciate any inputs.
    Thanks,
    Vinay

    Hi,
    You need to write the code in the CHECK badi only to raise the error message on click of CHECK button.
    Please refer the foll link for sample code for teh BADI;
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/srm/srmBADIRepository&
    BR,
    Disha.
    Pls reward points for useful answers.

  • User exit MM06E005 - Customer fields in purchasing document

    Hi,
    I am using user exit MM06E005 - Customer fields in purchasing document to validate the line items in PO and display the value at header level.
    My requirement is when the user enters the line items and press enter the validated value should get populated at header level.I had included a tab (customer tab) in that the value should get displayed.
    likewise for each and every line items the value should keep on changing.
    And
    I the field that i had added at header shows the value during the save but once we come out and enter again,it is not displaying the same.
    Regards
    Manoj

    Hi,
    Indeed the exit which you have specified MM06E005 comprises the enhancement for customizing fields and screens associated with it. may be you might not have activated the screen associated with the exit. the screen might have been created but missed while activating.
    Regards,
    Jagath

  • MM06E005 - Customer fields in purchasing document

    Hi,
    I am using user exit MM06E005 - Customer fields in purchasing document to validate the line items in PO and display the value at header level.
    My requirement is when the user enters the line items and press enter the validated value should get populated at header level.I had included a  tab (customer tab) in that the value should get displayed.
    likewise for each and every line items the value should keep on changing.
    And
    I the field that i had added at header shows the value during the save but once we come out and enter again,it is not displaying the same.
    Regards
    Manoj

    got my solution...

  • Creating a new project with custom fields using web services

    I've been trying unsuccessfully for the last week or so to successfully create a new project from web services and I believe the main problem that I've been running into is that one of the required fields is a custom field. I've tried creating the Project
    in a couple of different ways and haven't had any success up to this point, so any help would be appreciated. I've tried creating it with both a REST call to /_api/ProjectServer/Projects and a SOAP call to /_vti_bin/PSI/Project.asmx. Below are the best shots
    I've made at the two different calls with the errors I received. If anyone has any leads on the best way to do this the help would be appreciated!
    REST POST /_api/ProjectServer/Projects
    'odata.type' : 'PS.PublishedProject',
    'Name' : 'OData Name',
    'Custom_9d77d62aa92e4d40adc8446c90eb7456' : "O&M"
    Response
    error: {
    code: "11713, Microsoft.ProjectServer.PJClientCallableException"
    message: {
    lang: "en-US"
    value: "PJClientCallableException: CustomFieldRequiredValueNotProvided CustomFieldRequiredValueNotProvided mdpropuid = 9d77d62a-a92e-4d40-adc8-446c90eb7456"
    SOAP POST /_vti_bin/PSI/Project.asmx
    <?xml version="1.0" encoding="UTF-8"?>
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:proj="http://schemas.microsoft.com/office/project/server/webservices/Project/" xmlns:projds="http://schemas.microsoft.com/office/project/server/webservices/ProjectDataSet/">
    <soapenv:Header />
    <soapenv:Body>
    <proj:QueueCreateProject>
    <proj:dataset>
    <ProjectDataSet xmlns="http://schemas.microsoft.com/office/project/server/webservices/ProjectDataSet/">
    <Project>
    <PROJ_UID>e1c2d38b-1529-4128-b707-42a94045e55b</PROJ_UID>
    <PROJ_NAME>Proj Dept Test 2</PROJ_NAME>
    <PROJ_TYPE>0</PROJ_TYPE>
    </Project>
    <ProjectCustomFields>
    <CUSTOM_FIELD_UID>4802a711-62a0-4f84-8e08-c7d22daadb5b</CUSTOM_FIELD_UID>
    <PROJ_UID>e1c2d38b-1529-4128-b707-42a94045e55b</PROJ_UID>
    <MD_PROP_UID>9d77d62a-a92e-4d40-adc8-446c90eb7456</MD_PROP_UID>
    <FIELD_TYPE_ENUM>21</FIELD_TYPE_ENUM>
    <CODE_VALUE>a47930d6-b89d-4f3a-b4e3-522015fe82a1</CODE_VALUE>
    </ProjectCustomFields>
    </ProjectDataSet>
    </proj:dataset>
    <proj:validateOnly>true</proj:validateOnly>
    </proj:QueueCreateProject>
    </soapenv:Body>
    </soapenv:Envelope>
    Response
    <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
    <s:Body>
    <s:Fault>
    <faultcode>s:Server</faultcode>
    <faultstring xml:lang="en-US">ProjectServerError(s) LastError=GeneralUnhandledException Instructions: Pass this into PSClientError constructor to access all error information</faultstring>
    <detail>
    <errinfo>
    <general>
    <class name="General Unhandled Exception in _Project.QueueCreateProject_">
    <error id="42" name="GeneralUnhandledException" uid="184feeaf-906a-e411-9b2a-00155d388b02" Exception="System.Data.StrongTypingException: The value for column 'PROJ_TYPE' in table 'Project' is DBNull. ---> System.InvalidCastException: Specified cast is not valid.
    at Microsoft.Office.Project.Server.Schema.ProjectDataSet.ProjectRow.get_PROJ_TYPE()
    --- End of inner exception stack trace ---
    at Microsoft.Office.Project.Server.Schema.ProjectDataSet.ProjectRow.get_PROJ_TYPE()
    at Microsoft.Office.Project.Server.BusinessLayer.Project.FixupProjectType(ProjectDataSet projDS)
    at Microsoft.Office.Project.Server.BusinessLayer.Project.QueueCreateProject(Guid jobUid, ProjectDataSet dataset, Boolean validateOnly)
    at Microsoft.Office.Project.Server.Wcf.Implementation.ProjectImpl.&lt;>c__DisplayClasse.&lt;QueueCreateProject>b__d()
    at Microsoft.Office.Project.Server.Wcf.Implementation.WcfMethodInvocation.InvokeBusinessObjectMethod(String businessObjectName, String methodName, IEnumerable`1 actions)"/>
    </class>
    </general>
    </errinfo>
    </detail>
    </s:Fault>
    </s:Body>
    </s:Envelope>

    Julie,
    You can create the fields that are project specifc & you can create fields that apply to all projects but have specific options for projects. Your goal is to create fields that are specific to each project, but right now you get all fields from you old project - is this correct?
    From your description below it appears that the fields in your original project are marked as applied to all projects & hence when you create a new project they are inherited. If you mark those fields as applied to certain project & then create a new project those fields will not be inherited.
    But you are right in the sense that it is limiting that there is no multi-select for "applies to" field.

  • How to update a custom field in declarative workflow with VS 2013

    Hello,
    How to update a custom field in declarative workflow with VS 2013
    any help would be appreciated!!!!!
    Thanks regards, Vignesh.

    Dear all,
    I'm using 4.6C right now, i already implement BADI MEREQ001, but this only valid
    for creating PR via ME51N.
    I found an EXIT_SAPLEBND_001 and tried to implement it,
    but i got another difficulties since how i transfer CEBAN structure to EBAN structure.
    thanks very much.
    Regards,
    Billy

  • Error in adding custom fields to mm01/mm02/mm03 trx

    Hello People,
    To add my custom fields in the basic view tab of MM01 transaction, i have performed the following steps:-
    1. Inserted the append structure in MARA table with the required fields.
    2. Copied function group 'MGD1' to 'ZMGD1' and then set the layout of screen '0001' as per my requirement.
    3. Then i made changes in spro as
         SPRO->Logistics-General->Material Master->Configuring the material master->define structure of data screens for each screen sequence and inserted my program name( of function group 'ZMGD1') and screen number(0001) in 21(Std ind.(short) tab pages)->7(Basic Data 1)->8(sequence).
    Now, if i click on SPRO option (view data screen), then i can see my fields added in basic data view...
    but when i execute 'MM01/MM02/MM03' trx  there my added fields do not appear....
    Does anyone know where i am missing out??
    Please suggest...
    Thanks in advance..
    Rgds,
    Abhi

    Here are some notes I have from when I recently added a new screen/subscreen to Material Master transactions.  Hopefully this information will help you.
    This guide should be used in conjunction with OSS note 44410 and IMG notes Logistics->Logistics Material Master->Material->Configure Customized Material Master.
    Online Maintenance.
    1. Add fields to append structure ZAEMARA.
    Use data dictionary maintenance u2013 SE11
    2. Generate table MARA.
    3. Add fields to view MARU and generate.
    Use data dictionary maintenance u2013 SE11.
    4. Create new sub-screen or add new fields to screen SAPLYMM1 9001.
    Use Screen Painter u2013 SE51.
    Change flow logic to add fields to field: statement and to add any validation required. Generate screen.
    If this is the first time additional data has been added to material master it will be necessary to create a new function group and associated programs. See Configure Customised Material Master paragraph Requirements.
    5. If new sub-screen, add to Customer main screen.
    Transaction OMT3.
    Double click on u2018Std industry sequenceu2019.
    Choose customer screen and Details.
    Change the first occurrence of 0001 (blank screen) to new screen number.
    Save.
    Back arrow.
    Click on Transport button and choose required transport.
    6. To include in 'Copy with Reference' processing - MM01, add new MARA fields to table T130F. (in each client)
    Use Transaction SM31. (make a copy of another ZZ field by typing over existing name).
    Add to transport manually:- R3TR TABU T130F + individual keys
    7. Test Material create, change, display.

  • New Custom Field in MB1B Tcode

    Hi All,
    In my requirement i have to add 4 custom field in MB1B TCode Screen.
    Please suggest some screen exit or BADI for the same.
    Please suggest some sollution.
    Moderator message: please do more research before asking, show what you have done yourself when asking.
    Edited by: Thomas Zloch on May 23, 2011 12:50 PM

    Hi Parikshit,
    There is no badi or user exit available to add a custom fields.If that fields are standard one then it can be controlled against the movement type.Go to T code: OMCJ .Select the movement type, and click on display. And maintian the filed settings accordingly.
    Post if need help.
    if you need validations there are some exits.
    TCode MB1B
    EXIT_SAPMM07M_001 - MBCF0002 - Customer function exit: Segment text in material doc. item
    EXIT_SAPMM07M_003 - MBCFC003 - Maintenance of batch master data for goods movements
    EXIT_SAPMM07M_004 - MBCFC004 - Maintenance of batch specifications for goods movements
    EXIT_SAPMM07M_005 - MBCF0006 - Customer function for WBS element
    EXIT_SAPMM07M_009 - MBCF0009 - Filling the storage location field
    EXIT_SAPMM07M_010 (Propose Batch / Transfer Batch) - MBCFC010 - Propose batch number on Inventory Management item screen
    Regards,
    Madhu.
    Edited by: madhurao123 on Jun 28, 2011 9:44 AM

  • Issue with new Custom field value in Material UI (EHP5)

    Hi
    We added new Custom field (country) in material UI for Routing the WF based on country.
    we added this new field in material general data, When user press the "check" button in the header the value disappeared in the UI.
    This field value  required only in MDG CR level, this field value will not be updated in ECC active area.
    Request your inputs to solve this problem.

    resolved myself:
    PROCESS BEFORE OUTPUT.
    *                      Verarbeitung vor der Ausgabe
    *MS17092009 Non eliminare modules standard.
      MODULE set_propriety.
      MODULE INIT_SUB.
      MODULE GET_DATEN_SUB.
    PROCESS AFTER INPUT.
    *                      Verarbeitung nach der Eingabe
    MODULE GET_DATEN_SUB.
    CHAIN.
          FIELD MARA-ZBARCODE.
    ENDCHAIN.
    MODULE SET_DATEN_SUB.
    FIELD MARA-ZBARCODE MODULE BARCODE_0001 ON INPUT.

Maybe you are looking for

  • Pricing condition determination in billing

    I created a pricing condition record which will be determined just in billing document.It is tariff price. Just to determine this pricing condition in the billing document how should I configure the system? Now for Standard sales order and for billin

  • Partitioning External Drive w/o Erasing Data

    I have one 500GB external drive (USB) that I want to partition. I have 85GB on data on it now and really don't want to copy it back to the Mac HD (if at all possible). When I run Disk Utility/Partition and select 2 partitions, it allows me to shrink

  • Cant download mms messages on btmobile.....another problem!

    hi guys,  as above....i cant download mms messages on btmobile. is there a setting i can change?? ive downloaded and installed bt's stuff and it still wont work. thanks.

  • I have ipod touch 1st gen and its on but frozen

    I have a ipod touch 1st gen and its powered on but is frozen any help?

  • Backup of Dimensions, Mappings etc

    Hi, I created some dimensions and mappings and deployed them. Now I want to make a backup of these, because I want to re-install the OWB as there is some problem with it. How can I make a backup of the dimensions and mappings. Also please tell me wha