BADI - Place cursor on the good field

Hi,
I have made an implementation for BADI ME_PROCESS_PO_CUST.
The method I update is CHECK.
The functional rule : check inconsistency between VAT code and asset (EKPO-MWSKZ and EKPO-KNTTP).
I make a check on all the items of the purchase order, and when I detect an inconsistency detailed above, I have to prevent user from saving the purchase order by sending a message.
No problem till there.
I have problem when I want to place the cursor on the relevant item. Do you know how to do ?
Ex :
PO 4500130670
Item 10 VAT Code Z9 Asset A
Item 10 VAT Code     Asset A
Item 10 VAT Code     Asset A
I want to place the cursor on field VAT Code for the item 10.
Thanks for your help,
Regards,
Stephane

Hi,
try this
SET CURSOR FIELD 'P_DATE'.
Message ..................
OR
Try to give out the error message inside a module inbetween
Chain.
field: <Fieldname>
module Endchain.
Regards,
Omkar.

Similar Messages

  • How to programmatically move the cursor to the "To" field of a new AppointmentItem?

    I need to move the cursor to the "To" field of all new AppointmentItems which are created through my Outlook Addin. How I can achieve this?
    Thanks in advance.
    Thanks Prasad

    Hello Prasad,
    The Outlook object model doesn't provide anything for that. You need to use Windows API functions or use
    Accessibility API to set the cursor programmatically.

  • Set Cursor to the next field after scanning first field in RF programming

    Hi,
    I have requirement where i need to set the cursor to the second field i.e. Purchase order after scanning the first field i.e. Material
    in RF programming with out user interaction.
    I kept the material visible length to 6 chars instead of 18 on the screen as user is having material length is occupying 6 chars.
    Thanks in advance.
    Regards,
    Suvarchala

    Hi Group,
    Finally I got the solution for this, here is the stuff we need to do:
    ***********04/03/2010
    *----Get the current cell
                CALL METHOD wa_grid->get_current_cell
                  IMPORTING
                    es_col_id = li_col
                    es_row_no = li_rows.
    **--Get Scroll Position
                CALL METHOD wa_grid->get_scroll_info_via_id
                  IMPORTING
                    es_col_info = ls_col
                    es_row_no   = ls_num.
    ***********04/03/2010
                CALL METHOD wa_grid->refresh_table_display.
               CLEAR: wa_profile1.     ", wa_pro_new.
    ********04/03/2010
    *--Set Scroll Position
                CALL METHOD wa_grid->set_scroll_info_via_id
                  EXPORTING
                    is_col_info = ls_col
                    is_row_no   = ls_num.
    *----Set the cell information
                ls_row-index = li_rows-row_id.
                CALL METHOD wa_grid->set_current_cell_via_id
                  EXPORTING
                    is_row_id    = ls_row
                    is_column_id = li_col
                    is_row_no    = li_rows.
    ********04/03/2010
    Hope this info might be useful to anyone facing the similar issue.
    Cheers,
    Jagan.

  • Places: problem with the State field in Aperture 3.03

    hi,
    I live in Europe and I have some problems in handling the State field in Aperture 3.03, because this field isn't always relevant in non North-American Countries.
    The Google suggestions in Places don't always include the 4 fields (Location/City/State/Country). I have a lot of pictures taken in the Azores islands (Portugal) which don't show up in my Aperture map because the marker somehow doesn't write Azores in the State field.
    Question #1: is there a way to eliminate the State field from Aperture, or at least to render it optional?
    Question #2: if I manually create a New Location, what is the proper syntax to separate Location/City/State/Country in a way that will be understood by the Aperture database? I tried putting commas as a separator, but it doesn't seem to be working.
    Thanks for your help.

    Yes, same here. I cannot complete my registration process due to the same error. My state is correct, which is RS (two letters only). I don't know what else to do. Refer to the image below. Thanks!

  • In Mail.app, what is the shortcut to place cursor in the search mail field

    What is the shortcut for putting the cursor next to the magnifying glass. Cmd + 'F' brings up Find which is different thing. Spotlight shortcuts bring up the two ways to access Spotlight. Not what I want. Don't even know what this search-my-emails field is called.

    Hello wideEyedPupil,
    Thanks for using Apple Support Communities.
    The shortcut for selecting the Mail search bar is Command-Option-F.
    Mail (Mountain Lion): Keyboard shortcuts
    http://support.apple.com/kb/PH11679
    Take care,
    Alex H.

  • Cursor on the same field after validation (urgent.)

    Hi All,
      I m doin validation on certain field. if the user enters wrong value then error message should be given  along with the cursor should be in that field only.
    Here in my case what happens is the cursor goes to intial screen i want it at on that field where i have given the validation.
    What should i do for the same?
    Please help me with the same..
    Thanx in advance,
    Amruta.

    Hi,
    try this
    SET CURSOR FIELD 'P_DATE'.
    Message ..................
    OR
    Try to give out the error message inside a module inbetween
    Chain.
    field: <Fieldname>
    module Endchain.
    Regards,
    Omkar.

  • I return my cursor to the search field, it selects the entire entry. I have to click a second time to deselect in order to hit return and send the search. Sometimes I have to click on the type several times to select one word or an insertion point. How do

    It only does it in the Google search field. It seems to me I set Firefox to select chunks of type and now don't know how to change it back. Any suggestions?

    It only does it in the Google search field. It seems to me I set Firefox to select chunks of type and now don't know how to change it back. Any suggestions?

  • Alv grid: how to set cursor to the next field

    Hi Abapers,
    When I input the data in first cell and do a tab for coming to next cell to give the input it is coming back to my first cell in the ALV grid.
    Any idea's on how do I deal with this.
    Many Thanks,
    Jagan.

    Hi Group,
    Finally I got the solution for this, here is the stuff we need to do:
    ***********04/03/2010
    *----Get the current cell
                CALL METHOD wa_grid->get_current_cell
                  IMPORTING
                    es_col_id = li_col
                    es_row_no = li_rows.
    **--Get Scroll Position
                CALL METHOD wa_grid->get_scroll_info_via_id
                  IMPORTING
                    es_col_info = ls_col
                    es_row_no   = ls_num.
    ***********04/03/2010
                CALL METHOD wa_grid->refresh_table_display.
               CLEAR: wa_profile1.     ", wa_pro_new.
    ********04/03/2010
    *--Set Scroll Position
                CALL METHOD wa_grid->set_scroll_info_via_id
                  EXPORTING
                    is_col_info = ls_col
                    is_row_no   = ls_num.
    *----Set the cell information
                ls_row-index = li_rows-row_id.
                CALL METHOD wa_grid->set_current_cell_via_id
                  EXPORTING
                    is_row_id    = ls_row
                    is_column_id = li_col
                    is_row_no    = li_rows.
    ********04/03/2010
    Hope this info might be useful to anyone facing the similar issue.
    Cheers,
    Jagan.

  • Cursor not focusing in the text field after Object tag load in IE

    Hi,
    We have an applets class "ABC.class" in our application. To include this class in a jsp page we are using OBJECT tag. This tag is written inside a if block in the jsp page. Based on the if condition this OBJECT tag has to be loaded. Below is the code we are using:
    <%
    if(testCondition)
    %>
    <OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" NAME="applet" width="0" height="0">
    <PARAM NAME="CODE" VALUE="ABC.class" >
    <input type="hidden" id='myText' value="Please configure the jinitiator version to Oracle applicaitons Jinitiator version." >
    No JDK 1.3 support for APPLET!!
    </OBJECT>
    <%
    %>
    In the above code if the "if condition" is satisfying, then cursor is not focusing on the required field. The code to focus on the field is written in the javascript function which is called onLoading the page.
    we are using IE 7 and IE8. In IE 7 sometimes working fine but in IE 8 we are getting this issue.
    Can anyone please help us how to focus the cursor on the required field even in the case of the Object tag loading.
    Thanks,
    Eswari

    Hi Nicky,
    Thanks for your reply.
    We are not using JQuery.
    Actually the code to focus is written in the function which is called onLoad of the page that will be executed after the page loading. If we keep alerts in the onLoad function then the cursor is focusing to the required field.
    Thanks,
    Eshwari

  • Table Control - Cursor placed on same field

    Hi,
       I am facing one problem in a User defined Screen that having Table control.
       I written some validations for each and every field in Screen including Table control.
       But each & every time i am pressing Enter , the cursor is going to first field in the screen . I want to restrict this one...i want to be cursor on the field which i entered value at that time or next navigation field.
       How i can achieve this...cursor should stay on the same field , it should not go to first field.
       Pls give ur suggestions...
    Thanks in Advance,
    Best Regards,
    pavan.

    Hello Pavan,
    This is the first time I'm coming across this problem and I find it quite peculiar. Anyways, I can think of one option that you can try out.
    Use the option GET CURSOR FIELD to get the cursor in the PAI event and then use the SET CURSOR FIELD statement in the PBO to set the cursor to the appropriate field.
    Regards,
    Anand Mandalika.

  • Pasring multiple fields into the Description field with a carriage return between each in Orchestrator

    I have a Service Request that is entered in through the Self Service Portal.  This service request has 4 different prompts in the Request Offering.
    This will actually eventually become a Change Management Request.
    What I would like to do, is grab the 4 User Inputs, and place them in the Description field of the Change Management Request.  I can get them to show up in the Description, however, I would like to be able to add a carriage return between each User
    Input (along with a description of what's being put in).  How can I do that?
    Right now, it looks like this Username: Name Manager: Manager
    Start Date: Start Date Needs Mail?: Y or N
    I want it to look like this:
    Username: Name
    Manager: Manager
    Start Date: Start Date
    Needs Mail?: Y or N

    Thank you.  This is what I was looking for.
    For those figuring out what to do:
    Add the Run .Net Script command to your Runbook.
    Under Details, selec PowerShell for the Type, and in the Script $Desc = "Username:
    Username field from the Published Data" + "`n" + "Manager: Manager field from the Published Data" + "`n" + "Start Date:
    Start Date field from the Published Data" + "`n" + "Needs Mail:
    Needs Mail field from the Published Data"
    ($Desc is just the variable I used, and can be whatever you want)
    Under Published Data, Add the field you want to output and make the Variable name what you used above without the $
    Then do Update Object and Update the Description with the published data from your PowerShell Command.
    I do this, and my data is passed successfully and it shows up in my notifications, however the carriage returns are not there. It looks the same as it did before I added the powershell right before Update Object. 
    ? Anybody else not getting this to work ? 

  • Move focus/cursor to FIRST errored field

    I have a page with serveral inputText fields. Most fields are validated for a date, number, currency, or just a required string. How can I move/display the cursor in the FIRST field in error. It seems the cursor just disappears, I then have to use the mouse to click on the field that is in error to correct the error. Seems that JSF should take care of this.
    Thanks for your help.

    Hi all,
    Please can any one help me i am new for java Script. It will be a great help.
    will Appreciate any other approach.
    Thank You,
    Amit

  • How to make a screen field as selected when we place the cursor in the fiel

    Hi,
       I have a requirement like, needs to be automatically select a screen field value when i place the cursor in that field.
        The screen field value should be displayed in blue color as like we select the value using shift-end. when a new value is entered in that field, it should over-write the existing value.
         Any pointers would be appreciated.
    Thanks,
    Gopi.R

    Hi Gopi,
    you can look into some examples in transaction
    DWDM or BIBS
    Thanks,
    Krishan

  • Place the cursor at the begin of the Input field [Parameter]

    All,
    I have a input field in a report, i need to place the cursor in the First position of the field, currently cursor stop always in the last.
    PS : I have unchecked the Options> cursor> positions cursor at end of text
    Is it any other setting i need to look ?

    Thanks Naren,
    This is documentation i found on the right justified checkbox in layout
    Text                                                                               
    Right-justified display                                                                               
    Definition                                                                               
    When you activate this attribute, any output in the field is right-    
        justified. In the case of numeric formats, right-justified output is   
        also effective in input fields.                                        
    Its working in RF

  • New to Firefox. Using GoDaddy web email: I can't place the cursor in the Subject window by clicking. I have to tab down from the address window.

    I just started using Firefox version 19. When composing an email in my GoDaddy webmail it does not allow me to place my cursor in the subject line window by clicking (this does not happen in Internet Explorer). The only way I have found to be able to type a subject is to use the tab key to move down from the address line into the subject line. Is there a way to fix this?

    This can be cause by JavaScript that intercepts the mouse clicks and that isn't working properly.<br />
    Disabling JavaScript temporarily after the page has loaded should make it work in such a case.
    It is also possible that another element is covering the login field.<br />
    In such a case a right-click and Inspect Element should reveal with element gets selected.
    *https://developer.mozilla.org/en/Tools/Page_Inspector
    *https://developer.mozilla.org/en/Tools/Page_Inspector/HTML_panel
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

Maybe you are looking for

  • How to hide Actions Column in Table

    Hi All, I have a simple requirement: I am showing a table (items) - the "Actions" column (Column with Buttons to Edit and Delete a particualr row) must not be show -> no changes to the table are allowed (I need to hide/ disable this column) How can I

  • Adding Facebook and Twitter links to iWeb

    Can anyone explain how to add FB and Twitter logos and links to my entry page/ Thanks

  • Explain Plan for Multiple SQL

    Hi , Our db version is Oracle 8i and looking for solution. I have multiple select sql statments and need to get the explain plan for all statments. Is it possible to take explain plan for all statments one time? If so please provide the steps. Thanks

  • Translation of adopeforms used in webdynpro ABAP

    Hi Experts, I'm using adopeform th'gh webdynpro application. I need to output the form in french language. how can it be done??. I have already tested with se63 transaction but its not getting translated in the webpage . Kindly give a solution. Kindl

  • LR 1.4.1 Freezes on Image Download File Selection

    I have not gotten a response on this problem since May 27, so reposting: Windows XP, SP 2. I believe I have the latest version. Pretty sure I downloaded at beginning of this Month (May 2008). LR is freezing (not showing any progress) on image selecti