Data changed and REUSE_ALV_GRID_DISPLAY

Hi,
I have a problem for get the data which changed on my internal table : wlt_final
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
      i_buffer_active         = space
      i_callback_program      = sy-repid
      I_CALLBACK_USER_COMMAND = c_user_command
      is_layout               = wa_alv_presentation
      i_structure_name        = 'ZTYPFAC'
      IT_FIELDCAT             = t_catalogue_pv[]
    TABLES
      T_OUTTAB                = wlt_final
    EXCEPTIONS
      PROGRAM_ERROR           = 1
      OTHERS                  = 2.
My Usercommand :
FORM USER_COMMAND USING F_UCOMM LIKE SY-UCOMM
                I_SELFIELD TYPE SLIS_SELFIELD.
  DATA: F_SUBRC LIKE SY-SUBRC,
        s_final like wls_final.
  READ TABLE wlt_final INDEX i_selfield-tabindex INTO s_final.
  break epetrini.
  CASE F_UCOMM.
    WHEN '&IC1'.
      CASE i_SELFIELD-SEL_TAB_FIELD.
        WHEN 'wlt_final-BELNR'.
          "CHECK NOT wlt_final-BELNR IS INITIAL.
          SET PARAMETER ID 'BLN' FIELD s_final-BELNR.
          SET PARAMETER ID 'BUK' FIELD s_final-BUKRS.
          SET PARAMETER ID 'GJR' FIELD s_final-GJAHR.
          CALL TRANSACTION 'FB03' AND SKIP FIRST SCREEN.
        WHEN 'wlt_final-VBELN'.
          "CHECK NOT wlt_final-BELNR IS INITIAL.
          SET PARAMETER ID 'VF' FIELD s_final-VBELN.
          CALL TRANSACTION 'VF03' AND SKIP FIRST SCREEN.
      ENDCASE.
    when '&DATA_SAVE'.
         data : wls_ZTYPFAC2 type ZTYPFAC2.
         break epetrini.
         loop at wlt_final into s_final where flag <> '' or MAJ = 'X'.
              clear wls_ZTYPFAC2.
              select single * from ZTYPFAC2 into wls_ZTYPFAC2 where VBELN = s_final-VBELN and BELNR = s_final-BELNR and MAJ = 'X'.
                if sy-subrc = 0.
                    update ZTYPFAC2
                    set FLAG  = s_final-FLAG
                        COMM  = s_final-COMM
                        uname = sy-uname
                        datem = sy-datum
                    where VBELN = s_final-VBELN and BELNR = s_final-BELNR.
                else.
                    wls_ZTYPFAC2-flag  = s_final-flag.
                    wls_ZTYPFAC2-VBELN = s_final-VBELN.
                    wls_ZTYPFAC2-BELNR = s_final-BELNR.
                    wls_ZTYPFAC2-COMM  = s_final-COMM.
                    wls_ZTYPFAC2-uname = sy-uname.
                    wls_ZTYPFAC2-datem = sy-datum.
                    wls_ZTYPFAC2-MAJ   = 'X'.
                    insert into ZTYPFAC2 values wls_ZTYPFAC2.
                endif.
         endloop.
  ENDCASE.
ENDFORM.                    "USER_COMMAND
i use the User command for modify the different line of my ALV but when i do my Update i can't get only the line of the ALV which have changed !
Thank you very much for your answer
Edited by: Emilien P. on Sep 14, 2010 9:33 AM

Hi,
In your user command write the following code :
*&      Form  USER_COMMAND
FORM USER_COMMAND USING R_UCOMM LIKE SY-UCOMM
        RS_SELFIELD TYPE SLIS_SELFIELD.
  DATA : REF_GRID TYPE REF TO CL_GUI_ALV_GRID.
  DATA: L_VALID TYPE C.
*Code to reflect the changes done in the internal table
  IF REF_GRID IS INITIAL.
    CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'
      IMPORTING
        E_GRID = REF_GRID.
  ENDIF.
  IF NOT REF_GRID IS INITIAL.
    CALL METHOD REF_GRID->CHECK_CHANGED_DATA
      IMPORTING
        E_VALID = L_VALID.
  ENDIF.
"After calling the above method and FM you will get the changed data from ALV
  CASE SY-UCOMM.
    WHEN 'FCODE'.
    "Write your code here
   ENDCASE.
ENDFORM.
Thanks & Regards,
Rock.

Similar Messages

  • SQL Server data change and Security

    in our environ any user who login with sa they can change any table data.
    so i write trigger to capture changed data like who change, from which IP etc this
    CREATE TRIGGER [TRG_Users]
    ON [dbo].[UserRights] AFTER INSERT, UPDATE, DELETE
    AS
    DECLARE @strIP VARCHAR(MAX)
    SET @strIP=(SELECT dbo.GetCurrentIP())
    IF EXISTS (SELECT * FROM INSERTED) AND EXISTS (SELECT * FROM DELETED)
    --PRINT 'Update happened';
    INSERT INTO Logger(IPAddress,Status)
    VALUES (@strIP,'UPDATE')
    ELSE
    IF EXISTS (SELECT * FROM INSERTED)
    --PRINT 'Insert happened';
    INSERT INTO Logger(IPAddress,Status)
    VALUES (@strIP,'INSERT')
    ELSE
    --PRINT 'Delete happened';
    INSERT INTO Logger(IPAddress,Status)
    VALUES (@strIP,'DELETE')
    CREATE FUNCTION [dbo].[GetCurrentIP] ()
    RETURNS varchar(255)
    AS
    BEGIN
    DECLARE @IP_Address varchar(255);
    SELECT @IP_Address = client_net_address
    FROM sys.dm_exec_connections
    WHERE Session_id = @@SPID;
    Return @IP_Address;
    END
    but the problem is user can change data after disabling the trigger on specific table. so trigger will not fire and user can seamlessly change data.
    so guide me what is the best way to capture data change and log them. so no one can bypass the security. please do not tell me disable sa account because i am looking for different approach to capture the change data. is there any secure way exist in sql
    server 2005/2008 if yes then please discuss here. thanks

    If you have shared SA password with different users you are bound to get these scenarios.Instaed of focussing on how to capture I would like you to talk with different users and only provide them access which is required.Follow policy f minimum privilege
    your environement will be less complex .
    You can use combination of Logon trigger and CDC to capture it.But again why o make things complex by sharing SA password with many users.
    https://www.simple-talk.com/sql/learn-sql-server/introduction-to-change-data-capture-%28cdc%29-in-sql-server-2008/
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • Dropship PO schedule line date changes and impact in SO

    Hi,
    Please suggest where senario; Drop ship PO created and Changed Schedule delivery date on Purchase order and automaticaly changes in Sales order schedule line level.
    SO- PR - PO
    Senario1;
    When Vendor not confirms requested delivery quantity on date, he confirms partially qty and later confirmes remaining quanity. When we split in Purchase order delivery schedule directly it will not update at sales order it confirms and changes initially qty only on SO schedule line level. how can i copy back to sales order schedule qty partial split done on PO.
    Senario2;
    When SO created and PR - PO generated later when we Add new line item in SO or Directly add PO line item how can i make sync between the two documents automatically.
    SO Schedule delivery date and PO schedule delivery date how can i see the link b/w to document back to back updates automatically when we change any one doc.
    Thanks in advance
    JACK

    Hi Caetano,
    thanks for your suggestion
    Yes, we use firm zone for few of the vendors. there the system don't change the schedule lines.
    Also for the stock transfer PR's there is no firm zone and the lead time is one day. in this case it changes everyday after the MRP run.
    the stock transfer PR's leads to the creation of Schedule lines from the source plant. Since this PR gets changed everyday. the alerts coming out of MD07 gets changed and we really did not know if this order is delayed or not.  In the source plant we use the firm zone to avoid moving the schedule line. But then the alerts are always not correct.
    is there any setting which helps in not moving the PR everyday without using " start in the past"
    thanks
    Nagendra Kumar

  • Alv data change and save in database

    hello sir,
       i had  done display data in alv from any custom table and that was edit and change..but now i want that data save in database through internal table ...what is coding for save butten.....
    thanks

    Hi
    OOPS ALV....
    U should check the method handle_data_changed (in BCALV_EDIT_04), this method is triggered as soon as the table is modified.
    Here you can understand if a new record is inserted or old record is updated or deleted.
    Normal ALV
    Here is the sample code.If you executed the program and edited something,then after pressing back you will get the changed value in output.For that,I have used loop..Endloop. after FM.SInce your requirement is to update DB,you use
    modify db from table itab.
    That will insert/update the entries in db.
    Kindly reward points by clicking the star on the left of reply,if it helps.
    TYPE-POOLS: slis.
    DATA: report_id LIKE sy-repid.
    DATA: ws_title TYPE lvc_title VALUE 'An ALV Report'.
    DATA: i_layout TYPE slis_layout_alv.
    DATA: i_fieldcat TYPE slis_t_fieldcat_alv.
    types : begin of ty,
    pernr type pa0001-pernr,
    SEQNR type pa0001-seqnr,
    end of ty.
    data itab type standard table of ty.
    data wa type ty.
    select pernr seqnr from pa0001 into table itab.
    report_id = sy-repid.
    PERFORM f1000_layout_init CHANGING i_layout.
    PERFORM f2000_fieldcat_init CHANGING i_fieldcat.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
    i_callback_program = report_id
    i_grid_title = ws_title
    is_layout = i_layout
    it_fieldcat = i_fieldcat
    i_save = 'A'
    TABLES
    t_outtab = itab
    EXCEPTIONS
    program_error = 1
    OTHERS = 2
    IF sy-subrc 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    *Use modify statement here instead of loop
    loop at itab into wa.
    write : / wa-pernr, wa-seqnr.
    endloop.
    FORM f1000_layout_init USING i_layout TYPE slis_layout_alv.
    CLEAR i_layout.
    i_layout-colwidth_optimize = 'X'.
    i_layout-edit = 'X'.
    ENDFORM.
    FORM f2000_fieldcat_init CHANGING i_fieldcat TYPE slis_t_fieldcat_alv.
    DATA: line_fieldcat TYPE slis_fieldcat_alv.
    CLEAR line_fieldcat.
    line_fieldcat-fieldname = 'PERNR'. " The field name and the table
    line_fieldcat-tabname = 'ITAB'. " name are the two minimum req.
    line_fieldcat-key = 'X'. " Specifies the column as a key (Blue)
    line_fieldcat-seltext_m = 'Personal No.'. " Column Header
    APPEND line_fieldcat TO i_fieldcat.
    CLEAR line_fieldcat.
    line_fieldcat-fieldname = 'SEQNR'.
    line_fieldcat-tabname = 'ITAB'.
    line_fieldcat-seltext_l = 'No. of records with same key'.
    line_fieldcat-edit = 'X'. APPEND line_fieldcat TO i_fieldcat.
    ENDFORM. " f2000_fieldcat_init
    Regards
    Vasu

  • Data (Master Data Changes and Transaction Data) from SAP BW to SAP BPC 5.1

    Hi guys
    I have seen posts on this forum describing data transfers from SAP R/3 to SAP BPC. I assume the procedure for data transfers from SAP BW to SAP BPC 5.1 should be the same i.e. using SSIS packages.
    However I have some unique requirements -
    1. DATA AT DIFFERENT AGGREGATED LEVELS - I need data from SAP BW at different levels - Some data comes at Product level while other at Customer level and some at Project Level. The current procedure takes BW queries output in excel sheets (6 files) and then use the data manager package to load the data in SAP BPC 5.1 using appropriate transformation and conversion files. This procedure is highly manual and I am looking at using SSIS package to do this. However, because of having data at different levels, it becomes a little tricky. How can we achieve this using SSIS?
    2. UPDATING MASTER DATA - I need to update the master data (dimension members) in SAP BPC 5.1 at the start of every month. The current procedure compares (in MS ACCESS) the data from the queries mentioned in 1 to the dimension members in SAP BPC 5.1 and spits a file with the new entries which needs to be manually updated in the appropriate dimensions using Admin Console. I am looking at automating this task. I cannot just replace all the contents of a dimension with the members coming from SAP BW since the dimension members contains some dummy members which are used for planning.
    3. HIERARCHY CHANGES - What is the best way to capture the hierarchy changes in SAP BW into SAP BPC 5.1?
    Please advise.
    Thanks,
    Ameya Kulkarni

    Hi Ameya,
    how did you solve the described problems? Can you give some hints about uploading master data and updating the hierarchy?
    BR, André

  • Check data changed in REUSE_ALV_GRID_DISPLAY

    I want to enable the edit mode to a column in ALV GRID, there isn't the problem, but the user wants to check the modified data when he leave the celd and show a popup window if is necessary. In ALV OO isn't a problem but in this case I don't know how to do it.
    Thanks in advance.
    Regards.
    Lisandro.

    Hi,
    You can try this..
    In the USER_COMMAND subroutine..
    data: REF_GRID TYPE REF TO CL_GUI_ALV_GRID.
    IF REF_GRID IS INITIAL.
        CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'
          IMPORTING
            E_GRID = REF_GRID.
      ENDIF.
      IF NOT REF_GRID IS INITIAL.
        CALL METHOD REF_GRID->CHECK_CHANGED_DATA
      ENDIF.
    Now your internal table will have the updated values.
    Thanks
    Naren

  • Song data changes and album art not updating

    I've been using itunes for a couple of years pretty smoothly, but lately (past 2 months or so), I've noticed a degradation in the performance. When I go to update the album art or other song info for a whole ablum at a time, maybe only 6 tracks are updated. It can take 4 or 5 repeated attempts before it finally "sticks" for some tracks. This also happens sometimes when I'm updating a single track, but there doesn't seem to be any rhyme or reason to which tracks are affected and which aren't.
    Other functions are fine: playback, burning, importing, just the maintenance of the data attached to tracks.
    My first guess is RAM, I've only got 256 megs, and my library sits a little over 50 gigs. I know upgrading my RAM makes sense on many levels, but I couldn't find any topics with a similar problem, so I wanted to rule out other possibilites too.
    Thanks!
    Vaio desktop   Windows XP Pro   256 RAM, library on external HD

    I think they've all been ripped, and Gracenote didn't have correct or complete info. Not all of the tags were v2.3, but they were v2.2 at least. Was there really that big of a difference between the revisions?
    I just tried updating the tags to v2.3, and the same thing happened! Only 3 of the 16 tracks show as having updated to v2.3, the rest are still v2.2, or oddly enough show as none (despite having info displayed in the library and "get info" screens). I bet I can get the remaining tracks to v2.3 after repetition, but it's a pain to have to do the same action 5 times to make it stick.
    Not the source of the problem, but a complicating factor was that I tried the wmp11 beta, and it seemed to have stolen the album art from itunes. Those albums which showed up in wmp (only about 15-20% of my collection)were the exact same ones which disappeared in itunes. When I went to repair the album art gaps in itunes is when this issue went from a minor annoyance to a clear sign something was wrong.

  • Delivery date changed 4 times-called to ask what is going on and then best buy cancelled order

    I ordered a 55 inch aquos  with free ROKU stick for $599.00 on Sept. 22   (removed per forum guidlelines) and got a confirmed delivery of Sept. 26.  Unfortunately, I received a call in the morning of the Sept. 26 and was told that delivery was pushed to Tues, Sept. 30.
    On Monday, Sept. 29, I received an automated call informing me that the Tv will be delivered on Sept. 30 between 3:30 and 5:30. and I also received an email with the same information. Thirty minutes later I received another email stating that the delivery is again being pushed to Oct. 13. so I called customer service. I was told he can change the delivery date to Oct. 3 but call in the morning to confirm availability with warehouse.I called customer service on Sept. 30 to confirm availability and was assured that the Tv will be delivered on Oct. 3.
    On Thursday Oct. 2nd, I received another email stating the order will not be delivered until Oct. 16. I remained calm and called customer service and after a very long hold time I was able to speak with a representative and again after a long hold to check what is going on, she informed me that the order is now cancelled since the item is  discontinued. I told the representative that I already lost 3 days of work due to the delivery dates changing and since the TV has to be accepted by somebody 18 years or older I needed to be home. I asked if it is unreasonable to ask for the same exact TV but 1 size bigger since the 60 inch is available and in stock (but without the ROKU stick) but unfortunately I was told it is not possible. I asked to speak with a supervisor but they are all busy but she asked for my phone number so they can call me back in 20 min.. I waited but did not get a back from the supervisor the same day.
    I called again today,  Friday, Oct. 3 and I was assisted by a nice lady who after explaining my situation was sincere with her apology. She told me that she will call me back so she can speak with a supervisor about my situation. I asked her too if it is unreasonable to ask for the same exact TV but next size bigger since the one I was sold is no longer available and I lost 3 days of work due to the 3 changes in delivery dates. She affirmed that it is fair but have no authority to make decissions but will relay the history of the order to her superior so they can make a proper resolution. 
    After about 15 minutes I got a call  back and was told that since the bigger TV is priced at 799.00 they will give me a 50.00 dsicount for the trouble. I declined the offer since I feel that  $50.00 dollars for getting the run around and missing 3 days of work is not proper compensation and is an insult to any customer. I thanked her for trying and informed her that I am aware that it is not her fault and it is management who made this decission. 
    I sincerely feel  that I should have been given the next size TV for the same price of my original purchase and I should have been given a ROKU stick (which I did not ask for) for my unpleasant experience.
    We are  $150.00 apart from getting a resolution but management feels like it is the right thing to do for cases like these. Being a best buy customer for many years, spending many thousand of dollars,  I am  puzzled why best buy would treat any customer the way they treated me. Please explain the policy so I can have a better understanding. The $150.00 difference can easily be recopued from my next purchase. In my opinion, it is not a very smart business practice to lose a customer this way. Again, please explain the policy to me so I can understand better.

    Hello romcarlos1,
    While unforeseen complications can cause unexpected delays, it seems something went wrong at every turn. Misinformation and multiple missed appointments would frustrate me too, and I can only imagine this frustration turned into aggravation with the poor service you describe. After pulling up your account, I noticed that has been two weeks since your TV purchase, and I’m sorry for any inconvenience this may have caused. I appreciate you allowing me the opportunity to explain what should have happened.
    When your delivery day arrives, you should receive a call from us to narrow down the time frame to a 4-hour window.  This is done because our delivery agent’s schedule isn’t fully determined until the day of service as our customer’s needs may change prior to the delivery date. These routes are then best optimized to fit the appointments scheduled for the day. The particular television you wished to purchase is quite popular, however, and due to high demand, it’s currently on backorder in some areas of the country.  This may explain why your delivery date was continuously pushed back unexpectedly, and why we needed to reschedule multiple times.
    While in backordered status, however, an online order may be cancelled if you don’t wish to wait any longer and a different model may be purchase. Upon review of your order, I noticed that it was canceled upon your request. If you have since changed your mind and wish to wait for one to arrive, you may place a new order here. 
    It sounds like you wish to purchase a new TV entirely though, so I understand if you don’t wish to attempt a new order. While I cannot guarantee you a different outcome than the resolution already offered, I’d be glad to look into your case to see what other options may be available. Please know I have sent you a private message to collect further information from you. You may view this by logging into the forum and clicking on the envelope in the upper right-hand corner of the page.
    Respectfully,
    Alex|Social Media Specialist | Best Buy® Corporate
     Private Message

  • Sql query to bind data from grid and print total count and amount total when date changes

    SELECT SLHD.VOUCH_CODE,SLHD.VOUCH_DATE,SLHD.VOUCH_NUM,SUM(SLTXN.CALC_NET_AMT) AS AMT,ACT.ACT_NAME,SUM(SLTXN.TOT_QTY) AS QTY
    FROM SL_HEAD20132014 AS SLHD,ACCOUNTS AS ACT,SL_TXN20132014 AS SLTXN
    WHERE SLHD.ACT_CODE=ACT.ACT_CODE AND SLTXN.VOUCH_CODE=SLHD.VOUCH_CODE
    GROUP BY SLHD.VOUCH_CODE,SLHD.VOUCH_DATE,SLHD.VOUCH_NUM,ACT.ACT_NAME
    ORDER BY SLHD.VOUCH_DATE 
    i want to print total quatity and total sale in grid when data changes
    like
    date amount quantity
    01/02/2013 1200 1
    01/02/2013  200 1
    01/02/2013  1400 2 // date changes here 
    02/03/2013 100 1 
    02/03/2013 50 4
    02/03/2013 150 5 // date changes and so on

    this query only print all the data from table i want total quantity and total amount of daily sale in same grid when ever date changes
    You may add the date filter to Visakh's query:
    SELECT SLHD.VOUCH_DATE,SUM(SLTXN.CALC_NET_AMT) AS AMT,SUM(SLTXN.TOT_QTY) AS QTY
    FROM SL_HEAD20132014 AS SLHD,ACCOUNTS AS ACT,SL_TXN20132014 AS SLTXN
    WHERE SLHD.ACT_CODE=ACT.ACT_CODE AND SLTXN.VOUCH_CODE=SLHD.VOUCH_CODEand SLHD.VOUCH_DATE = @yourdate --passed from the front end application
    GROUP BY SLHD.VOUCH_DATE
    WITH CUBE
    ORDER BY SLHD.VOUCH_DATE
    Having said, each time when you select the date, you query the table would be expensive method. May be you can filter the date within your dataset already populated if you have entire data in the dataset.

  • Difference between earliest master data and master data change bonus

    Hi,
          Can anyone tell me what is the exact difference between earliest master data change and master data change bonus? Whenver any infotype is changed, why are the dates updated in both the fields? Is  it not enough if only Earliest master data change field is updated? I was thinking that Earliest master data change bonus field is updated when IT267 is created, but even if i change the time data both the fields are getting updated. Please advise?
    Thanks

    Hi,
    Earliest master dat change date is date beyond which no master data change can be put in for employee in infotype.
    It is used to restrict any master data entry beyond certain date as restriction for employees that client has set and is moreover controlled at control record level but ocassionally used at employee level whenever payment was hold for long time and so on.
    Master data change bonus date is date which gets automatically filled in whenever there is any master data change.
    This date cannot be past earliest master data change date and will throw error if tried for employee to input.
    Thanks,
    Ameet

  • Splitting events after batch date change causes event to disappear

    Hi all,
    The basic (repeatable) scenario is this:
    o I scan in a bunch of old pictures I want to keep in iPhoto (lets say 10)
    o I import them into iphoto (no problems with import) 1 event with 10 pictures is created.
    o I then take a specific set of 4 photos and split them out of the main event into a new event (everything still ok) - 2 events, 4 and 6 events respectively.
    o I open the new event and do a batch date change on the 4 pictures, changing the date to the correct date of the picture
    o I exit the event expecting it to move up in the list of events (I sort by date). It's gone! iPhoto lists the 1 new event and its 6 photos
    o I change my sort (by time, by name, etc) and still not there.
    o I find my library in finder, open the package, and the files are still there.
    o I go back to iPhoto and click on "Photos". Walla! 10 pictures!
    o I undo the data change and they show up again in events - 2 new events, 10 total pictures.
    I've already done all the obvious checks (are you sorting by date, look up by even name, search by file name through all events etc.) I've talked with a product specialist and they said the standard "rebuild the library" which did not resolve the issue.
    I can repeat this until the cows come home in the existing library. I've created a brand new library and it does not repeat, do there is something in my library not right. But I don't buy the standard "redo your library from scratch" (36K pictures, 50 faces and hundreds of places). Just like with faces, you can discard the db files, there must be something besides "rebuild automatically and if that doesn't work sorry start over". Was iPhoto coded in Redmond?
    Has anyone had anything similar to this? I looked through the forums and couldn't see anything. If I have to rebuild this, I am done with iPhoto after having to rebuild due to faces too many times, and my question changes to what are folks recommendations for a more stable photo management software suite?
    Thanks!
    HOTG

    If the problem doesn't repeat in another Library then obviously the issue is with that library.
    As you've tried the basic rebuild: Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Rebuild iPhoto Library Database from automatic backup.
    The obvious solution is to restore a good version from your back up and, er, Walla! as you say yourself.
    Next least destructive option: Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.
    Regards
    TD

  • ORDERS05 IDOC - ZTERM "Critical credit data changed" problem

    Hello everyone!
    I have configured a scenario where XI sends an IDOC (ORDERS.ORDERS05) to an SAP system to create a Sales Order (SO).
    I have a problem with the Payment Terms (...EDI_DC40/ZTERM) field. Whenever I send an SO with the ZTERM field mapped, I get an error "Critical credit data changed" and as a result, the SO is not created; however, when I leave the field blank, the message goes through successfully.
    Apparently, a popup saying "Critical credit data changed" shows even when creating SOs manually. My question is this, is there any way I can bypass this message through XI, so that I can create the SO with the ZTERM field populated? Are there any qualifiers I should be looking into?
    Looking forward to your responses!
    Warm regards,
    Glenn

    Hello Anil,
    Thank you very much for your reply! Unfortunately, that configuration is part of the auto credit checking. When I create SOs manually and change the payment terms field, a popup says "Critical credit data changed", I can simply tick the 'check' mark and the SO saves. However, if the SO is sent via XI, the popup causes an error. Is there any information we can provide in the IDOC so that it bypasses those kinds of popup messages?

  • Data changes in JTable

    hi experts
    i'm tring to detect the data change in the JTable. The java.sun.com
    gives one ex on this using "TableModelListener". but the program is
    giving errors on using that. I want to detect the data changes
    and also to save the data in its new form. how can i do it??
    Also, if ur having a large table data and the user changes only one cell , do i have to write the whole table back to the database ???
    Ashish

    here is the code. if i write "implements TableModelListener" then
    an error occurs
    import java.sql.*;
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.util.*;
    public class TableDisplay extends JFrame implements TableModelListener{
    private Connection connection;
    private JTable table;
    public TableDisplay()
    //using JDBC to connect to a Microsoft ODBC database.
    String url = "jdbc:odbc:trial";
    String username = "ashish";
    String password = "ashish";
    // Load the driver to allow connection to the database
    try {
    Class.forName( "sun.jdbc.odbc.JdbcOdbcDriver" );
    connection = DriverManager.getConnection(
    url, username, password );
    catch ( ClassNotFoundException cnfex ) {
    System.err.println(
    "Failed to load JDBC/ODBC driver." );
    cnfex.printStackTrace();
    System.exit( 1 ); // terminate program
    catch ( SQLException sqlex ) {
    System.err.println( "Unable to connect" );
    sqlex.printStackTrace();
    getTable();
    setSize( 500, 350 );
    show();
    private void getTable()
    Statement statement;
    ResultSet resultSet;
    try {
    String query = "SELECT * FROM shippers";
    statement = connection.createStatement();
    resultSet = statement.executeQuery( query );
    displayResultSet( resultSet );
    statement.close();
    catch ( SQLException sqlex ) {
    sqlex.printStackTrace();
    private void displayResultSet( ResultSet rs )
    throws SQLException
    // position to first record
    boolean moreRecords = rs.next();
    // If there are no records, display a message
    if ( ! moreRecords ) {
    JOptionPane.showMessageDialog( this,
    "ResultSet contained no records" );
    setTitle( "No records to display" );
    return;
    Vector columnHeads = new Vector();
    Vector rows = new Vector();
    try {
    // get column heads
    ResultSetMetaData rsmd = rs.getMetaData();
    for ( int i = 1; i <= rsmd.getColumnCount(); ++i )
    columnHeads.addElement( rsmd.getColumnName( i ) );
    // get row data
    do {
    rows.addElement( getNextRow( rs, rsmd ) );
    } while ( rs.next() );
    // display table with ResultSet contents
    table = new JTable( rows, columnHeads );
         table.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
    JScrollPane scroller = new JScrollPane( table );
    getContentPane().add(
    scroller, BorderLayout.CENTER );
    validate();
    catch ( SQLException sqlex ) {
    sqlex.printStackTrace();
    private Vector getNextRow( ResultSet rs,
    ResultSetMetaData rsmd )
    throws SQLException
    Vector currentRow = new Vector();
    for ( int i = 1; i <= rsmd.getColumnCount(); ++i )
    /* switch( rsmd.getColumnType( i ) ) {
    case Types.VARCHAR:
    currentRow.addElement( rs.getString( i ) );
    break;
    case Types.INTEGER:
    currentRow.addElement(
    new Long( rs.getLong( i ) ) );
    break;
    default:
    System.out.println( "Type was: " +
    rsmd.getColumnTypeName( i ) );
    currentRow.addElement( rs.getString( i ) );
    return currentRow;
    public void shutDown()
    try {
    connection.close();
    catch ( SQLException sqlex ) {
    System.err.println( "Unable to disconnect" );
    sqlex.printStackTrace();
    public static void main( String args[] )
    final TableDisplay app = new TableDisplay();
    app.addWindowListener(
    new WindowAdapter() {
    public void windowClosing( WindowEvent e )
    app.shutDown();
    System.exit( 0 );

  • Guitar data changes on playback?

    Hi. I am using GB3 and trying to record an acoustic guitar thru a PreSonus usb interface but after recording the track the audio data changes and the quality is really crappy. When I record the audio I can see the sound waves nice and thick and full coming in but then when i go to play it back the actual wave data changes to skinny and shallow. I want a rich and full acoustic sound. Does anyone know if there is a setting or something I am doing wrong that causes this to happen?

    I have a Taylor acoustic with the old Fishman built-in pickup and I do not really like the sound it gets when plugged in direct. (thru my interface). Fine guitar, but not a great sounding pickup. I adjusted the eq somewhat and can get it to sound a bit better.
    But I prefer using a combination of a Dean Markley ProMag Grand soundhole pickup and a condenser mic.
    So, as HT says, it may take a bit of experimentation. Also, after you record you may need some effects (at least reverb) to get the sound you want.

  • Bill date change

    Signed up years ago asked for the end of month due date. My husband is military. Of course they wanted my money worked with me. This month it's due the 22nd. How can they change a date and not have consideration over families budget. I have been a loyal customer for many many years. I'm not happy about this. On top if which the girl who I spoke to was so rude and scolded me like a toddler. We have a budget that we work with as retired military.

    I had the exact same thing happen! I have only had AT&T and now am checking out other providers.  I called to ask about the bill date change and got someone (chris) that really didn'texplain anything and says that my billing cycle doesnt change, just the bill due date. ???That makes no sense to me.  I asked if I was going to get a pro rated bill now that they want mymoney 7 days earlier.  He said no, and repeated that my cycle isn't changing.There is a way to make a due date but it looks like you have to jump through hoops and hand over your first born to make it happen.I am very disappointed with AT&T and I am surprised they don't care with all the other options out there.

Maybe you are looking for

  • Short dump while navigate to second view :: "OBJECTS_OBJREF_NOT_ASSIGNED_NO

    Hi, Can anybody help me out as I am getting a short dump while navigating to particular screen. The error was triggered when i was binding an internal table to node in my second view. The short dump shows as below. ■The following error text was proce

  • Poor query performance with BETWEEN

    I'm using Oracle Reports 6i. I needed to add Date range parameters (Starting and Ending dates) to a report. I used lexicals in the Where condition to handle the logic. If no dates given, Start_LEX := '/**/' and End_LEX := '/**/' If Start_date given,

  • Re: Base64 Decoder in TOOL requested

    Brendan Duddridge wrote: > Does anyone have a Base64 decoder written in TOOL? I'm looking for one for a project I'm working ong.I've enclosed a zip archive with an encoder/decoder class I wrote. This is not completely Base64 compliant, but it uses th

  • CS5 fields or codec problem.

    I am making a video for TV and here's the technical requirements I get: MOV. QT Self-Contained IMX30, 30 Mbps    or   Microsoft AVI PAL, 720x576. 16:9 Full Frame Anamorphic 25 fps. Upper field (odd). (liuminance): -1% and 103% The problem now is that

  • Pin Programs on the Windows 7 Taskbar & Start Menu with Group Policy (Windows Server 2008 R2)

    Dear ALL, I want to Pin Programs on the Windows 7 Taskbar & Start Menu with Group Policy (Windows Server 2008 R2) as per below description. Can someone please help me how to proceed and achieve this.  Pin the following applications to the Taskbar: Ou