ReadObject and problems with Vector field

hello.
i'm trying to send an object(data Packet for a chat application) and receive it via sockets.
every thing is right but there is a Vector field(online users list)that has some problems.
my clients receive every updated class that contains new user list.but they just see the first received list?
it's so strange to me because every thing else (such as color,font,size,..) works fine.
can you help me?

Every time you resend an object you have already sent, ObjectOutputStream will just send a 'handle', not the actual object. If it's changed value this is a problem. Use ObjectOutputStream.reset() to cause it to forget everything previously sent.

Similar Messages

  • Problem with currency  field in smart form

    hi
    friends ..
    i had problem with currency field in smartform iam printing 5 currecny
    fields after the main window .But not getting printed on right way gets printed down from the given mesaurement and i get lot of gap betwen the
    each fields for ex.
    33,260.00
    120.00
    0.00
    0.00
    0.00
    i thought the the problem is with space .so iwanted to condense it but cannot as it is currency field so move into character fields .but the user want out put in currency format like 22,60.20 if i  get the value in char variable i get 2260.20 which i dont want .
    so pls help me how to condense or shift left and print the currency field on right place.
    regards
    answers will be rewarded points.

    hi,
    this is a normal problem u can avoid this by moveing these currencu value to a character field then print the char field us ing condece... &var(C)&..
    eve if not solve the problem use the TEMPLATE node..
    Please Close this thread.. when u r problem is solved. Reward all Helpful answers
    Regards
    Naresh Reddy K

  • Problem with a field set to refresh after insert at Row level

    hello all,
    i have a problem with a field (a serial) which is set by a db trigger at insertion. The field "refresh after insert" is properly set in the Entity and everything is refreshed correctly when i insert data via an adf form in a jspx but when i want to insert programmatically nothing is refreshed. I insert data this way :
    ViewObject insertVO = findViewObject("myView");
    Row newRow = insertVO.createRow();
    newRow.setAttribute("mandatoryAttribute1",value1);
    newRow.setAttribute("mandatoryAttribute2",value2);
    <more init here but not the serial since it will be set by the DB trigger>
    insertVO.insertRow(newRow);
    but when i want to get back the value with "newRow().getAttribute("TheSerial");" i always get a null back and not the value set by the db trigger.
    One way to get the serial is to commit after each insert but i don't want to commit between inserts.
    i've tried to unset the refresh after insert and override the createDef() method to setUseReturningClause(false) as it's is advised in chapter 26.5 of the ADF 4GL dev. guide but in this case i have an exception JBO-29000: JBO-26041.
    How can i get the value back properly ?
    thanks
    -regards

    The data for the newly created row doesn't get inserted into the database until the commit is executed, so the insert trigger isn't called.
    If you need to get the value without committing, then you should implement the trigger programmatically and drop the trigger from the database. The code below shows how you could do this.
    ViewObject insertVO = findViewObject("myView");
    Row newRow = insertVO.createRow();
    SequenceImpl seq = new SequenceImpl("MY_SEQ", insertVO.getDBTransaction());
    Long next = (Long)seq.getData();
    newRow.setAttribute("primaryAttribute", new Number(next));
    ...You will need to replace MY_SEQ and primaryAttribute with the correct values for your example, but this should acheive what you want.

  • Any new  about updating lion to 10.7.4 and problems  with bluetooth devices  like Bose Soundlink Bluetooth Speaker?

    Any new  about updating lion to 10.7.4 and problems  with bluetooth devices  like Bose Soundlink Bluetooth Speaker?

    Monroe
    Just in the moment i updated to lion 10.7.4  my Bose Soundlink Bluetooth  stop working as  good as it was. I´m gonna try the update in the Bose  web page. I hope  it works

  • Choosing between external and partner application and problem with login

    We have an application on Oracle App Server 10.1.3.3 and we have an OID server.
    I had taken this for granted that I should define the application as 'Partner Application' and not external application for single sign on.
    Now that we need the 'PASSWORD' retrieved by application, we are considering defining it as an external application.
    There are at least two problems I have encountered defining the application as external:
    1. 'pageConfig:serverDate' is among the login form's inputs in the login page, but I can't set it in orasso 'Edit External Applications' page
    2. After login using SSO as external application and when I click on the application's new link, the login page is shown with the username and password field filled, but I have to click on login button anyway (no automatic and invisible login).
    I will be very grateful if someone gives a general view on the differences between external and partner, whether in this case external has to be used or partner and finally give some comment on my specific problem with login button and manual login.
    Thank you

    Just some information :
    - The problem with LOGIN page exists. I don't have that problem with for example GMAIL when defined as external application, but with my applications in Oracle Application Server.
    - There is also another thing I don't understand. The link to external application is something like:
    javascript:open_jwindow('../ealogin?ID=76D4766','76');
    and couldn't be executed outside pls/orasso
    in other words we can't give that to our users, can we? They should login to orassso and see that?
    We don't want to involve them in Identity Management...
    Any help is appreciated....
    Regards

  • Problem with Date fields in Search panel

    Hi all,
    I use TP2 and in my jspx page I have a search panel with two date fields and table where the results is displayed. But there is a problem with these date fields, because when I search dates the results is nothing even I retype the date from table. Also I have other pages where this problem exist with same structure.
    Could somebody help me with some advice?
    Thanks in advance!

    Hi Frank,
    Thanks for the answer.
    I use the standart method to make search panel with drag and drop the data control to the page. The other search panel fileds work fine, only the date fileds are problem. Maybe something in view object doesn't work properly.
    Here I post the code from my page.
    <table border="1" style="margin:5px;">
    <tr>
    <td>
    <af:showDetailHeader text="ТЪРСЕНЕ" disclosed="true"
    inlineStyle="width:780px;">
    <table cellspacing="2" cellpadding="3" border="0">
    <tr align="left">
    <td align="right">
    <af:outputLabel value="#{bindings.EGN.hints.label}"/>
    </td>
    <td align="left">
    <af:inputText value="#{bindings.EGN.inputValue}"
    label="#{bindings.EGN.hints.label}"
    columns="#{bindings.EGN.hints.displayWidth}"
    maximumLength="#{bindings.EGN.hints.precision}"
    simple="true"/>
    </td>
    <td align="right">
    <af:outputLabel value="#{bindings.LNC.hints.label}"/>
    </td>
    <td align="left">
    <af:inputText value="#{bindings.LNC.inputValue}"
    label="#{bindings.LNC.hints.label}"
    columns="#{bindings.LNC.hints.displayWidth}"
    maximumLength="#{bindings.LNC.hints.precision}"
    simple="true"/>
    </td>
    <td align="right">
    <af:outputLabel value="#{bindings.AccPersonID.hints.label}"/>
    </td>
    <td align="left">
    <af:inputText value="#{bindings.AccPersonID.inputValue}"
    label="#{bindings.AccPersonID.hints.label}"
    columns="#{bindings.AccPersonID.hints.displayWidth}"
    maximumLength="#{bindings.AccPersonID.hints.precision}"
    simple="true"/>
    </td>
    </tr>
    <tr align="left">
    <td align="right">
    <af:outputLabel value="#{bindings.PersonName.hints.label}"/>
    </td>
    <td align="left" colspan="5">
    <af:inputText value="#{bindings.PersonName.inputValue}"
    label="#{bindings.PersonName.hints.label}"
    columns="#{bindings.PersonName.hints.displayWidth}"
    maximumLength="#{bindings.PersonName.hints.precision}"
    simple="true"/>
    </td>
    </tr>
    <tr align="left">
    <td align="right">
    <af:outputLabel value="#{bindings.DateFrom.hints.label}"/>
    </td>
    <td align="left">
    <af:inputDate value="#{bindings.DateFrom.inputValue}"
    label="#{bindings.DateFrom.hints.label}"
    simple="true">
    <af:convertDateTime pattern="#{bindings.DateFrom.format}"/>
    </af:inputDate>
    </td>
    <td align="right">
    <af:outputLabel value="#{bindings.DateTo.hints.label}"/>
    </td>
    <td align="left">
    <af:inputDate value="#{bindings.DateTo.inputValue}"
    label="#{bindings.DateTo.hints.label}"
    simple="true">
    <af:convertDateTime pattern="#{bindings.DateTo.format}"/>
    </af:inputDate>
    </td>
    </tr>
    <tr>
    <td align="right">
    <af:commandButton actionListener="{bindings.Execute.execute}"
    text="#{bundle.FindBtn_LABEL}"
    disabled="#{!bindings.Execute.enabled}"
    icon="/images/find.png"/>
    </td>
    <td align="left">
    <af:commandButton text="#{bundle.FindClearBtn_LABEL}"
    icon="/images/find_clear.png"
    action="#{PeopleBean.onClearVCBtn}"/>
    </td>
    </tr>
    </table>
    </af:showDetailHeader>
    </td>
    </tr>
    </table>
    Also I have a result table for the search panel, but I don't believe the problem can be there because it works fine when I search in fields different by inputDate.
    Do you have any suggestions?

  • Problem with Date-Field

    Hi,
    I have a problem with a date-field. Maybe I must describe the problem more detailled, but first I just want to ask you, if you know the following error-message: "21.10.2010 kommt nicht in der Menge der erlaubten Werte vor". I don't know the correct translation but it must be something like this: "21.10.2010 does not occur in the quantity of the permitted values". I don't find the position in the sourcecode of this message. And I know, that this message isn't thrown by a functionblock from SAP. So what is the describtion of this message?

    Yes I have a date field in my form. Ok I must describe it more detailled. I have an employee searchfield. After select an employee you see a form. After filling the form you click on "Send". It creates a ticket and sends the data to the Backend and jumps back to the employee search field. Untill this point everything works fine. There is no problem with the datefield. Now I want to create the form. I choose an employee and fill the form. But now it comes this message. But not after clicking the "send" button. The message comes after changing some data (e.g. change a radio button). So it looks like a validationproblem, but only at the second creationprocess. Maybe the first date is in some cache? I don't know...

  • Workflow and problems with labels

    Hello!
    I've been testing out some things in Edge and I've noticed a few things that I've been trying to find some documentation and information about, I would greatly appreciate any enlightenment on the following observations:
    Frame labels do not work for me - both with files created from scratch in Edge and ones made of existing HTML + CSS files. I tried the in app lesson on looping the counter and the 'Play from (loop)' doesn't work, I thought it might have been because of an error in the instructions telling users to play from a frame label that exists at the same point in the timeline where there is a 'stop' trigger but even offsetting the 'loop' label would not work. The final sample file works as intended when previewed.
    I tried a few tests with new files consisting of really basic stuff - one symbol with an 'on-click' > play from (go/start/in/one/etc) and another symbol simply animated on the x and y axis with an animation to the opacity with a stop trigger placed on the timeline and tested with the play from label placed both at the same time as the stop trigger and offset after the trigger - neither works it has no effect when clicked. (I know about what scripts to do on completion to get it to play from the start) Interestingly play from (milliseconds*) *0.125/1001/2000000 etc does work for me but this is not ideal as it is far more useful to be able to play from labels.
    Animating existing HTML - I've got a simple html page set up consisting of a container div with a number of other divs inside which I have been animating in Edge. The Edge file is set up so the container CSS overflow is hidden. Now can someone please clarify if the following method of workflow is a mistake on my part, limitation in HTML+DOM, bugs in edge or combination/none of those things?
    Workflow - bring in the html file to edge do simple animated opacity etc on the various elements start adding keyframes and labels etc - the label problems as above.  Now my intent is to have each of the div's in the container be clicked on and bring in the next one - in the same place in the viewport. I've noticed that when changing various elements visibility after tweaking animation to look good and then subsiquently setting on-off keyframes for visibility it would suddenly cause all elements lower in the DOM to move position and suddenly have what looked like keyframes for y axis position/transform? Is this bad practice to use the on-off visibility for elements? It meant that what should be a really simple and quick 10 second animation took about 3 hours to make, should we be not using the on-off keyframes for showing/hiding buttons that are in divs that sit on top of each other? Should i set up z-index values for all elements in the CSS files? (I saw a reference to you can assign z-index values in the 'elements' panel but I can only see 'arrange' - is this a different term for z-index?)
    I'm a long time user of flash, maya, after effects, digital fusion, combustion, and many other timeline based software tools - it is fairly intuitive to me picking up new systems but the issues with on-off visibility and keyframes below in the timeline really was a very frustrating workflow. I'm used to changing and editing the whole animation on the timeline seeing what works and doesn't - deleting layers, changing timings etc, i found this way of working really slow due to changes to elements position when ones above in the flow were turned on or off. Please do suggest what I should change in my approach to using edge as compared to other animation tools as it looked great on preview but I'm a bit frustrated in using the release. Is this a bug in my release?
    Where is the help and reference files for Edge? - is this screen shot it? -
    I can't find any info on basic definitions of the tools and options anywhere, and can't find much on anything to do with using edge in production with existing HTML documents, please send me some links if you have them. I've seen the edge javascript API thing but is there anything else?
    Cheers.
    Here is the approximate code of the page for reference - I actually got the file working in the end but using 'play from (miliseconds)' instead of play from (label) and much frustration slowly editing the timeline and elements visible/hidden status and redoing animation on elements below in the timeline to get them placed correctly.
    HTML:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Master Document with base styles</title>
    <link href="css/master_styles.css" rel="stylesheet" type="text/css" />
    <!--<link href="css/ipadV.css" rel="stylesheet" media="only screen and (min-device-width:  768px) and (max-device-width: 1024px) and (orientation: portrait)" />
    <link href="css/ipadH.css" rel="stylesheet" media="only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape)" />
    <link href="css/iphoneV.css" rel="stylesheet" media="only screen and (min-device-width: 320px) and (max-device-width: 480px) and (orientation: portrait)" />
    <link href="css/iphoneH.css" rel="stylesheet" media="only screen and (min-device-width: 320px) and (max-device-width: 480px) and (orientation: landscape)" /> (Commented out for testing on desktop)-->
    <link rel="stylesheet" media="only screen and (min-width: 320px) and (max-width: 480px)" href="css/mobile.css" />
    <link rel="stylesheet" media="only screen and (min-width: 768px) and (max-width: 1024px)" href="css/tablet.css" />
    <link href="css/desktop.css" rel="stylesheet" media="only screen and (min-width: 1025px) and (max-width: 3000px)" />
    <style type="text/css">
    <!--
    a:visited {
        color: #00FF00;
    a:hover {
        color: #FF0000;
    a:active {
        color: #0033FF;
    -->
    </style>
    </head>
    <body>
    <div id="container">
             <!-- start Level 1-->
                <div id="mainContent">
                    <div id="mainlogo">
                    </div>
                </div>
                <div id="firstButton">
                      <div id="Abutton1">
                      <p><img src="img/a_72_off.png" width="72" height="72" /></p>
                     </div>
                </div>
                <div id="transition1">
                       <p>Wipe transition 1</p>
                </div>
                <div id="secondButton">
                        <div id="Abutton2">
                       <p><img src="img/a_72_off.png" width="72" height="72" /></p>
                       </div>
                </div>
                <div id="secondContent">
                    <div id="Abutton3">
                    <p><img src="img/a_72_off.png" width="72" height="72" /></p>
                    </div>
                <div id="text1">
                      <h1>Heading </h1>
                      <p>Byline</p>
                    </div>
                 </div>
      <div id="transition2">
        <p>Transition 2 - TBC</p>
    </div>
          <div id="thirdContent">
          <div id="lastbutton">
            <p><img src="img/end_icon_crop.png" width="150" height="150" border="0" /></p>
          </div>
          <div id="text2">
            <h1>Heading</h1>
            <p>Byline</p>
          </div>
    </div>
        <div id="transition3">
            <h4>Small print</h4>
    </div>
    </div>
    </body>
    </html>
    CSS:
    (master_styles.css)
    @charset "utf-8";
    body {
        margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
        padding: 0;
        text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
        color: #19171B;
        font-family: AFBattersea;
        font-size: 100%;
    #container  { /* the main holder for all of the viewport content - an image frame */
        text-align: left;
        margin-top: 0;
        margin-right: auto;
        margin-bottom: 0;
        margin-left: auto;
    #mainContent  {
        z-index: -1;
    #firstButton {
    #transition1 {
        color: #FFF;
    #secondButton {
    #secondContent {
    #transition2 {
        color: #FFF;
        height: 100%;
    #thirdContent {
    #transition3 {
        color: #FFF;
    #mainlogo {
        background-repeat: no-repeat;
        background-position: center center;
        background-image: url(../img/960_off.png);
    #Abutton1 {
    #Abutton2 {
    #Abutton3 {
    #text1 {
    #text2 {
    #lastbutton {
    #text3 {
    (desktop.css) - I've not included the other css files referenced in the media queries as they only contain names of elements for this purpose
    @charset "utf-8";
    #container  { /* the main holder for all of the viewport content - an image frame */
        text-align: center;
        margin-top: 0;
        margin-right: auto;
        margin-bottom: 0;
        margin-left: auto;
        height: 700px;
        width: 1024px;
    .mainContent  {
        height: 100%;
    #firstButton {
        height: 100%;
    #transition1 {
        height: 100%;
    #secondButton {
        height: 100%;
    #secondContent {
        height: 100%;
    #transition2 {
        height: 100%;
    #thirdContent {
        height: 100%;
    #transition3 {
        height: 100%;
    #mainlogo {
        background-image: url(../img/960_off.png);
        height: 72px;
        width: 960px;
        margin-top: 364px;
        margin-right: 36px;
        margin-left: 36px;
    #Abutton1 {
        height: 72px;
        width: 72px;
        margin-top: 364px;
        margin-right: auto;
        margin-left: auto;
    #Abutton2 {
        height: 72px;
        width: 72px;
        margin-top: 364px;
        margin-right: auto;
        margin-left: auto;
    #Abutton3 {
        height: 72px;
        width: 72px;
        margin-top: 364px;
        margin-right: auto;
        margin-left: auto;
    #text1 {
        text-align: left;
        margin-top: 16px;
        margin-left: 320px;
    #text2 {
        text-align: left;
        margin-top: 16px;
        margin-right: 330px;
        margin-left: 360px;
    #text3 {
        text-align: center;
        text-indent: -192px;
        width: 320px;
    #lastbutton {
        margin-top: 364px;
        margin-right: auto;
        margin-left: auto;
        height: 150px;
        width: 150px;

    Hi,
    I wonder if it's related to the multilingual capability of BPM Object presentations.
    Could you:
    1. right mouse click the project in the Project Navigator tab.
    2. click "Project Preferences"
    3. click "Languages"
    Do you see multiple languages? Is English (or whatever language you're using inside Studio) the default?
    When you log into the WorkSpace, could you double check the language you are using (log in -> click "Settings" in the upper right corner) -> with the "Display" tab selected, is the language you chose as the default in Studio selected?
    I suspect the reason you see some but not all of the labels is because you have defined some of those labels in the language selected in the Workspace. You can add the addtional labels for the various languages you want to support if you:
    1. Open a presentation
    2. Click one of the labels
    3. In the properties tab on the right, click the field beside the "Display" property
    4. Click the button with the "..." on the right side of this field
    Hope this helps,
    Dan

  • Smartform: Formatting Problem with QUAN-Field

    I want to print a smartform and get exception 1 (formatting error). With function SSF_READ_ERRORS I get an error table. There is on entry: errnumber = 020011, msgid = SSFCOMPOSER, msgty = E, msgno = 601, msgv1 = wa_outtab-menge.
    It seems to be a formatting problem with field WA_OUTTAB-MENGE. But in the structure this field is referenced correctly.
    Does anybody know a solution?

    I solve this kind of problem in my SmartForm.
    Try this:
    Go to "Global Definitions" Node, then "Current/Quant.Fields" tab and set these values:
    Field Name:      WA_OUTTAB-MENGE
    Reference Field: WA_OUTTAB-MEINS
    Data Type:       QUAN
    Best Regards,
    Eduardo Ribeiro.

  • Problem with number field

    Hi,
    I'm using ADO (Oracle Provider for OLEDB) to connect Oracle 9. If the type of any field in table is Number(9) and I open query with this field, all negative values are displayed as positive values. For example: If I write -1 value to this field and then post the dataSet (Delphi7 - TADOQuery) value is refreshed to 1. Real value in database is -1.
    Could anybody help me with this problem?
    Regards Jan.

    Once again :)
    I finally foud out that Deplhi does support (varDecimal), but delphi TCustomADODataSet (ADO recordSet wrapper) component incorrecltly treats such field type. It regards Decimal(<9,0) as integer (TIntegerField) but when it gets value from underlying ADO recordset it expects integer variant. So it's delphi problem. I hat to fix this problem in source code of this component.
    Regards Jan.

  • Problem with number-fields in csv-Export-Files

    Hello,
    the export with the csv option works fine and our users like this export-function.
    But Unfortunatelly we have some problems with the exported number fields. In my region I defined the field with a format mask.
    On the screen it looks fine but when I change to csv the values are exported as text-values.
    So in excel the columns are shown with left alignment.
    When I try to change the format in excel to number, excel change the column type but not the value inside.
    On this account we cannot use the sum-function and the display of the value is wrong (alignment).
    Which possibilities do I have to resolve that problem?
    Thanks in advance
    Ulrike

    I have the same issue - Anyone any ideas on how to export currency values in a report to excel as numbers?

  • Problem with Vector method addElement

    I am new to Java. I am using JDK 1.3. I am writing a program that will convert a text file to a binary file that stores a Vector object. I have narrowed my problem to the method that reads the text file and creates my vector. Each element in my vector stores an integer and a string variable. The reading of the text file works find and the creation of my record works find. It seems that the storing of the record in the vector is not working. When I print the first 10 elements of the vector, it have the same record(the last record of my text file). What is wrong with the method below? I am also appending the result of running my program.
    private static void readTextFile(File f) {
    try {
    FileReader fileIn = new FileReader(f);
    BufferedReader in = new BufferedReader(fileIn);
    String line;
    int i;
    SsnLocationRecord recordIn = new SsnLocationRecord();
    int ctr = 0;
    while (true) {
    line = in.readLine();
    if (line == null)
    break;
    ctr += 1;
    i = line.indexOf(" ");
    recordIn.putAreaNumber(Integer.parseInt(line.substring(0,i).trim()));
    recordIn.putLocation(line.substring(i+1).trim());
    records.addElement(recordIn);
    if (ctr < 11)
    System.out.println(recordIn);
    in.close();
    } catch (IOException e) {
    System.out.println ("Error reading file");
    System.exit(0);
    for (int i = 0; i < 11; i++)
    System.out.println((SsnLocationRecord) records.elementAt(i));
    RESULTS:
    C:\Training\Java>java ConvertTextFileToObjectFile data\ssn.dat
    0 null
    3 New Hampshire
    7 Maine
    9 Vermont
    34 Massachusetts
    39 Rhode Island
    49 Connecticut
    134 New York
    158 New Jersey
    211 Pennsylvania
    680 Nevada
    680 Nevada
    680 Nevada
    680 Nevada
    680 Nevada
    680 Nevada
    680 Nevada
    680 Nevada
    680 Nevada
    680 Nevada
    680 Nevada
    C:\Training\Java>

    First of all it would be better if you did a priming read and then checked line == null in the while statement instead of the way you have it.
    ctr++ will also accomplish what ctr +=1 is doing.
    you need to create a new instance of SsnLocationRecord for each line read. What you are doing is overlaying the objects data each time you execute the .putxxxx methods. The reference to the object is placed in the vector. The actual object is still being updated by the .putxxx methods (NOTE : THIS IS THE ANSWER TO YOUR MAIN QUESTION).
    you close should be in a finally statement.
    To process through all the elements of a Vector create an Enumeration and then use the nextElement() method instead of the elementAt is probably better. (Some will argue with me on this I am sure).
    Also, on a catch do not call System.exit(0). This will end your JVM normally. Instead throw an Exception (Runtime or Error level if you want an abnormal end).

  • Problems with reference field in material type

    Hi,
    I have problem with field reference in material type creation.
    When I define a self-defined field reference ZERS (copy of standard field reference HERS) for a own defined material type ZERS (copy of material type HERS), I get the following error message:
    Field reference ZERS has not been set up
    Message no. CZ127
    Diagnosis
    You have specified a field reference that has not been set up.
    Procedure
    Set up the new field reference or use an already existing field reference.
    I do not understand why because the entry ZERS is present in table T130A.
    Here is the IMG config I have made:
    1. Logistics general->Material Master->Field selection->Maintain field selection for Data Screens (here I made copy of field reference HERS and named it ZERS)
    2. Logistics general->Material Master->Basic Settings->Material types->Define attributes of Material types (here I made a copy of material type HERS and named it ZERS. I then tried to set the field T134-FLREF "Field reference" to ZERS, but then the error message appears)
    Does anyone know what config I am missing?
    Or any reason why the error message CZ127 is coming up?
    Thanks

    Must have been system error, I deleted all entries and did it all over again, it worked.

  • Problem with Hiding fields of selection screen which is called as subscreen

    Hello All,
    I have problem while hiding the selection screen which is called as subscreen.
    Flow of my logic:
    Selection-screen with one field and three buttons CREATE,DISPLAY and CHANGE in application toolbar.
    user enter some value in field and either he press change or dispaly
    When change i need to call selection screen when it is in dispaly i need to stop calling this selection screen.
    Upto my knowledge we can't stop calling selection screen in display mode so there is only one possibility is hiding the fields when it is in display mode.
    How can i hide the fields and where i need to hide fields?
    Please post some codes.
    Regards,
    Lisa

    you can refer the sample code which i mentioned in your previous post. that will solve the problem.

  • Generic UDF to handle empty contexts and contexts with missing fields

    Hi,
    I have been trying to get my head around a UDF for this for a while, but cannot find the solution. I''l start by showing input structure, and expected target structure (subset of an invoice IDoc with 4 line items):
    SOURCE:
    E1EDK01 (0..1)
    E1EDP01
    ---POSEX = 1
    ---E1EDP05
    KOTXT (qualifier) = Z1
    BETRG (amount) = 200,00
    ---E1EDP05
    KOTXT = Z2
    BETRG = 300,00
    ---E1EDP19...
    E1EDP01
    ---POSEX = 2
    ---E1EDP05
    KOTXT = Z1
    ---E1EDP05
    KOTXT = Z2
    BETRG = 400,00
    ---E1EDP19...
    E1EDP01
    ---POSEX = 3
    ---E1EDP05
    KOTXT = Z2
    BETRG = 500,00
    ---E1EDP19...
    E1EDP01
    ---POSEX = 4
    ---E1EDP19...
    TARGET:
    Line
    ---PosId = 1
    ---Price = 200.00
    Line
    ---PosId = 2
    ---Price = N/A
    Line
    ---PosId = 3
    ---Price = N/A
    Line
    ---PosId = 4
    ---Price = N/A
    I want the price from E1EDP05/BETRG where KOTXT = Z1to be set for each line. As you can see the source structure can be split in 4 cases:
    1. for some line items there exist multiple E1EDP05-segments with one of them qualifier Z1 and one corresponding amount field. This is the "perfect" structure and easy to handle.
    2. some line items contains E1EDP05 with qualifier Z1 with no BETRG. Problem-case
    3. some line items contains no E1EDP05-segments with qualifier Z1, but contains other E1EDP05-segments. Can be solved.
    4. some line items contains no E1EDP05-segments at all. Can be solved.
    I need to (I believe) set the context of the KOTXT and BETRG to E1EDP01 since I want one value per line item, irrespective of how many E1EDP05-segments exist per line item. In cases where no value can be found for relevant qualifier (Z1) or no E1EDP05-segments exist for a line item I want a default value to be set (N/A).
    My problem is that all these different cases might occur in the same file, and they mess up the values in each context, leading to wrong BETRG to be picked in some cases (where case 2 exist) since mapWithDefault cannot be used (context contains value for other qualifier).
    Do you know how to handle all these cases?
    Any pseudo-code for an UDF?
    Many thanks for your help!
    Br,
    Kenneth

    Hi Shweta!
    Thanks a lot, your idea didn't completely solve my problem, but pointed me in the right direction and gave me some valuable ideas:)
    For anyone wondering how it is done, I solved it by using your suggested two inputs, along with a third input (constant) which functions as default value for contexts where value-field is missing for a specific qualifier, or in case no segments with desired qualifier exists for a context.
    My mapping now looks like the following (where KOTXT is qualifier and KRATE is value field) for the 3 inputs:
    KOTXT(Context = E1EDP01) \
                                equalsS -->
    Constant(qualifier value) /
    KOTXT(Context = E1EDP05) \
                                equalsS  \
    Constant(qualifier value) /            ifWithoutElse --> removeContexts -->
               KRATE (Context = E1EDP05) /
    Constant(default value) -->
    Then these 3 inputs goes into the following UDF (queue function):
    int j=0;
    boolean contextDone = false;
    for(int i=0;i<a.length;i++)
         if(a<i>.equals("true"))
              if(b[j].equals(ResultList.SUPPRESS))
                   result.addValue(c[0]);
              else
                   result.addValue(b[j]);
              contextDone = true;
              j=j+1;
         if(a<i>.equals(ResultList.CC))
              if (contextDone)
                   contextDone = false;
                   result.addValue(ResultList.CC);
              else
                   result.addValue(c[0]);
                   result.addValue(ResultList.CC);
    This results in a target node created for each context, where context relates to each line item in this case, where each value is either a default value or the value corresponding to the qualifier. This works in all cases where:
    1. there are no segments containing relevant qualifier
    2. there are segments with relevant qualifier, but missing value field
    3. there are segments with relevant qualifier and value field
    Thanks a lot again, Shweta, for guiding me!
    Br,
    Kenneth

Maybe you are looking for

  • How to load the Bitmap file in a HTML report file ?

    Can one help me out in loading a BMP file in a HTML report file.

  • How to unregister apple product from apple id i no longer have access to?

    I just now found out apple the apple id support page. I've been registering my Apple products and when I got to my Macbook I got an error message saying this product is registered to a different apple id. I went ahead and went through the process of

  • 5800 XM Photo Gallery Crash ? Firmware suggession ...

    Hello , in my 5800 XM. The photo Gallery crashes every time in loading thumbnails when browsing. I got more than 100 pics and it keeps crashing when scrolling. Plz tell me if its the latest firmware ( v52.0.07 ) or its my 2 GB external memory or phon

  • ISE Inline Node

    I have an ISE Inline Node that I successfully added to my admin ISE node.  After I added the inline node, I wasn't able to configure it until later.  When I went back to edit the configuration, the admin node says it is not able to communicate with t

  • Exit / BADI that can change PO's price in condition tab

    Hi experts, does any exit enable us to change the price in PO's condition tab? I need to replace the current price with my own price calculation and what's the name of the exit/BADI