How to keep the field open for input with error message in report program

Hi,
  Need a help in solving the below issue.
"How to keep the field open for input with error message in report program"
Regards,
C.Shasiraj.

Hi...
you have to use the event:
<b>AT SELECTION-SCREEN ON <FIELD> EVENT.</b>
u have to give an error message in this event.
Consider the following <b>Example:</b>
<b>PARAMETERS : NUMBER TYPE I.
AT SELECTION-SCREEN ON NUMBER.
  IF NUMBER = 10.
    MESSAGE 'Number vakue is 10' TYPE 'E'.
  ENDIF.
START-OF-SELECTION.
  WRITE NUMBER.
</b>
in this if u give the value of number = 10, it will not proceed further, if u give some other value other than 10 you will proceed further...
Execute this program once u will understand....
also Consider the following links :
<b>Regarding events:</b>
http://help.sap.com/saphelp_erp2005vp/helpdata/en/79/34a237d9b511d1950e0000e8353423/frameset.htm
http://help.sap.com/saphelp_erp2005vp/helpdata/en/79/34a23ad9b511d1950e0000e8353423/frameset.htm
<b>Regarding messages:</b>
http://help.sap.com/saphelp_erp2005vp/helpdata/en/c5/aa575426ad11d2954d0000e8353423/frameset.htm
http://help.sap.com/saphelp_erp2005vp/helpdata/en/c5/aa575426ad11d2954d0000e8353423/frameset.htm
This is very useful.......
Reward points if useful....
Suresh....

Similar Messages

  • How to create a help view for a customized error message

    Hi all,
    Can you guide me how to create a help view for a customized error message, we need to put some suggestions in it so that user can can resolve this issue with this guide. ( the short text is too short to describe all situations via TC:SE91)
    Thanks very much!
    Bruce, Wen

    Hi Bruce,
    Could you brief your concerns again.
    Why don't you maintain long text in message class for long description.
    Regards,
    Ranjith N

  • Is there anyone who can help me? my Photoshop CC is keep crashing, it doesn't show any error message. Suddenly " program stop responding" after few seconds of launch.

    Is there anyone who can help me? my Photoshop CC is keep crashing, it doesn't show any error message. Suddenly " program stop responding" after few seconds of launch.

    If Photoshop crashes the should be a System crash report generated by your OS. For example Windows

  • ITUNES WONT OPEN COMES UP WITH ERROR MESSAGE

    ITUNES WONT OPEN COMES UP WITH ERROR MESSAGE (send error report one)

    some preliminary questions aimed at narrowing in on possible culprits.
    try launching your QuickTime. does it:
    (a) launch perfectly fine?
    (b) fail to launch with an error message? (if so, what does it say?)
    (c) exhibit other peculiar behavior? (if so, could you describe it for us?)

  • How to keep that valve open for certain period of time and shut off automatically

    Hi everyone,
    The objective of the VI is to measure pH and then open acid or base valve based on pH valve. Below is my UNFINISHED VI
    My question is:  if, for example, the  pH is 10, then, the program will open acidic valve for 5 seconds and then shut off automatically. After that, wait for 5 second. this process will go on and on as I use while loop, but I just dont know how to control the valve on for 5sec and off and then wait for 5sec.
    Anyone can help me out?    Thank you very much
    In the picture, please enter those values before running
    P.S The VI is based on previously posted vi by someone who made it 1 yrs ago.
    Attachments:
    project_trial_1_26.vi ‏27 KB
    Capture.JPG ‏79 KB

    1. The reason the valves close immediately is that the Elapsed Time VI does not cause any wait, it only measures the time. So the valves closed within a small fraction of a second of the time they opened.
    2. I modified your VI to wait until the Elapsed Time has ended.  See the "wait" state.  I probably modified some of your other functionality in the process, but this shows one way you could do the timing. 
    3. You do not need any Value property nodes.  They should never be used if the value can be wired directly.
    4. You do not need any sequence structures. Dataflow will determine the order of things occurring.
    5. If you use an enum for the state machine (and it is a good way to name and select states), you should make it a type def. Then when you need to change it as I did to add several states, you only need to change the Type Def in one place and the changes propagate through to every place you used the control or constants derived from it.
    6. I added a Halt state which will close both valves before stopping the program.  When you are controlling a real world process, it is important to consider the start up and shutdown requirements. For example the digital outputs of the USB-6008 default to inputs when the device is first powered up. And, the inputs are pulled high by a 4700 ohm resistor (at least I think I recall that value). Will this open your valves before the program starts running and sets the I/O lines to outputs and forces them low?
    The USB-6008 has rather limited drive on the digital lines. You will probably need a buffer between it and the valve coils.
    PID and PWM are more complicated than I want to get into here.  First, are your valves proportional or on/off? Second, (assuming that they are on/off) how fast can you open and close them without destroying them in the first week? What is their expected lifetime in terms of the number of operations? How fast do you need to be able to change them to keep your pH where you want it?  Are these values compatible?
    Lynn
    Attachments:
    pH State.ctl ‏12 KB
    project_trial_1_28.2.vi ‏66 KB

  • How do I fix Creative Suite CS2 reinstall with error message "Missing or Invalid Personalization Inf

    How do I fix Creative Suite CS2 reinstall on same Windows 7 Pro machine, with error message "Missing or Invalid Personalization Information / Missing Resources Library" when I attempt to reinstall from installation disk set? Was having trouble with Adobe Acrobat Pro 8; Uninstalled and am now stuck. You can email me if you like at [email protected] Thank you.

    Hi Bill:
         I don't remember deactivating (after my XP PRO harddrive scattered)
    when I did the first Windows 7 pro install of these programs and it went
    fairly well except AA8 was a little problematic when converting from MS
    Word.
         In my case the AA8 came with a Studio 8 suite of programs as follows:
         1) A Studio 8 installation disk
         2) A Creative Suite CS2 Premium set of installation disks.
         3) A Creative Suite 2.3 Premium upgrade disk with AA8
         I uninstalled AA8 and when I tried reinstallation the directions
    said to do the Creative Suite CS2 Premium set of installation disks
    first followed by the Creative Suite 2.3 Premium upgrade disk with AA8.
    Now I'm stuck; What a mess.
         Thanks for trying to help.
         I will do as you suggest and go to
    http://forums.adobe.com/community/creativesuites but FYI:
    Bob Lane

  • How to keep the field value in the forms for one week

    I have an application that when the user logs on to it , it shows all the documents that are in the current dept.
    the form has the following fields:
    document no
    sent date
    assigned to
    dep_LOV
    and a check box
    if a user clicks the check box and assignes the document to another dept by cliking the LOv then the assigned to field should be populated with the new value and the sent date should be today's date(sysdate). the requirment is that once the user assignes the documnet to certain depts (for example sales dept) the assigned to field and the sent date should show up in the form for one week and the user should be able to see that data in the form the next time she /he logs onto the application. the one week time is to make sure the documcnt has reached the assigned dept. after one week from today's date the updated assigned_to field and the document no should not display on the form. During the one week if the user logs on to the form again that particular document and the assigned to and sent to fields shoould be grayed out and shhould not be updatable. I will greatly appreciate any suggetion as of what to do to solve this problem. it is urgent. Pleade help

    -> so you are saying that I should have a block level post_query trigger and put the where clause in it?
    No. Post-query trigger runs AFTER the query has been executed, and it runs once for each row fetched. It is for other purposes, NOT for setting a where clause.
    -> Plus i want to be able to gray out the field once populated with the sales dept.I have come up with the following code:
    Your Set_item_instance_property is almost correct. And THAT line would go into the Post-Query trigger. This is what you might use:
    <pre><font face = "Lucida Console, Courier New, Courier, Fixed" size = "1" color = "navy"> Set_item_instance_property ('docs.assigned_to',:system.trigger_record, Enabled,Property_False);</font></pre>
    Please watch your use of underscore, dashes, commas and parentheses: _ - , ( )
    The way to set your default where clause would be the following, and you should do it in the key-exeqry trigger, or someplace similar:
    <pre><font face = "Lucida Console, Courier New, Courier, Fixed" size = "1" color = "navy"> set_block_property('DOCS', default_where,
    'NVL(sent_date,sysdate) >= sysdate-7' );
    Go_block('DOCS');
    Execute_Query;</font></pre>
    I used the NVL function so your select will show rows where sent_date is null OR sent_date has a value that is within 7 days prior to the current date.
    What is the field :docs.assigned_to used for? If you want to include ONLY rows that are assigned to a particular person, then your where clause might be:
    <pre><font face = "Lucida Console, Courier New, Courier, Fixed" size = "1" color = "navy"> 'assigned_to = :ctrl.assigned_to and NVL(sent_date,sysdate) >= sysdate-7' </font></pre>
    and you should have a control block with the assigned_to field in it, where the user can enter a value before querying the DOCS block.

  • How to use the field checkbox for bapi parameter ?

    Dear All,
    Now, i find some code as below.
    The BAPI is uesd to create or update the sales order; but checkbox for bapi parameter have not been give values 'X'. why?
    take the first bapi for example, i think table order_items_inx (table parameter) should be given value 'X' for the field which will be update.
    Could you teach what happed?
    case gt_all_hd-sd_doc_cat.
    when 'C'.
    call function 'BAPI_SALESORDER_CREATEFROMDAT2'
    exporting
    order_header_in = gs_order_hd
    importing
    salesdocument = gv_vbeln
    tables
    return = gt_return
    order_items_in = gt_items
    order_partners = gt_partners
    order_schedules_in = gt_schedules
    order_conditions_in = gt_conditions.
    when others.
    call function 'BAPI_SALESDOCU_CREATEFROMDATA1'
    exporting
    sales_header_in = gs_order_hd1
    importing
    salesdocument_ex = gv_vbeln
    tables
    return = gt_return
    sales_items_in = gt_item1
    sales_partners = gt_part1
    sales_schedules_in = gt_sch1
    sales_conditions_in = gt_cond1.
    endcase.

    If you want to change a value, you need to pass the value in the 'order_items_in = gt_items' structure.
    You also need to add an 'X' in the 'order_items_inx = gt_itemsx'  structure for the same field.
    If you do not pass the 'X' then the value will not be updated...
    It looks like you are not passing the required '...x' structures.
    For more info see the documentation:
    Notes                                                                               
    1.  Mandatory entries:                                                                               
    ORDER_HEADER_IN : DOC_TYPE     Sales document type                      
                        SALES_ORG    Sales organization                       
                        DISTR_CHAN   Distribution channel                     
                        DIVISION     Division                                                                               
    ORDER_PARTNERS..: PARTN_ROLE   Partner role, SP sold-to party           
                        PARTN_NUMB   Customer number                                                                               
    ORDER_ITEMS_IN..: MATERIAL     Material number                                                                               
    2.  Ship-to party:                                                                               
    If no ship-to party is entered, use the following: Ship-to party =  
          sold-to party.                                                                               
    3.  Commit control:                                                     
          The BAPI does not have a database commit. This means that the       
          relevant application must leave the commit, in order that can be    
          carried out on on the database. The BAPI BAPI_TRANSACTION_COMMIT is 
          available for this.                                                                               
    4.  German key words:                                                   
          The following key words must be entered in German, independantly of 
          the logon language:                                                 
          DOC_TYPE     Sales document type, for example: TA for standard order
          PARTN_ROLE   Partner role, for example: WE for ship-to party                                                                               
    Further information                                                                               
    You can find further information in the OSS. The note 93091 contains    
      general information on the BAPIs in SD.

  • PhotoBooth in Leopard, how to keep the format displayed for the burst mode

    Hi,
    I've used the new photobooth.
    I've made some pictures with the burst mode.
    In PhotoBooth the result is good : like this : http://images.apple.com/macosx/features/images/300photobooth20071016.png
    But if i want to send the picture by mail, my picture is just 4 picture in a square ... no as fun as the one displayed in PhotoBooth
    Do you know if we can keep the format seen in photobooth ???

    Hi
    Just tried and with the photo showing in the main photoshop window hold the shift/apple(cmd)/4 keys and you will see a cross hair, click and drag that from the top left of the window to the bottom right and release.
    You should now have a grab of the pic on you desktop.
    Tony

  • How to set the fields invisible/visible dynamically with screen-exits

    <b>Goal:</b> I am changing the subscreen from standard screen for mobile device interface, i.e. function group LMOB. With a scanner I am to read a material number and have it confirmed by the SAP system. For this I need an input field which is already supplied by the standard program. The users require the screen to be dynamic, i.e. I can not do the settings in the screen-painter.
    <b>Problem occurred:</b> After I have changed to use the customized subscreen 1202 in function group XLRF, not all the fields are displayed. It seems that the values for setting the screen elements are lost when calling the subscreen (3202, copy of screen 2202). For instance, it does not show my input field. Somewhere there need to be a list that contains all these parameter switches? I know how “Loop at screen” works but can’t find the values that are supposed to be passed over to the subscreen.
    Would be grateful for some help.

    Hi Niklas!
    Unfortunately I don't know the transaction you're working on, but I had a similar problem once.
    You have to use the commands <b>LOOP AT SCREEN</b> and <b>MODIFY SCREEN</b>. I found some online help here: <a href="http://help.sap.com/saphelp_470/helpdata/en/9f/dba70535c111d1829f0000e829fbfe/frameset.htm">SAP Online Help</a>. The fields of the pseudo-table <b>SCREEN</b> can be found here: <a href="http://help.sap.com/saphelp_470/helpdata/en/9f/dbab6f35c111d1829f0000e829fbfe/frameset.htm">SAP Online Help</a>. I think you have to set <b>INVISIBLE</b> to 'X' - but you may have to experiment.
    Another thing to look out for is that you have to call this method in the <b>PBO</b> section of the dynpro. Take care no SAP logic is executed after your modification that changes your settings...
    Hope this helps (please reward me if it does),
    Joerg

  • How gray out the fields in selection screen with parameters

    Hi,
    Can any one help me how to gray out the selection screen fields
    Start-of-selection----
    Parameters : p_status TYPE edids-status MODIF ID xyz DEFAULT co_51.
    End-of-selection----
    i want to grayed out the field p_status.
    except At selection-screeen output, can any one suggest the other method of gray out the above field.
    Thank u
    B Ravi Kumar

  • Illustrator CC PDF opens in Reader with error message

    When I save an Illustrator file as a PDF, Adobe Reader users get an error message when opening the file – "An error exists on this page. Acrobat may not display the page correctly. Please contact the person who created the PDF document to correct the problem." Why is this happening?

    My apologies. We should have been more specific with our question.
    We should have asked this:
    Has anyone else seen this message in Acrobat Reader when opening PDFs
    created in Illustrator CC since the most current update (v.17.1.0)?  If so,
    would you be so kind as to reply with any general or specific information,
    or even thoughts, as to what might be causing it in this newest version of
    Illustrator?
    The error message reads:
    "An error exists on this page. Acrobat may not display the page correctly.
    Please contact the person who created the PDF document to correct the
    problem."  (Oddly, the message says "Acrobat," even though the application
    it appears in is Reader.)
    The message appears to Adobe Reader users (current version v.11.0.06,
    running in Mavericks); and started appearing after we updated Illustrator.
    The file content (except for one minor type revision), the PDF settings, the
    Adobe Reader users (clients), etc., haven't changed since before then. There
    were no issues with PDFs created in the past from the same file, but when we
    created new PDFs, our clients received the error message upon opening them.
    The files do open, and seem to be fine otherwise; but the recurring message
    does annoy our clients, and erodes our credibility as digital designers.
    We have tried several strategies to resolve this problem saving the PDFs
    with different settings; altering the file format of the linked image files;
    embedding the images files; outlining the type; using alternative typefaces;
    expanding appearances of objects; etc. anything we could think of to
    simplify the file or remove an offending file component all to no avail.
    We even opened the PDFs in Acrobat XI Pro CC (v. 11.0.06) and resaved with
    new file names, and were still met with the same difficulty.
    Other details: sRGB color profile in AI file and images; 3 - 11 x 8.5" art
    boards; PNG-24 images; PDF settings used: Illustrator Default, PDF/X-4:2008,
    Smallest File Size, High-Quality Print, plus a few custom settings from
    printers and developers
    So . . . We were hoping that if anyone had encountered this same message,
    they might have a clue as to what it relates. Any insight would allow us to
    troubleshoot further with that information in mind.
    Many thanks in advance.

  • How to enable the search option for a column in an old report

    Hi ,
    I created the report. It works fine. I remember while creating the report, at one step, I was asked to sort, search column level (check option) . I skipped that option at that time. But now I want to check/ enable them . So, how and where to do that ?
    Thanks.

    Hi,
    I think easiest way is re-create your report , so wizard do things for you.
    Other vise you need create "search bar" region and items manually and edit report where clause.
    You can first set your old report condition to never and create new report with same select.
    When you are sure that new report working ok, you delete old report.
    Br, Jari

  • How to Calculate the total orders for Items with supplier

    How do I write a function or SQL query that will give me the total quantity of an item that an organization has on order with other suppliers? Any help would be greatly appreciated. Thank you.

    It would help if you provided the description of the tables.
    To do totals by say item_id
    select item_id, sum(quantity)
          from supply_table A
          where org_id = 1
               and exists (select 1 from supplier B
                                         where a.org_id = b.org_id )
    group by item_id
    How do I write a function or SQL query that will give me the total quantity of an item that an organization has on order with other suppliers? Any help would be greatly appreciated. Thank you.

  • Design Studio SDK: Eclipse fail to open Design Studio with error message

    Hi,
    Environment:
    BO 4.1 SP2
    Eclipse 4.3.2
    I am learning Design Studio SDK using the Developer Guide Tutorial available in help.sap.com. I am trying to deploy the sample SDK component.
    While I try to open Design Studio application from Eclipse, it throws below errors. Run As -> Eclipse Application.
    Please help!
    Thanks in Advance!
    -Jeni

    Hi Jenifer
    It looks to me as if the JAVA Home Variable is not set?
    To get to this in Windows 7 you need to right click on Computer and select properties
    Then click Advanced System Settings,  Then Click Environment Variables button,
    Have you got a JAVA_HOME Variable as per the attached screenshot? Please not this need to point to the Java folder on your PC

Maybe you are looking for

  • Error message when trying to activate caller ID fo...

    Hello. I keep getting an error message when trying to activate my caller ID for my mobile number. It keeps saying "We were unable to send you a confirmation code at this time. Please try again later. " I have checked the list of countries excluded fr

  • How to find out names of reports using a particular view

    hi guys, i am newbie here, i jsut want to know how to find out which reports are using a particular view many thanks in advance for your help

  • Local vs. Shared -- who does what?

    One place that the documentation I'm finding is thin in discussing is how someone who is on a shared server deploys a ColdFusion/Flex app. For instance, my host is very helpful, but still, I don't have direct access to anything above my domain. I'm t

  • In iPhoto, how can I find the videos which are used in iMovie?

    My overall goal is to split my iPhoto library, because it's taking up half my HD. (Proud dad, taking too many burst photos and videos of the little guys). I'll put the videos and older-year photos onto an external drive. Problem is - I can't figure o

  • Servlet and iText pdf creator

    Hi, I have seen that all examples using iText and servlets send the pdf through the browser by using: response.setContentType("application/pdf"); PdfWriter.getInstance(document, response.getOutputStream()); I would need that besides send that info, t