Capturing runtime changes to the partners on the order

Dear all,
Please go through below scenario and help me find the answer.
While creating the sales order, when we enter KUNNR, all the details will be fetched from KNA1/ADRC tables. However, if we change the partner information on the order runtime, e.g. If I change ship to party country code from US to UK before saving the order, which structures will have the information about the changed data. I read on the forum that ADRC VBPA structures contain these data, but it is not there. I want to capture these changes in the sales order user exit MV45AFZZ before actual COMMIT is done on the database.
Regards
Sujay

Type on Path is controlled by the shortcut SHIFT + T
Edit>Keyboard Shortcuts
Product Area:
Tools
Scroll to the Type on Path
And remove the shortcut.

Similar Messages

  • How can I retrieve the Partners by Purchase Order Preview

    Hello Experts,
    we are facing an issue regarding the preview function for Purchase Order. We want to print some partners like the contact person in the form but when we use the function module ME_READ_PO_FOR_PRINTING to retrieve the data we cannot find the partners.
    Has someone an idea how we can solved this?
    Thank you very much,
    Marc

    In DOC-xekko-kunnr is available.
    with the kunnr goto KNA1and get the adrnr.for the adrnr you get get all the detaisl using the function module ADDR_GET_COMPLETE.
    This will give all the details

  • Which Table used for saving the partners of one ORDER?

    hello experts.
           I create a sales order in CRM and i need read the data of its partner to program a report. Could you tell me how i can find the table .
    Thank a lot

    Hi,
    You can have one of the following options :
    1. You can querry CRMD_ORDERABM_H/CRMD_ORDERABM_I, CRMD_LINK(Find PARTNER object from CRMC_OBJECTS) and CRMD_PARTNER tables.
    2. You can Querry CRMD_ORDERABM_H/CRMD_ORDERABM_I, CRMD_ORDER_INDEX and CRMD_PARTNER
    Hope this answer helps you.
    Regards,
    Kapil

  • How to change the Partner in Service Order

    Dear Experts,
      I am working in SAP CRM 5.0.I want to change the Partners of Service Order Using the Function Module 'BAPI_ACTIVITYCRM_CHANGEMULTI'.Can anyone give me the Sample code for Changing the Partners.It is very Urgent Requirement.Please help me.
    Thanks & Regards,
    Ashok.

    Hi,
        Following is the code for changing partner: Please go through it:
    "fill the details of partner which is
              "to be added as main partner or in place of Interaction Agent
              wa_partner_new-ref_guid = w_guid_ref.
              wa_partner_new-ref_handle = '0000000000'.
              wa_partner_new-ref_kind = 'A'.
              wa_partner_new-kind_of_entry = wa_partner-kind_of_entry.
              wa_partner_new-ref_partner_handle = '0000'.
              wa_partner_new-ref_partner_fct = 'Z_IA'. "
              wa_partner_new-ref_partner_no = wa_partner-partner_no.
              wa_partner_new-ref_no_type = wa_partner-ref_no_type.
              wa_partner_new-ref_display_type = wa_partner-ref_display_type.
              wa_partner_new-display_type = 'BP'.
              wa_partner_new-no_type = 'BP'.
              wa_partner_new-partner_fct = 'Z_IA'.
              wa_partner_new-partner_no = w_partner_no.
              wa_partner_new-mainpartner = 'X'.
              INSERT wa_partner_new INTO TABLE it_partner_new.
              wa_partner_newx-display_type = 'X'.
              wa_partner_newx-no_type = 'X'.
              wa_partner_newx-partner_fct = 'X'.
              wa_partner_newx-partner_no = 'X'.
              wa_partner_newx-mainpartner = 'X'.
              INSERT wa_partner_newx INTO TABLE it_partner_newx.
               IF it_partner_new[] IS NOT INITIAL AND it_partner_newx[] IS NOT INITIAL.
        "maintain all changes to be done
        CALL FUNCTION 'BAPI_ACTIVITYCRM_CHANGEMULTI'
          TABLES
            partner  = it_partner_new
            partnerx = it_partner_newx.
        CLEAR : wa_guid1.
        REFRESH : it_guid1.
        wa_guid1-guid = w_guid_ref.
        APPEND wa_guid1 TO it_guid1.
        "save the changes
        CALL FUNCTION 'BAPI_ACTIVITYCRM_SAVE'
          TABLES
            objects_to_save = it_guid1.
        "commit the transaction
        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
      ENDIF.
    Please reply if anything else os required.
    Please reward points if useful.
    Regards,
    Ashlesha

  • BAPI for Updating the partners in Contract Documents

    Hi All,
    I am Using a BAPI  BAPI_CONTRACT_CREATEFROMDATA for Updating the Partners in the Contract documents by passing 'U' in the field Update_flag of the structure BAPISDHD1X.
    I am facing an issue as in the BAPI Return table : S document saved successfully
                                                                                  S No data was changed.
    Please help or give me a solution to update only partners in the Contract documents(VA42).
    Also please let me know any other BAPIs that can be used to do so.
    Thanks & Regards,
    Bhargav.

    HI,
    I am passing the right data. there is no problem with the data. My question is how do we update partners in the Contract documents. If possible can you explain with example.
    Regards,
    Bhargav.

  • Changing the background of the pdf form in runtime.

    Dear All,
    I want to change the background of the pdf form in runtime. But I don't need to change the fillcolor. I want to change the background by using the pdf file. That means I want to switch the background of the pdf form on click events.
    I don't know this is possible or not.
    If anybody know how to solve this problem Please suggest me.
    Thank you
    saroj neupane

    I do not believe that it is possible.

  • How to Runtime Change the graph

    I'm having a problem with a chart on my template. The user can select different graphs from a dropdown-box. I used the chart designer to configure the layout of my chart & legend.
    and i want only 1 series to be display
    but when i select or change the graph type  it's shows 3 series..but i want only 1 series display in each graph..
    any one help me or send the code to change the graph at runtime..

    Have a look at the Oracle Forms benefits demos for version 6i. There are several forms there that use the og.pll library to do this.
    The demos are available for download from OTN's Forms page.

  • Can we change the language of the worksets, pages at runtime??

    Hi All,
    We have EP6 SP9 installation.
    We are developing Portal Applications using PDK.
    I have a language dropdown list having the values English and French.
    I want to know whether:
    I can change the names of all the worksets, pages into french when i change from <b>English</b> --> <b>French</b> and viceversa in the dropdown.
    For ex: if i have 3 worksets w1_english,w2_english,w3_english and i have 3 pages in w2_english say p1_english,p2_english,p3_english. If i change the dropdown value from <b>English</b> to <b>French</b>, the worksets(in the TLN) should display as w2_Fr(in french language) & pages below the TLN should display p1_fr,p2_fr,p3_fr (in french language).
    Is it possible???
    Hope i made my point clear.
    Please help me.
    <b>Regards,
    Vijith.</b>

    Hi Vijith,
    I think I see your point.  The thing I would say is have you looked at the translation worklist feature?  With this you can set the names of iviews etc in different languages.  It the chooses which language to use dependent on the language the user has set in their user profile.
    So the names in the navigation should be translated automatically.
    Hope that makes sense.
    Paul

  • Changing time stamp format in the file receiver adapter file name

    Hi all,
    How can we change the standard date time stamp from
    filename_yyyymmdd-hhmmss-mil
    to
    filename_yymmdd_hhmmss
    i.e.,  I want "underscores" instead of "hyphens" and also I do not want the MilliSeconds.
    I read in the forums that I have to use the combination of variable substitution and mapping functions to do this, but not sure how exactly.
    Can the experts help me with this please?
    Many thanks.

    Hello Ramesh,
         You can make this possible using runtime filename creation using UDF.
    Please go though the below steps.
    Message mapping:  
    Create an UDF and include the piece of code that captures the Filename and Timestamp from source side via ASMA.
    Modify them according to our requirement by adding the <Timestamp> at the end of <filename> with _.
    Map the UDF to any of the top level node so that the modified filename will be available for the target communication channel
    UDF Code is:
    try {
    String filename    = "";
    String timestamp = "";
    DynamicConfiguration conf1 = (DynamicConfiguration) container
        .getTransformationParameters()
        .get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key1 = DynamicConfigurationKey.create( "http:/"+"/sap.com/xi/XI/System/File","FileName");
    DynamicConfigurationKey key2 = DynamicConfigurationKey.create( "http:/"+"/sap.com/xi/XI/System/File","SourceFileTimestamp");
    filename = conf1.get(key1);
    timestamp = conf1.get(key2);
    filename = filenametimestamp".xml";
    filename = filename.replaceAll( "-" ,"_" );
    conf1.put(key1,filename);
    return filename;
    catch(Exception e)
         String exception = e.toString();
          return exception;
    Click on Advanced tab and check the Option u201CSetAdapterSpecificMessageAttributesu201D in addition to that check the attribute that are required to be captured during run time. In our case File Name and Source File Time Stamp are required to be checked
    In the receiver communication channel Mention u2018 * u2018as File Name Scheme.
    Click on Advanced tab and check the Option u201CSetAdapterSpecificMessageAttributesu201D in addition to that check the attribute u201CFile Nameu201D which will carry the modified value in the UDF .
    i hope this will help you.
    Monica

  • How to update a large (over 4 million item) List(Of Byte) quickly by altering indexes contained in a Dictionary(Of Integer, Byte) where the Dictionaries keys are the indexes in the List(Of Byte) that need to be changed to the values for those indexes?

       I'm having some difficulty with transferring images from a UDP Client to a UDP Server. The issue is receiving the bytes necessary to update an original image sent from the Client to the Server and updating the Servers List(Of Byte) with the
    new bytes replacing bytes in that list. This is a simplex connection where the Sever receives and the Client sends to utilize the least amount of bandwidth for a "Remote Desktop" style application where the Server side needs image updates of whatever
    occurs on the Client desktop.
       So far I can tranfer images with no issue. The images can be be any image type (.Bmp, .Gif, .JPeg, .Png, etc). I was working with sending .JPeg's as they appear to be the smallest size image when a Bitmap is saved to a memory stream as type
    .JPeg. And then I am using GZip to compress that byte array again so it is much smaller. However on a loopback on my NIC the speed for sending a full size screen capture is not very fast as the Server updates fairly slowly unless the Clients screen capture
    Bitmap is reduced in size to about 1/3'd of the original size. Then about 12000 bytes or less are sent for each update.
       Due to .JPeg compression I suppose there is no way to get the difference in bytes between two .JPegs and only send those when something occurs on the desktop that alters the desktop screen capture image. Therefore I went to using .Bmp's as each
    .Bmp contains the same number of bytes in its array regardless of the image alterations on the desktop. So I suppose the difference in bytes from a second screen capture and an inital screen capture are what is different in the second image from the initial
    image.
       What I have done so far is save an initial Bitmap of a screen capture using a memory stream and saving as type .Bmp which takes less than 93 milliseconds for 4196406 bytes. Compressing that takes less than 118 milliseconds to 197325 bytes for
    the current windows on the desktop. When that is done PictureBox1 is updated from nothing to the captured image as the PictureBox's background image with image layout zoom and the PictureBox sized at 1/2 my screens width and 1/2 my screens height.
       Then I save a new Bitmap the same way which now contains different image information as the PictureBox is now displaying an image so its back color is no longer displayed (solid color Aqua) and the cursor has moved to a different location. The
    second Bitmap is also 4196406 in bytes and compressed it was 315473 bytes in size.
       I also just found code from this link Converting a Bitmap to a Byte Array (and Byte Array to Bitmap) which gets a byte array
    directly from a Bitmap and the size of that is 3148800 for whatever is full screen captured on my laptop. So I should be able to work with smaller byte arrays at some point.
       The issue I'm having is that once the Client sends an image of the desktop to the Server I only want to update the server with any differences occuring on the Clients desktop. So what I have done is compare the first screen captures bytes (stored
    in a List(Of Byte)) to the second screen captures bytes (stored in a List(Of Byte)) by using a For/Next for 0 to 4196405 where if a byte in the first screen captures List is not equal to a byte in the second screen captures List I add the index and byte of
    the second screen captures list to a Dictionary(Of Integer, Byte). The Dictionary then only contains the indexes and bytes that are different between the first screen capture and second screen capture. This takes about 125 milliseconds which I think is pretty
    fast for 4196406 byte comparison using a For/Next and adding all the different bytes and indexes for each byte to a Dictionary.
        The difference in Bytes between the inital screen capture and the second screen capture is 242587 as an example which changes of course. For that amount of bytes the Dictionary contains 242587 integers as indexes and 242587 bytes as different
    bytes totaling 485174 bytes for both arrays (keys, values).  Compressed the indexes go from 242587 to 43489 bytes and the values go from 242587 to 34982 bytes. Which means I will have to send 78, 481 bytes from the Client to the Server to update the display
    on the server. Quite smaller than the original 4196406 bytes of the second Bitmap saved to type .Bmp or the compressed size of that array which was 315473 bytes. Plus a few bytes I add as overhead so the server knows when an image array ends and how many packets
    were sent for the array so it can discard complete arrays if necessary since UDP is lossfull although probably not so much in current networks like it may originally have been when the internet started.
        In reality the data from the Client to the Server will mostly be the cursor as it moves and updating the Server image with only a few hundred bytes I would imagine at a time. Or when the cursor selects a Button for example and the Buttons
    color changes causing those differences in the original screen capture.
       But the problem is if I send the Dictionaries Indexes and Bytes to the Server then I need to update the original Bitmap List(Of Byte) on the server by removing the Bytes in the received informations Index locations array from the Servers Bitmap
    List(Of Byte) and replacing those Bytes with the Bytes in the received informations Byte array. This takes so long using a For/Next for however many indexes are in the received informations Index array to update the Bitmap List(Of Byte) on the server using
    "Bmp1Bytes.RemoveAt(Index As Integer)" followed by "Bmp1Bytes.Insert(Index As Integer, Item As Byte)" in the For/Next.
        I've tried various For/Next statements including using a new List(Of Byte) with If statements so If the the integer for the For/Next ='s the Key in a Dictionary(Of Integer, Byte) using a Counter to provide the Dictionaries Key value then
    the Dictionaries byte value will be added to the List(Of Byte) and the counter will increas by one Else the List(Of Byte) adds the original "Bmp1Bytes" byte at that index to the new List(Of Byte). This takes forever also.
       I also tried the same For/Next adding to a new Dictionary(Of Integer, Byte) but that takes forever too.
       I think I could use RemoveRange and AddRange to speed things up. But I don't know how to retrieve a contiguous range of indexes in the received indexes that need to be updated in the servers "Bmp1Bytes" List(Of Byte) from the received
    array of indexes and bytes which are in a Dictionary(Of Integer, Byte).  But I believe this would even be slower than some realistic method for replacing all Bytes in a List(Of Byte) when I have the indexes that need to be replaced and the bytes to replace
    them with.
       Even if I just used AddRange on a new List(Of Byte) to add ranges of bytes from the original "Bmp1Bytes" and the changes from the Dictionary(Of Integer, Byte) I think this would be rather slow. Although I don't know how to do that
    by getting contiguous ranges of indexes from the Dictionaries keys.
       So I was wondering if there is some method perhaps using Linq or IEnumerable which I've been unable to figure anything out which could do this.
       I do have some copy and pasted code which I don't understand how it works that I am using which I would guess could be altered for doing something like this but I can't find information that provides how the code works.  Or even if I did
    maybe I can't understand it. Like the code below which is extremely fast.
       Dim strArray() As String = Array.ConvertAll(Of Integer, String)(BmpComparisonDict.Keys.ToArray, Function(x) x.ToString())
    La vida loca

    Monkeyboy,
    That was quite a bit to read, but still a bit unclear. Could you put a specific list of goals/questions, asked in the smallest possible form?
    It seems like either you're making a program that monitors activity on your computer, or you're writing some kind of remote pc app.
    When you do get your bytes from using lockbits, keep in mind all the files header info would be lost. I think retaining the header info is worth the extra bytes.
    The other, thing: I'm not sure if you're taking 32bpp screen shots, but also keep in mind that the "whole desktop" is the final destination for blended graphics, if that makes sense. What I mean is that there is no need to capture an "alpha"
    channel for a desktop screenshot, as alpha would always be 255, this could save you 1 byte per pixel captured... Theres nothing "behind" the desktop, therefore no alpha, and every window shown above the desktop is already blended. I suggest using
    24Bpp for a full screen capture.
    Your X,Y information for the mouse could be stored as UINT16, this would save you a measly 2 bytes per location update/save.
    When you update your byte arrays, maybe you can turn the array into a stream and write to whatever index, however many bytes, that should prevent a "Shift" of bytes, and instead overwrite any bytes that "get in the way".
    ex
    Dim example As String = "This is an example."
    Dim insertString As String = "was"
    Dim insertBytes As Byte() = System.Text.Encoding.ASCII.GetBytes(insertString)
    Dim bytes As Byte() = System.Text.Encoding.ASCII.GetBytes(example)
    Dim modifiedBytes As Byte() = {}
    Using ms As New System.IO.MemoryStream(bytes)
    ms.Position = 5
    ms.Write(insertBytes, 0, 3)
    modifiedBytes = ms.ToArray
    End Using
    Dim newString As String = System.Text.Encoding.ASCII.GetString(modifiedBytes)
    'Notice how below there isn't the word "is" anymore, and that there isn't a
    'space.
    'This demonstrates that you overwrite existing data, versus shifting everything to
    'the right.
    'Returns: This wasan example.
    MsgBox(newString)
    “If you want something you've never had, you need to do something you've never done.”
    Don't forget to mark
    helpful posts and answers
    ! Answer an interesting question? Write a
    new article
    about it! My Articles
    *This post does not reflect the opinion of Microsoft, or its employees.
    Well it's too much to read. I was really tired when I wrote it. Even the below is too much to read but perhaps gets the point across of what I would like to do which I think
    Joel Engineer may have answered but I'm not sure. As I'm still too tired to understand that yet and research what he said in order to figure it out yet.
    But maybe the code below can provide the concept of the operation with the comments in it. But seeing as how I'm still tired it may be confused.
    Option Strict On
    Imports System.Windows.Forms
    Imports System.IO
    Imports System.IO.Compression
    Imports System.Drawing.Imaging
    Imports System.Runtime.InteropServices
    Public Class Form1
    Dim Bmp1Bytes As New List(Of Byte)
    Dim Bmp1BytesCompressed As New List(Of Byte)
    Dim Bmp2Bytes As New List(Of Byte)
    Dim BmpComparisonDict As New Dictionary(Of Integer, Byte)
    Dim BmpDifferenceIndexesCompressed As New List(Of Byte)
    Dim BmpDifferenceBytesCompressed As New List(Of Byte)
    Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
    SomeSub()
    End Sub
    Private Sub SomeSub()
    ' Pretend this code is in UDP Client app. A screen capture is performed of the desktop. Takes about 90 milliseconds.
    Bmp1Bytes.Clear()
    Using BMP1 As New Bitmap(Screen.PrimaryScreen.Bounds.Width, Screen.PrimaryScreen.Bounds.Height)
    Using g1 As Graphics = Graphics.FromImage(BMP1)
    g1.CopyFromScreen(0, 0, 0, 0, BMP1.Size)
    Cursor.Draw(g1, New Rectangle(Cursor.Position.X, Cursor.Position.Y, Cursor.Size.Width, Cursor.Size.Height))
    Using MS As New MemoryStream
    BMP1.Save(MS, System.Drawing.Imaging.ImageFormat.Bmp)
    Bmp1Bytes.AddRange(MS.ToArray)
    End Using
    End Using
    End Using
    Bmp1BytesCompressed.AddRange(Compress(Bmp1Bytes.ToArray))
    ' UDP Client app sends Bmp1BytesCompressed.ToArray to UDP Server which is the entire image of the desktop that the UDP
    ' Client is on. This image takes awhile to send since compressed it is about 177000 bytes from over 4000000 bytes.
    ' I will be using different code just to get the bytes from the actual Bitmap in the future. That is not important for now.
    ' Pretend the UDP Server has received the bytes, decompressed the array received into a List(Of Byte) and is displaying
    ' the image of the UDP Clients desktop in a PictureBox.
    ' Now the image on the UDP Clients desktop changes due to the mouse cursor moving as an example. Therefore a new Bitmap
    ' is created from a screen capture. This takes about 90 milliseconds.
    Bmp2Bytes.Clear()
    Using BMP2 As New Bitmap(Screen.PrimaryScreen.Bounds.Width, Screen.PrimaryScreen.Bounds.Height)
    Using g1 As Graphics = Graphics.FromImage(BMP2)
    g1.CopyFromScreen(0, 0, 0, 0, BMP2.Size)
    Cursor.Draw(g1, New Rectangle(Cursor.Position.X, Cursor.Position.Y, Cursor.Size.Width, Cursor.Size.Height))
    Using MS As New MemoryStream
    BMP2.Save(MS, System.Drawing.Imaging.ImageFormat.Bmp)
    Bmp2Bytes.AddRange(MS.ToArray)
    End Using
    End Using
    End Using
    ' Now I have the original images bytes in Bmp1Bytes and the new images bytes in Bmp2Bytes on the UDP Client. But I don't
    ' want to send all of the bytes in Bmp2Bytes to the UDP Server. Just the indexes of and the bytes that are different in
    ' Bmp2Bytes from Bmp1Bytes.
    ' This takes less than 100 milliseconds for what I've tested so far where over 500000 bytes in Bmp2Bytes are different
    ' than the bytes in Bmp1Bytes. Usually that amount would be much less. But during testing I was displaying the image
    ' from Bmp1 bytes in a PictureBox so a large amount of data would change between the first screen shot, the PictureBox
    ' then displaying an image on the same PC and then the second screen shot.
    BmpComparisonDict.Clear()
    For i = 0 To Bmp1Bytes.Count - 1
    If Bmp1Bytes(i) <> Bmp2Bytes(i) Then
    BmpComparisonDict.Add(i, Bmp2Bytes(i))
    End If
    Next
    ' So now I have all the difference bytes and their indexes from Bmp2Bytes in the BmpComparisonDict. So I compress
    ' the indexes into on List and the Bytes into another List.
    BmpDifferenceIndexesCompressed.Clear()
    BmpDifferenceBytesCompressed.Clear()
    BmpDifferenceIndexesCompressed.AddRange(Compress(BmpComparisonDict.Keys.SelectMany(Function(d) BitConverter.GetBytes(d)).ToArray()))
    BmpDifferenceBytesCompressed.AddRange(Compress(BmpComparisonDict.Values.ToArray))
    ' Now pretend the UDP Client has sent both those arrays to the UDP Server which has added both decompressed arrays
    ' to a Dictionary(Of Integer, Byte). And the server has the original image decompressed bytes received in a List
    ' called Bmp1Bytes also.
    ' This is where I am stuck. The UDP Server has the Dictionary. That part was fast. However there is no
    ' fast method I have found for creating a new List(Of Byte) where bytes in the originally received List(Of Byte) that
    ' do not have to be altered are placed into a new List(Of Byte) except for the indexes listed in the
    ' Dictionary(Of Integer, Byte) that need to be placed into the appropriate index locations of the new List(Of Byte).
    ' The below example for doing so is exceptionally slow. Pretend UpdateDictionary has all of the decompressed indexes
    ' and bytes received by the UDP Server for the update contained within it.
    Dim UpdateDictionary As New Dictionary(Of Integer, Byte)
    Dim UpdatedBytes As New List(Of Byte)
    Dim Counter As Integer = 0
    For i = 0 To Bmp1Bytes.Count - 1
    If i = UpdateDictionary.Keys(Counter) Then ' Provides the index contained in the Keys for the Dictionary
    UpdatedBytes.Add(UpdateDictionary.Values(Counter))
    Counter += 1
    If Counter > UpdateDictionary.Count - 1 Then Counter = 0
    Else
    UpdatedBytes.Add(Bmp1Bytes(i))
    End If
    Next
    ' So what I'm trying to do is find an extremely fast method for performing something similar to what the
    ' above operation performs.
    End Sub
    Private Function Compress(BytesToCompress() As Byte) As List(Of Byte)
    Dim BytesCompressed As New List(Of Byte)
    Using compressedStream = New MemoryStream()
    Using zipStream = New GZipStream(compressedStream, CompressionMode.Compress)
    zipStream.Write(BytesToCompress, 0, BytesToCompress.Count)
    zipStream.Close()
    BytesCompressed.AddRange(compressedStream.ToArray)
    End Using
    End Using
    Return BytesCompressed
    End Function
    Private Function Decompress(BytesToDecompress() As Byte) As List(Of Byte)
    Dim BytesDecompressed As New List(Of Byte)
    Using DecompressedStream = New MemoryStream()
    Using zipStream = New GZipStream(DecompressedStream, CompressionMode.Decompress)
    zipStream.Write(BytesToDecompress, 0, BytesToDecompress.Count)
    zipStream.Close()
    BytesDecompressed.AddRange(DecompressedStream.ToArray)
    End Using
    End Using
    Return BytesDecompressed
    End Function
    End Class
    La vida loca

  • How can i change the class in the Class Library project to be static or public so i can use it from the windows application project ?

    First i know that when i make any changes to the class library project i need to rebuild the project then to remove the Capture.dll from the TestScreenshot project and then to add again the updated Capture.dll
    The problem for example in this case i'm trying to use a public static variable i add in the DXHookD3D9.
    In the DXHookD3D9 i added this public static variable:
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    //using SlimDX.Direct3D9;
    using EasyHook;
    using System.Runtime.InteropServices;
    using System.IO;
    using System.Threading;
    using System.Drawing;
    using Capture.Interface;
    using SharpDX.Direct3D9;
    namespace Capture.Hook
    internal class DXHookD3D9: BaseDXHook
    public DXHookD3D9(CaptureInterface ssInterface)
    : base(ssInterface)
    LocalHook Direct3DDevice_EndSceneHook = null;
    LocalHook Direct3DDevice_ResetHook = null;
    LocalHook Direct3DDevice_PresentHook = null;
    LocalHook Direct3DDeviceEx_PresentExHook = null;
    object _lockRenderTarget = new object();
    Surface _renderTarget;
    public static decimal framesperhourtodisplay = 0;
    protected override string HookName
    get
    return "DXHookD3D9";
    List<IntPtr> id3dDeviceFunctionAddresses = new List<IntPtr>(
    framesperhourtodisplay
    The problem is i can't even get to the Capture.Hook namespace and not to the DXHookD3D9 from the TestScreenshot application window project.
    This is a screenshot:
    For example fro the FramesPerSecond class i can use it get to it from the windows forms application.
    namespace Capture.Hook
    /// <summary>
    /// Used to determine the FPS
    /// </summary>
    public class FramesPerSecond
    int _frames = 0;
    int _lastTickCount = 0;
    float _lastFrameRate = 0;
    Since it's public i guess.
    But if i will change the DXHookD3D9 class from internal to public:
    public class DXHookD3D9: BaseDXHook
    I will get error on the DXHookD3D9: 
    Error 1
    Inconsistent accessibility: base class 'Capture.Hook.BaseDXHook' is less accessible than class 'Capture.Hook.DXHookD3D9'
    And the BaseDXHook class:
    namespace Capture.Hook
    internal abstract class BaseDXHook: IDXHook
    protected readonly ClientCaptureInterfaceEventProxy InterfaceEventProxy = new ClientCaptureInterfaceEventProxy();
    public BaseDXHook(CaptureInterface ssInterface)
    this.Interface = ssInterface;
    this.Timer = new Stopwatch();
    this.Timer.Start();
    this.FPS = new FramesPerSecond();
    Interface.ScreenshotRequested += InterfaceEventProxy.ScreenshotRequestedProxyHandler;
    Interface.DisplayText += InterfaceEventProxy.DisplayTextProxyHandler;
    InterfaceEventProxy.ScreenshotRequested += new ScreenshotRequestedEvent(InterfaceEventProxy_ScreenshotRequested);
    InterfaceEventProxy.DisplayText += new DisplayTextEvent(InterfaceEventProxy_DisplayText);
    ~BaseDXHook()
    Dispose(false);
    How can i solve it so i can use the variable framesperhourtodisplay in the DXHookD3D9 class with the TestScreenshot windows forms application ?

    Hi,
    I dont know if it will work here, since I dont know the complete structure, but the base call must be public, if the derived class is public, so the base class is at least as accessible as the derived class.
    Try make the base class public. (And maybe the base-class IDXHook of the base also...)
    Or use a different approach and make only the properties public that are needed to be public by adding an extra class...
    A structure could look like:(you need to create a class thats public in your dll and expose a property, and set this property in the internal class...)
    In the Accessing class (here Form1)
    public partial class Form1 : Form
    public Form1()
    InitializeComponent();
    private void Form1_Load(object sender, EventArgs e)
    C c = new C();
    MessageBox.Show(B.F.ToString());
    and in the class Lib:
    internal class A
    public A()
    B.F = DateTime.Now.Millisecond;
    public class B
    public static int F { get; set; }
    public class C
    public C()
    A a = new A();
    (add a referenc to the class lib from the accessing project)
    Regards,
      Thorsten

  • Webinar: Change Management and Transport in the Enterprise Portal

    <b>SAP NetWeaver Know-How Network Webinar: 
    Change Management and Transport in the Enterprise Portal
    Wednesday 21 July 2004
    11 a.m. EDT</b>
    On Wednesday 21 July, Scott Jones hosts the webinar titled <b>Change Management and Transport in the Enterprise Portal</b> as part of the ongoing SAP NetWeaver Know-How Network Webinar Series.
    Here’s how Scott describes his webinar presentation:
    “Change Management offers special challenges to administrators working in Enterprise Portal 6.0 SP2 environments.  This talk provides recommendations and tools, and defines best practices and methods for the effective transport of Enterprise Portal content, with special attention to content dependencies, tracking, and troubleshooting.   We'll also look forward to Change Management enhancements coming with Netweaver 04.”
    SDN invites you to post your questions to the presenter prior to the webinar and continue the online discussion afterward.
    <b>How to Participate</b>
    (Please go to the SDN Events page to see the article and download the PDF presentation)
    Dial-in Information:
    Date: Wednesday 21 July 2004
    Time: 11 a.m. EDT
    Within the U.S., call: +1.888.428.4473
    Outside the U.S., call: +1.651.291.0618
    Password: NetWeaver04
    WebEx Information:
    Topic: SAP NetWeaver Know-How Network
    Date: Wednesday 21 July 2004
    Time: 11 a.m. EDT
    Meeting Number: 742391500
    Meeting Password: netweaver04 (lowercase)
    WebEx Link: sap.webex.com
    Replay Information:
    A recorded replay of this call will be available for approximately three months after the webinar. Access this recording by dialing the appropriate number and using the replay access code TBD.
    Toll-free: +1.800.475.6701
    International: +1.320.365.3844
    <b>About the SAP NetWeaver Know-How Webinar Series</b>
    The SAP NetWeaver Know-How Webinar Series is driven by the SAP NetWeaver Regional Implementation Group (RIG), part of the SAP Development organization. The mission of the SAP NetWeaver RIG is to enable customers, employees, and partners to successfully implement the SAP NetWeaver solution. This SAP RIG has expertise in BI, EP, XI, and WebAS. They contribute their implementation expertise to the SDN implementation forums as well as to the SAP NetWeaver Know-How Webinar Series.
    <b>Disclaimer</b>
    SDN is not responsible for any changes to the webinar schedule. The webinar schedule may be changed or cancelled without prior notice.

    Hello,
    In the intresting document I read that for the deployement the version number mentionned in the MANIFEST.MF is very important in a clustered evironment.
    SAPnote 727180 - Version of PAR File in Manifest File
    denies this.
    Can you clear this out?
    Kind Regards
    Koen Van Loocke

  • Need to capture the excise for the excise tab missing item in GR

    Hi Masters
        Our users has done MIGO with one line item(for Material A) with excise item tab and other line item(fro MAterial B) without excise item tab(non availability of Chapter ID).
    They are able to capture excise in J1IEX for the first item only with the help of GR document.
    But they want to capture the excise for the second line item?
    When we process the same GR document in J1IEX once again it shows error that documeny has been already processed.
    How to resolve this?
    Regards
    Mohanraj.C

    Hi,
    If u have done only GR for Both materials then Cancel ur GR and Post it again.
    And if you have Done J1iex for first material then Cancel GR first then Cancel Excise Invoice.
    Now to cancel Excise Invoice follow the path as
    From the SAP Easy Access screen, choose Logistics ® Materials Management ® Inventory Management ® Goods Movement ® Goods Movement (MIGO).
    In the top line:
    Select Cancellation.
    Select Material document.
    Enter the number of the goods receipt that you want to cancel
    Choose .
    Flag all of the line items as OK.
    Save the reversal document.
    Reversing CENVAT Postings
    From the SAP Easy Access screen, choose Indirect Taxes ® Procurement ® Excise Invoice ® Incoming Excise Invoices ® Individual Processing ® Change/Display/Post/Cancel.
    In the top line:
    Select Post CENVAT.
    Select Vendor Excise Invoice.
    Enter the excise invoice number.
    Choose .
    Choose Simulate CENVAT.
    A dialog box appears, showing which postings the system will make to reverse the CENVAT.
    To close the dialog box, choose .
    Choose Post CENVAT.
    Canceling Excise Invoices
    From the SAP Easy Access screen, choose Indirect Taxes ® Procurement ® Excise Invoice ® Incoming Excise Invoices ® Individual Processing ® Change/Display/Post/Cancel.
    In the top line:
    Select Cancel.
    Select Vendor Excise Invoice.
    Enter the excise invoice number.
    Choose .
    Save the excise invoice
    if Not solved then please specify that is error by system.
    Regards,
    Pardeep malik

  • Changes  are not reflecting in the table control in 2nd time

    Hi,
        In BSP Portal Asset management page, General,cost center, allocations ..etc tabs are there.and i have maintain button also in this page
    After filling all these things, when i  click the maintain button , the mandatory fields [General,costcenter,Eval1,Eval2]are displaying in the tablecontrol popup window,
    In the tablecontrol popup whatever i selected ,it is displaying fine..
              In the popup,save buttons is there.Once if i clicked the save button, popup will vanish and datas are stored in the internal table.and again it will come to portal main page.Now if i select the different values in the allocations dropdown, old vales are displaying in the tablecontrol popup. new dropdown values are not diaplying in the popup.what can i do?
    This is my code: popupdisplay.htm
    ==============
    <%
    * DATE CHANGE.....: 20/07/2007                                         *
    * AUTHOR..........: Mohan Pitchaimani (inmpi0)                         *
    * CHANGE DESCR....: DIsplay the popup when clicking the maintainbutton *
    * R/3 RELEASE...  : 2.1                                                *
    * MODIFICATION ID : MOD-001                                            *
    * RIFE/TPR/SCR No.: FSSE698 BSP Asset Mass Creation BSP Request form   *                                                *
    * RT/TRANSPORT....: 12403 / D94K969999                                 *
    %>
    <%--********************Begin of changes mod-001 on 20/07/2007 *****************--%>
    <%@page language="abap"%>
    <%@extension name="bsp" prefix="bsp" %>
    <%@extension name="htmlb" prefix="htmlb" %>
    <%@ extension name="/DS1/mdm" prefix="mdm" %>
    <%
    data :
            lt_columns     type /DS1/MDM_tt_table_control,
            ls_column      type /DS1/MDM_ms_table_control,
            l_onload       type string,
            lr_field       type ref to  /ds1/cl_mdm_bspfield_services,
            lw_maintain    type /ds1/fss_ms_popup,
            l_editable     type char1,
            lt_drop        type /ds1/mdm_tt_dropdowns,
            ls_sc          type /DS1/MDM_MS_F4_SEARCH_CRITERA,
            ls_rmap        type /DS1/MDM_MS_F4_RESULTS_MAP,
            ls_drop        type /ds1/mdm_ms_dropdown,
            l_number       type int4.
    %>
    <%--********************Close the window **************************************** --%>
    <%  data: event TYPE REF TO CL_HTMLB_EVENT.
              event = CL_HTMLB_MANAGER=>get_event( runtime->server->request ).
    %>
    <%
      if event is not initial.
        CASE event->id.
      WHEN 'con'.
    %>
    <script language="javascript">
    self.close();
    </script>
    <% endcase.
       endif.
    %>
    <%--************************ Popupdisplay ***************************************** --%>
    <htmlb:content design        = "design2002+design2003"
                   rtlAutoSwitch = "true"
                   forceEncode   = "ENABLED" >
    <htmlb:page title = "Maintain fields should be different from similar assets">
    <script type="text/javascript" language="JavaScript" src="../MDM_GENERIC/Javascript/MDM_Generic.js"></script>
    <%@ include file = "asst_scripts_change.htm" %>
    <%@ include file = "../MDM_GENERIC/TableControlStyleInclude.xml" %>
    <%   delete controller->r_asset_data->T_MAINTAIN where TXT50 = space. %>
    <% if controller->r_asset_data->t_maintain is  initial.
         lw_maintain-TXT50 = controller->r_asset_data->w_generaldata-DESCRIPT.
         lw_maintain-INVNR = controller->r_asset_data->w_generaldata-INVENT_NO.
         lw_maintain-kostl = controller->r_asset_data->w_timedependantdata-costcenter.
         lw_maintain-ORD41 = controller->r_asset_data->w_allocations-EVALGROUP1.
         lw_maintain-ORD42 = controller->r_asset_data->w_allocations-EVALGROUP2.
         lw_maintain-ORD43 = controller->r_asset_data->w_allocations-EVALGROUP3.
         lw_maintain-ORD44 = controller->r_asset_data->w_allocations-EVALGROUP4.
         lw_maintain-GDLGRP = controller->r_asset_data->w_allocations-EVALGROUP5.%>
    <%--******************** Appending the maintained values *************************** --%>
    <%
            if controller->r_asset_data->G_NO_ASSETS NE space.
                clear l_number.
                DO controller->r_asset_data->G_NO_ASSETS TIMES.
                    l_number = l_number + 1.
                    lw_maintain-SERNR = l_number.
                    APPEND lw_maintain TO controller->r_asset_data->t_maintain.
                ENDDO.
            else.
                DO controller->r_asset_data->g_no_similarsubno TIMES.
                    APPEND lw_maintain TO controller->r_asset_data->t_maintain.
                ENDDO.
            endif.
            controller->G_POPUP_FLAG = 'X'.
        endif.
    %>
    <%--******************** VAlidations for the Requester and Approver screen *************************** --%>
    <% if  controller->ms_request_header-req_status = '00'.
        ls_column-columnname = 'SERNR'.
        ls_column-no_edit = 'X'.     
        append ls_column to lt_columns.
        clear ls_column.
    endif. %>
    <% if  controller->ms_request_header-req_status = '05'.
        ls_column-columnname = 'SERNR'.
        ls_column-no_edit = 'X'.     
        append ls_column to lt_columns.
        clear ls_column.
        ls_column-columnname = 'TXT50'.
        ls_column-no_edit = 'X'.     
        append ls_column to lt_columns.
        clear ls_column.
        ls_column-columnname = 'INVNR'.
        ls_column-no_edit = 'X'.     
        append ls_column to lt_columns.
        clear ls_column.
        ls_column-columnname = 'KOSTL'.
        ls_column-no_edit = 'X'.     
        append ls_column to lt_columns.
        clear ls_column.
    endif. %>
    <% if  controller->ms_request_header-req_status = '06'.
         ls_column-columnname = 'SERNR'.
        ls_column-no_edit = 'X'.     
        append ls_column to lt_columns.
        clear ls_column.
        ls_column-columnname = 'TXT50'.
        ls_column-no_edit = 'X'.     
        append ls_column to lt_columns.
        clear ls_column.
        ls_column-columnname = 'INVNR'.
        ls_column-no_edit = 'X'.     
        append ls_column to lt_columns.
        clear ls_column.
        ls_column-columnname = 'KOSTL'.
        ls_column-no_edit = 'X'.     
        append ls_column to lt_columns.
        clear ls_column.
        ls_column-columnname = 'ORD41'.
        ls_column-no_edit = 'X'.     
        append ls_column to lt_columns.
        clear ls_column.
        ls_column-columnname = 'ORD42'.
        ls_column-no_edit = 'X'.     
        append ls_column to lt_columns.
        clear ls_column.
        ls_column-columnname = 'ORD43'.
        ls_column-no_edit = 'X'.     
        append ls_column to lt_columns.
        clear ls_column.
        ls_column-columnname = 'ORD44'.
        ls_column-no_edit = 'X'.     
        append ls_column to lt_columns.
        clear ls_column.
        ls_column-columnname = 'GDLGRP'.
        ls_column-no_edit = 'X'.     
        append ls_column to lt_columns.
        clear ls_column.
    endif.
    %>
    <% if  controller->ms_request_header-req_status = '00'. %>
      <html>
    <body>
      <p>
        You can Maintain/Edit details of Similar Assets/Similar Sub - Assets . Click confirm to maintain the entries
    </p>
    </body>
    </html>
    <%    elseif controller->ms_request_header-req_status <> '00'. %>
    <html>
    <body>
      <p>You can view details of of Similar Assets/Similar Sub - Assets.
    </p>
    </body>
    </html>
    <% endif.%>
    <htmlb:form id='frmMain' >
       <htmlb:group>
       <htmlb:groupBody>
       <htmlb:gridLayout columnSize ="2"
                      rowSize    ="15"
                      width      ="150%">
       <htmlb:gridLayoutCell columnIndex="2" rowIndex="1" horizontalAlignment="left" verticalAlignment="top" width="200" wrapping="false">
       <%
      ls_column-columnname     = 'TXT50'.
      ls_column-input_type     = '1'.
      ls_column-data_type      = '1'.
      APPEND ls_column TO lt_columns.
      CLEAR ls_column.
      ls_column-columnname     = 'INVNR'.
      ls_column-input_type     = '1'.
      ls_column-data_type      = '1'.
      APPEND ls_column TO lt_columns.
      CLEAR ls_column.
    * build F4 Search sceen
      ls_sc-field_name = 'KOKRS'.
      ls_sc-data_element = 'KOKRS'.
      ls_sc-f4_from_data_element = 'X'.
      ls_sc-value = 'OP01'.
      append ls_sc to ls_column-lookup_params-searchcriteria.
      clear: ls_sc.
      ls_sc-field_name = 'BUKRS'.
      ls_sc-data_element = 'BUKRS'.
      ls_sc-f4_values =  /DS1/CL_MDM_F4_VALUES=>GET_VALUES_FOR_COCE_COMPANY( ).
      append ls_sc to ls_column-lookup_params-searchcriteria.
      clear: ls_sc.
      ls_sc-field_name = 'KOSTL'.
      ls_sc-data_element = 'KOSTL'.
      append ls_sc to ls_column-lookup_params-searchcriteria.
      clear: ls_sc.
      ls_sc-field_name = 'KOSAR'.
      ls_sc-data_element = 'KOSAR'.
      ls_sc-f4_from_data_element = 'X'.
      append ls_sc to ls_column-lookup_params-searchcriteria.
      clear: ls_sc.
      ls_sc-field_name = 'VERAK'.
      ls_sc-data_element = 'VERAK'.
      append ls_sc to ls_column-lookup_params-searchcriteria.
      clear: ls_sc.
      ls_sc-field_name = 'LTEXT'.
      ls_sc-data_element = 'KLTXT'.
      append ls_sc to ls_column-lookup_params-searchcriteria.
      clear: ls_sc.
      ls_sc-field_name = 'SPRAS'.
      ls_sc-data_element = 'SPRAS'.
      ls_sc-f4_values = /DS1/CL_MDM_F4_VALUES=>GET_VALUES_FOR_LANGU( ).
      ls_sc-value = sy-langu.
      append ls_sc to ls_column-lookup_params-searchcriteria.
      clear: ls_sc.
      ls_sc-field_name = 'TELX1'.
      ls_sc-data_element = 'TELX1'.
      append ls_sc to ls_column-lookup_params-searchcriteria.
      clear: ls_sc.
      ls_sc-field_name = 'FUNC_AREA'.
      ls_sc-data_element = 'FKBER'.
      ls_sc-f4_from_data_element = 'X'.
      append ls_sc to ls_column-lookup_params-searchcriteria.
      clear: ls_sc.
      ls_sc-field_name = 'PRCTR'.
      ls_sc-data_element = 'PRCTR'.
      append ls_sc to ls_column-lookup_params-searchcriteria.
      clear: ls_sc.
      ls_sc-field_name = 'REGIO'.
      ls_sc-data_element = 'REGIO'.
      append ls_sc to ls_column-lookup_params-searchcriteria.
      clear: ls_sc.
    * set parameters for f4 lookup
      ls_column-lookup_params-POPUPHEIGHT = '550'.
      ls_column-lookup_params-POPUPWIDTH = '750'.
      ls_column-lookup_params-SEARCHMAXRESULTS = '500'.
      ls_column-lookup_params-SEARCHRESULTSKEY = 'KOSTL'.
      ls_column-lookup_params-SEARCHTABLE = 'CSKS'.
    * Set Column for Cost center
      ls_column-columnname     = 'KOSTL'.
      ls_column-input_type     = '4'.
      ls_column-data_type      = '1'.
      ls_column-tooltip_fom_de = 'X'.
      ls_column-scrollable     = ' '.
      ls_column-length         = '15'.
      ls_column-maxlength      = '15'.
      ls_column-halign         = 'RIGHT'.
      ls_column-valign         = 'TOP'.
      APPEND ls_column TO lt_columns.
      CLEAR ls_column.
    * Set Column for Evaluation group 1
          ls_drop-dropdown_id = 'evlg1'.
          ls_drop-values_tab = /DS1/CL_MDM_F4_VALUES=>GET_VALUES_FOR_EVALGRP1( im_group = '1'
                                      im_bukrs = controller->R_ASSET_DATA->W_KEY-COMPANYCODE ).
          append ls_drop to lt_drop.
          ls_column-columnname     = 'ORD41'.
          ls_column-input_type     = '2'.
          ls_column-DROPDOWN_ID     = 'evlg1'.
          APPEND ls_column TO lt_columns.
          CLEAR ls_column.
    * Set Column for Evaluation group 2
          ls_drop-dropdown_id = 'evlg2'.
          ls_drop-values_tab = /DS1/CL_MDM_F4_VALUES=>GET_VALUES_FOR_EVALGRP1( im_group = '2'
                                     im_bukrs = controller->R_ASSET_DATA->W_KEY-COMPANYCODE ).
          append ls_drop to lt_drop.
          ls_column-columnname     = 'ORD42'.
          ls_column-input_type     = '2'.
          ls_column-DROPDOWN_ID     = 'evlg2'.
          APPEND ls_column TO lt_columns.
          CLEAR ls_column.
    * Set Column for Evaluation group 3
      ls_drop-dropdown_id = 'evlg3'.
      ls_drop-values_tab = /DS1/CL_MDM_F4_VALUES=>GET_VALUES_FOR_EVALGRP1( im_group = '3'
                                     im_bukrs = controller->R_ASSET_DATA->W_KEY-COMPANYCODE ).
      append ls_drop to lt_drop.
      ls_column-columnname     = 'ORD43'.
      ls_column-input_type     = '2'.
      ls_column-DROPDOWN_ID     = 'evlg3'.
      APPEND ls_column TO lt_columns.
      CLEAR ls_column.
    * Set Column for Evaluation group 4
      ls_drop-dropdown_id = 'evlg4'.
      ls_drop-values_tab = /DS1/CL_MDM_F4_VALUES=>GET_VALUES_FOR_EVALGRP1( im_group = '4'
                                     im_bukrs = controller->R_ASSET_DATA->W_KEY-COMPANYCODE ).
      append ls_drop to lt_drop.
      ls_column-columnname     = 'ORD44'.
      ls_column-input_type     = '2'.
      ls_column-DROPDOWN_ID     = 'evlg4'.
      APPEND ls_column TO lt_columns.
      CLEAR ls_column.
    * Set Column for Evaluation group 5
      ls_drop-dropdown_id = 'evlg5'.
      ls_drop-values_tab = controller->GET_VALUES_FOR_EVALGRP5( im_bukrs = controller->R_ASSET_DATA->W_KEY-COMPANYCODE ) .
      append ls_drop to lt_drop.
      ls_column-columnname     = 'GDLGRP'.
      ls_column-input_type     = '2'.
      ls_column-DROPDOWN_ID     = 'evlg5'.
      APPEND ls_column TO lt_columns.
      CLEAR ls_column.
    * Input type
    *1     Text box
    *2     Drop down
    *3     Checkbox
    *4     F4 Lookup
    *5     HTML
    *6     Text just displayed
    *7     Date
    *8     Link
    *9     Time
    * Data type
    *1     String
    *2     Numeric
    *3     Date
    *4     Time
    %>
    <%---------------- TableControl display in the popupwindow --------------------------%>
       <mdm:tableControl table="<%=controller->r_asset_data->t_maintain%>"
                               id="tv1"
                               width="650"
                               no_buttons = "X"
                               height="330"
                               columns="<%=lt_columns%>"
                               dropdowns= "<%= lt_drop %>"
                               title="Maintain Asset"    >
       </mdm:tableControl>
      </htmlb:gridLayoutCell>
      </htmlb:gridLayout>
      <input type="hidden" name="renderedtv1" value= "rendered-tv1"  />
    <%---------------- Confirm Button-------------------------------- --%>
    <htmlb:button id="con"
                   design="STANDARD"
                   width="15"
                   text = "Confirm" onClick="confirm"
                   onClientClick = "self.close()"/>
    <%---------------- Cancel Button-------------------------------- --%>
    <htmlb:button id="cancel"
                   design="STANDARD"
                   width="15"
                   text = "Cancel"
                   onClientClick = "self.close()"/>
    </htmlb:groupBody>
    </htmlb:group>
    </htmlb:form>
    </htmlb:page>
    </htmlb:content>
    <%--********************End of changes mod-001 on 20/07/2007 *****************--%>
    Message was edited by:
            Durairaj Athavan Raja
        --formatting

    Hi Mohan,
    Please use the formatting options to format ur question...!!
    Thanks,
    Tatvagna.

  • How can I change between different JRE in the Same PC

    I have two systems.A system can only run in JRE 1.3 and B system can only run in JRE 1.5 enviroment.But I have to run both in one desktop(which use WinXP SP2),how can I do it . I tried to edit the system config using the cmd of regedit , edited some like these.But it did not work .Could anybody tell me how to do? Thanks a lot in advantage.
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{08B0E5C0-4FCB-11CF-AAA5-00401C608501}\TreatAs]
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{8AD9C840-044E-11D1-B3E9-00805F499D93}]
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{8AD9C840-044E-11D1-B3E9-00805F499D93}\InprocServer32]
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\JavaPlugin\CLSID]
    [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Development Kit]CurrentVersion="1.X"
    [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment] CurrentVersion="1.X"
    The information of operation system is omitted.
    Message was edited by:
    daiwill
    Operation System is WinXP SP2
    Message was edited by:
    daiwill

    I found some clues last week in these linkes.
    http://forum.java.sun.com/thread.jspa?threadID=657406&tstart=150
    http://java.sun.com/j2se/1.5.0/docs/guide/deployment/deployment-guide/jcp.html#java
    Which has the contents like the below:
    Example:
    Assume you are running on Microsoft Windows with Microsoft Internet Explorer, have first installed version 1.4.2, then version 5.0, and you want to run 1.4.2.
    Go to the j2re1.4.2\bin directory where JRE 1.4.2 was installed. On a Windows default installation, this would be here: C:\Program Files\Java\j2re1.4.2\bin
    Double-click the jpicpl32.exe file located there. It will launch the control panel for 1.4.2.
    Select the Browser tab. Microsoft Internet Explorer might still appear to be set (checked). However, when 5.0 was installed, the registration of the 1.4.2 JRE with Internet Explorer was overwritten by the 5.0 JRE.
    If Microsoft Internet Explorer is shown as checked, uncheck it and click Apply. You will see a confirmation dialog stating that browser settings have changed.
    Check Microsoft Internet Explorer and click Apply. You should see a confirmation dialog.
    Restart the browser. It should now use the 1.4.2 JRE for conventional APPLET tags.
    I tried the method of change the control panel but they did not work either.
    Any other helps?
    Thanks in advantage.
    Message was edited by:
    daiwill

Maybe you are looking for