Cursor postion on next line after scanning

Hi All,
My requirement is to automatically set the cursor position on the next line in SALES tab of standard sales order. once the material barcode is scanned and the material number, quantity and price get populated , the cursor position should be set to next line on material column, is it doable with ABAP? if yes, kindly suggest how.
thanks,
Binita

Hi,
We can set the cursor postion using this statement SET CURSOR FIELD f LINE lin [OFFSET off].
We need to use this in custom Programs.
Please reffer the links below:
[Cursor Position In TABLE CONTROL;
[How to set cursor on next  row in TAble control?;
[http://help.sap.com/saphelp_nw70/helpdata/en/9f/dbac9f35c111d1829f0000e829fbfe/content.htm]
I hope this may helpfull.
Thank you,
Thanks,
AMS

Similar Messages

  • System should take automatically to next line after scanning serial number

    When in SAP serial selection screen i scan serial number(barcode) with scanner system should take me to next line after population of serial number in one line is completed.
    In delivery in select serial numbers window against serial number field in multiple selection if i scan barcode a single serial number is populated in one field after this system doesnt take me to next field automatically ,I am manually taking the cursor to next line.
    If i scan the barcodes with the same scanner in Excel file cursor moves automatically to next line.I want same in SAP
    Make of the scanner is TVS electronics made barcode scanner -BS- L 101 Platina U
    How to automize it.
    Please suggest me solution.
    We tried with BDC but it failed.

    Hi,
    We can set the cursor postion using this statement SET CURSOR FIELD f LINE lin [OFFSET off].
    We need to use this in custom Programs.
    Please reffer the links below:
    [Cursor Position In TABLE CONTROL;
    [How to set cursor on next  row in TAble control?;
    [http://help.sap.com/saphelp_nw70/helpdata/en/9f/dbac9f35c111d1829f0000e829fbfe/content.htm]
    I hope this may helpfull.
    Thank you,
    Thanks,
    AMS

  • 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.

  • Moving the cursor to next field after scanning in RF

    Experts,
    We are developing a RF custom transaction for ITSMOBILE.Can any one provide me some info on how to move the cursor to the next input field automatically after scanning the first filed ? is there any setting in the Device or any config missing or any development required for it?
    Thanks in advance

    Pranathi - For instance if you have 3 Input OR Scan fields in a screen, as soon as you scan the value on the first input field, validate it and then set the field property of th einput field to Display Only, then upon ENTER the cursor will automatically go to the next input field. This is in a desktop. THe same will work in the RF Gun as long as the "Auto-Enter" is set up in your RF gun. This is the only setting required in your device and rest all ABAP. Good Luck.
    -Gisk

  • How do you move automatically to the next field of a form after scanning a barcode?

    Hi, I have been playing around with a barcode scanner (by the way I dont have a clue) and I've converted a form into a PDF document. I'm trying to move to the next field after the data has been populated in a previous field automatically. I'm not sure if this is done within Adobe Acrobat it self or on the scanner.
    The scanner has several different modes, TERMINATION CHAR - CR, TERMINATION - LF, TERMINATION CR+LF and DISABLED.
    I believe one of them put a ENT after the data from a barcode and one of the others doesnt. Any ideas?

    Are you using a handheld scanner and scanning the barcode on screen and wanting the focus to be in the next field after scanning the barcode?
    Otherwise, I am not sure what you are asking. The scanner itself won't do this for you if you actively filling out a form. The field which receives the scanned data could have an exit event which has a setFocus method taking you to the field it specifies. (haven't tested this in a long time, so my presumption is once the data is received it will exit, but focus could remain. In that case, another event would be needed. However, A manual <TAB> will force an exit of the field, and the setFocus() function will excute taking you to the field specified in the method.

  • Can't fix jagged images and horizontal lines when scanning

    Hello, I just bought the HP Envy 5660 and it prints fine but scanning is horrible. I keep getting jagged and horizontal lines after scanning. They came out fine a few times but even on 300 ppi it looks bad. Please give me some advice. Thank you.

    Hello Hulkamania,
    Welcome to the HP Forums.
    I see that you are having some issues with the scan quality with lines and jagged images.
    I have seen this issue before and I was able to resolve it quit easily by doing one simple step.
    Please make sure that you have the printer power cable connected directly to a wall outlet and not a power bar/strip. Here is a document that uses a LaserJet printer as an example but it is meant for HP products in general. Please click on the following link that explains the Issues when Connected to an Uninterruptible Power Supply/Power Strip/Surge Protector.
    Use the ON/OFF button to do a proper power cycle on the printer once it has been connected to a wall outlet.  This will do a Semi Power reset on the printer.
    Try another scan and let me know how it turns out.  Try multiple scans if you like.
    Thanks for your time.
    Cheers,  
    Click the “Kudos Thumbs Up" at the bottom of this post to say “Thanks” for helping!
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    W a t e r b o y 71
    I work on behalf of HP

  • Moving to the next line in JTextArea

    Hi,
    I use a JTextArea just to display messages, that I receive from a server over the network.
    However the method append only puts the text at the end of the text. I want ever message to have its own line.
    So how do I skip to the next line after i appended the text?
    I thought of simulating pressing the enter-key, but I didn't really figure out how to do that.
    Anybody got an idea???
    Thx
    Christian

    Append the system's line separator usingjava.lang.System.getProperty( "line.separator" );Then the added line will be placed as you've wanted. Code will be written like below:yourTextArea.append( System.getProperty( "line.separator" ) );
    yourTextArea.append( yourStringToAppend );Hope it helps.

  • Can set the cursor in next line when user inputted one record?table control

    For Dnypro Table control
    I just know when data check error, we can set the cursor to the error field of current line.
    Now user hope that after they inputted the data of one record, he enter the [ENTER], the cursor can be set to the next new line's first field.
    I tried to use such as
    [SET CURSOR FIELD 'WA_XXXX-XXXXX' LINES 5.].
    But if no any error , the cursor will be automatically setted to the field which setted at Cursor position in Dnypro's attribution
    Can it be realized?
    Thanks.

    try to use same procedure as when you program page down:
      DATA: ITAB_LINES LIKE SY-TABIX,
            FIRST_LINE LIKE SY-TABIX,
            J LIKE SY-TABIX.
      GET CURSOR FIELD CURSOR_FIELD.       "to see what Loop is selected
      DESCRIBE TABLE IRE05 LINES ITAB_LINES.
      RE05-LINES = ITAB_LINES.
        WHEN 'P+'.
    FIRST_LINE = RE05-TOP_LINE + LOOPLINE_IRE05.
    ->      FIRST_LINE = RE05-TOP_LINE + 1.
          J = RE05-LINES - LOOPLINE_IRE05 + 1.
          IF J LE 0.
            J = 1.
          ENDIF.
          IF FIRST_LINE LE J.
            RE05-TOP_LINE = FIRST_LINE.
          ELSE.
            RE05-TOP_LINE = J.
          ENDIF.
    Edited by: Andreas Mann on Feb 28, 2008 11:46 AM

  • Pasting in JTextPane adds the text in the next line not the cursor positon

    Hi,
    I have a problem with pasting the text in a JTextPane. The content type is text/html and the document is HTMLDocument. When I paste the text, it goes to the next line instead of inserting at the current cursor position. The problem is when pasting, the html writer adds a paragraph tag with the selected text. Can any one please help me with this issue for pasting a selected text in the position where I want, without loosing the character attributes and other html tags, but only the paragaraph tags?
    Thanks
    siju

    Hi Tariq,
    If you are specifying some .prt files(printer definition files) in the desformat, please examine them if you have set the width and height to proper values.
    Otherwise look at $ORACLE_HOME/reports/printers/dflt.prt (default file) and see if the width and height are set to proper values.
    Thanks,
    Siva B

  • I'm having problem with text boxes.  Whenever i hit the enter button to start a new line or paragraph, the cursor doesn't drop down to the next line.  Instead i get this little red + sign in the box.

    I'm having problem with text boxes.  Whenever i hit the enter button to start a new line or paragraph, the cursor doesn't drop down to the next line.  Instead i get this little red + sign in the box.

    You are absolutely right.  Thought Enter meant Enter.  I was wrong.  Thank you for the help.
    Rod Rogers, Broker
    Accredited Land Consultant (ALC)
    Metcalf Land Company, Inc.
    Office: 864-585-0444
    Mobile: 864-316-0297
    Fax: 864-583-6000
    <http://www.metcalfland.com> www.metcalfland.com

  • Length of record 2000,after 991 char remaining data appears in next line

    Length of the record is 2000,but after 991 character the remaining data is placed in next line.the file is received in mail as attachment.
    mail informations - MIME setting available is 1.0 version and encoding is 7 bit
    File is opend and reads a line, while writing using utl_smtp.write_data writes 991 character and places a new line character chr(13) || chr(10).
    problem is in utl_smtp.write_data
    Can any one help ,who faced this issue and got rectified
    Edited by: 796208 on Sep 22, 2010 4:51 AM

    I still do not see a problem using attachments with long lines and mixing that with a mail body using long lines.
    SQL> declare
      2          type TStrings is table of varchar2(1000);
      3 
      4          smtpSender      varchar2(100)   := '[email protected]';
      5          smtpRecipient   varchar2(100)   := '[email protected]';
      6          mailSubject     varchar2(100)   := 'Sample Mail';
      7          mimeBoundary    varchar2(100)   := 'CutHere';
      8          smtpConn        UTL_SMTP.connection;
      9 
    10  BEGIN
    11          smtpConn := UTL_SMTP.open_connection( 'mail.domain.com', 25);
    12 
    13          UTL_SMTP.helo( smtpConn, '[email protected]' );
    14          UTL_SMTP.mail( smtpConn, smtpSender );
    15          UTL_SMTP.rcpt( smtpConn, smtpRecipient );
    16 
    17          -- start sending mail body using the data command
    18          UTL_SMTP.open_data( smtpConn );
    19 
    20          -- write header
    21          UTL_SMTP.write_data( smtpConn, 'MIME-Version: 1.0'||utl_tcp.CRLF );
    22          UTL_SMTP.write_data( smtpConn, 'Content-Type: multipart/related; type="text/plain"; boundary="'||
    23                                  mimeBoundary||'"'|| utl_tcp.CRLF );
    24          UTL_SMTP.write_data( smtpConn, 'From: '||smtpSender||utl_tcp.CRLF );
    25          UTL_SMTP.write_data( smtpConn, 'To: '||smtpRecipient||utl_tcp.CRLF );
    26          UTL_SMTP.write_data( smtpConn, 'Subject: '||mailSubject||utl_tcp.CRLF );
    27 
    28          -- empty line between header and rest of mail body
    29          UTL_SMTP.write_data( smtpConn, utl_tcp.CRLF );
    30          UTL_SMTP.write_data( smtpConn, 'This is a multi-part message in MIME format.'|| utl_tcp.CRLF );
    31          UTL_SMTP.write_data( smtpConn, utl_tcp.CRLF );
    32 
    33          -- now write the mail body
    34          UTL_SMTP.write_data( smtpConn, '--'||mimeBoundary || utl_tcp.CRLF );
    35          UTL_SMTP.write_data( smtpConn, 'Content-Type: text/plain; charset="us-ascii"'|| utl_tcp.CRLF );
    36          UTL_SMTP.write_data( smtpConn, 'Content-Transfer-Encoding: quoted-printable'|| utl_tcp.CRLF );
    37          UTL_SMTP.write_data( smtpConn, utl_tcp.CRLF );
    38          UTL_SMTP.write_data( smtpConn, 'start of mail message:'|| utl_tcp.CRLF );
    39          UTL_SMTP.write_data( smtpConn, lpad('x',1000,'1') );
    40          UTL_SMTP.write_data( smtpConn, lpad('x',1000,'2') );
    41          UTL_SMTP.write_data( smtpConn, lpad('x',1000,'3') );
    42          UTL_SMTP.write_data( smtpConn, utl_tcp.CRLF );
    43          UTL_SMTP.write_data( smtpConn, 'end of mail message' );
    44          UTL_SMTP.write_data( smtpConn, utl_tcp.CRLF );
    45 
    46          -- add an attachhment
    47          UTL_SMTP.write_data( smtpConn, '--'||mimeBoundary || utl_tcp.CRLF );
    48          UTL_SMTP.write_data( smtpConn, 'Content-Type: text/csv'|| utl_tcp.CRLF );
    49          UTL_SMTP.write_data( smtpConn, 'Content-Disposition: attachment; filename="test.csv"'|| utl_tcp.CRLF );
    50          UTL_SMTP.write_data( smtpConn, utl_tcp.CRLF );
    51          UTL_SMTP.write_data( smtpConn, lpad('x',1000,'1')|| ',' );
    52          UTL_SMTP.write_data( smtpConn, lpad('x',1000,'2')|| ',' );
    53          UTL_SMTP.write_data( smtpConn, lpad('x',1000,'3')|| utl_tcp.CRLF );
    54          UTL_SMTP.write_data( smtpConn, utl_tcp.CRLF );
    55 
    56          -- close the data command
    57          UTL_SMTP.close_data( smtpConn );
    58 
    59          -- terminate connection
    60          UTL_SMTP.quit( smtpConn );
    61  end;
    62  /
    PL/SQL procedure successfully completed.
    SQL> The mail shows correctly in my mail reader - both body and attachment contains lines that exceed a the 998(?) character limit you said results in a CRLF to be inserted.
    Make sure you know how your SMTP server deals with longs lines ito RFC compliance. Use telnet, from the Oracle db server platform, and connect to the SMTP server and manually send an e-mail with long lines. Determine what the end-result is (viewing raw mail contents) in the mail reader.
    Or post a (easily executed) test case here that demonstrates the specific problem.

  • How to restrict spool data in the next line in pdf print

    Hi Experts,
    i have spool data which is going to be print in PDF format.
    if line is extented..thenit is prining the in the next line..
    but that next line is not starting after one tab space.
    so how to remove that space.
    can anybody give me help.
    Regards,
    venkat

    Hi,
    output is displaying in pdf file in the give format..
    ex:-
    919   sub     00001      44445       testmater
             ial     final
    here test material is not coming fully in the first line..it is cutting and displaying in 2 lines.
    Regards,
    venkat

  • Trying to set a hyperlink when text wraps to next line

    I'm trying to set a hyperlink in InDesign. The URL text wraps to the next line. One time this worked fine and the link was correct. For two other instances, it did not work. When I checked the link in the PDF file, it only "grabbed" the first portion of the hyperlink address. Anything after the first "/" was lost. Is there a way to make sure the entire URL address gets included in the hyperlink? Thank you!

    Acrobat has trouble autorecognizing URLs that break across lines. You ned to create a "real" hyperlink from the text in ID, then include them in the export. If you don't know how to do that, see the Help.

  • Text tool: Text doesn't goto the next line

    Hi,
    I ran into a problem where my text doesn't go to the next line when I press ENTER.  If I keep on typing, the text would overwrite itself.
    This is only happening in After Effects (it is fine in other apps...Email, Photoshop, etc.).  I know it is probably something I clicked but for the longest time, I couldn't figure it out.
    Any help appreciated.

    As Mylenium suggested, you may have a problem with line spacing. For example, you may have leading set to 0. One way to clear problematic settings is to reset the settings in the Character panel.

  • How to separate the Particular field in next line ?

    Hi,
    i have multipule fields in one line but i want to separate the Particular field in next line how to do this ?
    when i am downloading  my output downloaded like this
    but i want to last field should be newline.
    present output:
    901  ab  3455  5667 2123  item1 100
    902  ab  3455  5667 2123  item2 100
    903  ab  3455  5667 2123  item3 100
    in that i am taken item1 100 as string i want to new line from item1
    but i want like this
    experted output:
    901  ab  3455  5667 2123 
    item1 100
    902  ab  3455  5667 2123 
    item2 100
    903  ab  3455  5667 2123 
    item3 100
    plz any code for above example.
    thanks & regards
          sai
    Edited by: k sai ram on Jan 9, 2008 5:26 PM

    Hi Sai,
                make the layout of your root container as matrix layout
    then make item1 as matrix head data.
    inset one transparent ui just after first 100. then make this transparent ui as matrix head data.
    then make 902 as matrix head data
    inset one transparent ui just after second 100. then make this transparent ui as matrix head data.
    repeat the same for next set too.
    You can also do the same with row layout for root element.
    Regards
    Sarath
    Edited by: Sarath Satheesan on Jan 9, 2008 11:17 AM

Maybe you are looking for

  • How to implement a tree like security realm?

    hi all: i am working on a project . it's a very complex one and most importantly there's so many functions( 1000 or more) and every fuction should be protected resources. so i have to define many roles and map the roles to the many functions. it's a

  • How to Store something in a text file.

    Store the record of the session in a text file. please can any one tell me how can i create this thing. i cerate the button but does not work correctly and i can not save any calculation/ import java.awt.*; import java.awt.event.*; import javax.swing

  • Eye Dropper error with Photoshop CC 2014

    On my work computer I am experiencing a "Program Error" when trying to use the eye dropper to sample a colour. My home computer has no problem. I un-installed and re-installed the program with no positive result. Bob

  • Mac Pro 8-Core AC Power Requirements

    I am in the US (120 VAC) and am wondering if anyone has more details concerning the amperage usage on these units. Apple tech specs show only a MAXIMUM of 12 amps when running in the Low range (120 VAC). I am assuming that the maximum of 12A is durin

  • I can't connect to the iTunes in my iPad?

    How to activate the I tunes in iPad