How to move cursor from Line item to kuagv-kunnr after E-Message in VA01

Hi,
Hope yiou can help.
I have set an error message to have sold-to and ship-to equal in some cases.
When the error message is displayed the cursor moves to the material field in the sales order leaving the header greyed out.
I need it in the sold-to party field (kuagv-kunnr) but I need to do this from USEREXIT_CHECK_VBAP.
Any ideas?
Thanks.
Bubble

but when i change the value in the item (F1 or F2) of master block and tab our the detailed block should clear but its not happening as i have used clear_block('detailed Block Name')What do you mean? The joining between master and detail block using one of the column (F1 or F2)? If yes. Then why are you changing the value of primary key? It should not allow you to change. Form will display error like Child records exists etc.
but when we open a form after entering the value in the Item of master block and shows error no data found.. (bcoz as no data to clear in the detailed block).Really i am confused now. Because NO_DATA_FOUND error comes when any SQL fires to fetch data from database. Not at the time of using CLEAR_BLOCK built-in. I did not understand what you are trying to achieve.
i mean when i change the values in the master block fields and tab out the detail block should get cleared and when we click again on the Go button the corresponding data should display.Why it should get cleared? I mean if you are entering the data in master block and records are already being fetched then what is the need to change the existing record.
If you mean to say that the record you already fetch through the button. Then you change the existing record and you are supposing that form should behave like the button is doing now if records exists then fetch otherwise should go to the detail block and user can enter the new values then you should give one more button on the form to clear the screen and use same method to fetch records which you used for the button as i showed above.
-Ammad

Similar Messages

  • How to move cursor from one textfield to another textfield byusing enterkey

    hii all,
    I have a problem in java script.
    To move cursor from one textbox to another text box ,I have take the length of the textboxes of the first column.I used onkeyDown event .
    in the function ,firest i checked the condition like
    for(i=0;i<form1.box.length;i++) //box is the name of the textboxes
    if(event.keyCode==13)
    form1.box[i+1].focus();
    return false;
    by using this the cursor is moving from first text box to secon textbox and stops.
    if i use event.returnValue=false; instead of return false ,then the cursor automatically going to the laxt textbox of the column.
    my problem is how i can focus the cursor from one textbox to another textbox one after the other till the end.
    if any one has solution please help me.
    also if we can do in another way also,please help me.
    thanx.>

    try the following code :
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <HTML>
    <HEAD>
    <TITLE> New Document </TITLE>
    <META NAME="Generator" CONTENT="EditPlus">
    <META NAME="Author" CONTENT="">
    <META NAME="Keywords" CONTENT="">
    <META NAME="Description" CONTENT="">
    </HEAD>
    <SCRIPT language="Javascript">
    function fnTest(str)     {     
              if(event.keyCode==13)          {
                   if(str == 4)     {
                        formHeader.box[0].focus();
                   else     {
                        formHeader.box[parseInt(str)+1].focus();
                   return false;
    </SCRIPT>
    <BODY>
    <FORM name="formHeader">
    <CENTER>
    <INPUT TYPE="TEXT" name="box" value="" onKeyDown="javascript:fnTest('0');">
    <br>
    <INPUT TYPE="TEXT" name="box" value="" onKeyDown="javascript:fnTest('1');">
    <br>
    <INPUT TYPE="TEXT" name="box" value="" onKeyDown="javascript:fnTest('2');">
    <br>
    <INPUT TYPE="TEXT" name="box" value="" onKeyDown="javascript:fnTest('3');">
    <br>
    <INPUT TYPE="TEXT" name="box" value="" onKeyDown="javascript:fnTest('4');">
    </CENTER>
    </FORM>
    </BODY>
    </HTML>
    ----------------------------------------------

  • How to handle the multiple line items in the Inbound idoc FM

    Hi ,
    Can any body give me how to handle the multiple line item in the idoc when we reprocessing it from workitem....
    Thanks in Advance,,,,
    Regards,
    Bharani

    Hi ,
    Can any body give me how to handle the multiple line item in the idoc when we reprocessing it from workitem....
    Thanks in Advance,,,,
    Regards,
    Bharani

  • Tax amount from line items

    Presently developing a report for which want Vendor Invoice line item tax details along with other details like material no, quantity.
    For example, a MIRO invoice, have 2 lines having different materials. On what fields do I link BSEG and BSET (apart from BUKRS + BELNR + GJAHR) so that I will get tax amount for the individual line items.
    If i use FM CALCULATE_TAX_FROM_NET_AMOUNT or CALCULATE_TAX_ITEM
    it provides tax for each line item but how to link this BSET line item detail to BSEG from where want to read material no and quantity information.
    BKPF and BSET on BUKRS + BELNR + GJAHR give only consolidated tax amount. But requirement is to have individual line details.
    kindly resolve.
    anya

    Hey Anya,
    I am facing the exact same issue. Could you share the solution please.
    Thanks,
    Shobhit

  • Withholding tax information missing from line item

    Hi Gurus,
    We have created a vendor invoice in SAP. The voucher processed and paid has withholding tax of 1,333.00
    But if you display the vendor invoice and click on the withholding tax data button, it says that withholding tax information missing from line item.
    Kindly advise how could this happen when the vendor account has maintains withholding tax code and the payment document also has withholding tax information.
    Thanks,
    Ellicec

    Dear,
    Please check the following:
    1. The withholding tax types and indicators must be defined as Liable'.
    Please check this via vender master data (fk02).
    2.Please check field status group for withholding tax fields in
    transactions OB14 (inserting the field status variant of the Company Code oby6 and the field status group of the g/l account that You can find running FS00) and OB41 (posting key, in DP case 29). Check the account group for the GL account
    assigned to the vendor reconciliation account in FBKP.
    These should be set as "optional".
    Select group --> Taxes
    Suppress Req. Entry Optional Entry
    Withholding Tax Code X
    Withholding Tax Amounts X
    regards

  • How to move value from one tlist to another tlist in same form?

    how to move value from one tlist to another tlist in same form on button press?
    Same like in data block wizard when we select value from 1st list it will go to 2nd list and can be move back. Please help i am new to forms .
    Regards

    just call the following proc in your add & add all buttons. Reverse the code for REMOVEs
    this proc will move one item at a time from list_item1 to list_item2.
    PROCEDURE add_an_item
    IS
      v_list_count    NUMBER;
      v_item1_label  VARCHAR2(60);
    BEGIN
      IF :list_item1 IS NOT NULL THEN v_list_count := nvl(Get_List_Element_Count('list_item1'),0);
          IF v_list_count >= 1 THEN FOR i IN 1..v_list_count
          LOOP
             IF   :list_item1    = Get_List_Element_Value('list_item1', i)
             THEN
                  v_item1_label := Get_List_Element_label('list_item1', i);                 
                  Add_List_Element('list_item2',1,v_item_label,:list_item1);         
               Delete_List_Element('list_item1',i);
               Exit;
             END IF;
          END LOOP;
           END IF;
       END IF;
    END;
    *********************************************************************************this proc will move all items from list_item1 to list_item2.
    PROCEDURE add_all_items
    IS
      v_list_count NUMBER;
      v_item_label VARCHAR2(60);
      v_item_value VARCHAR2(60);
    BEGIN
    v_list_count := nvl(Get_List_Element_Count('list_item1'),0);
    IF    v_list_count = 1 AND Get_List_Element_Value('list_item1', 1) IS NULL THEN NULL;
    ELSIF v_list_count >= 1 THEN
           FOR i IN 1..v_list_count
           LOOP
            v_item_value  := Get_List_Element_Value('list_item1', i);
            v_item_label  := Get_List_Element_label('list_item1', i);       
            Add_List_Element('list_item2',i,v_item_label,v_item_value);
           END LOOP;
           clear_list('list_item1');
    END IF;
    END;I added [ code ] tags to make this easier to read.
    Message was edited by:
    Jan Carlin

  • How to move table from one tablespace to other tablespace?

    how to move table from one tablespace to other tablespace?

    887274 wrote:
    how to move table from one tablespace to other tablespace?
    alter table <table_name> move  tablespace <new_tablespace_name>;
    Rebuild the indexes; alter index <index_name> rebuild <new_tablespace_name> online;Example;:
    SQL> create table ttt( ID NUMBER PRimary key);
    Table created.
    SQL> insert into ttt values (1);
    1 row created.
    SQL> commit;
    Commit complete.
    SQL> select index_name, status  from dba_indexes where table_name='TTT';
    INDEX_NAME                 STATUS
    SYS_C0010863                 VALID
    SQL> alter table ttt move tablespace users;
    Table altered.
    SQL> select index_name, status  from dba_indexes where table_name='TTT';
    INDEX_NAME                 STATUS
    SYS_C0010863                 UNUSABLE
    SQL> alter index SYS_C0010863 rebuild tablespace users online;
    Index altered.
    SQL> select index_name, status  from dba_indexes where table_name='TTT';
    INDEX_NAME                 STATUS
    SYS_C0010863                 VALID
    SQL>

  • I have aperture 3.2.4 on my laptop and have the serial number, but just bought a new MAC and I can't get the Ver 3.0 link to work. Anyone know how to move it from my laptop to our new mac?

    I have aperture 3.2.4 on my laptop and have the serial number, but just bought a new MAC and I can't get the Ver 3.0 link to work. Anyone know how to move it from my laptop to our new mac?

    I am talking about the Ver 3 download link that came with the purchase email.
    That link is no longer available. Use "Migration Assistant" to copy your Applications from your old mac to the new Mac, then immediately run software update. Aperture Version 3.2 will not run on your new mac with Mavericks, you will have to Upgrade to version 3.4.5 at least - you can download this update from the Support page: Aperture 3.4.5
    Then launch Aperture and enter your registration key and try now too update from version 3.4.5 to 3.5 from the AppStore. The AppStore will change your Aperture registration to an AppStore version, so you will able to reinstall by downloading from the AppSTore in future.
    If you want transfer only Aperture and no other applications, do it manually: You will have to copy not only the application but folders from the libraries as well:
    /Applications/Aperture.app
    /Library/Application Support/Aperture/
    ~/Library/Application Support/Aperture/
    Leonie

  • How to move data from a staging table to three entity tables #2

    Environment: SQL Server 2008 R2
    I have a few questions:
    How would I prevent duplicate records, when/ IF SSIS is executed many times?
    How would I know that all huge volume of data being loaded in the entity tables?
    In reference to "how to move data from a staging table to three entity tables ", since I am loading large volume of data, while using lookup transformation:
    which of the merge components is best suited.
    How to configure merge component correctly. (screen shot is preferred) 
    Please refer to the following link
    http://social.msdn.microsoft.com/Forums/en-US/5f2128c8-3ddd-4455-9076-05fa1902a62a/how-to-move-data-from-a-staging-table-to-three-entity-tables?forum=sqlintegrationservices

    You can use RowCount transformation in the path where you want to capture record details. Then inside rowcount transformation pass a integer variable to get count value inside
    the event handler can be configured as below
    Inside Execute SQL task add INSERT statement to add rowcount to your audit table
    Can you also show me how to Check against destination table using key columns inside a lookup task and insert only non
    matched records (No Match output)
    This is explained clearly in below link which Arthur posted
    http://www.sqlis.com/sqlis/post/Get-all-from-Table-A-that-isnt-in-Table-B.aspx
    For large data I would prefer doing this in T-SQL. So what you could do is dump data to staging table and then apply
    T-SQL MERGE between tables (or even a combination of INSERT/UPDATE statements)
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • How to move Tablespace from One disk group to another disk group in RAC

    Hi All,
    I have 11gR2 RAC env on Linux.
    As ofnow I have problem with disk group. I have 3 disk group which is almost full - 98%. I have added one NEW disk group and want to move some of the Tablespace(TBS) from OLD disk group to NEW diskgroup and make some free space in OLD disk group.
    Can any one suggest me how to move TBS from one disk group to another disk grup without shutting down the instance.
    DB is in Noarchive mode.
    Thanks...

    user12039625 wrote:
    Hi Helios,
    Thanks for doc id but I am looking for noarchive mode solution. becaues I got ORA-
    "ORA-01145: offline immediate disallowed unless media recovery enabled " when run alter database datafile '...' offline.
    Hence I am trying something and findout below steps but not sure how useful it is:
    1- put tablespace offine
    2- Copy the file to new diskgroup using Either RMAN or DBMS_FILE_TRANSFER.
    3- Rename the file to point to new location.
    4- Recover the file.
    5- Bring the file online.
    I had move 240M TBS from OLE to NEW.
    These steps run successfully so I think this is valid for noarchive mode.Hence want to confirm..so inform me please.
    Thanks :)I have doubt in my mind:
    1. You database is in noarchivelog mode
    2. You're taking tablespace offline
    3. Suppose you're moving a file of size 10GB(or any larger filesize) to another disk group
    4. Now after moving the file, you're trying to bring the tablespace online............NOW
    tablespace will need recovery. if the required data is inside the SGA then it is ok. But if the data has been flushed, then?
    if step 2 and 3 has taken significant time, then most probably you'll not be able to bring that tablespace online.
    Regards,
    S.K.

  • How to get value from list item

    Hi all,
    How to get value from list item?
    I have a problem with the List Item object
    in the Oracle forms.
    How can I retrieve the selected item from
    a list ?
    I didn't find any function like 'list.GET_
    SELECTED_ITEM()'...
    thanks
    Bala

    Hello,
    You get the value as for any other Forms item:
    :value := :block.list_tem ;Francois

  • How to move data from 2 internal table to 1 internal table

    Can any body send me code that how to move data from 2 internal table into one internal table.
    Moderator message : Read ABAP documentation. Thread locked.
    Edited by: Vinod Kumar on Jun 13, 2011 11:45 AM

    Hi Mohdarif92;
    I don't know your full needs. But general method should be as below code.
    Please check exam below code.
    Best regards.
    data : begin of gt_result.
                ... like mkpf-...
                ... like mkpf-...
                ... like mseg-...
                ... like mseg-...
              end of gt_result
    select *
    into table gt_mkpf
    from mkpf where ...
    select *
    into table mseg
    from mseg where ...
    loop at gt_mkpf.
         loop at gt_mseg where ... = mkpf-...
            move-corresponding gt_mkpf to gt_result.
            move-corresponding gt_mseg to gt_result.
            append gt_result
         endloop.
    endloop.

  • How to move pics from phone to sd card?

    Could some one explain how to move pics from phone to sd card?

    before you fiddle with it you may want to back up your photos on your PC. This is how to move them from phone to PC.
    How to Transfer photos from HTC memory to PC
    1) From the phone: select: Menu>settings>connect to pc>as disk
    2) Attach phone to pc with usb cable
    3) From pc open: Computer>removable disk F>dcim>100media
    Note: you can also pull the mini sd card out of you phone and plug that directly into your computer. just make sure to unmount the disk through your settings options before you remove it from the phone.

  • How to move pics from camera role to photo stream?

    How to move pics from camera role to photo stream?

    before you fiddle with it you may want to back up your photos on your PC. This is how to move them from phone to PC.
    How to Transfer photos from HTC memory to PC
    1) From the phone: select: Menu>settings>connect to pc>as disk
    2) Attach phone to pc with usb cable
    3) From pc open: Computer>removable disk F>dcim>100media
    Note: you can also pull the mini sd card out of you phone and plug that directly into your computer. just make sure to unmount the disk through your settings options before you remove it from the phone.

  • Creating a Summary Cube from Line Item Cube

    Friends,
    1. I have a GL Line Item cube that gives me item level information
    2. As I needed to create a summary cube I copied line item cube adjusted dimensions (removed Line Item) and activated it.
    3. When I loaded the summary cube from Line Item cube I got same number of transactions
    What have I missed? I want to summarize the info at GL Account level; or at any other info object level.
    I have done this before but it did not work this time. I think I have missed a step.
    I will be looking forward to your recommendations!
    Thanks for reading this!
    Ram

    Hi,
    Just removing tick against Line item will not work. You have to remove that characteristic from the cube. As this characteristic is High cardinality , you need to remove it from he cube.
    Decide at what level you want to have aggregated data and keep only those characteristics in the cube.
    Regards
    SS

Maybe you are looking for