No data in table TRFCQDATA  when update IM in ECC after EWM PGR

Hi Experts,
In our client system, when Inbound delivery (Customer Return) has been completed PGR in EWM, ECC system cannot be updated in IM stock and  occurs an error :No data in Table TRFCQDATA(Internal) via SMQ2 query it.
Who can advise how to solve it?
Many thanks!
Julia

Thanks Sathish!
Yes, after re-regisiering manually, the queue will be processing.
However we need all qRFC queue can be automatically processed immediately, not manally.
Who can advise what setting we are missing ?
Thanks & Best regards,
Julia

Similar Messages

  • CIF issue u201CNo data in table TRFCQDATA selected (internal )u201D

    Hi SAP Gurus,
    I am facing CIF issue in R/3 quality system after this system has been refreshed with production. When i try to activate the integration model for any data, the inbound queues are failing with status "u201CNo data in table TRFCQDATA selected (internal )u201D. When i try to delete this queue and activate the integration model the same is getting activated. But seems like activation is not happening as expected. Please advise on how do resolve this issue of u201CNo data in table TRFCQDATA selected (internal )u201D.
    I have been looking into the SAP note 961154 for the resolution. But when we tried the same implementing and it thrown up an error message saying that its applicable to DB2 database .We are having IBM hardware with Linux and oracle database. Please any one of you know what SAP note is applicable in that case. I am  not sure of what needs to be maintained in that tabe TRFCQDATA and the significance of the same.
    Based on your replies, i am thinking of reaching out the SAP by raising an OSS note.
    Thanks in Advance.
    Jagadeesh

    Hi,
    The destination in SMQR should either be empty or pointing to a destination on the local system. If you configure it with a destination pointing to other system, then you will get this problem, because the data is only available on the local system and the inbound luws should only be processed on this local system.                                                                               
    Please check the note no 369007, specifically question 11  to ensure you have the correct settings.Also go through the note description and answers to other questions and see if it helps.                                                                               
    Also check the following notes:                                                                               
    697884 - Queues in SMQ2 are not processed.                             
    524419 - Procedure for large-scale queue jams.                         
    523974 - Inbound/outbound queues are not processed.                    
    527481 - tRFC or qRFC calls are not processed.                         
    564612 - FAQ, Q+A, SM59, RFC destination, RFC error                                                                               
    I hope I could help.
    Regards,
    Tibor

  • Data on phone lost when updating software

    I have a 3gs - when i get prompted by itunes to update software my phone freezes after the process and I get locked onto the insert usb cable screen. I have to restore to last setting to get it going again which takes hours. can you help please. latest prompt is to update to 4.3.3
    I need to download an app that requires 4.2 software update

    Hi and Welcome to the Forums!
    I am confused as to how a download of DTM would cause this. Downloading DTM to your PC does nothing but download an installation file to your PC. You must launch that installation file in order for anything else to happen...and then do even more in order to cause what you have described. So I am confused as to exactly what you have done.
    In any event, if your BB has been somehow wiped clean, then the only way to get your data back is if you already have previously taken a backup. If you have never done that, then there is no hope.
    Lastly, you might find interest in this article:
    http://hubpages.com/hub/What-People-Think-When-You-Type-in-All-Caps
    Best.
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • How data in table bbp_pdacc gets updated?

    Hello,
    The Shopping cart is getting created successfully but data is not getting updated in bbp_pdacc and due to which data is not available in bbp_pd.
    Thanks and Regards
    Himani Singh

    Hi,
      If the data is not there in bbp_pdacc, then you should see account assignment details when you view the cart in SRM Portal
      Do you see the account assignment details there after saving the cart.
    If its not there then it could be related to what you are buying like Direct procurement or not. Otherwise , Put a trace ON if there is any Authorization issue(that possibility is remote though).
    Did you apply any patch or upgrade any support pack level recently?
    Regards
    Virender Singh

  • How to show the data in table format when user click the Graph

    Hi,
    I have a graph in my report. If user click the graph is there a way to show
    the data behind it?
    Thanks.
    Regards,
    Jun

    Hi All,
    Any idea how to do this?
    Thanks.
    Jun

  • Should I be concerned with losing existing data (projects or events) when updating from FCPX to FCPX 10.1?)

    I purchased a Macbook Pro loaded with FCPX from a private party. I now want to update from FCPX to FCPX 10.1 should I be concered about losing my exhisting projects and events? The previous version of FCPX is registered to another person and wondered if this could potentially overwrite anything. I backed everything up to another drive but, just wondered if anyone has done this sucessfully?

    The project files are put where FCP X wants to put them. If you render anything, it puts the rendering where it wants to put it.
    FCP X has three opportunities to lose something - it can't find your project, it can't find the event, the event can't find the media. We see it on this forum all the time and right now 10.1 is managing all that and screwing it up for some people. We see FCP X updating events and projects...
    With Motion 5, I put my project file where I want - in a folder for that project. In that same folder, I have all my media. It's not necessary to have a feature where it moves my files for me to another drive, etc. I simply drag that folder anywhere I want and all the links are in tact because the links are relative.
    With FCP X, even if I don't copy the media to the events folder and leave it where I want, it still creates a folder with its own hierarchy - Backups, Old Versions, Original Media, Render Files, Transcoded Media...
    FCP X's method opens people up to more problems, obviously. You don't see people on the Motion forum talking about how Motion moved media or put it in the trash etc. The only thing that can happen is the small XML project file can't find the media and so you simply relink and you can use Spotlight for that.
    Seems like there are more headaches with FCP X's method.

  • Error when updating the Request again after deleting it .

    Hi
    Actually I deleted few requests(some red ,some green) to load the request in order in the ODS for each date. While  again updating the same requests from the PSA,
    I am getting this error in the monitor.
    "Deletion of M version from ODS terminated"
    What should i look for ?
    Please advise,
    Thanks and regards,
    Priya.
    Few lines from the monitor:#
    Subseq. processing (messages) : Missing messages
    Missing message: Subseq. processing completed
    Deletion (messages): Errors occurred
    Delete running: ODS ZCCD0003 , from 71504 to 71938
    Deletion of request 71938 from ODS ZCCD0003 successful
    Deletion of request 71938 from ODS ZCCD0003 successful
    Deletion of request 71938 from ODS ZCCD0003 successful
    You want to delete request 0000057118 , but it is already updated
    Deletion of request 71938 from ODS ZCCD0003 successful
    Deletion of request 71876 from ODS ZCCD0003 successful
    Deletion of request 71504 from ODS ZCCD0003 successful
    Deletion of M version from ODS ZCCD0003 completed successfully
    Delete running: ODS ZCCD0003 , from 71504 to 71876
    You want to delete request 0000057118 , but it is already updated
    No data request exists for request number 71876
    No data request exists for request number 71504
    No data request exists for request number 71,504
    <b><i>Deletion of M version from ODS terminated</i></b>
    Deletion of M version from ODS ZCCD0003 completed successfully
    Delete running: ODS ZCCD0003 , from 71504 to 71876
    You want to delete request 0000057118 , but it is already updated
    No data request exists for request number 71876
    No data request exists for request number 71504
    No data request exists for request number 71,504
    Deletion of M version from ODS terminated
    Deletion of M version from ODS ZCCD0003 completed successfully
    Delete running: ODS ZCCD0003 , from 71504 to 71876
    Deletion of request 71876 from ODS ZCCD0003 successful
    Deletion of request 71504 from ODS ZCCD0003 successful
    Error :Deletion of M version from ODS terminated

    Hi Roberto,
    I just want to know in SM50 how do we recognise that the process is running for what request.
    Everytime I see only this status:
    0  DIA  2004 Running  Yes SAPLTHFB  400  Disdgnl01.
    What does this report do? and how do we understand the
    details ......
    Can i have some link as well where I can get more information about the process overview.
    Thanks a lot for all your help,
    Priya.

  • How to populate data in table control  .

    hi all,
    i put matnr no. in screen no. 103
    validation is done at that screen only.
    now when i want to modify dat record
    when i put matnr no. at screen 103
    so how i will get all  data of dat number to table control screen.

    Hi Darshan,
       Here is a detailed description of how to update data in table controll.
      Updating data in table control
    The ABAP language provides two mechanisms for loading the table control with data from the internal table and then storing the altered rows of the table control back to the internal table.
    Method 1: Read the internal table into the Table Control in the screenu2019s flow logic.  Used when the names of the Table Control fields are based on fields of the internal table.
    Method 2: Read the internal table into the Table Control in the module pool code. Used when the names of the Table Control fields are based on fields of the database table.
    Method 1 (table control fields = itab fields)
    In the flow logic we can read an internal table using the LOOP statement. Define the reference to the relevant able control by specifying WITH CONTROL <ctrl>
    Determine which table entry is to be read by specifying CURSOR <ctrl>-CURRENT_LINE.
    After the read operation the field contents are placed in the header line of the internal table. If the fields in the table control have the same name as the internal they will be filled automatically. Otherwise we need to write a module to transfer the internal table fields to the screen fields.
    We must reflect any changes the user makes to the fields of the table control in the internal table otherwise they will not appear when the screen is redisplayed after PBO processing, (eg, after the user presses Enter or scrolls) However, this processing should be performed only if changes have actually been made to the screen fields of the table control (hence the use of the ON REQUEST)
    PROCESS BEFORE OUTPUT.
    LOOP AT ITAB_REG WITH CONTROL TCREG
    CURSOR TCREG-CURRENT_LINE.
    ENDLOOP.
    PROCESS AFTER INPUT.
    LOOP AT ITAB_REG.
    MODULE MODIFY_ITAB_REG.
    ENDLOOP.
    MODULE MODIFY_ITAB_REG INPUT.
    MODIFY ITAB_REG INDEX TCREG-CURRENT_LINE.
    ENDMODULE.
    Method 2 (table control fields = dict. fields)
    If using a LOOP statement without an internal table in the flow logic, we must read the data in a PBO module which is called each time the loop is processed.
    Since, in this case, the system cannot determine the number of internal table entries itself, we must use the EXIT FROM STEP-LOOP statement to ensure that no blank lines are displayed in the table control if there are no more corresponding entries in the internal table.
    PROCESS BEFORE OUTPUT.
    LOOP WITH CONTROL TCREG.
    MODULE READ_ITAB_REG.
    ENDLOOP.
    PROCESS AFTER INPUT.
    LOOP WITH CONTROL TCREG.
    CHAIN.
    FIELD: ITAB_REG-REG,
    ITAB_REG-DESC.
    MODULE MODIFY_ITAB_REG
    ON CHAIN-REQUEST.
    ENDCHAIN.
    ENDLOOP.
    MODULE READ_ITAB_REG OUTPUT.
    READ TABLE ITAB_REG INDEX TCREG-CURRENT_LINE.
    IF SY-SUBRC EQ 0.
    MOVE-CORRESPONDING ITAB_REREG TO TCREG.
    ELSE.
    EXIT FROM STEP-LOOP.
    ENDIF.
    ENDMODULE.
    MODULE MODIFY_ITAB_REG INPUT.
    MOVE-CORRESPONDING TCREG TO ITAB_REG.
    MODIFY ITAB_REG INDEX
    TCREG-CURRENT_LINE.
    ENDMODULE.
    Updating the internal table
    Method 1
    PROCESS AFTER INPUT.
    LOOP AT ITAB_REG.
    CHAIN.
    FIELD: ITAB_REG-REG,
    ITAB_REG-DESC.
    MODULE MODIFY_ITAB_REG ON CHAIN-REQUEST.
    ENDCHAIN.
    ENDLOOP.
    MODULE MODIFY_ITAB_REG INPUT.
    ITAB_REG-MARK = u2018Xu2019.
    MODIFY ITAB_REG INDEX TCREG-CURRENT_LINE.
    ENDMODULE.
    Method 2
    PROCESS AFTER INPUT.
    LOOP WITH CONTROL TCREG.
    CHAIN.
    FIELD: TCREG-REG,
    TCREG-DESC.
    MODULE MODIFY_ITAB_REG ON CHAIN-REQUEST.
    ENDCHAIN.
    ENDLOOP.
    MODULE MODIFY_ITAB_REG INPUT.
    MOVE-CORRESPONDING TCREG TO ITAB_REG.
    ITAB_REG-MARK = u2018Xu2019.
    MODIFY ITAB_REG INDEX TCREG-CURRENT_LINE.
    ENDMODULE.
    Updating the database
    MODULE USER_COMMAND_100.
    CASE OK_CODE.
    WHEN u2018SAVEu2019.
    LOOP AT ITAB-REG.
    CHECK ITAB_REG-MARK = u2018Xu2019.
    MOVE-CORRESPONDING ITAB_REG TO TCREG.
    UPDATE TCREG.
    ENDLOOP.
    WHEN u2026
    u2026
    ENDCASE.
    ENDMODULE.
    Hope this will solve your problem.
    Regards,
    Pavan.
    Edited by: PAVAN CHANDRASEKHAR GANTI on Aug 3, 2009 12:48 PM

  • Can not update data in table view

    When i open a table from a connection in the connection navigator i can not alter the data in it... I can only add new rows. Is there a setting so i can alter the data?
    My user has update rights because when i write my own update statement and execute it, it works fine.

    I found the issue... You can do it in 10g but you have to define a PK on the table, otherwhise he does not know what row to update. When i added a PK i could edit the data in Jdev in data view.

  • How to update the data base table with data

    i have two ztables, one is zfm_kfz and other one is zfm_kmvrg
    zfm_kfz is maintained by using table maintenance generator as well as alv grid control for list display.
    zfm_kfz the field r like this KFZR, GERAET, KOSTENTRAEGER, BEZEICHNUNG, TUVDATUMMMYYYY, ASUDATUMMMYYYY, KMSTAND, HISTO AND REIFEN.
    PROBLEM: all the data in grid control r updated except KMSTAND
    fields in zfm_kmvrg are kostentraeger, kfznr and kmstand i m creating table control for this screen here what ever enter the last km stand is updated in the list.for one kfznr many kostentraegers and kmstand, the last km stand is updated here , go through this code plz hepl me
    CONTROLS tabctrl TYPE TABLEVIEW USING SCREEN 100.
    DATA: cols LIKE LINE OF tabctrl-cols,
          lines TYPE i.
    DATA: ok_code TYPE sy-ucomm,
          save_ok TYPE sy-ucomm.
    DATA: itab TYPE TABLE OF zfm_kmvrg,
          fs_itab LIKE LINE OF itab,
          fl_change TYPE c,
          fl_error  TYPE c.
    *TABLES fs_itab.
    LOOP AT tabctrl-cols INTO cols.
      cols-screen-input = '0'.
      MODIFY tabctrl-cols FROM cols INDEX sy-tabix.
    ENDLOOP.
    *SELECT * FROM spfli INTO TABLE itab.
    CALL SCREEN 100.
    MODULE status_0100 OUTPUT
    MODULE status_0100 OUTPUT.
      SET PF-STATUS 'SCREEN_101'.
      DESCRIBE TABLE itab LINES lines.
      tabctrl-lines = lines.
    ENDMODULE.                    "status_0100 OUTPUT
    MODULE cancel INPUT
    MODULE cancel INPUT.
      LEAVE PROGRAM.
    ENDMODULE.                    "cancel INPUT
    MODULE read_table_control INPUT
    MODULE read_table_control INPUT.
      MODIFY itab FROM fs_itab INDEX tabctrl-current_line.
    ENDMODULE.                    "read_table_control INPUT
    MODULE user_command_0100 INPUT
    MODULE user_command_0100 INPUT.
      DATA:
        lw_index TYPE i.
      save_ok = ok_code.
      CLEAR ok_code.
      CASE save_ok.
        WHEN 'ADD'.
          LOOP AT tabctrl-cols INTO cols.
            cols-screen-input = '1'.
            MODIFY tabctrl-cols FROM cols INDEX sy-tabix.
          ENDLOOP.
          CLEAR fs_itab.
          APPEND fs_itab TO itab.
        WHEN 'SAVE'.
          IF NOT itab[] IS INITIAL.
            LOOP AT itab[] into FS_ITAB.
              lw_index = sy-tabix.
              IF NOT fs_itab IS INITIAL.
                MODIFY ZFM_KMVRG FROM fs_itab.
                IF sy-subrc EQ 0.
                  UPDATE ZFM_KFZ set kmstand = fs_itab-kmstand
                                        WHERE kfznr = fs_itab-kfznr.
                ELSE.
                  fl_error = 'X'.
                  WRITE:/ 'The record number', lw_index,
                          'has not been updated'.
                ENDIF.
              ENDIF.
            ENDLOOP.
          ELSE.
            MESSAGE s000(0) WITH 'No data is present to update'.
          ENDIF.
      ENDCASE.
      IF fl_error = 'X'.
        LEAVE TO LIST-PROCESSING.
      ELSE.
        MESSAGE s000(0) WITH
              'All the records have been updated successfully'.
      ENDIF.
    ENDMODULE.                    "user_command_0100 INPUT
    IN SE51
    PROCESS BEFORE OUTPUT.
      MODULE STATUS_0100.
      LOOP AT ITAB INTO fs_itab WITH CONTROL tabctrl.
      ENDLOOP.
    PROCESS AFTER INPUT.
      MODULE CANCEL AT EXIT-COMMAND.
      LOOP AT ITAB.
        module read_table_control.
      ENDLOOP.
      module user_command_0100.
    i m trying many times i m not getting proper output, plz help me on this

    Hi,
    I am hereby givng the similar sample code.Check this with your requirement.
    In the flow logic of the screen 9000, write the following code.
    PROCESS BEFORE OUTPUT.
      MODULE set_status.
      MODULE get_t_ctrl_lines.
      LOOP AT i_makt WITH CONTROL t_ctrl CURSOR t_ctrl-current_line.
    * Dynamic screen modifications
        MODULE set_screen_fields.
      ENDLOOP.
    PROCESS AFTER INPUT.
      LOOP AT i_makt.
        FIELD i_makt-pick MODULE check.
        FIELD i_makt-zmatnr MODULE zmatnr .
      ENDLOOP.
      MODULE user_command_9000.
    In the program, write the following code.
    PROGRAM SAPMZTC MESSAGE-ID zz.
    * Tables Declaration
    TABLES: zzz_makt.
    * Internal table Declaration
    DATA : i_makt TYPE STANDARD TABLE OF zzz_makt WITH HEADER LINE.
    * Table control Declaration
    CONTROLS: t_ctrl TYPE TABLEVIEW USING SCREEN '9000'.
    * Variable Declaration
    DATA : flg,           "Flag to set the change mode
           ln TYPE i.     "No. of records
    *&      Module  get_T_CTRL_lines  OUTPUT
    *  Populating data
    MODULE get_t_ctrl_lines OUTPUT.
      SELECT zmatnr zmaktx
             INTO CORRESPONDING FIELDS OF TABLE i_makt
             FROM zzz_makt.
      DESCRIBE TABLE i_makt LINES ln.
    * To make the vertical scroll bar to come on runtime
      t_ctrl-lines = ln + 100.
    ENDMODULE.                 " get_T_CTRL_lines  OUTPUT
    *&      Module  USER_COMMAND_9000  INPUT
    * Triggering event according to the user command
    MODULE user_command_9000 INPUT.
      DATA :lv_fcode LIKE sy-ucomm,    "Function Code
            lv_answer(1) type c.       "Storing the answer
      lv_fcode = sy-ucomm.
      CASE lv_fcode.
        WHEN 'CHANGE'.
    * Setting the flag to make the table control in editable mode[excluding
    * primary key].
          flg = 'Y'.
        WHEN 'DELETE'.
    * Setting the flag to make the table control in editable mode after
    * deleting the selected line
          flg = 'Y'.
    * Confirmation of delete
          CALL FUNCTION 'POPUP_TO_CONFIRM'
            EXPORTING
             TITLEBAR       = 'Confirm'
             text_question  = 'Are you sure to delete from database?'
             TEXT_BUTTON_1  = 'Yes'(001)
             TEXT_BUTTON_2  = 'No'(002)
            IMPORTING
             ANSWER         =  lv_answer.
          if lv_answer eq '1'.
    * Updating the database table from the internal table
            UPDATE zzz_makt FROM TABLE i_makt.
    * Deleting the selected row from the internal table
            DELETE i_makt WHERE pick = 'X'.
    * Deleting the selected row from the database table
            DELETE FROM zzz_makt WHERE pick = 'X'.
            MESSAGE s005 WITH 'Deleted Successfully'.
          ENDIF.
        WHEN 'SAVE'.
    * Inserting new record or updating existing record in database table
    * from the internal table
          MODIFY zzz_makt FROM TABLE i_makt.
          MESSAGE s005 WITH 'Saved Successfully'.
        WHEN 'BACK'.
          SET SCREEN '0'.
        WHEN 'EXIT' OR 'CANCEL'.
    * Leaving the program
          LEAVE PROGRAM.
      ENDCASE.
    ENDMODULE.                 " USER_COMMAND_9000  INPUT
    *&      Module  set_screen_fields  OUTPUT
    * Setting the screen fields
    MODULE set_screen_fields OUTPUT.
      LOOP AT SCREEN.
        IF flg IS INITIAL.
          screen-input = 0.
        ELSEIF ( flg EQ 'Y' ).
          IF ( ( screen-name = 'I_MAKT-ZMAKTX'
                 OR screen-name = 'I_MAKT-CHECK1' )
                AND t_ctrl-current_line LE ln ) .
    * Making the screen fields as editable
            screen-input = 1.
          ELSEIF ( ( screen-name = 'I_MAKT-ZMATNR' )
                     AND t_ctrl-current_line LE ln ).
    * Making the screen field as uneditable
            screen-input = 0.
          ENDIF.
        ENDIF.
    * Modifying the screen after making changes
        MODIFY SCREEN.
      ENDLOOP.
    ENDMODULE.                 " set_screen_fields  OUTPUT
    *&      Module  zmatnr  INPUT
    * Appending records to the internal table
    MODULE zmatnr INPUT.
      MODIFY i_makt INDEX t_ctrl-current_line.
      IF t_ctrl-current_line GT ln.
        READ TABLE i_makt WITH KEY zmatnr = i_makt-zmatnr.
        IF sy-subrc NE 0.
    * Inserting record if it does not exist in database
          APPEND i_makt.
        ELSE.
         MESSAGE i005 WITH 'Material Number' i_makt-zmatnr 'already exists'.
        ENDIF.
      ENDIF.
    ENDMODULE.                 " zmatnr  INPUT
    *&      Module  set_status  OUTPUT
    * Setting the GUI status
    MODULE set_status OUTPUT.
      SET PF-STATUS 'ZSTATUS'.
      SET TITLEBAR  'ZTITLE'.
    ENDMODULE.                 " set_status  OUTPUT
    *&      Module  CHECK  INPUT
    * Modify the internal table using the current line in table control
    MODULE check INPUT.
      MODIFY i_makt INDEX t_ctrl-current_line.
    ENDMODULE.                 " CHECK  INPUT

  • Sales order purchase order field is updated with dots in data base table

    HI
    we have problem in  Production when sale order created
    P O date is update with dots and these dots  we are unable to see at screen and data base table
    we go t change mode of the order and delete the P O field with back space (button)  and saving the order
    when we see the change log of the order
    there it is sowing
    Old value            =        "       .   .     "           
    New Value         =       " 00.00.0000"
    Can any one give the suggetions to come out of this problem
    This is we have noticed with only two customers
    Thanks and regards
    Kishore
    Edited by: DevarapalliKK on Oct 23, 2010 8:43 PM
    Edited by: DevarapalliKK on Oct 23, 2010 8:44 PM

    Hi Kishore,
    Two things could have happened:
    1) Since this is happening with only two customers - I am sure it has got to do with some custom code on your system which is causing this problem. I 'd suggest you to create a new order with all the fields
    2) It could be a bug with SAP- might want to check relevant SAP Notes. ( But this could not be a reason, if yes should have had the same prob with all cusotmers)
    regards
    sadhu kishore

  • Problem in changing(updating) the data in table control

    Dear ABAP Experts,
    I have a screen with 2 tables fields. 1st table(ZESTHEADER) fields are normal fields in the screen.
    2 nd table fileds(ZESTDETAILS) are table control fields in the same screen .
    Now i can update the 1st table fields(ZESTHEADER) succesfully But 2 nd table fields(ZESTDETAILS) are not at all updating. please review the below code and let me knwo where iam wrong.
    FLOW LOGIC:
    PROCESS BEFORE OUTPUT.
    loop at itab1 with control VCONTROL CURSOR VCONTROL-CURRENT_LINE.
    MODULE STATUS_0100.
    endloop.
    PROCESS AFTER INPUT.
    MODULE USER_COMMAND_0100.
    loop at itab1.
    endloop.
    module mod1.
    module user_exit.
    CODE:
    PROGRAM  ZEST_HEADER2 message-id ymsg.
    tables: zestheader,zestdetails.
    data: itab like zestheader occurs 0 with header line.
    data: itab1 like zestdetails occurs 0 with header line.
    controls: vcontrol type tableview using screen '100'.
    MODULE USER_COMMAND_0100 INPUT.
    case sy-ucomm.
        when 'ENTR'.
        refresh itab.
          select * from ZESTHEADER INTO ITAB where ESTMATE_NBR = ZESTHEADER-ESTMATE_NBR.
            append itab.
          endselect.
          if itab is not initial.
          refresh itab1.
          SELECT * FROM ZESTDETAILS INTO table ITAB1 for all entries in itab wHERE ESTMATE_NBR = itab-ESTMATE_NBR.
    select * from zestdetails INTO ITAB1 where ESTMATE_NBR = itab-ESTMATE_NBR.
            append itab1.
         endselect.
          endif.
        when 'UPDA'.
          move zestheader to itab.
          append itab.
         update zestheader from table itab.
          move-corresponding zestdetails to itab1.
         update zestdetails from table itab1.
    append itab1.
          if sy-subrc eq 0.
            message s002(ymsg).
          else.
            message e003(ymsg).
          endif.
      ENDCASE.
    ENDMODULE.                 " USER_COMMAND_0100  INPUT
    MODULE STATUS_0100 OUTPUT.
      SET PF-STATUS 'ZESTCHNG'.
      SET TITLEBAR 'ZESTCHNG2'.
      MOVE-CORRESPONDING ITAB TO ZESTHEADER.
      MOVE-CORRESPONDING ITAB1 TO ZESTDETAILS.
    ENDMODULE.                 " STATUS_0100  OUTPUT
    MODULE User_exit INPUT.
      case sy-ucomm.
        when 'EXIT'.
          leave program.
      endcase.
    ENDMODULE.                 " User_exit  INPUT
    *&      Module  mod1  INPUT
          text
    MODULE mod1 INPUT.
    ENDMODULE.                 " mod1  INPUT

    Hi Ramesh,
      For performance : Change  the code.
    1.   select * from ZESTHEADER INTO table ITAB
          where ESTMATE_NBR = ZESTHEADER-ESTMATE_NBR.
    2. if itab is not initial.
          refresh itab1.
             SELECT * FROM ZESTDETAILS INTO table ITAB1
              for all entries in itab wHERE ESTMATE_NBR = itab-ESTMATE_NBR.
          append itab1.  No need of append itab1 here.
    3.This part i am not able to under stand.
        when 'UPDA'.
            move zestheader to itab.
              append itab.
    Above code by writing move zestheader to itab" how data will move  from database table"
    ***In below code without loop how you are moving data to internal table itab1.
                update zestheader from table itab.
                 move-corresponding zestdetails to itab1.
              update zestdetails from table itab1.
               append itab1.
    if sy-subrc eq 0.
    message s002(ymsg).
    else.
    message e003(ymsg).
    endif.
    I think you have not pasted full code

  • Function module updating the data base table

    Hi,
      This post is regarding the function module not updating the data base table.
    I am calling the FM SD_SHIPMENT_HEADER_CHANGE inside the ZFM. It's returning success an changing the  table c_xvttk_new with the new TDLNR value. But it's not updating the Shipment table VTTK-TDLBR or VT02N Forwarding agent.
    When I directly updating Forwarding agent in VT02N it's updating fine.
    Please let me know what the extra step need to be included to update or COMMIT the FM for updating
    Forwarding Agent(VTTK-TDLNR).
    Best Regards,
    Mahesh

    hi friend,
    This link wont five u the complete help but if u ananyse it  then it might provide u some idea......
    BAPI change shipment doc
    regards
    kanishak

  • Deadlock when updating different rows on a single table with one clustered index

    Deadlock when updating different rows on a single table with one clustered index. Can anyone explain why?
    <event name="xml_deadlock_report" package="sqlserver" timestamp="2014-07-30T06:12:17.839Z">
      <data name="xml_report">
        <value>
          <deadlock>
            <victim-list>
              <victimProcess id="process1209f498" />
            </victim-list>
            <process-list>
              <process id="process1209f498" taskpriority="0" logused="1260" waitresource="KEY: 8:72057654588604416 (8ceb12026762)" waittime="1396" ownerId="1145783115" transactionname="implicit_transaction"
    lasttranstarted="2014-07-30T02:12:16.430" XDES="0x3a2daa538" lockMode="X" schedulerid="46" kpid="7868" status="suspended" spid="262" sbid="0" ecid="0" priority="0"
    trancount="2" lastbatchstarted="2014-07-30T02:12:16.440" lastbatchcompleted="2014-07-30T02:12:16.437" lastattention="1900-01-01T00:00:00.437" clientapp="Internet Information Services" hostname="CHTWEB-CH2-11P"
    hostpid="12776" loginname="chatuser" isolationlevel="read uncommitted (1)" xactid="1145783115" currentdb="8" lockTimeout="4294967295" clientoption1="671088672" clientoption2="128058">
               <inputbuf>
    UPDATE analyst_monitor SET cam_status = N'4', cam_event_data = N'sales1', cam_event_time = current_timestamp , cam_modified_time = current_timestamp , cam_room = '' WHERE cam_analyst_name=N'ABCD' AND cam_window= 2   </inputbuf>
              </process>
              <process id="process9cba188" taskpriority="0" logused="2084" waitresource="KEY: 8:72057654588604416 (2280b457674a)" waittime="1397" ownerId="1145783104" transactionname="implicit_transaction"
    lasttranstarted="2014-07-30T02:12:16.427" XDES="0x909616d28" lockMode="X" schedulerid="23" kpid="8704" status="suspended" spid="155" sbid="0" ecid="0" priority="0"
    trancount="2" lastbatchstarted="2014-07-30T02:12:16.440" lastbatchcompleted="2014-07-30T02:12:16.437" lastattention="1900-01-01T00:00:00.437" clientapp="Internet Information Services" hostname="CHTWEB-CH2-11P"
    hostpid="12776" loginname="chatuser" isolationlevel="read uncommitted (1)" xactid="1145783104" currentdb="8" lockTimeout="4294967295" clientoption1="671088672" clientoption2="128058">
                <inputbuf>
    UPDATE analyst_monitor SET cam_status = N'4', cam_event_data = N'sales2', cam_event_time = current_timestamp , cam_modified_time = current_timestamp , cam_room = '' WHERE cam_analyst_name=N'12345' AND cam_window= 1   </inputbuf>
              </process>
            </process-list>
            <resource-list>
              <keylock hobtid="72057654588604416" dbid="8" objectname="CHAT.dbo.analyst_monitor" indexname="IX_Clust_scam_an_name_window" id="lock4befe1100" mode="X" associatedObjectId="72057654588604416">
                <owner-list>
                  <owner id="process9cba188" mode="X" />
                </owner-list>
                <waiter-list>
                  <waiter id="process1209f498" mode="X" requestType="wait" />
                </waiter-list>
              </keylock>
              <keylock hobtid="72057654588604416" dbid="8" objectname="CHAT.dbo.analyst_monitor" indexname="IX_Clust_scam_an_name_window" id="lock18ee1ab00" mode="X" associatedObjectId="72057654588604416">
                <owner-list>
                  <owner id="process1209f498" mode="X" />
                </owner-list>
                <waiter-list>
                  <waiter id="process9cba188" mode="X" requestType="wait" />
                </waiter-list>
              </keylock>
            </resource-list>
          </deadlock>
        </value>
      </data>
    </event>

    To be honest, I don't think the transaction is necessary, but the developers put it there anyway. The select statement will put the result cam_status
    into a variable, and then depends on its value, it will decide whether to execute the second update statement or not. I still can't upload the screen-shot, because it says it needs to verify my account at first. No clue at all. But it is very simple, just
    like:
    Clustered Index Update
    [analyst_monitor].[IX_Clust_scam_an_name_window]
    cost: 100%
    By the way, for some reason, I can't find the object based on the associatedObjectId listed in the XML
    <keylock hobtid="72057654588604416" dbid="8" objectname="CHAT.dbo.analyst_monitor"
    indexname="IX_Clust_scam_an_name_window" id="lock4befe1100" mode="X" associatedObjectId="72057654588604416">
    For example: 
    SELECT * FROM sys.partition WHERE hobt_id = 72057654588604416
    This return nothing. Not sure why.

  • How to insert data into a table only when data has changed its value (when compared to the previous inserted value)

    I wish to insert data into a table only when the value of the inserted data has changed. Thus, in a time series, if the value of the data at time, t-1, is 206 then if the data to be inserted at time t is 206, then it is skipped (not entered).
    If the value of the data at time t+1 is 206, it is skipped also; until the value changes, so if the value at t+1 was 205, then that would be inserted, and if at time t+2 the data is 206, it would be inserted too.
    What is the best way to do it without increasing overheads?

    This view works:
    SELECT
    i.IDNO,i.[Date],i.[Level]
    FROM
    mytable i
    INNER
    JOIN mytable
    d
    ON
    d.IDNO
    = i.IDNO-1
    WHERE
    i.[Level]
    <> d.[Level]
    on this mytable below.  A trigger could be quite useful here although I am cautious using them. However I wish to avoid the overhead by not having a temp table (which could be sizable).  mytable below
    should give 3 lines. The IDNO is an identity column.
    IDNO
    Item
    Date
    Level
    1
    X24
    12/23/13 10:41
    22996
    2
    X24
    12/23/13 10:41
    22996
    3
    X24
    12/23/13 9:21
    23256
    4
    X24
    12/23/13 9:21
    23256
    5
    X24
    12/23/13 9:22
    23256
    6
    X24
    12/23/13 9:22
    23256
    7
    X24
    12/23/13 9:22
    22916

Maybe you are looking for

  • Crystal Reports 2008 SP3 with Visual Studio 2005 help !!

    Have application that uses reports developed using CR2008. The reports in question are created from an XML datasource and are populated at runtime with a dataset. The reports work fine on developement machine but the client machines keep displaying t

  • TS3274 load web page then screen goes black and reboots

    hit safari icon.then connect to a web page then all of the sudden the screen shades out and reboots the unit

  • HT4059 Can you send someone an iBook as a gift.

    I want to buy an I book and send it to a friend like I do with kindle books How do I do that from my iPad

  • Best Practice: Data Binding

    Each non-trivial Swing application needs to bind GUI elements (windows and components) to data. Ten years back in my MFC times, the typical solution was to initialize the GUI with fixed data, show the window, and read back the modified data after win

  • CF MX and Daylight Savings Time

    Hi. We have ColdFusion MX Version 6,1,0,83762 installed on our Windows 2003 server. Will we have any issues with the product and the Daylight Savings Time coming up on March 11? Is there a required patch for this change? Thank you.