Database table not updating with the changes

Hi friends,
                Iam having a tablecontrol where iam gettting the data from the ztable for a particular key field.  When i change certain fields in the table control and when i click save, it should update the changes in the ztable.
   module save output.
   modify zslip_po1 from table x_po1_slip.
here slpno is the key field.  if I change a field for a particular slpno it should update the changes for that slpno value only.
but it is not updating the changes. although iam setting the slpno field dynamically.
Please give me ideas.
thanks and regards
Murali Krishna T

Hi,
1. Have 2 Internal Tables, the first one must contain the original data(before change ) and the second one  contains the update data(after changed ie. table control data).
2. loop the first table and read the data from the second table using index.
3. inside the loop, compare the work area of both the internal table.
   if both are same, then no change was made to that particular record, so no need for updation
   if both are not same, then some changes were made on that record, so need to update.
4. use modify command to update that particular record from the work area.
i think in performance wise also this logic will be helpful, since we are updating only the changed record.
since this is addon table, so i hope the no of records will also less, so no need to worry about loop.
check with this, it may work out......
thank you,
SenthilPandi C
Edited by: SenthilPandi ChandraSekaran on Feb 4, 2010 5:36 PM

Similar Messages

  • HT4847 I had a previous e-mail address associated with my Apple Account.  I change this, but Cloud did not update with the change.  Now I can't log-in under the old I.D. and when I try to provide a password or get through by providing my BD it says it is

    For some reason when trying to get ito Cloud, I can't get into my previous e-mail address to make changes, which I must do to delete it.  Cloud does not recognize my old password and the system does not seem to associate my BD with it.  I knowlonger have the old e-mail address associated with Cloud.
    I have a new e-mail associate with my Apple account and a new password.  The problem is trying to get Cloud to recognize my new I.D. 

    You have to delete the old account, provide the password for the old ID when prompted to turn off Find My iPhone, then sign back in with the ID you wish to use.  If you don't know the password for your old ID, or if it isn't accepted, go to https//appleid.apple.com, click Manage my Apple ID and sign in with your current iCloud ID.  Tap edit next to the primary email account, tap Edit, change it back to your old email address and save the change.  Then edit the name of the account to change it back to your old email address.  You can now use your current password to turn off Find My iPhone on your device, even though it prompts you for the password for your old account ID. Then go to Settings>iCloud, tap Delete Account and choose Delete from My iDevice when prompted (your iCloud data will still be in iCloud).  Next, go back to https//appleid.apple.com and change your primary email address and iCloud ID name back to the way it was.  Now you can go to Settings>iCloud and sign in with your current iCloud ID and password.

  • Unable to refresh the schema of FIM MA.Getting an error in Event viewer ""the current version of database is not compatible with the one expected by Forefront Identity Manager service. The current version of database is : 1116. The expected version is :1"

    Hi,
    We have installed FIM MA with an account that have all the sufficient rights.It got created successfully and worked for Full Import and Full Sync. But, due to some version incompatabilities, we have installed a patch.PFB link for the patch.
    http://support.microsoft.com/en-us/kb/2969673/en-us
    Now, we are trying to refresh the schema of FIM MA. While doing that we are facing an error "Failed to connect to database". The user account with which we are connecting has read and write permissions on DB.In the event viewer some errors are
    logged like  "the current version of database is not compatible with the one expected by Forefront Identity Manager service. The current version of database is : 1116. The expected version is :1122" with event ID 3. PFB images for more detailed
    view.
    Please advice how to fix the issue.
    Thanks
    Prasanthi.

    Hello,
    seems to me that you maybe only updated the syncengine but not portal/webservice.
    I had that error once after an recovery from scratch and forgot one of the hotfixes to apply to all services.
    -Peter
    Peter Stapf - ExpertCircle GmbH - My blog:
    JustIDM.wordpress.com

  • Documents that are park in FBV0 do not update with the new user name when

    Hi,
         I need to find out why documents that are park in FBV0 do not update with the new user name when any changes are made.  Also when we park using MIR7 and make changes to the documents at a later time the document updates with the new users name.
    Requesting you to please suggest what could be the reason.
    Earliest reply will be highly appreciated,
    With regards,
    Rj

    Hi,
        I have checked this in system. I posted one Parked invoice using T.code FV60 and there i appeared my name because i created. But after some time one of my collegue changed the reference and text field with his login i.d. But still in the invoice it is showing as my name whereas if we go to the environmnet, there in the changes we can see what are the changes done and it is appearing my collegues user i.d. But in the main invoice it is still appearing my name.
    Regards,
    Rj.

  • PS CC 2014 DNG and RAW 8.5 did not update with the rest of the CC package. I downloaded/installed the DNG/RAW converter but how do you install w/i CC 2014 plugins

    PS CC 2014 DNG and RAW 8.5 did not update with the rest of the CC package. I downloaded/installed the DNG/RAW converter but how do you install w/i CC 2014 plugins

    Thanks John. I have tried solutions 1 to 3 from (-http://helpx.adobe.com/creative-cloud/kb/aam-lists-removed-apps-date.h tml) and they do not work. So I presume that all I can do is to remove all 25 CC applications and start again!
    Incidently, ( http://www.adobe.com/downloads/updates/ ) does not list Adobe Camera Raw 8.4 as an update even though Adobe have announced that it is available (http://blogs.adobe.com/lightroomjournal/2014/04/camera-raw-8-4-and-dng-converter-8-4-now-a vailable.html). The same applies for Adobe Premiere Pro 7.2.2 (http://blogs.adobe.com/premierepro/2014/04/premiere-pro-cc-7-2-2.html). If they are not available this would explain why I cannot download them but I am very suprised that Adobe didn't mention this when I contacted them.
    Anyway thanks again

  • Database table not updating

    Hi all,
    I am updating the database table with following syntex, but table not updating.
    MODIFY ZTEST_BAR FROM TABLE I_ZTESTBAR.
    Please help.
    PKB

    Hi,
    firstly you can define internal table and work area as below:-
    internal tables
    DATA : I_ZTESTBAR TYPE TABLE OF ZTEST_BAR.
    work areas
    DATA : I_ZTESTBAR_LINE LIKE LINE OF I_ZTESTBAR .
    here internal table having the same structure as that of ztable which include MANDT.
    Then to update field, you can use add following code:-
    *Update Ztable
    INSERT INTO ZTEST_BAR VALUES I_ZTESTBAR_LINE.
    COMMIT WORK.
    Hope this works for you.
    Thanks..........

  • Profit center not updating with plant change

    We have an issue with the profit center not updating with change in delivering plant.
    A CSR entered a material on a sales order but the material is not extended to their location.  They select a plant to deliver the material from.  At this point the profit center fills in for that plant, from the material master. 
    The issue then is the material is not currently available at that plant so when the availability check is preformed the CSR checks for availability in another plant.  They are able to find an available item at another location so they select that location. 
    When they save the sales order the plant reflects the new delivering plant, but the profit center still reflects the first selected plant.  The profit center does not pull from the material master correctly.
    Has anyone seen this issue before and developed a solution?

    Hello Matthew
    May be you have substitution defined in CO.
    T codes 0KEM or 0KEL
    See the following OSS notes:
    167912 - Substitution call-up points for sales order/billing document
    Hope this helps.

  • File to rfc...database tables not updated ??

    Hi XI Friends..
    in my File to BAPI..
    it is successfully executed..and it is showing chequered glag in sxmb_moni..and also in runtime workbench it is showing success..but the database tables are not updating..
    i gone thru the link.. reciver rfc adapter..
    http://help.sap.com/saphelp_nw04/helpdata/en/c8/e80440a832e369e10000000a155106/frameset.htm
    now i am working on SP 17.
    so how can i set the values in ...
    <i>Commit Control for Individual BAPI Calls</i>and
    <i>BAPI Advanced Mode.
    In the Successful RETURN-TYPE Values table, what values i have to enter that should lead to a successful execution</i>
    its Asyncronous call..
    in standard BAPI ther is no commit.
    please tell me ..what values in need to give to update database tables..instead of RFC wrapper..
    regards
    ram

    Hi Friends..
    i created ZRFC and in that rfc i given standard bapi and commit work..
    i tested in sap ..the table is updating..
    thru XI..the table is not updating...
    it showing likw this..in receiver rfc adpater monitering...
    <i>Receiver channel 'CC_IN_SAP_WorkOrderCompletion' for party '', service 'SAP_ERP_DEV' (internal name 'RfcClient[CC_IN_SAP_WorkOrderCompletion]')
    Client data: {jco.client.lang=EN, jco.client.snc_mode=0, jco.client.client=400, jco.client.passwd=******, jco.webas.ignore_jdsr_error=1, jco.client.user=aar, jco.client.sysnr=10, jco.client.ashost=53.249.196.86}
    Repository data: {jco.client.lang=EN, jco.client.snc_mode=0, jco.client.client=400, jco.client.passwd=******, jco.webas.ignore_jdsr_error=1, jco.client.user=aar, jco.client.sysnr=10, jco.client.ashost=53.249.196.86}
    Current pool size: 1, maximum pool size : 1
    Channel History
    - OK: 2006-12-19 11:12:58 CET: Message processed for interface ZBAPI_ALM_CONF_CREATE</i>
    and in messagemonitering audit log..
    <i>2006-12-19 11:12:58 Success Message successfully received by messaging system. Profile: XI URL: http://dcexi0602.alcan.com:50000/MessagingSystem/receive/AFW/XI Credential (User): XIISUSERDGX
    2006-12-19 11:12:58 Success Using connection AFW. Trying to put the message into the receive queue.
    2006-12-19 11:12:58 Success Message successfully put into the queue.
    2006-12-19 11:12:58 Success The message was successfully retrieved from the receive queue.
    2006-12-19 11:12:58 Success The message status set to DLNG.
    2006-12-19 11:12:58 Success Delivering to channel: CC_IN_SAP_WorkOrderCompletion
    2006-12-19 11:12:58 Success RFC adapter received an asynchronous message. Attempting to send tRFC for ZBAPI_ALM_CONF_CREATE with TID XIVqvZy8z94TkgWVR9u01m0m
    2006-12-19 11:12:58 Success The message was successfully delivered to the application using connection AFW.
    2006-12-19 11:12:58 Success The message status set to DLVD.
    </i>
    but the table is not updating...
    please guide me..
    regards
    ram

  • I am not happy with the changes in recent versions of Firefox

    Hey Guys and Girls in the 'Development Team'
    Have you noticed that the vastest majority of Firefox users
    are looking for ways to return the interface to the one they know and love. Clearly this has been ignored. The changes have taken away all of the features people have been used to using for yonks, just to make it more geeky and user unfriendly to newbie's & 'old folks' like my 86year old mum.
    ''deleted'' I am probably wasting my time, I guess will need to start looking for different browser technology to include in my teaching as well as my recommendations to business clientele.
    ''edited by a moderator - [https://support.mozilla.com/en-US/kb/Forum+and+chat+rules+and+guidelines Forum Rules and Guidelines]''

    We are '''''unpaid volunteers''''' here to help other users. If you have comments for the developers use Help > Submit Feedback. Note that your lengthy ramblings will not fit in the space provided there.
    The following been posted here many, many, many times.
    How to make Firefox 4/5/6 look like Firefox 3.6:
    *http://www.computertechtips.net/64/make-firefox-4-look-like-ff-3-6/
    *http://blog.fligtar.com/2011/01/16/how-to-customize-firefox-4s-ui/
    '''''Firefox 3 Theme for Firefox 4''''': https://addons.mozilla.org/en-US/firefox/addon/firefox-3-theme-for-firefox/
    *Add color home, back/forward and other buttons (like Firefox 3) to the Navigation Toolbar in place of the gray buttons in Firefox 4
    *See: http://ffaddons.game-point.net/ff3ff4/
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''
    Include this in your '''''"teaching as well as ... recommendations to business clientele."''''' Keep your other applications with plugins updated.
    Not related to your question, but...
    You need to update some plug-ins:
    *Plug-in check: https://www-trunk.stage.mozilla.com/en-US/plugincheck/
    *Adobe PDF Plug-In For Firefox and Netscape: [https://support.mozilla.com/en-US/kb/Using%20the%20Adobe%20Reader%20plugin%20with%20Firefox#w_installing-and-updating-adobe-reader Installing/Updating Adobe Reader in Firefox]
    *Next Generation Java Plug-in for Mozilla browsers: [https://support.mozilla.com/en-US/kb/Using%20the%20Java%20plugin%20with%20Firefox#w_installing-or-updating-java Installing or Updating Java in Firefox]

  • File to rfc...database tables not updating

    Hi friends..
    in file to bapi ..
    created ZRFC and in that rfc i given standard bapi and commit work..
    i tested in sap ..the table is updating..
    thru XI..the table is not updating...
    it showing likw this..in receiver rfc adpater monitering...
    <i>Receiver channel 'CC_IN_SAP_WorkOrderCompletion' for party '', service 'SAP_ERP_DEV' (internal name 'RfcClient[CC_IN_SAP_WorkOrderCompletion]')
    Client data: {jco.client.lang=EN, jco.client.snc_mode=0, jco.client.client=400, jco.client.passwd=******, jco.webas.ignore_jdsr_error=1, jco.client.user=aar, jco.client.sysnr=10, jco.client.ashost=53.249.196.86}
    Repository data: {jco.client.lang=EN, jco.client.snc_mode=0, jco.client.client=400, jco.client.passwd=******, jco.webas.ignore_jdsr_error=1, jco.client.user=aar, jco.client.sysnr=10, jco.client.ashost=53.249.196.86}
    Current pool size: 1, maximum pool size : 1
    Channel History
    - OK: 2006-12-19 11:12:58 CET: Message processed for interface ZBAPI_ALM_CONF_CREATE</i>
    and in messagemonitering audit log..
    2006-12-19 11:12:58 Success Message successfully received by messaging system. Profile: XI URL: http://dcexi0602.aaaa.com:50000/MessagingSystem/receive/AFW/XI Credential (User): XIISUSERDGX
    2006-12-19 11:12:58 Success Using connection AFW. Trying to put the message into the receive queue.
    2006-12-19 11:12:58 Success Message successfully put into the queue.
    2006-12-19 11:12:58 Success The message was successfully retrieved from the receive queue.
    2006-12-19 11:12:58 Success The message status set to DLNG.
    2006-12-19 11:12:58 Success Delivering to channel: CC_IN_SAP_WorkOrderCompletion
    2006-12-19 11:12:58 Success RFC adapter received an asynchronous message. Attempting to send tRFC for ZBAPI_ALM_CONF_CREATE with TID XIVqvZy8z94TkgWVR9u01m0m
    2006-12-19 11:12:58 Success The message was successfully delivered to the application using connection AFW.
    2006-12-19 11:12:58 Success The message status set to DLVD.
    please help me..
    regards
    ram

    Hi Sravya..
    yes i given commit work after bapi in ZRFC..
    in SAP..i tested ..its updating...but thru XI..
    it is showing success..
    but its not updating tables...
    thanks for your response
    regards
    ram

  • Mock costing run not updating with recipe changes to labor and overhead

    We have made changes to the labor and overhead values assigned to a master recipe.  We are trying to determine what the new standard cost will be when we do our costing run at the end of the the month.  However,  when we do our mock costing run using CK40N it does not reflect the changes we made to the labor and overhead it still pulls in the old values.  We have tried this in our test system on several other products and it has worked for some materials but not others.  I don't think it matters but the material we are costing is a semi finished good.  Any ideas?

    Problem has been resolved.  Thank you!

  • Why does my Panel not update with the new picture?

    Hi!
    I call the folowing panel from my main Window where on certain events I want to get the panel to display a different image. The problem is that the initial image stays on.
    import java.awt.*;
    import java.awt.image.*;
    public class Panel1 extends Panel {
         Image thebkg1;//image to display
    Panel1(Image ig){
         thebkg1=ig;
    }//end the constructor
    public void paint(Graphics g)
         g.drawImage(thebkg1,0,0,this);
    }//end paint
    public void update(Graphics g){
         paint(g);
    }//end update
    public void dImg(Image po){
         thebkg1=po;
         repaint();
    }//end dImg - gets called by the main Window in order to display a new image
    }//end Panel1 class
    Can somebody please let me know what is wrong with the code?
    Thank you

    public void dImg(Image po){
    thebkg1=po;
    validate()
    repaint();
    }

  • HT4865 my apple ID changed but my icloud did not update with the info - how do i get icloud to use my new apple ID

    We updated our Apple ID's with our new email and home address etc... with no issues.  But.....icloud won't update and I can't figure out how to edit it.  It shows the old Apple ID info. 

    We also changed email address, deleted account and added new one in.  I thought everything was working, calenders, photo stream, contracts.  Then when I went to email a photo from the photo library that had been streamed in through old email address, It showed Icloud still sending from old address with no way to change it.  I'm afraid if I delete the account and try to add it in again, I Cloud wont let me; or I will have to chnge everything again (nightmare)  This is on an IMac.

  • Project Server 2013 : Report table not updated with Published tables

    Hello Team,
    We found the issue that Publish and Reporting table have difference in work attribute. is their any way that we can refresh the Reporting table in one go.
    Thanks.

    If this issue is specific to one or few projects, using Save for sharing would be much more easier.
    If this issue is for all the projects then as NicoOosthuysen recommended RDB refresh would be the option. Having said that  you have to take extra measure before you start RDb refresh , since it is very high system resource and time consuming activity
    Steps for Save for sharing
    1. Open MS Project Pro 2013.
    2. Open the project plan from the server.
    3. Now save it locally without making changes in the File Name, using File > Share > Save For Sharing. Provide local location. Do not close Project Professional
    4. Now save back the project back to server using File > Save As (Project Name should be grayed out)
    5. Save and then publish the project plan.
    Hrishi Deshpande Senior Consultant

  • Why did my pages and Safari not update with the Maverick download?

    After the Maverick download: My Safari looks and acts the same. My  pages look and act the same. My Iphoto icon has changed , but there are no changes in I photo either, though I was asked to update the library.
    The only thing I see differnt after the Maverick download is I have maps.
    Was that it? The discription of Maverick sounds much differnt.

    We are all busy with many other problems in Pages 5.
    Unless you have found some real reason to use Pages 5 just go back to Pages '09 which should still be in your Applications folder, until Apple sorts this all out.
    Peter

Maybe you are looking for