ABAP WD: Must-be-filled fields  ??

Hi colleagues,
cProjects uses WD ABAP. Field controls by cPro allow to define some fields as MUST fields. But only a star is displayed, to indicate a MUST field.
Will WD ABAP provide some basis functionality to switch a field to MUST BE FILLED status with full check functionality ??
If not, what is the best-practice procedure to implement such solution in a customer project ??
Any help is welcome.
Regards,
Joerg

Hello Joerg,
As you said some ui elements Web Dynpro provide a "state" attribute that can be set to required, which in turn adds a "*" to a corresponding label. This gives a user a hint that the application expects this field to be filled.
From the perspective of an application, there are two options to move forward if a user did not enter something in such a marked field:
(a) display an error message and enforce the user to enter the value by preventing further input to other fields and/or the execution of certain functionality such as saving.
(b) display an error message, but allow the user to continue with his/her work - possibly including the execution of certain actions such as saving.
Both options are supported by the Web Dynpro framework. It is up to the designer of an application to decide which functionality should be offered. Option (b) has some advantages since it allows for quick-save and thus allows an user to i.e. gather some missing data and to continue at a later time. Of course, in such a case the application needs to mark a document as having errors or not in order to prevent it from being used in followup business processes.
There are more reasons as well. One such a reason is that an application can never be sure from where it receives its input. It can be a user interface, it can be a web service, it can be anything - even different clients with different user interfaces are possible. Hence, it is a requirement that an application checks all input. This of course includes validating that mandatory fields have been filled. An application should never rely on a certain layer on top of it to do such a thing, because if this top layer was exchanged (e.g. ui -> web service), a user could create inconsistent data assuming that this other top layer does not provide such a built-in check. So even if Web Dynpro did it internally, the application would have to do it again. This would be a waste in terms of performance and thus, it is not done.
Best regards,
Thomas

Similar Messages

  • I want to remove my credit card from my daughter's itunes account but i can't delete the information without getting a notification that i must have the fields filled out

    I want to remove my credit card from my daughter's itunes account but i can't delete the information without getting a notification that i must have the fields filled out. When she first got the ipod touch, we did not need to supply credit card information for her to set up her account. Only now that I entered it for one purchase, I can't remove it. Now my daughter has purchased over $300 in downloads the last two weeks.

    You definitely can.
    To remove your payment information open iTunes and go into your account. An easy way to access your account is from quick links on the store home page. After you login there will be a payment type listed with an edit button next to it. Click edit then select none under card type (next to visa, mastercard, etc).
    Afterwards at the bottom of the page select done, then your card will no longer be on file. It will prompt you for a card next time you try to download something that isn't free.

  • All the field must be fill

    I have a form with 2 tables
    I have here one button
    I wanna put a code in this button that when I press this button check that all the fields must be fill
    I use this code in when button press
    declare
    v_alert number;
    begin
          v_alert := Show_Alert('close');  --( do you want to close OK/Cancel)
          IF v_alert=ALERT_BUTTON1 THEN
         if :v_code is null      or :v_name is null then     
          set_alert_property('close',alert_message_text,'Please Enter Vessel Code & Name');
            v_alert := Show_Alert('close');
    end;when i put vessel code and name and then again press button
    this alert also show me??

    Moazam
    Actual it is req.
    I have 0ne form/document and I want to close this document, it means after close this doc / form we consider that now we can not enter any information and this document is competed.
    thatswhy I check with button .. one button to close this doc.. when button press first check all form text that all the text are fill or not if not fill then show the alert or mesg ..
    finally I correct this code ,, i have done this work.

  • Mandatory field "Involved Person" must be filled

    Dear Experts
    In EHSM 5.0 while trying to create Report - Incident - Simplified, receiving error - Mandatory field "Involved Person" must be filled. I have check similar post on this and as per that EHHSSPIID is being maintained for internal number range.
    This issue is triggering either I click "send"  w/o entering data for who was injured or attempt to add details for injured person.
    Regards
    Santosh

    Dear Sunil
    Few  OSS Notes(1526402,1534362,1581936)  which are related to HR Integration & Reading person data from HRMS systems.  Refer EHSM 4.0 Master Guide (Page No: 10) . These Notes Implementation is mandatory during Upgrade.
    Balajee

  • Fill fields with actual date / timestamp with button

    Hello,
    I did not find an answer for my following problem.
    I want to put a button my adobe form that fills automactically three fields with data from the PC which are:
    actual time (of the PC and of course timezone info), date and username, so the User has to press one button to fill all these data for convenience. 
    So I think it is necessary to program this in JavaScript as an "on-click" action. Since I'am not too much familiar with this, it would be great if someone can post a little sample coding for this (or has some other tipp).
    regards and happy xmas
    Jörg

    you must have target fields for your Date, Time and Username, for example you have a structure in your data view called "ZINFO" with the fields "EDATE", "ETIME","ENAME"
    in your layout you need a button where you click on
    in the click event you can fill your fields (formcalc)
    xfa.resolveNode("xfa.record.ZINFO.EDATE").value = Num2Date(Date(), "DD/MM/YYYY");  
    xfa.resolveNode("xfa.record.ZINFO.ETIME").value = Num2Time(Time(), "HH:MM:SS", "de_DE");
    so you always get time/date when clicking
    but how do you know who has opened the form?? did you realize some password protection??
    br norbert

  • Combining PDFs that have identical user-filled fields in them

    I already have a more specific question about this process posted elsewhere here, but I want to back-up a bit and ask this higher-level question.
    We have an annual event that requires us to create a number of different PDFs, by category, that have user-filled fields in them. Of course we create these forms and create the user fields. We then send these out, then get them back from multiple users who have completed them. We now want to combine all of these submitted PDFs into a single PDF or portfolio (whatever works!). From what I've read so far on this, the problem we have with combining all these into one document comes from the fact that all these completed forms come back to us, completed by their users -- but since many fields all have the same names (which we of course assigned originally) in the completed PDFs that come back to us, Acrobat seems to read all the fields that have the same field name and override all the entered data in those fields with the user-entered data in only one of them (I assume the first on it comes across). Is that correct? If so, what's a logical work-around for this? Sending out PDFs to each user that have field names that are unique to that user only? That seems kind of archaic, but maybe that's it... Although I'm also guessing that someone will suggest a javascript code to use in our files that may resolve this problem. I can copy and paste code, but I'[m no javascripter, so I'd need to know exactly how to do it... Any ideas? Thank you!   - Sean

    For Acrobat PDFs, you will need to flatten each form before concatenation. Merging multiple forms together is called concatenation. Warning: Flattening the form fields will make the PDF fields unreadable and unfillable; and it would be wise to save the merged or flattened document under a different file name. There are Visual Studio .net and JAVA developer libraries that can perform these tasks; but you will need programming experience or hire a developer.
    For more information visit:
    http://www.nk-inc.com/software/fdftoolkit.net/help/2.0/?topic=html/Overload_FDFApp_FDFDoc_ Class_PDFFlatten2Buf.htm
    http://www.nk-inc.com/software/fdftoolkit.net/help/2.0/?topic=html/Overload_FDFApp_FDFDoc_ Class_PDFConcatenateForms2File.htm
    Also, try searching Google for software that can "Concatenate PDF Forms to file":
    https://www.google.com/search?q=Concatenate+PDF+Forms+to+file

  • User exit to check the consistency of filled fields before saving

    Hi,
    I am looking for a User Exit which can be executed when a user click on "Save" button.
    In this User Exit, I would like to implement some controls to check the consistency of filled fields.
    I have an example to better understand : I work on transaction code ME11 and ME12 (create and modify Info Record). When all mandatory fields are filled, the user can save its. When the user click on "Save" button, I want that a checking (with a user exit, or anything else) verify the consistency of some fields (for example, the consistency between the Tax code of the country and the country of the supplier).
    If it's not clear, I could precise...
    Thanks in advance for you help...

    Hi,
    I am looking for a User Exit which can be executed when a user click on "Save" button.
    In this User Exit, I would like to implement some controls to check the consistency of filled fields.
    I have an example to better understand : I work on transaction code ME11 and ME12 (create and modify Info Record). When all mandatory fields are filled, the user can save its. When the user click on "Save" button, I want that a checking (with a user exit, or anything else) verify the consistency of some fields (for example, the consistency between the Tax code of the country and the country of the supplier).
    If it's not clear, I could precise...
    Thanks in advance for you help...

  • Database filled fields to a pdf form, how can i setup fields to receive ?

    have a database that has a pdf form filler that can send filled fields to a form designed pdf, how can i setup fields to receive the specific fields ?

    Hi housesboat,
    Welcome!
    Please try this to get you started: http://forums.adobe.com/docs/DOC-2412
    Let us know if you have other questions.
    Kind regards, Stacy

  • Asynchr Calls: Partner Role and My Role must be filled in Partner Link dial

    Asynchr Calls: Partner Role and My Role must be filled in Partner Link dialog ?
    Is the statement true?
    Can I leave for synchronous calls one of the role spec vacant?
    AFAIK only in asynchronous calls both drop down values must be specified.
    Peter

    Thanks for fast reply,
    Yes, I defined Partner Role and My Role,and also defined a port type for calling back the request.
    I just don't know what's the endpoint address which my asynch web service should use to response to my BPEL process.
    Is there anyway to find out what's the endpoint address which the BPEL processes receive the callback response from asynchronous services?
    Can I get the address which BPEL engine uses to get the responsse from a called web service?
    I guess it should be an obvious work but I'm really disappointed with that.

  • Possible to use JavaScript to Import Data from XML file to pre-fill fields?

    Hi,
    I have a dynamic fill-in PDF that I want to "pre-fill" internally in my company before sending out to users who will change any pre-filled fields necessary and answer questions we did not already answer.
    We do not have LiveCycle Reader Extensions, but we can use Acrobat to import data from an XML document to pre-fill the named fields.  Is it possibly to do this task using folder-level Javascript or some other method?  I can look into this, and post my findings, but I'd like to know if it's possible or if I need to use a different programming language.

    Hi,
    I am afraid that solution was for a specific client and I can't share it. If I get a chance I will mock up an example, but this wont be for a while. From memory it was just a straight importData method. This would normally fail silently in a non-certified form, but when the form is digitally signed/certified, it works without a hitch.
    Good luck,
    Niall

  • Msg No IW464 - Fields Priorty Must Be filled

    Hi friends,
    I have created an PM order from a Maint. Plan .
    Its in CRTD system status .Now in my order field " priorty " is mandatory .
    While creating Plan there is no field to add Priorty .
    So , to release it I have entered the "priorty " first and then saved in IW32 .
    But while saving , its showing me info msg " Enter value in field Priorty " and not allowing me to save order .
    But , I have already entered value in field Priorty .
    In Technical info, I have found aout msg data :
    Appl Area : IW
    Msg No : 464
    Main Prog : SAPLSHL2
    What could be the reason. Please help
    Regards
    PM

    Hi Shailendera ,
    One more thing , the point you said above to check the integration between notification and order ,
    I have checked there .
    To create an automatic notification once the order is created , do we need to tick the checkbox "Notifctn" [next to notification type] ?
    I am talking about the menu path :
    PM & CS ->  Maintenence and Service Orders - > Define Notification and order integration  .
    I have one doubt regarding this : we also assign notification types to orders .
    How does those settings differ from integration settings ?
    Edited by: PM_SAP87 on Jul 22, 2011 12:44 PM

  • How to  fill  fields in the script ..

    Hai
    I wanted to make sap script which have excise details .
    It has total 17 fields .. the standard example is J_2i_rg1 is the standard sap form.
    and program name is j_2irrg1 . my out put will also similar to this ..
    my problem is how i have to fill all the filelds in custom script. and how to allign correctly .
    Please let me know .... tell me step by   step procedure
    Thankyou.
    Regards
    Harsha

    Hi,
    Are you copying the driver program and SAP print form from the standard one. If you are just making your custom form and not the driver program then you can directly use the data which is fetched by program.
    For fetching extra info which is standard prog is not fetching you can make use of PERFORM command. Follow below link:-
    [Perform_in_Script|http://help.sap.com/saphelp_40b/helpdata/en/d1/803279454211d189710000e8322d00/content.htm]
    Alignment is done through the proper use of TABS. Refer below link for Alignment issues:-
    [SAP_SCRIPT|http://wiki.sdn.sap.com/wiki/display/ABAP/SAPscript]
    Hope it helps.
    Thanks,
    Daya

  • Mapping problem:filling field with 0 (zeros) in material number

    I want to create a mapping like the ABAP function:
    CONVERSION_EXIT_MATN1_INPUT
    for example:
    1 => 000000000000000001(add zeros if input value is
    numeric)
    Z => Z(no change if input is not numeric)
    The standard function "formatnum" works well from 1 => 000000000000000001.But it causes a java exception from Z => Z.
    How to solve it?
    Must i develop a UDF?
    thanks

    if i understood your requirement, you need to do padding(left) for your input. In that case use this UDF to help you out;
    int len = 10 ; // the maximum length of the field in your target.
    StringBuffer sBuf= new StringBuffer(a);
    while (sBuf.length() < len) {
    sBuf.insert(0,'0');
    return(sBuf.toString());
    Message was edited by:
            Shabarish Vijayakumar

  • ABAP Proxy - elements not filled in return XML

    Hi
    I have created an ABAP proxy based on Message Types in XI.
    In DEV system it returns all values as it should. When I transported it over to the QA system, almost all XML-elements are returned empty.
    I know the communication is OK and that the proxy is accessed because one part of the XML is filled (4 out of 100 fields). What I don't understand is why the rest of the fields are returned empty.
    If I use the "Test Interface" function, the XML is filled correctly. It's when I test it with an HTTP poster that the problem arise.
    Anyone had this problem before?
    regards Ole Mugaas

    Hi Ole,
    1. Try to regenerate (Ctrl+F3) the proxy.
    2. Debugg the proxy and see when you are transfering the data what values are being filled up.
    3. Aslo make sure that you have not made any changes in the data type structure after importing it into QA system.
    Regards,
    Sarvesh

  • How do I get to a access database to fill fields on a liveCycle form?

    I have created a form using LiveCycle Designer and I want to fill in some of the fields on this form by acessing a Acess Database. I have looked on the internet, but have not found anything to help me with this issue. Is there any books or manuals that will help me with this challenge? I figured I could put a button on the form that when clicked it would go find the database andbring back the data and fill in the form. Thanks!

    I have created a form using LiveCycle Designer and I want to fill in some of the fields on this form by acessing a Acess Database. I have looked on the internet, but have not found anything to help me with this issue. Is there any books or manuals that will help me with this challenge? I figured I could put a button on the form that when clicked it would go find the database andbring back the data and fill in the form. Thanks!

Maybe you are looking for

  • IMac Late 2006-Upgrading RAM

    Hey everyone! This may sound like a really dumb question but I figured I'd ask anyway because I am not sure what to do. I am considering upgrading the RAM on my late 2006 20 inch iMac which I purchased in April 2007 so that I can instal Mac OS X Lion

  • Adobe Flash Auto-update

    Adobe's long policy of aggressive auto update lacks the quality one would expect from Adobe. This is simply because one can be in the middle of a process that can't be interrupted by restarting the computer. This is specially true of developers or tr

  • Keyboard delete and caps lock keys not working after update

    Shortly after a windows update two keys, delete and caps lock do not work. I have tried the following 1. system restore..it says it cannot restore as a file is missing. I have used this function before without any problem. 2. Update key board driver

  • Receipt Screen of AR

    I have a Problem i enter the Receipt Date in 2008 ,date should be in 2007 then i personlize the form and allowed the update of receipt date , when i change the year it change the year and save the record , after some time i query the record then it s

  • Error running XL Reporter: 'a required COM add-in program..' for Excel 2007

    I have 2 users running Excel 2007 that can't run XL reporter.  They get the message 'a required COM add-in program for XL Reporter has not been loaded'.  I have instructions for Excel 2003, but not for 2007.  Does anyone know how to resolve this for