Value Field Change

Hi Guys
In CO-PA Repots ABSMG Qty Value filed used upto till date in One report. ABASMG QTY is based on base unit of material Master
For example: i have 5 segments, 4 segments are in TO is base unit, 1 segment is in KG base unit in material master
4 segments sale qty is 100 TO, 1 Segment Sale qty is 100 KG. My total Sales Qty is 100.100 TO
i was developed one report Qty value field is ABSMG, in this report is showing Sales Qty is 200.
Now i was change the Qty Value filed, new Value filed is VV000. this value field is based alternative base unit
and done the custamization CO-PA QTY is TO.
In this new report showing correct sales qty figures from today.
My requirement is Previous sales qty (ABSMG) also convert in TO.
How can it is possiable..
Please provide the soluation
Please helpful on this issue. it is very high priority
Regards
SIVA N

Hi,
To regenerate the PA segments there is a function 'KE4S' for postings from SD. You have to cancel old documents and re-post. Try in your 'Test environment' and read the program <F1 help> for various fields on this transaction to know the impact. If you have too many documents, then please be aware that this option involves two more doument lines.
Please also check the function 'KE4MS' (Store Qty in COPA std.unit of measure) and read the IMG documentation (COPA->Flow of Actual values ->Initial steps). I'm not sure if this can work for past documents...Pls check and post back how it worked.
Hope this helps.

Similar Messages

  • Panel value fields - changing values lost feature

    In previous versions of InDesign, if you clicked into a panel value, e.g., in the Height Field of the Transform Panel, you could then use the up/down arrows to nudge the value in preset increments.  When you used the arrows, this would automatically highlight the value and you could type a value instead of just nudging it. 
    The ability to nudge the value in CS4 still exists, but it no longer highlights the field allowing you to type in a number.
    It is not a big deal, but found this feature very convenient.

    Hi
    Give Reference field to the quantity fields.
    With Regards
    Nikunj Shah

  • Dialogue tick boxes un-hiding all fields, not just the ones where value has changed to true

    I am hoping someone can help me make what I want to happen, happen if certain check boxes are ticked withing the dialogue box
    right now I can see on the console print that the tick box turns the value from false to true but the OK button is also un-hiding all my fields rather than just the ones where the value has turned to true. What am I missing here
    //Create a Dialogue box for staff to state how many of the account owners are in branch in order for the names to show in the signing section
    var Signors =
        result:"cancel",
        DoDialog: function(){return app.execDialog(this);},
        bChk2:false,
        bChk3:false,
        bChk4:false,
        bChk5:false,
        initialize: function(dialog)
            var dlgInit =
                    "Chk2": this.bChk2,
                    "Chk3": this.bChk3,
                    "Chk4": this.bChk4,
            dialog.load(dlgInit);
        commit: function(dialog)
            var oRslt = dialog.store();
            this.bChk2 = oRslt["Chk2"];
            this.bChk3 = oRslt["Chk3"];
            this.bChk4 = oRslt["Chk4"];
        description:
            name: "Signors",
            elements:
                    type: "view",
                    elements:
                            type: "view",
                            char_height: 10,
                            elements:
                                    type: "static_text",
                                    item_id: "stat",
                                    name: "Who is here to sign:",
                                    char_width: 15,
                                    alignment: "align_fill",
                                    font: "dialog",
                                    type: "view",
                                    char_width: 8,
                                    char_height: 8,
                                    align_children: "align_top",
                                    elements:
                                            type: "view",
                                            char_width: 8,
                                            char_height: 8,
                                            elements:
                                                    type: "check_box",
                                                    item_id: "Chk2",
                                                    name: "Primary Applicant",
                                                    type: "check_box",
                                                    item_id: "Chk3",
                                                    name: "Associate 1",
                                                    type: "check_box",
                                                    item_id: "Chk4",
                                                    name: "Associate 2",
                            type: "ok_cancel",
    // did the value change when ticked - lets check
    Signors.bChk2 = false;
    Signors.bChk3 = false;
    Signors.bChk4 = false;
    if("ok" == Signors.DoDialog())
        if (Signors.bChk2 = true)
    getField("Signor1").hidden = false;
    getField("Staff1").hidden = false;
    getField("Date1").hidden = false;
    getField("Date2").hidden = false;
    if (Signors.bChk3 = true)
    getField("Signor2").hidden = false;
    getField("Staff2").hidden = false;
    getField("Date3").hidden = false;
    getField("Date4").hidden = false;
    if (Signors.bChk4 = true)
    getField("Signor3").hidden = false;
    getField("Staff3").hidden = false;
    getField("Date5").hidden = false;
    getField("Date6").hidden = false;
        console.println("Chk2:" + Signors.bChk2);
        console.println("Chk3:" + Signors.bChk3);
        console.println("Chk4:" + Signors.bChk4);
        console.println("Chk5:" + Signors.bChk5);
    //console.println shows if bChk.. is true or false
        console.println("Chk2:" + Signors.bChk2);
        console.println("Chk3:" + Signors.bChk3);
        console.println("Chk4:" + Signors.bChk4);
        console.println("Chk5:" + Signors.bChk5);
    //Yeah, confirmed values have changed, now show fields based on staff input
    //was primary applicant ticked
    doWhatIWant: function(results) {
    if (results [Signors.bChk2] = true)
    getField("Signor1").hidden = false;
    getField("Staff1").hidden = false;
    getField("Date1").hidden = false;
    getField("Date2").hidden = false;
    //was Associate 1 ticked
    if (results [Signors.bChk3] = true)
    getField("Signor2").hidden = false;
    getField("Staff2").hidden = false;
    getField("Date3").hidden = false;
    getField("Date4").hidden = false;
    //was Associate 2 ticked
    if (Signors.bChk4 = true)
    getField("Signor3").hidden = false;
    if (Signors.bChk4 = true)  
    ("Staff3").hidden = false;
    if (Signors.bChk4 = true)
    ("Date5").hidden = false;
    if (Signors.bChk4 = true)
    ("Date6").hidden = false;

    You're missing some curly brackets, using the incorrect equality operator, and using the long deprecated field.hidden property. Try this:
    if ("ok" == Signors.DoDialog()) {
        if (Signors.bChk2) {
            getField("Signor1").display = display.visible;
            getField("Staff1").display = display.visible;
            getField("Date1").display = display.visible;
            getField("Date2").display = display.visible;
        if (Signors.bChk3) {
            getField("Signor2").display = display.visible;
            getField("Staff2").display = display.visible;
            getField("Date3").display = display.visible;
            getField("Date4").display = display.visible;
        if (Signors.bChk4) {
            getField("Signor3").display = display.visible;
            getField("Staff3").display = display.visible;
            getField("Date5").display = display.visible;
            getField("Date6").display = display.visible;
        console.println("Chk2:" + Signors.bChk2);
        console.println("Chk3:" + Signors.bChk3);
        console.println("Chk4:" + Signors.bChk4);
        console.println("Chk5:" + Signors.bChk5);
    I don't know if that will deal with all of the problems, but it's a good start.

  • Fields don't recognize their value has changed when a copy/paste value in inputed

    I'm having a minor hiccup with my copy and paste buttons.
    I have check boxes that, when checked, make other fields visible.  The copy/paste actions recognize when the check box value is 1 and paste accordingly in the new instance of the subform, however, the invisible fields do not become visible, despite the check box value being 1 in the new instance.  I feel like I'm missing something simple....possibly something that forces the scripting within the check box field to run since it is not recognizing that it's value has changed?  If I manually click the check box in the new instance, the scripting works and the invisible fields become visible so I know its not an issue with creating new instances.
    Any suggestions will be appreciated...I am new to this...
    Scott

    Still interested in solving this issue....anyone? please?

  • Changing Value field in COPA

    Hi,
      We have already posted a billing document. The material contains alternative unit of measurement. In the material master the alternative unit of measurement has been maintained wrongly. Due to this the report in copa shows a wrong picture in terms of units sold and the respective COGS for the material. Now we have changed the alternative unit of measurement.
    But how to change the value in the value field. Kindly help me in this regards
    Example: Material 1 Base unit : M2, Sale unit PC. Alt UOM wrongly maintained: 1 pc = 100 M2. Sold qty = 10 Pc, sold qty in Base unit : 1000 M2. Actual UOM : 10 PC = 100 M2, Actual old qty : 10 PC , 100 M2. 
    Regards

    Hi Vasantha,
    For this you can do manually cancel copa line item by using
    T CODE- KE4S00 ofter you post line item correctly (please maintain correct alternative unit of measurement )by using
    T CODE - KE21n .
    K.Satish
    With this method you will delete CO-PA line item and you will loose connection to the original billing document.
    Tapio

  • Changing value fields in COPA

    Hello,
    I want to change :
    - the text description for 2 value fields in COPA.
    - These value fields are assigned to the value field group Z002 (in the T code KEVFG), and I want to change this assignment
    by linking them to the value field group Z001.
    These 2 value fields are not any more used for 2 years. Can this change have a lot of impact in the production system?. Shall I need to generate again the operating concern after these changes?
    Thanks in advance
    Barondra BERGET

    Hi,
    If you want to change the description of a characteristic
    or value field you must change the descriptions of the related
    data element.
    Therefore you need to perform the following steps:
    1. In KEA5 / KEA6, type in the name of the characteristic/
       value field and click on the create / change button
    2. On the next screen, double click on the data element of your
       characteristic/value field
    3. On the 'Display Data Element' screen, click on the tab strip
       "Field label".  You can see the four field lables short, medium, long
       and heading.  You should change all four field labels and then
       regenerate the data element.  After having done this you may have to
       to regenerate the characteristic/value field and the operating
       concern.
       I hope this answers your query. If so please close this message by
    pressing the confirm button. Else do not hesitate to get back for more
    clarifications.
    Kind Regards,
    Abhisek Patnaik,

  • How to Change the Value Field Type of a Value Field

    Hi,
    How can I change the value field type from Currency to Quantity of a value field? I have tried to do it in KEA6. I can change the value field and its description, but not the value field type from currency to qty. If I change this config, is there any other changes that I need to make so there is no side issue of this change?

    Hi Prem,
    Once you created value field as quantity or currency, you can not change this nature of value field. Based on this, system creates lots of data and tables. For this reason system will not allow any changes in quantity or currency.
    Alternative way is to remove the old value field and  create a new value field assign to operating concern and put all your seetings.
    Please let me know if you require any clarifications.
    Thank you,
    Regards,
    Santosh
    Reward points if helpful.

  • Field Values being changed in the flat file on Application Server

    Hi All,
    I am loading a flat file(.CSV) from Application server. The file has some characteristic fields, for ex: CNUM of type Char, length 20. But it has got the value which is of 10 char length, say XYZ1234XAB. When I load the same fiel from client workstation, the load was successful but when I load it from Application server, the load has failed and the error is Invalid/Hex. characteristics for this record and many such records.
    When I checked the file on the application server the value 'XYZ1234XAB' is being displayed as 'XYZ1234XAB   #' and it is also being loaded with '#'. This is the cause of the error.
    Why is the value being changed on the application server? What can I do to overcome this?
    Thanks,
    RPK.
    Message was edited by:
            RPK

    Hi Ganesh,
    I have already loaded data to my ODS and when activating it is giving error "Value 'XYZ123XABC   #' (hex. '123456....') of characteristic CNUM contains invalid chara".
    I also have some lower case char in some of the records for the same field. The file is huge and cannot change the file, infact I have many such files. Is there any other way to overcome this?
    Thanks,
    RPK

  • Change the Condition type to Value Field Assignment in KE4I

    Hi All,
    I have a requirement where a condition type which has been assigned to a Value Field needs to be changed/re-assigned to a different value field.
    There are already some postings into the current value field.
    How can I handle these postings once I change the assignment in KE4I.
    Please help me.
    Thanks in advance,
    erp.warrior.

    Hi
    Once you change in KE4I - It would impact only the subsequent postings... Historical postings wont be impacted...
    If you want to impact them as well - Follow one of these 2 approaches
    a. Then reverse the billing documents which have posted to this Value Field.... Change KE4I and post them again...
    b. Do a KE21N upload i.e. a -ve amount on the Old value field and a +ve amount on the new value field
    Regards
    Ajay M

  • To change User defined Value field from Amount to Quantity in COPA

    I have created a created a User defined Characteristics VV930 - Number of labor hours.  While creating, i wrongly assigned the chategory Amount instead of Quantity.
    Now when i am trying to change it is giving me errors.
    Also it is not allowing to delete and recreate the new VV930 with category as Quatity.
    No data is posted in COPA.

    Hi Rupesh
    1. Remove it from your COPA data structure in KEA0... Shift it from Left to right in data structure screen... Then try to delete it
    2. Else, reserve this Value Field for future use and change the name as of now to XXXXXX...Create a new Qty Field for your use now.
    Regards
    Ajay M

  • ADF create form : change value fields

    Hi all,
    I have a create form:
    first problem
    one field is an ID known by my backing bean
    <af:form>
            <af:panelFormLayout>
              <af:inputText value="#{bindings.Mpr.inputValue}"
                            label="#{bindings.Mpr.hints.label}"
                            required="#{bindings.Mpr.hints.mandatory}"
                            columns="150"
                            maximumLength="#{bindings.Mpr.hints.precision}"                       
                            shortDesc="#{bindings.Mpr.hints.tooltip}"
                            clientComponent="true">
                <f:validator binding="#{bindings.Mpr.validator}"/>
                <af:convertNumber groupingUsed="false" pattern="#{bindings.Mpr.format}"/>
                <af:clientListener method="getMpr" type="mouseOver"/>
                <af:serverListener method="#{backing_main.remplirChampMprCreerNote}" type="seekMPR"/>
              </af:inputText>I would like that when my page appears this value field *#{bindings.Mpr.inputValue}* be filled by this one *#{backing_bean.myID}* .
    second problem
    I have 3 richTextEditor who provide auto-completion (If you type ADF and then *<ctrl+space>*, ADF would be replaced by Application Developpement Framework thanks to a bean)
    It works outside a create form . Inside a create form the problem is when calling my bean I have a validator alert who say "you must enter a value" and my Component's value is reseted..
    Does someone knows these problems ?
    Thanks,
    valéry.

    Hello simply,
    I have an af:form generated by a viewObject's drag and drop, the automatically generated code use bindings, I just replace 3 af:inputText by 3 af:richTextEditors and I add the listeners for <ctrl+space> event.
    here is the JSF page :
        <f:view>
        <af:document title="une note au dossier médical">
        <af:messages/>
                            <f:verbatim>
                <![CDATA[       
                <script language="javascript" type="text/javascript">
                var comp;
                var target;
                var prevKey;
                var curKey=0;
                function wysiwygKeyPress(event) {
                    prevKey = curKey;               
                    curKey = event.keyCode;
                    var wysiwygValue="";
                    if(prevKey==17 && curKey==32)   // CTRL + espace
                        var richTextEditor = comp; //wysiwygmode
                        if (target.contentWindow.document.attachEvent){   //IE specific
                             if(target.contentWindow.document.body.firstChild.innerHTML)
                                wysiwygValue = target.contentWindow.document.body.firstChild.innerHTML;
                             else
                                 wysiwygValue = target.contentWindow.document.body.innerHTML;
                          else {     //FF specific
                             wysiwygValue = target.contentDocument.body.firstChild.textContent;
                        AdfCustomEvent.queue(comp, "customEvent",{value1:wysiwygValue}, true);
                function rteMouseOver(event) {
                    comp = event.getSource(); //helper function
                    target = event._target;
                    //IE could not find the event._target
                    var clientId = comp.getClientId()  + "::cont";
                    var iframe = document.getElementById(clientId);
                    if (iframe.contentWindow.document.attachEvent) { //IE
                       target = iframe;
                       //IE uses attachEvent
                       iframe.contentWindow.document.attachEvent('onkeydown', function() { wysiwygKeyPress(iframe.contentWindow.event); });
                    else {
                    //FF uses addEventListener
                      iframe.contentWindow.addEventListener('keydown',wysiwygKeyPress, true);
                </script>
                ]]>
            </f:verbatim>
          <af:form>
            <af:panelFormLayout>
              <af:inputText value="#{bindings.Mpr.inputValue}"
                            label="#{bindings.Mpr.hints.label}"
                            required="#{bindings.Mpr.hints.mandatory}"
                            columns="150"
                            maximumLength="#{bindings.Mpr.hints.precision}"                       
                            shortDesc="#{bindings.Mpr.hints.tooltip}"
                            clientComponent="true"
                            >
                <f:validator binding="#{bindings.Mpr.validator}"/>
                <af:convertNumber groupingUsed="false" pattern="#{bindings.Mpr.format}"/>
              </af:inputText>
              <af:inputText value="#{bindings.Commentaire.inputValue}"
                            label="#{bindings.Commentaire.hints.label}"
                            required="#{bindings.Commentaire.hints.mandatory}"
                            columns="150"
                            maximumLength="#{bindings.Commentaire.hints.precision}"
                            shortDesc="#{bindings.Commentaire.hints.tooltip}"
                            >
                <f:validator binding="#{bindings.Commentaire.validator}"/>
              </af:inputText>
              <af:spacer width="19" height="17"/>
              <af:richTextEditor value="#{bindings.Observation.inputValue}"
                                 label="#{bindings.Observation.hints.label}"
                                 required="#{bindings.Observation.hints.mandatory}"
                                 columns="150"
                                 shortDesc="#{bindings.Observation.hints.tooltip}"
                                 clientComponent="true">
                    <af:clientListener type="mouseOver" method="rteMouseOver"/>
                    <af:serverListener type="customEvent" method="#{backing_main.ctrlSpaceHandler}"/>
              </af:richTextEditor>
              <af:spacer width="15" height="22"/>
              <af:richTextEditor value="#{bindings.Traitement.inputValue}"
                                 label="#{bindings.Traitement.hints.label}"
                                 required="#{bindings.Traitement.hints.mandatory}"
                                 columns="150"
                                 shortDesc="#{bindings.Traitement.hints.tooltip}"
                                 clientComponent="true">
                    <af:clientListener type="mouseOver" method="rteMouseOver"/>
                    <af:serverListener type="customEvent" method="#{backing_main.ctrlSpaceHandler}"/>
              </af:richTextEditor>                            
              <af:spacer width="17" height="18"/>
              <af:richTextEditor value="#{bindings.Conclusion.inputValue}"
                                 label="#{bindings.Conclusion.hints.label}"
                                 required="#{bindings.Conclusion.hints.mandatory}"
                                 columns="150"
                                 shortDesc="#{bindings.Conclusion.hints.tooltip}"
                                 clientComponent="true">
                    <af:clientListener type="mouseOver" method="rteMouseOver"/>
                    <af:serverListener type="customEvent" method="#{backing_main.ctrlSpaceHandler}"/>
            </af:richTextEditor>                            
            </af:panelFormLayout>
            <af:commandButton text="Sauvegarder la note"
                              action="#{backing_main.creerNote}"/>
          </af:form>
        </af:document>
      </f:view>A pageDef file is automatically created :
    <pageDefinition xmlns="http://xmlns.oracle.com/adfm/uimodel"
                    version="11.1.1.52.5" id="ajoutNote3PageDef"
                    Package="viewcontroller.pageDefs">
      <parameters/>
      <executables>
        <iterator Binds="TmpnoteView1" RangeSize="25"
                  DataControl="AppModuleDataControl" id="TmpnoteView1Iterator"/>
        <invokeAction Binds="Create" id="invokeCreate" Refresh="prepareModel"
                      RefreshCondition="${!adfFacesContext.postback and empty bindings.exceptionsList}"/>             
      </executables>
      <bindings>
        <attributeValues IterBinding="TmpnoteView1Iterator" id="Mpr">
          <AttrNames>
            <Item Value="Mpr"/>
          </AttrNames>
        </attributeValues>
        <attributeValues IterBinding="TmpnoteView1Iterator" id="Observation">
          <AttrNames>
            <Item Value="Observation"/>
          </AttrNames>
        </attributeValues>
        <attributeValues IterBinding="TmpnoteView1Iterator" id="Traitement">
          <AttrNames>
            <Item Value="Traitement"/>
          </AttrNames>
        </attributeValues>
        <attributeValues IterBinding="TmpnoteView1Iterator" id="Conclusion">
          <AttrNames>
            <Item Value="Conclusion"/>
          </AttrNames>
        </attributeValues>
        <attributeValues IterBinding="TmpnoteView1Iterator" id="Commentaire">
          <AttrNames>
            <Item Value="Commentaire"/>
          </AttrNames>
        </attributeValues>
        <action IterBinding="TmpnoteView1Iterator" id="Create"
                RequiresUpdateModel="true" Action="createRow"/>
        <action id="Commit" RequiresUpdateModel="true" Action="commitTransaction"
                DataControl="AppModuleDataControl"/>
      </bindings>
    </pageDefinition>I add to this form a create button and a commit button, you could see it in the pageDef :
    <action IterBinding="TmpnoteView1Iterator" id="Create"
                RequiresUpdateModel="true" Action="createRow"/>
    <action id="Commit" RequiresUpdateModel="true" Action="commitTransaction"
                DataControl="AppModuleDataControl"/>I call these actions in the bean creerNote called by my submit buton:
    public String creerNote() throws IOException {
            // --- modify fields to remove some html tags --- //
            // --- 1. get EL context --- //
            FacesContext facesContext = FacesContext.getCurrentInstance();
            Application app = facesContext.getApplication();
            ExpressionFactory elFactory = app.getExpressionFactory();
            ELContext elContext = facesContext.getELContext();
            // --- 2. get ExpressionValues --- //
            ValueExpression valueExpObserv = elFactory.createValueExpression(elContext, "#{bindings.Observation.inputValue}", String.class);
            ValueExpression valueExpConcl = elFactory.createValueExpression(elContext, "#{bindings.Traitement.inputValue}", String.class);
            ValueExpression valueExpTrait = elFactory.createValueExpression(elContext, "#{bindings.Conclusion.inputValue}", String.class);
            // --- 3. get String values --- //
            String texteObserv = (String)valueExpObserv.getValue(elContext);
            String texteConcl = (String)valueExpConcl.getValue(elContext);
            String texteTrait = (String)valueExpTrait.getValue(elContext);
            // --- 4. remove some html tags --- //
            texteObserv = texteObserv.replaceAll("<p>","");
            texteObserv = texteObserv.replaceAll("</p>","");
            System.out.println("[Main.java] CreerNote > observations après traitement : "+texteObserv);
            texteConcl = texteConcl.replaceAll("<p>","");
            texteConcl = texteConcl.replaceAll("</p>","");
            System.out.println("[Main.java] CreerNote > conclusions après traitement : "+texteConcl);
            texteTrait = texteTrait.replaceAll("<p>","");
            texteTrait = texteTrait.replaceAll("</p>","");
            System.out.println("[Main.java] CreerNote > traitements après traitement : "+texteTrait);
            // --- set new values --- //
            valueExpObserv.setValue(elContext, texteObserv);
            valueExpConcl.setValue(elContext, texteConcl);
            valueExpTrait.setValue(elContext, texteTrait);       
            // --- set mpr field --- //
            ValueExpression valueExpMPR = elFactory.createValueExpression(elContext, "#{bindings.Mpr.inputValue}", String.class);
            valueExpMPR.setValue(elContext, getMprSelected());
            // --- call the create pageDef's action --- //
            bindings = getBindings();
             OperationBinding operationBinding = bindings.getOperationBinding("Create");
             operationBinding.execute();    
            // --- call the commit pageDef's action --- //
            bindings = getBindings();
            operationBinding = bindings.getOperationBinding("Commit");
            operationBinding.execute();       
            return "Abrev";
    }As you know, If I type <ctrl+space> I call the method ctrlspaceHandler who change the value of the component.
    public void ctrlSpaceHandler(ClientEvent clientEvent) {
            // --- get applicationModule --- //
            if(am==null)
               setAm();
            // --- get myViewObject --- //
            ViewObjectImpl mesAbrev = am.getThesaurusVO1();
            ViewCriteria vc =  mesAbrev.createViewCriteria();
            ViewCriteriaRow vcRow = vc.createViewCriteriaRow();
            // --- get richTextEditor's last word without html tags--- //
            RichTextEditor rte = (RichTextEditor) clientEvent.getComponent();
            String texte = (String)clientEvent.getParameters().get("value1");
            System.out.println("[Main.java] ctrlSpaceHandler > valeur du rte via rte.getParameter: "+texte);
            int indiceDernierMot = texte.lastIndexOf(" ");
            indiceDernierMot++;
            String abr = texte.substring(indiceDernierMot).toUpperCase();
            abr = abr.replaceAll("<BR/>",""); abr = abr.replaceAll("<br>","");
            abr = abr.replaceAll("</P>",""); abr = abr.replaceAll("</p>","");
            abr = abr.replaceAll("</FONT>",""); abr = abr.replaceAll("</font>","");
            abr = abr.replaceAll("</SPAN>",""); abr = abr.replaceAll("</span>","");                                           
            System.out.println("[Main.java] ctrlSpaceHandler > abréviation recherchée : "+abr);
            // --- add a criteria to my viewObject --- //
            vcRow.setAttribute("Msgcourt", "like '"+abr+"'");
            vc.addElement(vcRow);
            mesAbrev.applyViewCriteria(vc);
            // --- seek the abbreviation --- //
            mesAbrev.executeQuery();
            // --- get row found --- //
            Row row = null;
            while(mesAbrev.hasNext())
                row = mesAbrev.next();
                System.out.println("[Main.java] ctrlSpaceHandler > ligne trouvée : "
                               +row.getAttribute("Spr") +" - "
                               +row.getAttribute("Msgcourt")+" - "
                               +row.getAttribute("Msglong"));
            // --- if found --- //
            if(row!=null)
                // --- get abbreviation's detail --- //
                String detail = (String)row.getAttribute("Msglong");       
                System.out.println("[Main.java] ctrlSpaceHandler > message long = "+detail);
                // --- replace abbreviation by detail in the text and update graphical component --- //
                texte = texte.replaceAll(abr.toLowerCase(), detail);
                texte = texte.replaceAll(abr.toUpperCase(), detail);
                rte.setValue(texte);
                RequestContext.getCurrentInstance().addPartialTarget(rte);
    }When debug I see all my method bean works fine.
    But as result on the form I have a message who say "first enter value", I can bypass this problem if I remove all richTextEditor's required attributes. Biggest problem is that my richText component is cleared after ctrl+space... My test with a richTextEditor bind to a bean was OK, the only difference here is my richTextComponents uses bindings with pageDef.
    Thank you,
    Valéry

  • Value of the input field changing automatically on click of enter

    I  was trying to write a simple report that has a single input field with a f4 help for a directory browser attached. the input field  can only be filled using the f4 help ( achieved through function module DYNP_VALUES_UPDATE) . The problem is after the input field is populatd if i click on enter or press f8 the text in the input field changes automatically. Please can anyone find the reason for this behaviour and provide a solution .Thanks in advance.report code attached.
    Regards,
    Kiran A.
    REPORT  zpgm_md61_error1.
    PARAMETERS: p_file TYPE string MODIF ID abc LOWER CASE .
    DATA: dyname TYPE programm,
          dynumb TYPE sy-dynnr.
    DATA: dynpfields TYPE TABLE OF dynpread WITH HEADER LINE.
    DATA: lv_folder TYPE string,
          sel_folder TYPE string.
    AT SELECTION-SCREEN OUTPUT.
      PERFORM disable.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
      CALL METHOD cl_gui_frontend_services=>directory_browse
        EXPORTING
          initial_folder       = lv_folder
        CHANGING
          selected_folder      = sel_folder
        EXCEPTIONS
          cntl_error           = 1
          error_no_gui         = 2
          not_supported_by_gui = 3
          OTHERS               = 4.
      dynpfields-fieldname = 'P_FILE'.
      MOVE sel_folder TO dynpfields-fieldvalue.
      APPEND dynpfields.
      CALL FUNCTION 'DYNP_VALUES_UPDATE'
        EXPORTING
          dyname     = dyname
          dynumb     = dynumb
        TABLES
          dynpfields = dynpfields.
    FORM disable.
      LOOP AT SCREEN.
        IF screen-group1 = 'ABC'.
          screen-input = '0'.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
    ENDFORM.                    "dISABLE

    Hello Kiran,
    This is because you've defined the field as TYPE STRING.
    Change the declaration & the problem should be solved:
    PARAMETERS: p_file TYPE dynfieldvalue MODIF ID abc LOWER CASE .
    BR,
    Suhas

  • Change description of value fields and segment level chars in prod system

    Hi
    1 . We would like to change the description of some value fields.... We would like to know whether the change has to be carried out directly in the production client by opening the client using SCC4 or we should change the description in development client and transport it to production...
    We are afraid that if we transport the operating concern again from dev to production system using KE3I, it may affect the transaction data which is already lying in the production system
    2. We would also like to create and include some new fields as Segment level characteristics in COPA... What is the proces for the same and whether the same has to be done directly in production or transported from dev client
    3. Some value fields which were copied in our operating concern from a template of Air line Industry, are not suitable to oour business. So we are trying to change their description.. But SAP does not allow to change the description of thes value fields..
    Only those value fields which were created by us starting from VV***, can be changed.. Description of those delivered from the template, cant be changed. What is the process of doing the same
    Regards
    Ajay Maheshwari

    Hi
    When the Operating concern was copied from Airline Industry, many standard chars which are not applicable to Airline Industry were not copied.... For eg: Material group 1 to 5... These are std fields of Mat master which normally exist in Operating concern when I used to create it manually.... Many other chars reqd by the business are not available
    Someone else copied it using Airline template and many reqd chars are not available at all... I have the option of creating User defined chars for it and write a derivation rule to populate it... 
    Though COPA is active, my client does not use it as of now in ECC 5.0.. They would like to use it post ECC 6.0.. So, I thought its better to start afresh than carrying forward the mistakes done by someone else.. They are OK with this model, but I wanted to be sure what all issues can be faced due to this
    Regards
    Ajay Maheshwari

  • Exit EXIT_SAPLKEII_002 in profibility Analysis to change value fields

    Hello,
    I want to change some of the value fields in the records which are produced in the CO-PA with
    the user exit EXIT_SAPLKEII_002.
    The problem is that the table interface table T_ACCCR_PA which is for the "FI/CO document: CO-PA segment" is not filled with the generated records.
    How can I change the value fields in co-pa in the user-exit than? Do I have to generate these
    records myself?
    Thanks.
    Regards, Lars.

    Hi,
    Welcome To SDN!!
      use enhancement COPA0001 , component EXIT_SAPLKEDRCOPA_001
    Regards
    Kiran Sure

  • Issue in Creation of new Value Field in CO-PA

    Hi,
    I have a query in CO-PA Value Field Linking.
    In my Development Client,
    1. Created a New Value Field (No Transport Request Generated)
    2. Linked to the above to new Conditon type created in SD. (Tranport request was generated) i.e. in Flow of Actual Values->Transfer of Billing Documents->Assign Value Fields
    However then i try creating a new Value Field in my Production Client it throws a message 'You have no authorization to change Fields".
    Is this an issue with authorization or i need to transport the Value field too from Development to Production client.
    Please Advise.
    Thanks in Advance,
    Safi

    Thanks Phaneendra for the response.
    The creation of Value field did not create any tranportation request. Will this too be transported if i transport the Operating Concern.
    Please Advise.
    Thanks,
    Safi

Maybe you are looking for

  • Open Item Clearing Process

    Can anyone give a quick overview of the open item clearing process?  Also, can anyone give me an idea of the differences between F-03, FBRA, and F.13 t-codes in regards to how they work in the system?  Any limitations around what can be cleared and w

  • Control problem

    I create a swf by Flash locally which point to a flv in a remote flash media server, FLVplayback component included, it work fine locally. Uploaded to FMS3, played without the control problem, such as Play/Pause, seek bar. Is it something I need to c

  • Cant hear music through dock..new ipod, current model

    Hi all, I cant hear any music through any dock I have in the house.  Headphones is fine.  I have four adaptors from old dock to new ipod and none work...what's going on...should I reset?

  • Do we need a separate license for using Apps adapter (shippd with SOAsuite)

    This message was posted in the adapters forum. Oracle Applications Adapter Licensing Reposting here Oracle Product Licensing is so complex that I need to like to have some guidance from fellow SOA users. 1) Can anybody tell me how is Oracle Applicati

  • Call Code Module which uses Dll

    I have a CVI .c file that has a function using a DLL. When run from CVI, it works perfectlly Then I use TestStand to call the same function. When I comment out the DLL call ---> it works fine! However, when I use the DLL, the error show up (as the at