Payroll Form - Changes

Hello Gurus,
Can anybody help me on my previous post. Since I was not able to reply to the thread so I had copied the complete thread & pasted it below.
As Mr. Zippo said, can somebody elaborate on implementing the formula & calculation.
Best Regards
Bhagwat
Payroll Form - Changes  
Posted: Aug 8, 2008 3:36 PM       E-mail this message      Reply 
Hello Gurus,
Please help me in this.
I want a field in the PE51 form, where it should have a field called NO. OF DAYS PRESENT. The field value should be no. of days he should be applicable for Pay. e.g. If he had taken 5 days off in a month, then the no. of days should be 25 in a 30 day month & 26 in a 31 day month.
Please reply ASAP as I'm in a project & touching the deadline.Adequate point will be provided.
Marcello Lanzon...  
Posts: 70
Registered: 1/28/08
Forum Points: 138 
Solved problem (10)
Very helpful answer (6)
Helpful answer (2)
   Re: Payroll Form - Changes  
Posted: Aug 8, 2008 3:58 PM    in response to: Bhagwat Mondal       E-mail this message      Reply 
Hi Bhagwat!
I think this documentation can solve your isue. Can you try?
http://help.sap.com/erp2005_ehp_03/helpdata/EN/60/d8bc36576311d189270000e8322f96/content.htm
http://help.sap.com/erp2005_ehp_03/helpdata/EN/5e/af4aee901a11d2a6120000e83ddb11/content.htm
http://help.sap.com/erp2005_ehp_03/helpdata/EN/a6/d1be97932c11d2a6140000e83ddb11/content.htm
http://help.sap.com/erp2005_ehp_03/helpdata/EN/a6/d1be94932c11d2a6140000e83ddb11/content.htm
http://help.sap.com/erp2005_ehp_03/helpdata/EN/a6/d1be94932c11d2a6140000e83ddb11/content.htm
Creating or Changing FORMS
http://help.sap.com/erp2005_ehp_03/helpdata/EN/a1/9ef9f87ae811d2a5fa0000e83ddb11/content.htm
http://help.sap.com/erp2005_ehp_03/helpdata/EN/60/d8bf69576311d189270000e8322f96/content.htm
Regards and good luck!
ML
Arti Lohar  
Posts: 219
Registered: 11/23/06
Forum Points: 422 
Solved problem (10)
Very helpful answer (6)
Helpful answer (2)
   Re: Payroll Form - Changes  
Posted: Aug 8, 2008 6:41 PM    in response to: Bhagwat Mondal       E-mail this message      Reply 
Hi Bhagwat,
As far as I know, I dont think there is any standard provided to get the number of days worked in PE51.
Of course you can write a custom rule in schema to get the hours worked based on the time sheet days and get the number of days worked in RT Table and then use them on PE51.
But I would suggest you to go with ANZHL i.e. number of hours worked..
Let me know.
Arti
Bhagwat Mondal  
Posts: 20
Registered: 4/3/08
Forum Points: 0 
   Re: Payroll Form - Changes  
Posted: Aug 11, 2008 2:42 PM    in response to: Bhagwat Mondal       E-mail this message      Reply 
Thanx a lot Arti,
I had already tried it but I'm getting only Total number of hours worked by that employee. Whereas I need the exact number of days that employee had worked for that month, including the sundays as the sundays are also paid. Specifically I need the number of days.
Please Gurus help me in this.
Regards
Bhagwat
zippo zhao  
Posts: 20
Registered: 1/29/07
Forum Points: 14 
Solved problem (10)
Very helpful answer (6)
Helpful answer (2)
   Re: Payroll Form - Changes  
Posted: Aug 11, 2008 7:31 PM    in response to: Bhagwat Mondal       E-mail this message      Reply 
If the shifts are all the same duration( like 8 hours per day), you may take a workaround, use formula : working days=total working hours / working hours per day.
Bhagwat Mondal  
Posts: 20
Registered: 4/3/08
Forum Points: 0 
   Re: Payroll Form - Changes  
Posted: Aug 12, 2008 10:37 AM    in response to: zippo zhao     Edit      E-mail this message      Reply 
Thanx for ur instant reply,
But the thing is I have 6 days working. In those 6 days, 5 days is 8 hrs & Saturday is only 6 hrs working.
Your formula can be implemented if I have an uniform working hours shift.Since we have a slight deviation here, we have to change the formula a bit.
Could u also please tell me how to implement the formula & also bring into calculation into SAP.
Please also suggest me if there is any other way out.
Regards
Bhagwat

done it myself

Similar Messages

  • Payroll area change is not possible

    Hi,
    When we are doing promotion action, i.e, one paryoll area to another paryoll area, In actions whatever the date we are giving is taking, but when come to org assignment it is not allowing to save with that date  and throwing error " payroll area change is not possible at the end of payroll period"
    For example: In Actions start date is 04.01.2010, in org assign is not allowing to save the entry with that date, but if we give 01.01.2010, it is allowing to save the record. As paryroll period is starting of the month to end of the month, that is the reason it allowing the start date of the month in org assign, but user wants the record from his desired date..
    Please help me on the issue.
    Thanks & Regards
    Kumar

    Hi Kumar,
    Mid-payroll payroll area change is allowed for only a few countries including:
    Canada (country grouping 07), the United States (10), South Africa (16), Mexico (32), Taiwan (42), Finland (44), and Spain (04)
    Please check the notes below for further reference:
    1104733
    849363
    744563
    Regards,
    Dilek

  • How to publish infopath list form changes from one environment to another

    How can we move InfoPath customized list form changes from one environment to another example Development environment to UAT environment? We can save that as source file and update url on the .xsn file. But is there any other way we can do it?
    Rajasekar A.C

    Hi,
    You can save the list as template in source environment. Download the template for List Templates, upload in the same location in Destination site. The customized infopath should go with it. Let us know if that doesnt work.
    Regards, Kapil ***Please mark answer as Helpful or Answered after consideration***

  • Detect Form Change

    Hello Everyone.
    I'm using Apex 4.0.1 against Oracle 10.2.0.5 on Linux.
    I created an Apex form in which I included the following JQuery code that detects changes to fields or drop downs on the form. Note that I got this code from a previous Forum post contributed by someone named Vee in this Forum.
    $('#RSID1').find('input,select').change( function(){
       $s('P120_FORM_CHANGED','Y');
    if (document.getElementById('P120_FORM_CHANGED').value == 'Y') {apex.confirm(htmldb_cancel_message,'EXITPAGE');}This code resides in the "Execute When Page Loads" section of the form page. And it works fine. If I attempt to change any field on the form and then, subsequently, click the "Cancel" button on the form page, the form page variable P120_FORM_CHANGED is set to "Y". Then the javascript "if" statement checks the value of this page variable. If it is set to "Y", then the following Apex confirmation message appears:
    The form has changed.  Continue Cancelling?The problem I'm having is that, prior to the "apex.confirm" confirmation dialogue window even appears, I see all of the form field values revert back to their pre-change state. And so, even before the confirmation dialogue window appears, the user's form changes are "lost". If the user subsequently clicks the "OK" button displayed in the confirmation popup dialogue window, control returns to the previous page. This works as expected. In this case, of course, it doesn't matter that the form modifications were "lost".
    Unfortunately, when the user clicks the "Cancel" button on the confirmation popup dialogue window, the user is left on the same form page (which is what it is expected to do) but with all of the form fields back to their pre-modification values.
    I suspect the problem I'm having is somewhere within the above JQuery itself.
    Would someone be able to help me figure out why the user's form changes are always being reverted back to their pre-change values even before the confirmation dialogue window appears?
    Thank you very much for any help on this.
    Elie

    Have you tried using this plugin:
    http://www.apex-plugin.com/oracle-apex-plugins/dynamic-action-plugin/skillbuilders-save-before-exit_43.html
    there, you can define exceptions easily.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.apress.com/9781430235125
    http://apex.oracle.com/pls/otn/f?p=31517:1
    http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
    -------------------------------------------------------------------

  • Direction of Text in Forms Changed Strangely?

    Dear All
    I develop an application by default and its Direction was from LEFT to RIGHT in all data fields- as Engish writing default direction.
    After 2 months successful implemention and running on a PC, the direction of Text writing into all fields and in all forms changes strangely and it now take input from RIGHT TO LEFT?
    Can anyone help me to resolve this problem? where the things gone wrong? what i have to do now? what to modify?
    I do have more than 20 Forms and so hundreds fields there?
    Lookng forward ur urgent help.

    This is going to sound like a really obvious question but what have you changed since it started to do this?
    My guess would be some sort of NLS setting in Forms or in the O/S - does this happen to any other applications? What about a brand new Form; do you get the same. If you are running on the web does it change if you use a different browser?
    REgards
    Grant ROnald
    Forms Product Management
    http://www.groundside.com/blog/content/GrantRonald/

  • ESS form change permanent address - how to modify text?

    We would like to change the default / delivered  text in the SAP delivered ESS form "Change Permanent Address".
    Currently it seems to translate very poorly from German to English.
    How do we alter the "change permanent address" text...specifically the part that that reads"  ... in so10? 
    "FORM AREA FOR EMPLOYEE" ...
    Thanks,
    Matt

    solved.
    found change of address form id here:
    http://help.sap.com/erp2005_ehp_05/helpdata/en/45/619a91e2d01feee10000000a1553f7/frameset.htm
    entered into SFP transaction (installed adobe life cycle manager).
    opened ISR_HRASR_SHAD, MADE changes.

  • Mid month payroll area change

    Hi,
    i am at the client site and I have been asked to change the payroll area of few employees in the system but system is not allowing me to do that.
    What is the best possible solution so that i can change the payroll area so that the changes are reflected in the payroll cycle of the same month?
    Regards
    Aryan

    For this ,
    You need to log in SAP system
    Once you log in the system then give the TCODE PA30  ( Maintain HR DATA )
    Once that screen has appier then you need to give the PERNR No for whome you need to change the Payroll Area.
    Give the PERNR No.
    Give the infotype 001 ( Organizational Assignment ) and click up on the change ......
    Once you get Screen "Change Orgnazation Assigment"   you can see the field "Payr.area" give the appropriate Payr.area and save .............
    Like this you can change the Payr.area for the Personal NO

  • Dunning form - change field data in STD form

    Dear all,
      I have a request for dunning form (ex.F150_DUNN_01).If I want to get data which can't get from table/structure MHND,F150x(ex. Sales order).I want to make a code in text element like:
    /:  SELECT * FROM VBRP WHERE VBELN = &BKPF-XBLNR&
    Is it possible to do this? else I will need to change dunning program to add this selection code...right?
    BR
    Regina

    I know that you can't do a SELECT statement in the sapscript form.  You can however do a PERFORM statement.
    You can call a subroutine of a program passing values to it and getting values back out. 
    In the sapscript.....
    /:   PERFORM 'NOT_PICKED' IN PROGRAM 'ZSD_RVADIN01'               
    /:   USING &VTRLK-VBELN&.                                         
    /:   USING &VTRLP-POSNR&                                          
    /:   CHANGING &WK_NOT_PICKED&                                     
    /:   ENDPERFORM                                                   
    Notice that the sapscript form is sending VBELN and POSNR
    and getting back WK_NOT_PICKED.
    In the program......
    form not_picked tables co_sym_using   structure itcsy
                           co_set_symbols structure itcsy.
    * Pass from layout set
      clear: wk_vtrlk_vbeln, wk_vtrlp_posnr,
    * Pass to layout set
             wk_not_picked.
    * get value of variable &VTRLK-VBELN&
      read table co_sym_using with key name = 'VTRLK-VBELN'.
      check sy-subrc eq 0.
    * convert into alpha format  (Not necessary all 10 characters used)
      wk_vtrlk_vbeln = co_sym_using-value.  "( need zero's )
      call function 'CONVERSION_EXIT_ALPHA_INPUT'
           exporting
                input  = co_sym_using-value
           importing
                output = wk_vtrlk_vbeln
           exceptions
                others = 1.
      check sy-subrc eq 0.
    * get value of variable &VBDPR-POSNR& (INVOICE Item#)
      read table co_sym_using with key name = 'VTRLP-POSNR'.
      check sy-subrc eq 0.
      wk_vtrlp_posnr = co_sym_using-value.
    * Send out "NOT"
          wk_not_picked = 'NOT'.
    **  transfer variable &WK_NOT_PICKED&
      read table co_set_symbols index 1.
      co_set_symbols-value = wk_not_picked.
      modify co_set_symbols index 1.
    endform.                    " NOT_PICKED
    Regards,
    Rich Heilman

  • DW CS6, two column table in form, changing font size in 1st col and can't change in 2nd

    In DW CS6, I made a two column table in a form for label/data.  I reduced the font size in the 1st col (label) from 12 to 10px but can't change in 2nd col  (data).

    Give data an ID or Class name and style it with CSS. 
    For better answers, we need to see your code.
    Nancy O.

  • Hyperion Planning form change not flowing through to Smart View

    Hyperion Planning 11.1.2 and Smaer View 11.1.2.
    I have a user that installed SV yesterday but has been using planning for years. I made a change on his planning form (just added an account) and he does not see this change in smart view. However, he does see the change when logged into Hyperion Planning in his form.
    One strange thing about this is the change shows for all hierarchies except for ones that he has loaded data to. So, for a hierarchy that has no data, it shows the form in SV how it is in planning. If he loads data to the hier, the form automatically switches back to how it was before the change, even when the planning form itself hasn't been changed.
    Here is what we have tried:
    Rebooted machine
    removed user security completely from plannng and added back
    checked for ghost instance in task manager or excel
    Opened new Workbook and opened form fresh
    remvoed connection, closed excel and all instances, new connection and open form fro mblank slate
    Nothing seems to be working. And I see the form how it is in planning. HE does not, he sees it the "old way" and ony for hier points that have data submitted to them. So, literally switches the view based on the POV.
    Any help would be greatly appreciated.
    Edited by: kplum12 on Jun 15, 2012 11:48 AM

    Hi,
    Sounds like in the smart list set up you set "#Missing Data Form Label:" to "Data Form Setting" change it to "Drop Down Setting" and it should be alright.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • 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

  • Adobe form - change particular row into bold

    Hi all,
    I have a requirement in adobe form, which i need to change the font into bold for the particular row in a table. For example i am displaying table which has two columns if the first columns values starts with 'A' then that particular row should be bold .Could you please help me to achieve this .
    Thanks in Advance.
    Col1           Co12
    eeee           123333
    www          545454545
    AAA           44545454
    eee              5454
    ADS            4545        
    sdd               fdfd
    Regards,
    satish

    check here: Re: Dynamic change of font in table
    Otto

  • HCM Processes & Forms: Change & Delete Operations

    Hi,
    I've been working on Processes & Forms.
    One of my processes is a typical address change. In this process, it's possible for the user to change any of his/her addresses. This means that the process is customized to accept subtype * of infotype 0006. This is working fine, we can change and create addresses.
    The problem is that we want to delete addresses too, but P&F doesn't allow two operations for the same infotype. We also tried to follow note 1043692, using the DELETE_DATASET reserved field, but it's not possible to use rules on SAP_PA using fields that are not defined for this back-end service.
    Any help on this?
    Regards,
    Fábio.

    Sorry for the delay,
    I've never configured a process for Absences, but since you're talking about this infotype, I think you're trying to delete the record completely. However, in P&F the "delete operation" means that a record is deleted as of the effective date (i.e. delimited).
    Example: I'm deleting a temporary address: the record will still be there, but the new end date will be the effective date that I chose.
    So if you're expecting the absence to disappear, it will not happen unless you set the effective date to the begin date of that record.
    Regards,
    Fabio.

  • Adobe Form - Change default Window measurement Configuration

    Hi All
    I 'm a new in SAP and am learning how to use Adobe Form (I know a bit about SmartForm but M manager wants me to write report using Adobe Form) and I need help.
    I'd like to know how to change the default setting of the window measurent from inches to mm. At the moment, all my window dimensions are in inches - and i don't know how to switch them to mm - Please tell me how - Thanks

    I found it

  • HCM Process and Forms - Changes to Form Issue

    We have a scenario within HCM processes and forms where the changes being made by an intermediate approval step is not being sent to the next level approver.  For example, in a pay change the initiating manager sends the pay change to his/her boss for approval, then once approved the form is sent to HR for final approval and update into R/3.
    In this scenario the initiating manager starts the process and makes appropriate updates to the form (including comments).  This then routes to that manager's manager for updates/approval.  When processing the form, the approving manager can see the information input by the initiating manager.  The approving manager then has the opportunity to make appropriate changes within the form and add comments before it is approved and sent to HR for final approval.
    Once the approving manager makes changes and sends this to HR, when HR processes the form they see the changes as if it was sent by initiating manager (HR does not see the changes made by the approving manager).
    I appreciate any insight you may have on this issue.
    Regards,
    Brad

    Sounds like you process is designed incorrectly and your are having problems with your process object integrity. You need to be careful with loops/branches when designing your process. Are you doing it all in the same Form Scenario and just using multiple steps? The form scenario will "share" the "data" hence you can have issues. You can split it to a differnt form scenario and pass the data over from the other FS to your FS. Then you know you will have your own data there. I often see people trying to do their whole process within one form scenario and use multiple steps without realizing the data integrity issues with that.
    Hope this helps.

Maybe you are looking for

  • IOS 5 photo gallery bug

    A few issues here. For 1, I cannot delete any pictures, I am not talking about photostream, I have that feature off, a new photo taken can not be delete. It acts as if it is deleted then a second or 2 later it reappears. Also, when opening a photo th

  • Viewing password protected pdf

    I have. Windows Surface RT and I take classes online. My text books are pdf files that are password protected. When i go to sign in to view my textbooks the adobe reader will not let me. Any ideas on what to do?

  • Conditional build tag for folders

    I was told this might be a new feature in coming updates but have not seen an update in about 4 years (glad i didn't buy the maintenance) - does anyone know a way to edit core files to enable a folder to link a conditional build tag without code bein

  • Putting messages direct to OracleAS JMS

    Hi Folks, I'm developing a .NET Application and I need to send messages to a destination(queue) in the Oracle Application Server using OracleAS JMS. Does anyone know how to do that? Thanks in advance, Patrick

  • BW Extractors During ECC Upgrade

    All, We are moving from 46B to ECC. One of the open questions we have is what needs to be done during the upgrade prepare phase with the extractors from our BW system. We are using the downtime minimized approach, so the prepare phase will start seve