Alternate code

can any one provide me alternate code for following statement using 1.READ from internal table, 2. by using "for all entries".
<u>following is the code</u>
*TABLE J_5HPDBEAR
LOOP AT gt_cr INTO gs_cr.
   SELECT *  FROM j_5hpdbear WHERE annuser = gs_cr-ausfuehrer.
     gs_cr-vorname = j_5hpdbear-vorname.               "First name
     gs_cr-nachname = j_5hpdbear-nachname.             "last name
     gs_cr-mail = j_5hpdbear-mail.                     "mail id
     MODIFY gt_cr FROM gs_cr.
   ENDSELECT.
ENDLOOP.
here gs-cr is the header for gt_cr

if not gt_cr is initial.
select *
from j_5hpdbear
into table gt_j_5hpdbear
for all entries in gt_cr
where annuser = gt_cr-ausfuehrer.
loop at gt_cr into gs_cr.
read table gt_j_5hpdbear  into wa_j_5hpdbear where annuser = gs_cr-ausfuehrer.
if sy-subrc = 0.
move :
wa_j_5hpdbear-vorname to gs_cr-vorname ,
wa_j_5hpdbear-nachname to gs_cr-nachname,
wa_j_5hpdbear-mail to gs_cr-mail.
modify gt_cr from gs_cr index sy-tabix transporting vorname nachname mail .
endif.
endloop.
endif.

Similar Messages

  • Need Alternate Code To Sleep

    I wrote this code but I need to replace "thread.sleep" with something else that pretty much does the same thing. Any suggestions?
    Here is the code:
    import java.lang.*;
    import java.text.DecimalFormat;
    class mortgagePaymentAmount
      public static void main ( String[] args )
        System.out.println("\nMortgage Program v5"); //Should print out a header
        //Declare and construct variables
        final int loanAmount = 200000;
        //Arrays
        //int months = 360;
        int[] months= { 84, 180, 360 };
        //double interest = .0575;
        double[] interest= { .0535, .055, .0575 };
        DecimalFormat df = new DecimalFormat("0.##");  //DecimalFormat derived from http://forum.java.sun.com/
        //Calculations
        double monthlyPayment = (loanAmount * (interest[0]/12.0))/(1 - 1 /Math.pow((1 + interest[0]/12.0), months[0]));
        double interestPaid = (interest[0]/12.0) * loanAmount;
        double principal = monthlyPayment - interestPaid;
        double balance = loanAmount - principal;
        double newBalance = balance - principal;
        double totalInterestPaid = interestPaid * months[0];
        double totalPrincipal = principal * months[0];
        double newInterest = (interest[0]/12) * balance;
        //List loan balance and interest paid loop
        int paymentNum=1;
        try
            for (int j = 0; j < months.length; j++)
                monthlyPayment = (loanAmount * (interest[j]/12.0))/(1 - 1 /Math.pow((1 + interest[j]/12.0), months[j]));
                interestPaid = (interest[j]/12.0) * loanAmount;
                principal = monthlyPayment - interestPaid;
                paymentNum = 1;
                String newLine = System.getProperty("line.separator"); //To clean up some line breaks from http://leepoint.net/notes-java/io/10file/sys-indep-newline.html
                System.out.println(newLine + newLine + "Mortgage is: $" + loanAmount);
                System.out.println("Term is: " + months[j] + " months or " + months[j]/12 + " years.");
                System.out.println("Interest rate is: " + interest[j] + " or " +interest[j]*100 + "%");
                System.out.println("Mortgage payment amount: $" + df.format(monthlyPayment)); //Display the mortgage payment amount
                balance = loanAmount - principal;
                for (double i=balance; i >= 0; i-=principal)
                  System.out.println("Payment " + paymentNum + "\tBalance: $" + (df.format(i)) + "  \tInterest paid: $" + (df.format(interestPaid)));
                  //If I want to display the principal, include this: "  \tDisplay principal: $" + (df.format(principal)) +
                  principal = monthlyPayment - (interest[j]/12) * i;
                  interestPaid = (interest[j]/12.0) * i;
                  if (paymentNum > 0)
                    paymentNum++;
                  if (paymentNum > 20)
                    Thread.sleep(500);
        catch (InterruptedException ex)  //Sierra, K. Bates, B. (2005). "Head First Java". p.502
        ex.printStackTrace();
    }Thanks!

    calculate PI to the 1000000000000000th digit, that
    should do the trick.It worked on Star Trek.

  • Is there any alternative for this code to increase performance

    hi, i want alternate code for this to increase performance.
    DATA : BEGIN OF itab OCCURS 0,
                  matnr LIKE zcst-zmatnr,
                 checked TYPE i,
                 defected TYPE i,
               end of itab.
    SELECT DISTINCT zmatnr FROM zcst INTO TABLE itab WHERE
       zmatnr IN s_matnr AND
          zwerks EQ p_plant AND
          zcastpd IN s_castpd AND
          zcatg IN s_categ.
    LOOP AT itab.
        ind = sy-tabix.
    SELECT COUNT( DISTINCT zcst~zcastn )
           FROM zcst INNER JOIN zvtrans
           ON ( zcstzcastn = zvtranszcastn AND
                zcstzmatnr = zvtranszmatnr AND
                zcstzwerks = zvtranszwerks AND
                zcstgjahr  = zvtransgjahr )
           INTO itab-checked
           WHERE
               zcst~zmatnr = itab-matnr AND
               zcst~zwerks EQ p_plant AND
               zcastpd IN s_castpd AND
               zcatg IN s_categ.
    SELECT COUNT( DISTINCT zcst~zcastn )
          FROM zcst INNER JOIN zvtrans
          ON ( zcstzcastn = zvtranszcastn AND
               zcstzmatnr = zvtranszmatnr AND
               zcstzwerks = zvtranszwerks AND
               zcstgjahr  = zvtransgjahr )
          INTO itab-defected
          WHERE
              zcst~zmatnr = itab-matnr AND
              zcst~zwerks EQ p_plant AND
              zcastpd IN s_castpd AND
              zcatg IN s_categ AND
              zvtrans~zdcode <> '   '.
      MODIFY itab INDEX ind.
      ENDLOOP.
    i think, select within loop is reducing the performance
    pls reply

    Hi,
    types : BEGIN OF t_itab ,
        matnr LIKE zcst-zmatnr,
       checked TYPE i,
       defected TYPE i,
    end of t_itab.
    data : itab type table of t_itab,
             wa_itab type t_itab.
    and instead of looping as in ur code try to use for all entries and
    use nested loop.

  • Why can't I enter codes to sync?

    I have installed Firefox on my Android phone with no problem. When I go to sync with my mac, I get codes, just as shown in the walk-thru. On my phone I also have a code. On neither device can I type in a code, overwrite what is there, nor is there a place to enter a "new" or alternate code. My computer also says that I already have an account set up, yet when I try to use a recovery key (several times) it says "invalid key". I have then tried to update the key, or get a new key, to no avail. I know it is not this hard!!!

    Are you entering the sync key of 26 characters or the code to share a device?
    *https://support.mozilla.org/kb/how-do-i-set-up-firefox-sync
    *https://support.mozilla.org/kb/add-a-device-to-firefox-sync
    *https://support.mozilla.org/kb/how-do-i-manage-my-firefox-sync-account

  • Promotion Codes

    How is everyone's experience using promotion codes while shopping on VZW?  First, let me say I am very happy with VZW support and services, even after today.  Today, I changed plans, upgraded two phones, and grabbed a new tablet.  It began with a call to VZW Customer Care and questions about plans and phones.  When I brought up my desire to use a promotion code discount, Customer Care referred me to the VZW website where the promotion code could be entered.  On the website, I entered the code advertised by VZW on Tech Bargains (www.techbargains.com/product/nokia_lumina), a reliable site with promotion codes I had used before on Amazon, Newegg, Abt, ..., and stated to be good through 7/27.  There was no change in price after entering the code on the VZW site, so I got on Live Chat where the VZW Rep was unfamiliar with the code but suggested I go through Checkout and if it was not accepted, to get back with VZW Customer Care.  Subsequently the VZW Live Chat Rep came back with an alternate code to try but by that time, I had completed checkout.  So, I called Customer Care back and, after the rep checked with others, was told that nobody was familiar with the promotion code and nothing more could be done.  Overall, my experience was very good but, I am somewhat disappointed that Tech Bargains may have included an inaccurate promotion, that VZW may have failed to inform its reps about the promotion, and that I proceeded to checkout believing either the original or alternate promotion code would be honored.  Not a big big deal but needed to blow off some steam and see what experience others have had. 

    Noch nie davon gehört. 

  • Can't start a 2013 Workflow in an Event Receiver

    I am trying to run a SP2013 workflow from an Event Receiver but I get the error "The request was aborted: The request was canceled. Client ActivityId: aec2fc1b-3f33-44d8-85ab-c6c976617b8c" at the point I actually attempt to start the Workflow.
    The scenario is  as follows. I have 2 lists: List A and List B. Users have permissions to create items in List A but not List B. When users create a new item in List A, a SP2013 workflow runs which then creates a new item in List B. List B should then
    run another SP2103 Workflow but because of how SP and workflows work, this second workflow on List B doesn't automatically run. Thus I have created an Item Added Event Receiver on List B that will run the required workflow automatically (at least it should
    if it worked!)
    I'm sure the problem must be something to do with permissions but nothing I try seems to solve it:
    I can't just use the account of the user triggering the event as this user will be the person adding items to List A and they don't have permissions to do anything in List B (thus they cannot see items in list B or start workflows)
    I can't run using RunWithElevatedPrivileges as a) I don't think this works well with Event Receivers and b) SP2103 workflows cannot be run using the admin account.
    I have tried impersonation with an account specifically set up for running workflows (named mydomain\wssworkflow). This account has full control of the entire site, lists etc. but it still gives the error mentioned above. My code is shown below - the error
    occurs on the line: 
    wfi.StartWorkflowOnListItem(sub, properties.ListItemId, payload);
    Any help in working out why this isn't working would be appreciated.
    Thank you,
    -Stephen
    public override void ItemAdded(SPItemEventProperties properties)
    base.ItemAdded(properties);
    var wsm = new Microsoft.SharePoint.WorkflowServices.WorkflowServicesManager(properties.Web);
    var wfss = wsm.GetWorkflowSubscriptionService();
    var subs = wfss.EnumerateSubscriptionsByList(properties.ListId);
    foreach (var sub in subs)
    if (sub.Name == "RequestAddedToListB")
    var userToken = properties.Web.EnsureUser(@"mydomain\wssworkflow").UserToken;
    using (SPSite site = new SPSite(properties.Site.ID, userToken))
    using (SPWeb web = site.OpenWeb())
    var payload = new Dictionary<string, object>();
    payload.Add("itemId", properties.ListItemId);
    payload.Add("WorkflowStart", "StartWorkflow");
    var wfi = wsm.GetWorkflowInstanceService();
    wfi.StartWorkflowOnListItem(sub, properties.ListItemId, payload);
    break;

    This is the alternate code I had using SPSecurity.RunWithElevatedPrivileges that didn't work. It gives the error 
    "Attempted to perform an unauthorized operation"
    on the line
    var subs = wfss.EnumerateSubscriptionsByList(properties.ListId);
    Thank you.
     public override void ItemAdded(SPItemEventProperties properties)
         base.ItemAdded(properties); SPSecurity.RunWithElevatedPrivileges(delegate
    var wsm = new Microsoft.SharePoint.WorkflowServices.WorkflowServicesManager(properties.Web);
    var wfss = wsm.GetWorkflowSubscriptionService();
    var subs = wfss.EnumerateSubscriptionsByList(properties.ListId);
    foreach (var sub in subs)
    if (sub.Name == "RequestAdded")
    using (SPSite site = new SPSite(properties.Site.ID))
    using (SPWeb web = site.OpenWeb())
    var payload = new Dictionary<string, object>();
    payload.Add("itemId", properties.ListItemId);
    payload.Add("WorkflowStart", "StartWorkflow");
    var wfi = wsm.GetWorkflowInstanceService();
    wfi.StartWorkflowOnListItem(sub, properties.ListItemId, payload);
    break;

  • Performance issue in Report (getting time out error)

    Hi experts,
    I am doing Performance for a Report (getting time out error)
    Please see the code below and .
    while looping internal table IVBAP after 25 minutes its showing  time out error at this poit ->
    SELECT MAX( ERDAT ) .
    please send alternate code for this .
    Advance thanks
    from
    Nagendra
    Get Sales Order Details
    CLEAR IVBAP.
    REFRESH IVBAP.
    SELECT VBELN POSNR MATNR NETWR KWMENG WERKS FROM VBAP
       INTO CORRESPONDING FIELDS OF TABLE IVBAP
         FOR ALL ENTRIES IN IVBAK
           WHERE VBELN =  IVBAK-VBELN
           AND   MATNR IN Z_MATNR
           AND   WERKS IN Z_WERKS
           AND   ABGRU = ' '.
    Check for Obsolete Materials - Get Product Hierarhy/Mat'l Description
      SORT IVBAP BY MATNR WERKS.
      CLEAR: WK_MATNR, WK_WERKS, WK_PRDHA, WK_MAKTX,
             WK_BLOCK, WK_MMSTA, WK_MSTAE.
      LOOP AT IVBAP.
          CLEAR WK_INVDATE.                                   "I6677.sn
          SELECT MAX( ERDAT ) FROM VBRP INTO WK_INVDATE WHERE
          AUBEL EQ IVBAP-VBELN AND
          AUPOS EQ IVBAP-POSNR.
          IF SY-SUBRC = 0.
              MOVE WK_INVDATE TO IVBAP-INVDT.
              MODIFY IVBAP.
          ENDIF.                                               "I6677.e n
          SELECT SINGLE * FROM MBEW WHERE             "I6759.sn
          MATNR EQ IVBAP-MATNR AND
          BWKEY EQ IVBAP-WERKS AND
          BWTAR EQ SPACE.
          IF SY-SUBRC = 0.
             MOVE MBEW-STPRS TO IVBAP-STPRS.
             IVBAP-TOT = MBEW-STPRS * IVBAP-KWMENG.
             MODIFY IVBAP.
          ENDIF.                                      "I6759.en
        IF IVBAP-MATNR NE WK_MATNR OR IVBAP-WERKS NE WK_WERKS.
          CLEAR: WK_BLOCK, WK_MMSTA, WK_MSTAE, WK_PRDHA, WK_MAKTX.
          MOVE IVBAP-MATNR TO WK_MATNR.
          MOVE IVBAP-WERKS TO WK_WERKS.
          SELECT SINGLE MMSTA FROM MARC INTO MARC-MMSTA
            WHERE MATNR = WK_MATNR
            AND   WERKS = WK_WERKS.
          IF NOT MARC-MMSTA IS INITIAL.
            MOVE '*' TO WK_MMSTA.
          ENDIF.
          SELECT SINGLE LVORM PRDHA MSTAE MSTAV FROM MARA
            INTO (MARA-LVORM, MARA-PRDHA, MARA-MSTAE, MARA-MSTAV)
            WHERE MATNR = WK_MATNR.
          IF ( NOT MARA-MSTAE IS INITIAL ) OR
             ( NOT MARA-MSTAV IS INITIAL ) OR
             ( NOT MARA-LVORM IS INITIAL ).
             MOVE '*' TO WK_MSTAE.
          ENDIF.
          MOVE MARA-PRDHA TO WK_PRDHA.
          SELECT SINGLE MAKTX FROM MAKT INTO WK_MAKTX
            WHERE MATNR = WK_MATNR
              AND SPRAS = SY-LANGU.
        ENDIF.
        IF Z_BLOCK EQ 'B'.
          IF WK_MMSTA EQ ' ' AND WK_MSTAE EQ ' '.
            DELETE IVBAP.
            CONTINUE.
          ENDIF.
        ELSEIF Z_BLOCK EQ 'U'.
          IF WK_MMSTA EQ '' OR WK_MSTAE EQ ''.
            DELETE IVBAP.
            CONTINUE.
          ENDIF.
        ELSE.
          IF WK_MMSTA EQ '' OR WK_MSTAE EQ ''.
            MOVE '*' TO WK_BLOCK.
          ENDIF.
        ENDIF.
        IF WK_PRDHA IN Z_PRDHA.                                    "I4792
          MOVE WK_BLOCK TO IVBAP-BLOCK.
          MOVE WK_PRDHA TO IVBAP-PRDHA.
          MOVE WK_MAKTX TO IVBAP-MAKTX.
          MODIFY IVBAP.
        ELSE.                                                     "I4792
          DELETE IVBAP.                                           "I4792
        ENDIF.                                                    "I4792
        IF NOT Z_ALNUM[] IS INITIAL.                              "I9076
          SELECT SINGLE * FROM MAEX                               "I9076
            WHERE MATNR = IVBAP-MATNR                             "I9076
              AND ALNUM IN Z_ALNUM.                               "I9076
          IF SY-SUBRC <> 0.                                       "I9076
            DELETE IVBAP.                                         "I9076
          ENDIF.                                                  "I9076
        ENDIF.                                                    "I9076
      ENDLOOP.

    Hi Nagendra!
    Get Sales Order Details
    CLEAR IVBAP.
    REFRESH IVBAP.
    check ivbak is not initial
    SELECT VBELN POSNR MATNR NETWR KWMENG WERKS FROM VBAP
    INTO CORRESPONDING FIELDS OF TABLE IVBAP
    FOR ALL ENTRIES IN IVBAK
    WHERE VBELN = IVBAK-VBELN
    AND MATNR IN Z_MATNR
    AND WERKS IN Z_WERKS
    AND ABGRU = ' '.
    Check for Obsolete Materials - Get Product Hierarhy/Mat'l Description
    SORT IVBAP BY MATNR WERKS.
    CLEAR: WK_MATNR, WK_WERKS, WK_PRDHA, WK_MAKTX,
    WK_BLOCK, WK_MMSTA, WK_MSTAE.
    avoid select widin loop. instead do selection outside loop.u can use read statement......and then loop if required.
    LOOP AT IVBAP.
    CLEAR WK_INVDATE. "I6677.sn
    SELECT MAX( ERDAT ) FROM VBRP INTO WK_INVDATE WHERE
    AUBEL EQ IVBAP-VBELN AND
    AUPOS EQ IVBAP-POSNR.
    IF SY-SUBRC = 0.
    MOVE WK_INVDATE TO IVBAP-INVDT.
    MODIFY IVBAP.
    ENDIF. "I6677.e n
    SELECT SINGLE * FROM MBEW WHERE "I6759.sn
    MATNR EQ IVBAP-MATNR AND
    BWKEY EQ IVBAP-WERKS AND
    BWTAR EQ SPACE.
    IF SY-SUBRC = 0.
    MOVE MBEW-STPRS TO IVBAP-STPRS.
    IVBAP-TOT = MBEW-STPRS * IVBAP-KWMENG.
    MODIFY IVBAP.
    ENDIF. "I6759.en
    IF IVBAP-MATNR NE WK_MATNR OR IVBAP-WERKS NE WK_WERKS.
    CLEAR: WK_BLOCK, WK_MMSTA, WK_MSTAE, WK_PRDHA, WK_MAKTX.
    MOVE IVBAP-MATNR TO WK_MATNR.
    MOVE IVBAP-WERKS TO WK_WERKS.
    SELECT SINGLE MMSTA FROM MARC INTO MARC-MMSTA
    WHERE MATNR = WK_MATNR
    AND WERKS = WK_WERKS.
    IF NOT MARC-MMSTA IS INITIAL.
    MOVE '*' TO WK_MMSTA.
    ENDIF.
    SELECT SINGLE LVORM PRDHA MSTAE MSTAV FROM MARA
    INTO (MARA-LVORM, MARA-PRDHA, MARA-MSTAE, MARA-MSTAV)
    WHERE MATNR = WK_MATNR.
    IF ( NOT MARA-MSTAE IS INITIAL ) OR
    ( NOT MARA-MSTAV IS INITIAL ) OR
    ( NOT MARA-LVORM IS INITIAL ).
    MOVE '*' TO WK_MSTAE.
    ENDIF.
    MOVE MARA-PRDHA TO WK_PRDHA.
    SELECT SINGLE MAKTX FROM MAKT INTO WK_MAKTX
    WHERE MATNR = WK_MATNR
    AND SPRAS = SY-LANGU.
    ENDIF.
    IF Z_BLOCK EQ 'B'.
    IF WK_MMSTA EQ ' ' AND WK_MSTAE EQ ' '.
    DELETE IVBAP.
    CONTINUE.
    ENDIF.
    ELSEIF Z_BLOCK EQ 'U'.
    IF WK_MMSTA EQ '' OR WK_MSTAE EQ ''.
    DELETE IVBAP.
    CONTINUE.
    ENDIF.
    ELSE.
    IF WK_MMSTA EQ '' OR WK_MSTAE EQ ''.
    MOVE '*' TO WK_BLOCK.
    ENDIF.
    ENDIF.
    IF WK_PRDHA IN Z_PRDHA. "I4792
    MOVE WK_BLOCK TO IVBAP-BLOCK.
    MOVE WK_PRDHA TO IVBAP-PRDHA.
    MOVE WK_MAKTX TO IVBAP-MAKTX.
    MODIFY IVBAP.
    ELSE. "I4792
    DELETE IVBAP. "I4792
    ENDIF. "I4792
    IF NOT Z_ALNUM[] IS INITIAL. "I9076
    SELECT SINGLE * FROM MAEX "I9076
    WHERE MATNR = IVBAP-MATNR "I9076
    AND ALNUM IN Z_ALNUM. "I9076
    IF SY-SUBRC 0. "I9076
    DELETE IVBAP. "I9076
    ENDIF. "I9076
    ENDIF. "I9076
    endloop.
    U have used many select queries widin loop-endloop which is a big hindrance as far as performance is concerned.Avoid such practice.
    Thanks
    Deepika

  • An issue with multiple checkboxes displaying correctly.

    My company is converting our website to seam. We obviously have a number of existing pages we must convert and at least try to mimic the previous code. The page I'm currently working on is a catalog request form(see: http://www.perma-bound.com/CatalogRequestForm). I'm totally new to jsf's to an extent. I've done some coding in it while we shift to this but I'm far from an expert. I've been able to get the bean and all the code that interacts with the database to work correctly. My issue is that it's seemingly impossible to style selectManyCheckbox's in a manner similar to that page. When we were using standard html, it wasn't an issue because you could put <input>'s wherever you wanted. In the case of selectManyCheckbox's, they insert a table into the code which seemingly isn't alterable. Here's the snippet in question
    <h:form>
         <h:selectManyCheckbox layout="pageDirection" value="#{ catalogRequestAction.catalogs }">
              <f:selectItem itemLabel="Perma-Picks - Grades PreK-12" itemValue="#{ catalogs[ 455164 ] }"/>
              <f:selectItem itemLabel="Graphic Novels - Grades 2-12" itemValue="#{ catalogs[ 455013 ] }"/>
              <f:selectItem itemLabel="Social Studies - Grades PreK-12" itemValue="#{ catalogs[ 455159 ] }"/>
              <f:selectItem itemLabel="References - Grades PreK-12" itemValue="#{ catalogs[ 455669 ] }"/>
              <f:selectItem itemLabel="High/Low - Grades 2-12" itemValue="#{ catalogs[ 455884 ] }"/>
              <f:selectItem itemLabel="Science & Math" itemValue="#{ catalogs[ 455160 ] }"/>
              <f:selectItem itemLabel="Fiction - Grades PreK-12" itemValue="#{ catalogs[ 455056 ] }"/>
              <f:selectItem itemLabel="Curriculum - Grades PreK-6" itemValue="#{ catalogs[ 455491 ] }"/>
              <f:selectItem itemLabel="English Curriculum - Grades 6-12" itemValue="#{ catalogs[ 455201 ] }"/>
              <f:selectItem itemLabel="Spanish - Grades 7-12" itemValue="#{ catalogs[ 455266 ] }"/>
              <f:selectItem itemLabel="College Prep - Grades 7-12" itemValue="#{ catalogs[ 455018 ] }"/>
              <s:convertEntity/>
         </h:selectManyCheckbox>
         <div class="ui-dialog-buttonpane ui-widget-content ui-helper-clearfix">
              <h:commandButton styleClass="ui-state-default ui-corner-all ui-priority-primary" value="Submit" action="#{ catalogRequestAction.requestCatalogs }"/>
              <h:commandButton styleClass="ui-state-default ui-corner-all ui-priority-secondary" value="Reset" action="reset"/>
         </div>
    </h:form>That code generates this page(http://img299.imageshack.us/img299/6550/82163381.png). As I said before, the actual selection of the boxes will yield the appropriate catalog in the database. However, I seemingly can't figure out how to stylize this in a manner that will work. From my understanding, jsf has access to 2 sets of check boxes(the ones I used and the booleans). I'm more than willing to try alternate code. However, after hours of searching online I've found few if any examples that are doing something similar to what I'm trying to do. I have to imagine that there is some other way to do this because in normal html it is simple. But, I'm just not having any luck.
    Edit: Oh and if it matters we're using Mojarra
    Edited by: beckdawg on May 18, 2009 2:19 PM

    I believe this is IE 9.  Whatever the latest is.  It basically stacks all the images on top of each other.  And after some changes I attempted last night, bevel effect is still on some images after I attempted to remove that effect.  This is an issue in all the browsers.
    http://http://jclementdesign.businesscatalyst.com/graphic-design1.html
    This is a link to my portfolio page of my website.  This is an issue with all the lightboxes.
    Thanks for the help.

  • Export to Excel from Database using JSP

    Hi Experts,
    I'm using below jsp code to export from an Oracle table to Excel using JSP.
    Every time I run this code I get the exception - "java.lang.OutOfMemoryError: Java heap space".
    I need to download around 8000+ records of the table containing 60 columns.
    I have increased Heap space but still the exception. Below is the code for your reference (I have mentioned only 30 columns where as there are 60 columns in actual). Pls help me what could be the other possible ways or suggest me any alternate code.
    Pls note - Some of the terms like "<serverip>", MySchema, myfile, COL names are changed for confidentiality.
    "D:\\Myfolder\\Excelfolder\\Final.xls" exists my the local machine.
    The code works until some 4000 records & after that throws the exception.
    try
    Class.forName("oracle.jdbc.driver.OracleDriver");
    Connection connection = DriverManager.getConnection("jdbc:oracle:thin:@<serverip>:1521:WISTGDEV", "user", "user@123");
    Statement statement = connection.createStatement();
    String filename = "C:\\Myfolder\\Excelfolder\\Final.xls";
    String strQuery1 = ("select * from Myschema.myfile");
    ResultSet rs = statement.executeQuery(strQuery1);
    HSSFWorkbook hwb = new HSSFWorkbook();
    HSSFSheet sheet = hwb.createSheet("sheet1");
    HSSFRow rowhead = sheet.createRow((short)0);
    rowhead.createCell((short) 0).setCellValue("COL1");
    rowhead.createCell((short) 1).setCellValue("COL2");
    rowhead.createCell((short) 2).setCellValue("COL3");
    rowhead.createCell((short) 3).setCellValue("COL4");
    rowhead.createCell((short) 4).setCellValue("COL5");
    rowhead.createCell((short) 5).setCellValue("COL6");
    rowhead.createCell((short) 6).setCellValue("COL7");
    rowhead.createCell((short) 7).setCellValue("COL8");
    rowhead.createCell((short) 8).setCellValue("COL9");
    rowhead.createCell((short) 9).setCellValue("COL10");
    rowhead.createCell((short) 10).setCellValue("COL11");
    rowhead.createCell((short) 11).setCellValue("COL12");
    rowhead.createCell((short) 12).setCellValue("COL13");
    rowhead.createCell((short) 13).setCellValue("COL14");
    rowhead.createCell((short) 14).setCellValue("COL15");
    rowhead.createCell((short) 15).setCellValue("COL16");
    rowhead.createCell((short) 16).setCellValue("COL17");
    rowhead.createCell((short) 17).setCellValue("COL18");
    rowhead.createCell((short) 18).setCellValue("COL19");
    rowhead.createCell((short) 19).setCellValue("COL20");
    rowhead.createCell((short) 20).setCellValue("COL21");
    rowhead.createCell((short) 21).setCellValue("COL22");
    rowhead.createCell((short) 22).setCellValue("COL23");
    rowhead.createCell((short) 23).setCellValue("COL24");
    rowhead.createCell((short) 24).setCellValue("COL25");
    rowhead.createCell((short) 25).setCellValue("COL26");
    rowhead.createCell((short) 26).setCellValue("COL27");
    rowhead.createCell((short) 27).setCellValue("COL28");
    rowhead.createCell((short) 28).setCellValue("COL29");
    rowhead.createCell((short) 29).setCellValue("COL30");
    int index=1
    String name="";
    while(rs.next())
    System.out.println("Inside while");
    HSSFRow row = sheet.createRow((short)index);
    row.createCell((short) 0).setCellValue(rs.getString(2));
    row.createCell((short) 1).setCellValue(rs.getString(3));
    row.createCell((short) 2).setCellValue(rs.getString(4));
    row.createCell((short) 13).setCellValue(rs.getFloat(5));
    row.createCell((short) 4).setCellValue(rs.getString(6));
    row.createCell((short) 5).setCellValue(rs.getString(7));
    row.createCell((short) 6).setCellValue(rs.getInt(8));
    row.createCell((short) 7).setCellValue(rs.getString(9));
    row.createCell((short) 8).setCellValue(rs.getString(10));
    row.createCell((short) 9).setCellValue(rs.getString(11));
    row.createCell((short) 10).setCellValue(rs.getString(12));
    row.createCell((short) 11).setCellValue(rs.getFloat(13));
    row.createCell((short) 12).setCellValue(rs.getFloat(14));
    row.createCell((short) 13).setCellValue(rs.getFloat(15));
    row.createCell((short) 14).setCellValue(rs.getFloat(16));
    row.createCell((short) 15).setCellValue(rs.getFloat(17));
    row.createCell((short) 16).setCellValue(rs.getFloat(18));
    row.createCell((short) 17).setCellValue(rs.getFloat(19));
    row.createCell((short) 18).setCellValue(rs.getFloat(20));
    row.createCell((short) 19).setCellValue(rs.getFloat(21));
    row.createCell((short) 20).setCellValue(rs.getFloat(22));
    row.createCell((short) 21).setCellValue(rs.getString(23));
    row.createCell((short) 22).setCellValue(rs.getString(24));
    row.createCell((short) 23).setCellValue(rs.getString(25));
    row.createCell((short) 24).setCellValue(rs.getString(26));
    row.createCell((short) 25).setCellValue(rs.getString(27));
    row.createCell((short) 26).setCellValue(rs.getString(28));
    row.createCell((short) 27).setCellValue(rs.getString(29));
    row.createCell((short) 28).setCellValue(rs.getString(30));
    index++;
    rs.close();
    FileOutputStream fileOut = new FileOutputStream(filename);
    hwb.write(fileOut);
    fileOut.close();
    connection.close();
    catch(Exception e)
    System.out.println(e.getMessage());
    e.printStackTrace();
    Thanks in advance,
    Venky
    Edited by: Venky_86 on Apr 15, 2009 12:06 AM

    Its is an obvious thing...POI is known to need a lot of memory (the reason for that is most likely the OLE document format, which is quite complex).
    I would have used something like the below to see if that can address my client's requirement.
    public exportExcel(String fileName){
       Connection connection = null;
       Statement statement = null;
       ResultSet rs = null;
       PrintWriter out = null;
       int index=1;
       try{
         out = new PrintWrite(new FileWriter(fileName));
         connection = DbUtils.getConnection();
         statement = connection.createStatement();
         rs = statement.executeQuery("select * from Myschema.myfile");
         out.prinln("<table>");
         out.println("<th>COL1</th>");
         out.println("<th>COL2</th>");
         out.println("<th>COL3</th>");
         out.println("<th>COL4</th>");
         out.println("<th>COL5</th>");
         out.println("<th>COL6</th>");
         out.println("<th>COL7</th>");
         out.println("<th>COL8</th>");
         out.println("<th>COL9</th>");
        out.println("<th>COL30</th>");
         out.println("<thead>");
         out.println("<tbody>");
         while(rs.next()){
              out.println("<td>"+index+"</td>");
              out.println("<td>"+rs.getString(2)+"<td>");        
              out.println("<td>"+rs.getString(3)+"<td>");        
              out.println("<td>"+rs.getString(4)+"<td>");        
              out.println("<td>"+rs.getString(5)+"<td>");        
              out.println("<td>"+rs.getString(6)+"<td>");        
              out.println("<td>"+rs.getString(7)+"<td>");        
              out.println("<td>"+rs.getString(8)+"<td>");        
              out.println("<td>"+rs.getString(9)+"<td>");        
              out.println("<td>"+rs.getString(30)+"<td>");        
         out.println("</tbody>")     
         out.println("</table>");    
         out.flush(); 
       }catch(Exception exp){
           exp.printStackTrace();
       }finally{
           if(out != null)
            try{out.close();}catch(Exception e){}
             if(rs != null)
               try{rs.close();}catch(Exception e){}
            if(statement != null)
               try{statement.close();}catch(Exception e){}
             if(connection != null)
               try{connection.close();}catch(Exception e){}
    }and you can simply export the file using the method
    ApplicationUtils.getInstance().exportExcel("c:/export/myapp/ApplicationTable.xls");If you are using Office 2000 and above you should able open it as an excel worksheet without any problems.
    Hope that help :)
    REGARDS,
    RaHuL

  • .au sound format is not working

    Hello everybody,
    Infact this Alarm.java (attached) using sun proprietary API sun.audio classes, now these are deprecated so i want to replace it with java se 6 classes.
    This Alarm.java is beeping the PC but not able to run alarm.au audio file and gives Following exception
    Exception Occurred....java.lang.IllegalArgumentException: No line matching interface SourceDataLine supporting format ULAW 8000.0 Hz, 8 bit, mono, 1 bytes/frame, is supported.
    Kindly help to make it work with alarm.au
    NOTE: i hav commented all those sun proprietary API sun.audio code and tried with the alternate code in the same Alarm.java
    Thanks
    //Alarm.java
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import javax.sound.sampled.*;
    public class Alarm implements ActionListener
    private static final int BEEP_INTERVAL = 1000;
    private static javax.swing.Timer beepTimer = null;
    private static Alarm theInstance = null;
    private static boolean usePcSpeaker = false;
    //old code
    //private static sun.audio.ContinuousAudioDataStream soundClip = null;
    //my code
    private static AudioInputStream soundClip;
    private static AudioFormat audioFormat;
    private static SourceDataLine sourceDataLine;
    //end my code
    private static boolean isAlarmOn = false;
    * Privately constructs a new Alarm. If useSpeaker is true, the method
    * for sounding an alarm is to beep the pc speaker, otherwise we play
    * a sound file.
    private Alarm(boolean newUseSpeaker)
    String alarmFilename = "Alarm.au";
    usePcSpeaker = newUseSpeaker;
    System.out.println("my code.. usePcSpeaker...."+usePcSpeaker);
    if (!usePcSpeaker)
    try
    //my code
    System.out.println("my code.. while usePcSpeaker..is false alarmFilename.."+alarmFilename);
                   java.io.File file = new java.io.File(alarmFilename);
                   soundClip = AudioSystem.getAudioInputStream(file);
                   audioFormat = soundClip.getFormat();
                   DataLine.Info dataLineInfo = new DataLine.Info(SourceDataLine.class,audioFormat);
                   sourceDataLine = (SourceDataLine)AudioSystem.getLine(dataLineInfo);
    //end my code
    //old code
    soundClip = new sun.audio.ContinuousAudioDataStream
    new sun.audio.AudioStream
    new java.io.FileInputStream(alarmFilename)
    ).getData()
    catch (java.io.FileNotFoundException e)
    System.out.println(alarmFilename + " not found");
         usePcSpeaker = true;
    catch (java.io.IOException e)
    System.out.println("Could not create audio stream");
         usePcSpeaker = true;
    catch (java.lang.UnsatisfiedLinkError e)
    System.out.println("Could not load audio driver");
         usePcSpeaker = true;
              catch (java.lang.Exception e)
    System.out.println("Exception Occurred...."+e);
         usePcSpeaker = true;
    if (usePcSpeaker)
    beepTimer = new javax.swing.Timer(BEEP_INTERVAL, this);
    beepTimer.setRepeats(true);
    System.out.println("my code.. Using PC Speaker....");
    * This method turns on the Alarm. By design the Alarm does not
    * care who controls it or how. Controlled access to this object, if
    * desired, must be handled outside this class. Excessive calls to
    * this method when the Alarm is already on are simply ignored.
    public void turnOn()
    synchronized(theInstance)
    System.out.println("my code.. in turnOn isAlarmOn..."+isAlarmOn+"...usePcSpeaker...."+usePcSpeaker);
    if (isAlarmOn)
    System.out.println("Alarm already on");
    else
         if (usePcSpeaker)
    beepTimer.start();
         else
    //old code
         //sun.audio.AudioPlayer.player.start(soundClip);
    //my code
                        try
                                  sourceDataLine.open(audioFormat);
                                  sourceDataLine.start();
                                  int cnt;
                                  byte tempBuffer[] = new byte[128000];
                                  //Keep looping until the input read method
                                  // returns -1 for empty stream
                                  while((cnt = soundClip.read(tempBuffer,0,tempBuffer.length)) != -1 )
                                       if(cnt > 0)
                                            //Write data to the internal buffer of
                                            // the data line where it will be
                                            // delivered to the speaker.
                                            sourceDataLine.write(tempBuffer, 0, cnt);
                                       }//end if
                                  }//end while
                                  //Block and wait for internal buffer of the
                                  // data line to empty.
                                  sourceDataLine.drain();
                                  sourceDataLine.close();
                        catch (java.lang.Exception e)
                             e.printStackTrace();
    System.out.println(" < < < ALARM ON > > > Exception... "+e);
                             //usePcSpeaker = true;
    //end my code
    System.out.println(" < < < ALARM ON > > > while usePcSpeaker is flase and isAlarmOn is false");
         isAlarmOn = true;
    * This method is called by the timer object when the timer fires.
    * It simply calls a method to BEEP.
    * @param evt the timer action event
    public void actionPerformed(ActionEvent evt)
    java.awt.Toolkit.getDefaultToolkit().beep();
    * Test Main, not production code
    public static void main(String[] args)
    Alarm alarm = Alarm.getInstance(false);
    System.out.println("test-main: turning alarm ON");
    alarm.turnOn();
    try
         System.out.println("test-main: with CPU burn activity in background");
    double b = 12;
    double a = 0;
    for(int ii = 0; ii < 100000; ii++)
    // garbage formula to do busy work
    a = Math.sqrt(1234.4567 * b) / ( (a+ii) / b) + ii;
    b += 1;
         java.lang.Thread.sleep(5000);
    catch (Exception e)
         e.printStackTrace();
    System.out.println("test-main: turning alarm OFF");
    try
         System.out.println("test-main: sleeping 3 seconds");
         java.lang.Thread.sleep(3000);
    catch (Exception e)
         e.printStackTrace();
    System.out.println("test-main: turning alarm ON");
    alarm.turnOn();
    try
         System.out.println("test-main: sleeping 5 seconds");
         java.lang.Thread.sleep(5000);
    catch (Exception e)
         e.printStackTrace();
    System.out.println("PROGRAM EXITING");
    // The Unit Test program will run forever if we dont kill it
    // this way (because the timer/awt dispatch thread is still running)
    System.exit(1);
    }

    You can try to convert alarm.au to a supported format.
    Here is an example how to find available converters:
    import javax.sound.sampled.*;
    import java.io.File;
    public class ShowConverters {
        public static void main(String[] args) {
            AudioFormat format = null;
            try {
                AudioInputStream in =
                    AudioSystem.getAudioInputStream(new File("alarm.au"));
                format = in.getFormat();
            } catch (Exception e) {
                e.printStackTrace();
            AudioFormat.Encoding[] encodings =
                AudioSystem.getTargetEncodings(format.getEncoding());
            if (encodings.length == 0) {
                System.out.println("No available format converters.");
                return;
            for (AudioFormat.Encoding encoding : encodings) {
                AudioFormat[] formats =
                    AudioSystem.getTargetFormats(encoding, format);
                for (AudioFormat toFormat : formats) {
                    System.out.println("--> " + toFormat);
    }Good luck.

  • Need to return the fieldnames from an acess database

    I need to return the fieldnames (column headings) from an acess database.

    What drivers are you using to access the database. In ADO it's very easy - in fact it's almost a side effect of getting our data. If you're using the Database Connectivity Toolkit, I don't know. Check out this thread for alternate code. The example "Basic Query.vi" in the zip file I uploaded shows the basic process that you go through to read data using ADO. You'll notice that the column names are very easy to get to.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Delete X number of lines from files

    I am trying to find a way (either through an extension or
    some other third-party freeware) to remove a number of lines from
    the beginning of my files and replace them with alternate code.
    I know that in many cases, a Search and Replace would do the
    trick. But in my case, the lines that I want replaced do not
    exactly match. For example, I might want to remove the first 15
    lines from the beginning of each file in question; however, I might
    have three lines of code in the files that each set a variable
    value, with that value being different in each file. Thus, as far
    as I understand it, the DW Search and Replace would not work for
    me.
    Even if I have can just find some way to first strip the
    lines of code out without replacing it with the new code I want,
    that would be fine. Adding in the new code afterwards would not be
    an issue.
    Any help would be very much appreciated. Thank you very much.
    James

    On Mon, 7 May 2007 17:14:52 +0000 (UTC), "MUSC Webmaster"
    <[email protected]> wrote:
    > Gary: Thanks for the suggestion; however it wasn't quite
    working for me.
    >After your posting, I played around for a bit with
    regular expressions and the
    >best that I could do was get an expression (^.*\r) that
    grabbed all of the
    >first line, with the "r" representing a carriage return
    as opposed to a line
    >feed. If I try to expand on that expression, the search
    results come up with
    >nothing.
    Actually the linfeed is the \n in my suggestion. The ^
    designates the
    beginning of the string.
    Are you on a Mac? I tested it and it worked correctly on my
    windows
    machine. Come to think of it, I have my line feeds set to
    Unix because
    that's what my web server uses. You can try replacing the \n
    with \r or
    \n\r depending on which line feed you're using:
    ^.*\r.*\r.*\r.*\r.*\r.*\r.*\r.*\r.*\r.*\r.*\r.*\r.*\r.*\r.*\r
    or:
    ^.*\r\n.*\r\n.*\r\n.*\r\n.*\r\n.*\r\n.*\r\n.*\r\n.*\r\n.*\r\n.*\r\n.*\r\n.*\r\n.*\r\n.*\r\ n
    One of the three should work.
    Gary

  • GL Budget Upload in FSE5N

    Hi Experts,
    We have recently implemented SAP ECC Version 5.0 is there any way through which GL budget figures can be uploaded directly from excel in to SAP. Manual upload is there for T code FSE5N but can this process be automated through BDC or LSMW.
    Regards
    Milind Nair

    Solved by using alternate code GP12N

  • Upload: GL Budget

    Hi All,
    We are trying to upload the GL budget by using Web ADI Responsibility. But we are getting error while load the data from excel sheet. The error message like “Fatal Error Occurred: java.io.FileNotFoundException: /nmxprd/appImgr/1156/bne/11.5.0/upload/bneUfgcHF5d.xml(No such file or
    directory)” . We are using 11.5.7 application version and 8.1 ADI version. Also we don’t find some profile option.
    Please any one help me for resolve this issue
    Thanks in Advance,
    --Subhas                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Solved by using alternate code GP12N

  • Seperating Spry Tabs and Panel.

    I know this is asked a lot. And on some topic someone said it was impossible.
    But i cant believe it cant be done.
    I posted the same message here: http://forums.adobe.com/message/2694106
    But because no one awnsers to it, and i believe it IS possible to alter the Spry code so it works in a seperate way im posting this as a new topic.
    I have a site already and hate to change everything just because i like to use Spry tabbed panels.
    I now have this set up with div floats.
    HEADER
    MENU  CONTENT
    FOOTER
    I already have this working code in the Menu div. The buttons work and the code is ready for Spry if i get the seperate content working.
    <div id="WNavigation">
             <div id="TabbedPanels1" class="VTabbedPanels">
                <ul class="TabbedPanelsTabGroup">
             <li class="TabbedPanelsTab" tabindex="0">
              <style>#Home a{display:block;color:transparent;} #Home a:hover{background-position:left bottom;}a#Home {display:none}</style>
              <table id="Home" width=0 cellpadding=0 cellspacing=0 border=0><tr>
              <td style="padding-right:0px" title ="Home">
              <a href="/index.html" title="Home" style="background-image:url(Buttons/Home.png);width:172px;height:75px;display:block;"><br/></a></td>
              </tr></table>
              </li>
             <li class="TabbedPanelsTab" tabindex="0">
              <style>#Info a{display:block;color:transparent;} #Info a:hover{background-position:left bottom;}a#Info {display:none}</style>
              <table id="Info" width=0 cellpadding=0 cellspacing=0 border=0><tr>
              <td style="padding-right:0px" title ="Info">
              <a href="/Info.html" title="Info" style="background-image:url(Buttons/Info.png);width:172px;height:75px;display:block;"><br/></a></td>
              </tr></table>
              </li>
             <li class="TabbedPanelsTab" tabindex="0">
              <style>#Gallerij a{display:block;color:transparent;} #Gallerij a:hover{background-position:left bottom;}a#Gallerij {display:none}</style>
              <table id="Gallerij" width=0 cellpadding=0 cellspacing=0 border=0><tr>
              <td style="padding-right:0px" title ="Gallerij">
              <a href="/gallerij.html" title="Gallerij" style="background-image:url(Buttons/Gallerij.png);width:172px;height:75px;display:block;"><br/></a></td>
              </tr></table>
            </li>
              <li class="TabbedPanelsTab" tabindex="0">
              <style>#Contact a{display:block;color:transparent;} #Contact a:hover{background-position:left bottom;}a#Contact {display:none}</style>
              <table id="Contact" width=0 cellpadding=0 cellspacing=0 border=0><tr>
              <td style="padding-right:0px" title ="Contact">
              <a href="/Contact.html" title="Contact" style="background-image:url(Buttons/Contact.png);width:172px;height:75px;display:block;"><br/></a></td>
              </tr></table>
            </li>
            </ul>
            </div>
         </div>
    I put animated buttons on it. And if i ever get the seperate Content div working i need to change the links to open the panel instead of a normal URL.
    What i want to do next is put the TabbedPanelsContent into the Content div instead of the Menu div.
    But everything i tried didnt work out right.
    The TabbedPanelsTabGroup is now completly in the Menu div and i wish someone can post alternate code that i can put in the Content div.
    So i am not using this code right now: (my page works without it for now)
      <div class="TabbedPanelsContentGroup">
        <div class="TabbedPanelsContent">Content 1</div>
        <div class="TabbedPanelsContent">Content 2</div>
      </div>
    <script type="text/javascript">
    <!--
    var TabbedPanels1 = new Spry.Widget.TabbedPanels("TabbedPanels1");
    Please let someone make the content and tabs seperate!!!

    WRobN1 wrote:
    I know this is asked a lot. And on some topic someone said it was impossible.
    But i cant believe it cant be done.
    In a previous post I did say that you cannot separate the tabs from the panel. By that I really meant that you must keep the structure, including ID's and CLASSes as follows for the widget to work in its standard format.
    <div id="TabbedPanels1" class="TabbedPanels">
      <ul class="TabbedPanelsTabGroup">
        <li class="TabbedPanelsTab" tabindex="0">Tab 1</li>
        <li class="TabbedPanelsTab" tabindex="0">Tab 2</li>
    </ul>
      <div class="TabbedPanelsContentGroup">
        <div class="TabbedPanelsContent">Content 1</div>
        <div class="TabbedPanelsContent">Content 2</div>
      </div>
    </div>
    If you want to use the DIV <div id="TabbedPanels1" class="TabbedPanels"> as your mainContent area, UL <ul class="TabbedPanelsTabGroup"><div class="TabbedPanelsContentGroup"> as your menu and DIV  as your content area, then that is OK.
    Using style rules you can style the tabs as you wish as well as the content area. You can move the content area down from the tabs using the following style rule
    .TabbedPanelsContentGroup {
       margin-top: 150px;
    As said, it does not matter how you style the widget, the structure must stay intact.
    WRobN1 wrote:
             <li class="TabbedPanelsTab" tabindex="0">
              <style>#Home a{display:block;color:transparent;} #Home a:hover{background-position:left bottom;}a#Home {display:none}</style>
              <table id="Home" width=0 cellpadding=0 cellspacing=0 border=0><tr><td style="padding-right:0px" title ="Home"><a href="/index.html" title="Home" style="background-image:url(Buttons/Home.png);width:172px;height:75px;display:block;"><br/></a></td></tr></table></li>
    When you do use the mark-up as above, please remember that by definition  the <STYLE>-tag must be within the <HEAD>-area and try to use DIV's, SPAN's etc instead of using tables.
    I hope the above helps.
    Ben

Maybe you are looking for

  • IMac to Apple TV 2nd gen music distortion with screen saver on.

    I have an ATV2, mid 2010 iMac dual core i3, Airport Extreme 3rd generation router. After Wednesday's update to Apple TV to implement the new user interface, I get distorted playback when initiating music playback from iTunes on the iMac as soon as th

  • How do I use a stylus to take notes in PDFs?

    Hey everyone, I recieved a Samsung Windows 8 tablet (includes a stylus pen) and I'm trying to use it for notes. Many of my professors post notes online that you then take to class and then fill in the blanks with example equations or details. These a

  • Activation from Windows 8 Pro to Windows 8.1 Pro

    I  generally use Windows 7 Home Premium in my Acer 4738Z and my old Acer is broken. so I buy a new Acer E1-410 (and bla-bla in a nutshell) my new Acer E1-410 can't use Windows 7 it must uses UEFI system (in my previous post http://social.technet.micr

  • Attach Interactive Forum to Workflow from a Webdynpro ABAP application

    I have a webdynpro ABAP application which has an Interactive form. After the user enters the form and clicks on 'Submit', I trigger a workflow for Approval. My requirement is to add this same form as an attachment to the workflow. I know I can do thi

  • Save soap message in database

    Hi, i'm new in webservice and xml. I want to save the returned SOAP Message by webservice in the database (xmltype). String inputLine; String xmlDoc = ""; URL xml = new URL("http://sph001000-020:7777/i3sWebServices-FireWebService-context-root/FireWeb