Question about making mandatory fields hidden

If I make an empty mandatory field hidden, do I have to set the mandatory property to "disabled" to prevent it from triggering the error message since it's empty?

You are calling it a problem and I say works as designed. When you make a field mandatory you are indicating that the field must have a value (in the data file). When the submit is pressed, the mandatory fields are checked and if a value for that field is not in the data dom (in the bound node) then the message s displayed (whether the field is visible or not the binding still exists). You should make the field not mandatory by default, then make it mandatory when you make it visible.

Similar Messages

  • Question about the MAKZN field in the RBKP table

    Hello all.
    I have a question about the MAKZN field. Does anyone know what field in MIRO is assigned to this field? We have an issue where a line item amount was not selected invoice was out of balance but the agent selected accept and post. And invoice posted. but I am interested in knowing where the amount if keyed in because when I go to the RBKP table I see an amount entered in the MAKZN (manually accept net difference amount)

    Hi,
    it seems as if the value was calculated internally:
    program SAPLMR1M
    dynpro 6000
    PAI module fcode_6000
    Include LMR1MI3W
    *-------- buchen ------------------------------------------------------*
        WHEN fcobu OR fcomanak.
    *--- identical code in PAI Module FCODE_6250 --------------------------*
          PERFORM ota_check USING vf_kred-xcpdk rbkpv-xcpdd
                            CHANGING rc.
          IF rc NE 0.
            CLEAR ok-code.
            EXIT.
          ENDIF.
          IF ok-code = fcomanak.
            PERFORM diff_akzeptieren.
            ok-code = fcobu.
          ENDIF.
    where:
    fcomanak          LIKE ok-code VALUE 'MANAK', " Manuell akzeptiert
    *&      Form  DIFF_AKZEPTIEREN
    *       Differenz manuell akzeptieren
      FORM diff_akzeptieren.
    *       Manuell akzeptierter Betrag
        rbkpv-makzn  = rbkpv-makzn + rbkpv-diffn.
        rbkpv-makzmw = rbkpv-makzmw + rbkpv-diffmw.
    *       Differenzbeträge
        CLEAR: rbkpv-diffn, rbkpv-diffmw.
      ENDFORM.                             " DIFF_AKZEPTIEREN
    maybe it´s happenning when releasing manually the invoice in MRBR?
    Best regards.

  • Quick question about making system calls

    hello all
    i have a simple quick question regarding making system calls. Basically I want to mimic the command "system" for perl. I am not quite sure how to do this for java.
    any feedback would be appreciated.

    look at:
    java.lang.RunTime

  • New to the product - question about validating multiple fields as a group

    I have a static form that I'm building from a word document.  Part of that form requires a person to fill any 3 out 5 text fields.
    Since it looks like scripts are applied on a field by field basis, is it possible to have a script that encompasses multiple fields? 
    Would any script need to be applied to each field in turn?
    Assuming the answer to question 1 is a yes, how would you script it to require x number of fields out of a total of y to have some sort of content in order to validate?
    I'm pretty familiar with JavaScript and am looking at the Scripting reference guides but was hoping for a helping hand to get me there quicker as I'm in a bit of a time crunch - doing 18 forms with validation and database connectivity by January 15 certainly qualifies in my book.
    I would assume you'd do something like this but am unsure of the syntax...
    Get values of each field
    Set a valid counter variable for the number of fields with content
    If field 1 is not empty, increment the valid counter
    (rinse and repeat)
    if the valid counter is less than 3 throw an error message
    Many thanks in advance for any help offiered

    1). Yes, scripting within Livecycle can be for a single field or even static text, images and other artifacts within the PDF. Really anything, within Adobe's reason, when it comes to scripting.
    2). It depends on what you want to do. Things like field validations, calculations and other instances where fields are tied togther really dictate how the script runs.
    3). Fields that have calculations or validations with them work in the same, I believe. So for example I have a PDF that I made that is an Excel-type sheet that contains a few hundred cells and every single one has some type of validation or calculation associated with it. I generally run the calculations/validations from the user inputting the data and then after that the script runs, but again, it really dpeneds on what you are doing and with what, so answering some of your questions are a bit difficult.
    Javascrip/Formcalc are wonderful tools within PDF, but don't forget the Action Builder (Tools -Action Builder). It is a set of preloaded actions that are turn-key. Just select the cells that will have the action and select the result you want from the preloaded list of actions, using those actions can get you very far, and most of all; they are quick to implement without researching code. So for example, you could use the Action Builder to create an action that checks certain fields and if they are null to return a 1 value to a specific numericField (these could be hidden). Then have a "total" numericField (this would be your counter) that adds all of those fields with the 1 in it. Then create another Action Builder for that "total" numericField and if it is less than 3, display a message box that is a warning.

  • Making Mandatory fields on Screen and vice versa

    Hi,
    I've developed a screen on which i've a field say X. Initially when the screen is shown the field is not mandatory as user may or may not enter its value.
    But when he enters its value, then i've to make field Y and field Z mandatory also.
    For this in PBO i've called a module which would make the necessary screen change.
        LOOP AT SCREEN.
          IF X IS NOT INITIAL.
            IF ( screen-name = 'Y' OR
                 screen-name = 'Z' ). 
              screen-required = '1'.
            ENDIF.
          ELSE.
            IF ( screen-name = 'Y' OR
                 screen-name = 'Z' ). 
              screen-required = '0'.
            ENDIF.
          ENDIF.
            MODIFY SCREEN.
        ENDLOOP.
    Though the above code makes the field Y and Z mandatory but when the user clears the field X value still it shows them mandatory which i don't want
    How can i handle this?
    PLZ HELP!

    Hi
    What everyone described is using code block..
    why not you should define it while designing the screen.
    on defining the field Input/Output Field Attributes of Y & Z , define program-> input -> Required.
    In detail :
    INPUT/OUTPUT Field of Y & Z
    Attributes
    Dict | Program | Display
    *Under Attributes -> Program -> Input (drop down list) -select as Required.*Hope it will work fine.
    Rewards Points if useful

  • A question about keeping screen field unchangable in selection screen

    Hello Expert,
    I have a program as below.
    REPORT Z_TEST.
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-i01.
    SELECT-OPTIONS: s_kappl FOR a017-kappl DEFAULT 'M' NO INTERVALS.
    SELECTION-SCREEN: END OF BLOCK b1.
    INITIALIZATION.
      LOOP AT SCREEN.
        IF screen-name CS 'KAPPL'.
          screen-input = 0.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
    When I executed the report, the field for S_KAPPL is unchangable. This is as expected. But if I select one variant,  the filed will change back to changable.
    My question is how can I keep the field unchangable after I select variant?
    Thanks in advance,
    Regards, Johnny

    Hello Johnny,
    When you're creating the variant you've to mark the check-box "Protect field" as true.
    This will make the field as output only.
    BR,
    Suhas

  • A question about editing ALV fields

    Hello Expert,
    In my project, we need to read data from DB and display in the ALV. In the ALV output, we should be able to edit the records, and after user clicks the "Save" button in the applicaiton toolbar, the program should be able to save the changed data into DB.
    Currently, I can display the data in ALV and all fields are editable. After I change some data and click "Save", the program will go into subroutine 'F_ALV_USER_COMMAND',  but the data in the internal table GT_OUTTAB is not changed.
    I generate the ALV output by the following calling:
    call function 'REUSE_ALV_GRID_DISPLAY'
          exporting
            i_callback_program = wf_pgm
            is_layout          = gs_layout
            it_fieldcat        = gt_fieldcat[]
            i_callback_pf_status_set     = 'F_PF_STATUS_SET'
            i_callback_user_command = 'F_ALV_USER_COMMAND'
            is_variant         = g_variant
          tables
            t_outtab           = gt_outtab
          exceptions
            program_error      = 1
            others             = 2.
    In the subroutine 'F_PF_STATUS_SET', I call a GUI Status defined by myself.
    But if I call as below
    call function 'REUSE_ALV_GRID_DISPLAY'
          exporting
            i_callback_program = wf_pgm
            is_layout          = gs_layout
            it_fieldcat        = gt_fieldcat[]
           i_callback_pf_status_set     = 'F_PF_STATUS_SET'
            i_callback_user_command = 'F_ALV_USER_COMMAND'
            is_variant         = g_variant
          tables
            t_outtab           = gt_outtab
          exceptions
            program_error      = 1
            others             = 2.
    GT_OUTTAB is changed accordingly after clicking the "Save".
    Can any expert tell me why Internal table is not changed in the case I use user-defined GUI Status?
    Thanks & Regards, Johnny
    Edited by: Yongbo Wu on Jun 10, 2011 10:51 AM

    Hi Yongbo;
    Unfortunately REUSE_ALV_GRID_DISPLAY has update problem.
    REUSE_ALV_LIST_DISPLAY FM is making automatic update/change itab.
    You can change REUSE_ALV_GRID_DISPLAY FM with REUSE_ALV_LIST_DISPLAY FM.
    Best Regards.
    call function 'REUSE_ALV_LIST_DISPLAY' "'REUSE_ALV_GRID_DISPLAY'

  • Question on setting mandatory field in sales order?

    Hi SAP Gurus,
    Hope all doing fine.I have a scenario like i have to put tax classification field mandatory in sales order, user must have to enter some value in the field before saving it.how to do it in standard sap?
    Regards
    chandu.

    Hi.,
              Can u be little bitt clear where the tax classification filed is in sles order?
    If Alt tax classification you can make it mandatory in SHD0
    Thanks & Regards
    Narayana
    Message was edited by:
            manam narayana

  • ACS Radius Question about Request Authenticator Field

    Hi, I did a little bit reading about Radius to understand more in deepth
    if I understand correctly the Request-Authenticator-Field in the Radius-Request Packet is just a random number and has nothing to do with the configured shared secret on AAA-Client.
    That would mean that ACS does not check the shared secret in an incoming request.
    So in case of CHAP Authentication the password in the request is not encrypted with the shared secret, ACS can successfully check the credentials from the request , though the shared secret between ACS and AAA-client does not match and will send a Radius Accept packet
    The Response-Authenticator-Field in the Radius-Accept Packet is a MD5 over (Code+ID+Length+RequestAuth+Attributes+SharedSecret)
    So if the the shared secret does not match the AAA-Client will recongize this and will not grant access.
    Is that true so far.
    I always thougth that shared secret must match, otherwise the ACS will not accept any radius-request?
    Thx
    hubert

    Hi Nicholas,
    pls see attached a packet-capture from 6 Radius-request of a AAA-Client (small Radius-Test-SW) and the answer from ACS
    1 PAP wrong key correct Password -> ACS logs failed auth
    2 PAP correct key correct Password -> ACS logs success auth
    3 CHAP wrong key correct Password -> ACS logs success auth
    4 CHAP correct key correct Password -> ACS logs success auth
    5 CHAP wrong key wrong Password -> ACS logs failed auth
    6 CHAP correct key wrong Password -> ACS logs failed auth

  • Question about making printible reports by reading data from database

    We have a pressure test system which we want analyze and plot the instant pressure values in a pre-defined time interval. After each test we want the record the test results along with the other information(date, time, operator name, test no, product type, product number, etc.) added by the system operator. The data will be recorded to an access data base. Doing that, we want to make test results archive which we can make search within, to list the past test results, searching by date, seraching by product number, or searching by any other information in the database. Plus, in the future, we want to be able to take reports of these past test results, including the pressure/time graph and other information added by the system operator. Also we want to set the report format.
    My question is, is it possible to do this with LABVIEW 8.2? Do we need any toolkits or add-ons?
    Regards

    Hi, Hasan.
    That would be an excellent use of LabVIEW. At the very least, you'll probably want to get the Database Connectivity Toolkit, and depending on your needs you may also want the Report Generation Toolkit. There are a lot of tools in the LabVIEW Development Environment for generating reports dynamically, but the Report Generation Toolkit includes a lot of advanced functionality not included in regular LabVIEW installations.
    That said, however, I really recommend you speak with one of our sales representatives to make sure you have everything you need. Since I know so little about how you'd be implementing each step of that process, I'm reluctant to guarantee it, and one of our representatives can tell you with much more certainty. You can get in touch with one from ni.com/contact.
    Good luck! Have a nice evening.
    Sarah K.
    Search PME
    National Instruments

  • Questions about making playlists

    I have 2000 songs in my library. some are christmas, some are show tunes, some are classical and most are pop/rock/etc.
    about 1500 are in this last catagory and i want to make a play list w/them on it--because i do not want my random play to hit upon a 14 minute classical piece or a christmas tune when i am mellowing in pop etc.
    many came from napster so are not attached to albums etc.
    my question is--is the only way i can create the list for these 1500 songs by literally clicking on each on and either dragging them into a playlist, or by highlighting them individually and then doing the create playlist function.
    since i want to create separate playlists for the holiday and classical anyway, is there some way to make those playlists and put them in a separate LIBRARY as well--in other words remove them from the current library and then automatically make a play list w/the remaining songs w/o having to highlight individual songs.
    does this make any sense.

    thanks. sounds like click and drag or highlight and do a new playlist are my only options for this volume of songs but that is fine.
    also thanks for the answer to the library question. when I thought about it, decided that was too much work--probably just need to resolve to work thru the 2000 songs to organize, theen all will be right w/my (iPod) world.
    thanks again

  • Help with a question about making/running .jar files.

    First i have a question, can i make a .jar file that can run on a computer without JRE installed. And if i can, how do i make it. I have tried to make it on my computer, that has JRE but i keep getting the error when i run it: Exception in thread "main" java.lang.NoClassDefFoundError: Sample\FileSearchAnd im using the command:
    jar cvfm jarname.jar directory\manifest.txt directory\FileSearch.class directory\FileNode.classIt says it creates the .jar but is unable to run it.

    dford425 wrote:
    First i have a question, can i make a .jar file that can run on a computer without JRE installed. No, not unless you package the JRE with your dist. Hence the name JRE (Java Runtime Environment).
    And if i can, how do i make it. I have tried to make it on my computer, that has JRE but i keep getting the error when i run it: Exception in thread "main" java.lang.NoClassDefFoundError: Sample\FileSearch
    That simply means your not pointing the runtime to the classes. Set your CLASSPATH environment variable correctly and it will run (given you have a JRE which it appears you do).
    And im using the command:
    jar cvfm jarname.jar directory\manifest.txt directory\FileSearch.class directory\FileNode.classIt says it creates the .jar but is unable to run it.

  • Question about making PDF files expirable using contnet manager

    Hello
    I would like to know if I enable users of my website to view PDF files online  can I make the PDF files using Content Server to expire once the user logs off from my website and his session end?
    Thanks
    Yoav

    That's a fairly general question.  Have you read the basic white paper on the product site: http://www.adobe.com/products/contentserver/ ?

  • Question about making it appear to be a continuous shot, Question about making it appear to be a continuous shot

    I have some footage where it is supposed to look like a continuous shot, so with the camera we stopped recording, but kept it in the same spot and the character in the same spot, while something was changed, but the camera does move slightly. Is there a way I could make it appear that the camera does a continuous shot? Or is the shot just going to look like it was cut?

    Mrkingofspades wrote:
    …  but the camera does move slightly.…
    that's an absolutely NoGo for such stop-tricks …
    What you can try:
    • I would slightly zoom-in in both clips, 3-5%
    • just for adjustement, put clip#2 'over' clip#1,
    • set its transparency to 50-80%
    • now, by using the Info Boards numeric fields, adjust Transformation/position x, y
    • when the two clips match, drag it to the end of clip#1
    plus you can try how it looks, when applying a 3-frame dissolve …

  • Question about making a project backup with Media Manager

    I have several projects that I am working on right now. I'd like to make a backup of these projects and burn them to DVDs. The question I have is when I select "copy" with Media Manager it shows me how much space the backup will be. Without selecting the render files each of my projects would fit a a single DVD. If I don't include render files can they easily be recreated by just re-rendering the backup project?
    Thanks!

    Backing up a project file takes very little space. Backing up the media associated with that project can take up a tremendous amount of space. By using Media Manager, I assume that you want to back up (copy) the media ... correct?
    Do you only have 4.3gb of media used in the project you want to back up? That's all the data a DVD disc will hold.
    -DH

Maybe you are looking for

  • How to convert to pdf

    I found that RoboHelp for Word can not convert Word document to PDF, like RoboHelp for HTML. Can you let me know how to do that inside the RoboHelp for Word? Thanks.

  • How Bridge communicates with third party applications?

    Hi, Is it possible to communicate between Adobe Bridge and a third party application using Bridge SDK? I want to learn how Bridge can communicate with other application? Bridge SDK have samples that explain how Bridge communicates with other Adobe ap

  • Deploying Process Flows

    Hi I cannot seem to get OWB to recognise the Oracle Workflow install in our database. Workflow has been in stalled into a schema called OWF_MGR and when I look in there I seen all the expected tables and AQ's so I have no reason to doubt the install.

  • I want to ship item to egypt what can i do?

    i want buy macbook pro from apple i want to ship this item to egypt what can i do?

  • All burned discs are coming up blank.

    Hi So I've burned some DVDs and after it is done it refuses to believe there are any files on it. The reflective side shows that difference in colour in the areas used and it takes its time burning and verifies afterwards so the files are there. I've