At selection-screen. - message - go back to the field on selection-screen

At selection-screen.
If the user enter the wrong profitcenter .
just  I  need to issue a  message saying the user to "enter the correct profit center "
and cursor should go back to the profit center field on the selection screen.
How to code this ?

Hello Sam
Here a more detail code sample:
*& Report  ZUS_SDN_RETURN_TO_SELSCREEN
REPORT  zus_sdn_return_to_selscreen.
PARAMETERS:
  p_bukrs    TYPE bukrs  DEFAULT '1000'.
SELECTION-SCREEN BEGIN OF BLOCK profit WITH FRAME TITLE text-bl1.
*                                  text-bl1 = 'Profit Center Selection'
PARAMETERS:
  p_prctr    TYPE prctr  OBLIGATORY.
SELECTION-SCREEN END OF BLOCK profit.
AT SELECTION-SCREEN ON BLOCK profit.
  IF ( p_prctr BETWEEN '0000001000'  AND '0000002000' ).
  ELSE.
*   IF condition only used to trigger either error message
    IF ( p_prctr BETWEEN '0000002001' AND '0000003000' ).
      MESSAGE 'Invalid profit center' TYPE 'E'.
    ELSE.
*     or
      MESSAGE e398(00) WITH 'Profit Center' p_prctr 'invalid' .
    ENDIF.
  ENDIF.
START-OF-SELECTION.
* do something...
END-OF-SELECTION.
Regards
  Uwe

Similar Messages

  • [svn:bz-trunk] 15217: Bug: BLZ-508 - If server receives message for an unknown destination it shouldn ' t include the destination name in the error message sent back to the client .

    Revision: 15217
    Revision: 15217
    Author:   [email protected]
    Date:     2010-04-05 03:43:36 -0700 (Mon, 05 Apr 2010)
    Log Message:
    Bug: BLZ-508 - If server receives message for an unknown destination it shouldn't include the destination name in the error message sent back to the client.
    QA: Yes
    Doc: No
    Checkintests: Pass
    Details: Changed the error message to not include destination id. I'm also checking in a few minor fixes I had locally.
    Ticket Links:
        http://bugs.adobe.com/jira/browse/BLZ-508
    Modified Paths:
        blazeds/trunk/modules/common/src/flex/messaging/errors.properties
        blazeds/trunk/modules/core/src/flex/messaging/MessageBroker.java
        blazeds/trunk/modules/core/src/flex/messaging/cluster/JGroupsCluster.java

    Thanx Mete, yeah i did...
    but i solved it some other way... not entirely sure this was
    it though as i was doing a lot of things at once...
    it was fds.swc... possibly it was out of date or missing.

  • Can't see typed text in fillable forms in Adobe Reader x unless you click back in the field?

    We have fillable forms and when employees open them they can type in but as soon as they tab to the next field you can't see text in previous field unless you click back into that field with your mouse.  Then when you click on print it prints the form out with no text in the field.  This form can be opened and filled in if the staff member has adobe pro of nuance but not in the new reader.

    I just ran into the problem as well. To resolve it, I had to open the form in Acrobat  then delete and recreate the fields what are not showing text. I know this is a pain but it seems to be the only way to fix the problem. Going forward, I'm either going to have to upgrade the acrobat program to version X or stop using the form wizzard. It seems that fields created with the wizzard act weird in reader x. Either that or wait for what ever the bug is in reader x to be fixed.
    This fix works for all fields except digital signature which in reader X does not do anything when clicked.

  • How can I get my email and message notifications back on the lock screen after the 5.01 upgrade?

    After the 5.01 Lollipop upgrade I lost my email, text and voice mail notifications on the lock screen on my LG G3.  How do I get them back?

    Still didnt work...i dont know whats wrong.. i want them to look like this...

  • [svn] 2510: -add back in the \frameworks\libs\player\9 folder - we still need the playerglobal .swc from player 9

    Revision: 2510
    Author: [email protected]
    Date: 2008-07-16 10:37:39 -0700 (Wed, 16 Jul 2008)
    Log Message:
    -add back in the \frameworks\libs\player\9 folder - we still need the playerglobal.swc from player 9
    Added Paths:
    flex/sdk/trunk/frameworks/libs/player/9/

    I Reset Internet Explorer Settings and so far, everything
    seems to be working fine!
    http://support.microsoft.com/kb/923737
    I have XP SP2 Home Edition and never got an answer to the
    question if I can use SubInACL.

  • [svn] 3234: revert back to the trunk working copy of build_framework.xml.

    Revision: 3234
    Author: [email protected]
    Date: 2008-09-16 12:58:06 -0700 (Tue, 16 Sep 2008)
    Log Message:
    revert back to the trunk working copy of build_framework.xml. I inadvertently merged the 3.0.x version into the trunk!
    Modified Paths:
    flex/sdk/trunk/frameworks/build_framework.xml

    Thats good news.

  • PO output messages control based on the reason code

    HI,
    The requirement is to generate the PO output message based on the value of 'Reason for change' code. suppose
    Ex:generate the output if the reason code is 2.
    I know there is a way to control the message output by defining the 'fields relevant to printout of changes' in SPRO. But we are not going to use this option.
    I have to control the output based on the Reason code. Please let me know.
    Regards,
    Nishant

    Hi Nishant,
    I will give you another input. This should be your last option. As mentioned above, you need to create an implicit enhancement in the following class method and export the content of the internal table MY_TABLE which contains the current values of the versions.
    Class - CL_GRID_VIEW_MM , Method - HANDLE_ON_DATA_CHANGED
    Then you import the same in your exit.
    Regards,
    Abijith

  • How to find if item's value has changed without leaving the field

    i am using timer in this one appilcation , where i am letting the user define the time in minutes like (30) ..Is there any way to know after they change the value of that item lets say to 40 so that i can execute some other statements.
    i have tried post-change and post text item ...
    thanks.

    You could use a timer, and then in the When-timer-expires (WTE) trigger, try Validate(Item_Scope). Try that, and see if it will cause the when-validate-item trigger to run.
    If that does not work, then in the WTE trigger, move the cursor out of the item. THAT will definitely cause the WVI to run if they have made a change. However, moving the cursor back into the field may cause problems with cursor position and also with the contents of the item selected (highlighted).

  • Formatting error in the field COBL-GSBER - FF_5 Upload

    Hi Experts,
    When I upload the bank statement in FF_5, I am getting the following error.
    "Error: (00 298) Formatting error in the field COBL-GSBER ; see next message"
    If I make the field "Businees Area" Optional in Field Status Group of the "Bank Main Accout", then I am not getting the above error and the posting also happens to the "Bank Main Account".
    But if I make "Business Area" Required Entry Field then I get the above error.
    Is there any other method to rectify this problem, i.e can this be resolved even after keeping Business Area as a required field.
    Pl advice.
    Rgds,
    Prasad.

    Hi,
    I hope making Business area optional field is not a wise decision...user may go without inputting the business area in the field which later on will create problem for clearing...
    If required go for activating user exit FEB00001... which will give you the business area...
    try the same with your ABAPer....
    Cheers
    PK

  • Order Import Failed in OM : Log Validation failed for the field - Ship To

    Problem in Order Management
    When i tried to do Order import in Source Org logfiles shows the Message :Validation failed for the field - Ship To, Please if anyone have a solution of this.
    Thanks in advance.
    Regards,
    Rajesh Verma
    Senior Consultant- Oracle Apps.
    COLT

    perhaps you might want to try populating customer_id instead of name to make sure that there is no error on typing customer name.
    primary ship-to and bill-to must exist under this customer. During order import, if ship-to is not specified then import will fetch primary ST of customer.
    This is what we use to populate interface table -with mininum of data.
    INSERT INTO oe_headers_iface_all
    (orig_sys_document_ref,order_source_id,org_id
    ,order_type_id,payment_term_id, shipping_method_code, freight_terms_code
    ,customer_po_number,salesrep_id
    ,sold_to_org_id, ship_to_org_id,invoice_to_org_id,sold_to_contact_id
    ,booked_flag
    ,created_by, creation_date, last_updated_by, last_update_date,last_update_login
    ,operation_code, order_category
    ,attribute5,tp_attribute4,xml_message_id,xml_transaction_type_code
    ,request_id, error_flag)
    INSERT INTO oe_lines_iface_all
    (order_source_id, orig_sys_document_ref, orig_sys_line_ref,orig_sys_shipment_ref
    ,inventory_item,item_type_code,line_type_id
    ,top_model_line_ref,link_to_line_ref,component_sequence_id,component_code,option_flag
    ,ordered_quantity
    ,order_quantity_uom,salesrep_id
    ,created_by, creation_date, last_updated_by, last_update_date,last_update_login
    ,operation_code,cust_model_serial_number,line_category_code
    ,context,attribute6
    ,reference_type, reference_line_id, reference_header_id
    ,return_context, return_attribute1, return_attribute2
    ,return_reason_code
    ,tp_attribute1,tp_attribute2,tp_attribute3,tp_attribute4,tp_attribute5
    ,request_id,error_flag)

  • Error in VA01 - Kindly leave the field sales office blank

    Hi all,
    We have a program which creates sales orders. But on and off we are getting an error message saying "Kindly leave the field sales office blank" and sales order is not getting created. As we could not replicate the same in quality to test. Can anybody suggest why this error message occurs.
    Warm Regards,
    Sri

    Hi Sri
    First of all check in XD02 wheather you have maintained any sales office feild or not. If you have maintained then check in the enterprise structure wheather you have done any assignments in  the step sales office to sales area or not
    Regards
    Srinath

  • Trying to activate a new iPad mini. Keep getting message that activation server can't be reached and to try through iTunes. I can't go back beyond the language choice screen to select iTunes. Two days of trying to activate. Help?

    Trying to activate a new iPad mini. Keep getting message that activation server can't be reached and to try through iTunes. I can't go back beyond the language choice screen to select iTunes. Two days of trying to activate. Help?

    Apple's download AND activation servers are being stressed today with all the downloads/activations. It might be best to wait and try later.

  • TS3992 How can I back up an iphone when I haven't set the phone up for back ups & the touch screen doesn't work? The phone can receive calls (not answer) & the pictures & messages can be seen but touch screen doesn't work to unlock the phone or select any

    How can I back up an iphone when I haven't set the phone up for back ups & the touch screen doesn't work? The phone can receive calls (not answer) & the pictures & messages can be seen but the touch screen doesn't work to unlock the phone or select anything. We want to save/transfer pictures, contacts, and music to the replacement phone.

    Try backing it up to your computer with iTunes.  Connect it to your computer, open iTunes, click on the name of the phone in iTunes, go to the Summary tab of your iTunes sync settings and click Back Up Now.  Also go to File>Devices>Transfer Purchases to transfer you apps and other purchased media to your iTunes library.

  • How do i get back to a message after I access a link in the email that takes me to the web without having to go back to the main screen

    How do I get back to my email after I have looked at a message and then clicked on the link in the email and was taken to the web to do something.  I want to be able to get back to my email, but so far I have to go back to the home screen and then into email again.
    Thanks

    The only alternative to what you ask and what sberman tells you is to double tap the home button when you are done with the web and select the mail app from the multi-tasking bar. That will bring you right back to the mail message.

  • My iPhone 4S won't let me send any text messages, I can see the recent ones but when I go to type back the screen goes off and it goes back to the home screen?

    I have had my iPhone 4S for a while and it's worked perfectly. Messages were going through fine and everything. I went on this morning as I had a text from someone. I opened the text and the screen just went back to the homepage. It has never done this before so I tried opening it again. The same happened again. I opened a recent text and I can read the old messages fine, it's just as soon as I click to message/text them back it just goes off.
    I tried with Facebook mailing and the same happens, it just goes off. And when I go on safari and try and type something in it goes off.
    I don't know what to do. I have tried turning it off and on and that didn't work. I have tried resetting network connections and I just don't know what to do. I am currently trying to software update to the iOS 7.0.4 to see if that has anything do with it. As before I clicked to text the person back a carrier question came up and it has come up before, could that have something to do with it?
    Please can you help me?

    Basic troubleshooting from the User's Guide is reset, restart, restore.  Try each of these in order until the issue goes away.

Maybe you are looking for

  • Decreased streaming speed after 10.5.7 update?

    Has anyone had a decrease in streaming speed after the last mac security update package? I used to be able to watch video's direct from a site now i have to wait for a good 15-20 mins so i get a large buffer zone and then i can sometimes watch withou

  • Discoverer Plus - Lag / Over / Partition By / Order By (Conditional Syntax)

    Good morning everybody I have created the following syntax in Oracle Discoverer Plus and it works amazingly. However, I have a single problem. This syntax gives me the comparison of two values (for instance: Jan.2010 values & Feb.2010 values). But it

  • Mac Pro + Shake problems

    Just set up a bunch of Mac Pro Intel workstations to replace our dual and quad G5s. All clients are direct attached to fiber. All stations running 10.4.9 and Xsan 1.4.1. New issues we're seeing are Shake cannot consistently render onto the Xsan volum

  • Issues with binding an XML object

    Hi all. I'm doing a quick data editor for a game I'm working on using AIR and flexbuilder. Anyway, I've stored all the data in an XML object and I'm binding various controls to the XML object. But I've come across a weird issue when I update the data

  • How to make a T-code to be displayed after starting SAP

    Hi all, plz let me know how to make our own t-code to be displayed after starting SAP screen.