Is my customization method a valid one ...

Hi All,
I am customizing an SSHR process ( Worker Status Change).In this process an employee will be Transferred or Promoted. Here we are plucking out a page from the workflow process ( Each function in the process represents a page), and adding additional regions to a page using personalizations.
In adding these regions the standard rule is that the regions can only be added at the site level. This makes the custom region to appear wherever the standard page is referenced. To avoid this we have literally copied the standard page and renamed it with a custom name in JDev, and wherever the standard function is referred in the workflow we are including the custom fnction ( pointing to the custom function).
Now the issue is page navigation is working fine when the user navigates forward ( clicks Next, Next ,..), but when he navigates back , in one scenario the navigation fails.
Pls suggest if copying the page and using it is correct, We are doing this because we have to add custom regions to the page.
Thank you,
Srikanth

Hi
Might be it is happening due to change of references on the clcik on back button,as u have renamed the PG.xml and there may be the refernce with old name ,better i would suggest u create the region at site level and then again personalize it to let the region appear for particular lable.
thanx
Pratap

Similar Messages

  • After upgrade to OS6 iPad says my email address is not a valid one since it consists of 2 dashes "--" and letters. How can I set up my account now? Was never a problem before OS6.

    As it is now i have to use my mail as a webmail since iOS6 has a crazy function to decide wheter my email address is a valid one or not pending on the letters it holds. Beside the "--" it also says that the Swedish letter "å" (an "a" with a small circle above) is not a valid one.

    As it is now i have to use my mail as a webmail since iOS6 has a crazy function to decide wheter my email address is a valid one or not pending on the letters it holds. Beside the "--" it also says that the Swedish letter "å" (an "a" with a small circle above) is not a valid one.

  • Why is that i can not view my warranty status? whenever i tried to put my phone's serial number itunes prompt that my serial number is not a valid one. how can i solve this issue?

    why is that i can not view my warranty status? whenever i tried to put my phone's serial number itunes prompt that my serial number is not a valid one. how can i solve this issue?

    https://selfsolve.apple.com/agreementWarrantyDynamic.do

  • HT5622 I have a new iPod just created my icloud account however the email address that I entered is incorrect & not a valid one therefore I cannot verify it. How can I change it ?

    I have a new iPod just created my icloud account however the email address that I entered is incorrect & not a valid one therefore I cannot verify it. How can I change it ?

    Please try to sign in in here and change it: http://appleid.apple.com

  • How do i change my telephone numbers keeps asking for a valid one??

    how do i change my telephone numbers keeps asking for a valid one??

    If you simply chose the wrong phone number setting Messages up on the iMac you just go back into it's settings and choose the right number.
    If your iPhone number is not showing up under the preferences for Messages and FaceTime on your iMac you are logged into the wrong Apple ID on the iMac or your iPhone is not registered to that ID. With the info you give it sounds like you have multiple users using the same Apple ID in which you would have multiple phone numbers listed under the preferences on the iMac and iPhone.
    I have found iCloud, Messages and Factime are easiest setup as each user having their own Apple ID. That's not to say it is impossible for multiple users to use one Apple ID. First you have to sign into the Apple ID on your iPhone which will register the number to that account. Set your iPhone's Messages and Facetime Settings to use it's phone number for send and receive. Then it should appear when you are trying to setup Messages on the iMac. Each user using the same Apple ID will have to be using their own numbers or email address so you may have to have other users uncheck your number. The problem with this setup is it is easy for others to start receiving your messages.

  • Pop Up Error using MVC method after Validation in  DO_HANDLE_EVENT Method

    Hi Experts,.
    I am rather new to BSP applications and I am working using MVC at the moment. I have a requirement which apparently is simple, but am yet to get that done successfully.
    I have a couple of buttons on my BSP View screen, on click of these buttons, the User Name would be verified with entries in a Custom table and if the User Name is not found, an error message would pop up stating, "You are not Authorized to use this option".
    On click of the button, the event which is triggered is handled in the DO_HANDLE_EVENT Method of the Controller for the view.
    The check is performed in that method. Thereafter the method DO_REQUEST follows automatically which loads the view yet again. I want to throw a pop up error message at this instance if the User Name was not the authorized one.
    I have used Java Script to throw pop up message but only in case of field content validation where I did not need to navigate away from the view for the validations. But how do I bo about for this example.
    Any help would be highly appreciated.
    Regards,
    Subhrangsu

    Hi
    1. You can call the view in pop-up because you will be calling the controller using open.window.
    Here is the sample code:
    method DO_REQUEST .
      data:
            li_vw           type ref to   if_bsp_page,
            lv_form_field   type          string,
            li_md           type ref to   zcl_model01.
      dispatch_input( ).
      li_md ?= get_model( 'm01' ).
      lv_form_field = request->get_form_field( 'invoice_create' ).
      if lv_form_field is initial.
    *------ Request to display main page
        li_vw = create_view( view_name = 'main.htm' ).
        li_vw->set_attribute( name = 'model' value = li_md ).
        call_view( li_vw ).
      elseif lv_form_field eq 'true'.
    *------ Request to display Invoice page in pop-up
        li_vw = create_view( view_name = 'invoice.htm' ).
        li_vw->set_attribute( name = 'model' value = li_md ).
        call_view( li_vw ).
      endif.
    endmethod.
    Layout :
       function do_Invoice()
          { var s=0; r=1; w=300; h=300; x=screen.width/2;
            x=x-w/2;
            var y=screen.height/4;
            y=y-h/2;
            popUp=window.open('main.do?invoice_create=true','win','width='+ w
            +',height='+ h +', left=' + x +',top='+ y +');
    Regards,
    G. Nikhil Kumar

  • Toolbars from customize only showing in one window (Mac Snow Leopard).

    Dragged several toolbar buttons from the customize window onto the toolbars in various places. None of them show up in any other window other than the one I did this in.

    Well first you need to check to make sure your Mac meets the 10.8 specifications.
    https://en.wikipedia.org/wiki/OS_X_Mountain_Lion
    If you don't knwo what your Mac is, use the free MacTracker and then the Apple Menu > About this Mac > More informationa nd look for a model number like MacBook Pro 3,1 and use MacTracker search feature.
    Next your going to have to make a copy of your existing data to a external storage drive, not TimeMachine which you currently have.
    Most commonly used backup methods
    When you upgrade to 10.8, your going to have a different machine anyway, so your going to be setting it up all over again. It doesn't make too much sense to restore from TM for just a few files as it takes a long time and copies over stuff from the previous owner. So it's faster and safer to just import your files manually when 10.8 is installed.
    If your Mac will run 10.8, you have to realize that likely software you currently have (and is not yours) will no longer work or be there after this proceedure, it's to make sure it's all you and not someone elses.
    First follow this method to erase and install 10.6 again, it's so you start clean and there are no conflicts/problems or issues  as your AppleID is used to download 10.8 and any app store software is copy protected.
    This way your updating 10.6.8 (Software Updated) to 10.8 on a "Fresh install" which is better than trying a upgrade.
    How to erase and install Snow Leopard 10.6
    Make sure your iLife package is installed (look for iPhoto and if there it is) just use the bunded app installer if you have the grey/black 10.6 disks. White 10.6.3 disks don't have iLife, so you'll be buying it from the AppStore again later with your AppleID so you can get updates for it.
    Next log into App Store and download 10.8 and upgrade, you do need a fast, reliable internet connection as it's large download.

  • Should a method have only one return point/statement?

    Hi,
    sometimes I have Code that looks like
      public boolean equals(final Object o) {
        if (o == null) {
          return false;
        if (o == this) {
          return true;
        if (!getClass().equals(o.getClass())) {
          return false;
        if (this.getId() == 0) {
          return false;
        final Link cObject = (Link) o;
        if (this.id != cObject.id) {
          return false;
        if (!this.linkParameter.equals(cObject.linkParameter)) {
          return false;
        if (!this.uriType.equals(cObject.uriType)) {
          return false;
        return true;
      }Is it best practice to use return in this manner? Some code metric tools report this use of return as bad coding practice.
    What are the pros and cons of the short return?
    Thanks for your answers

    tmnelson wrote:
    So we should pervert exception handling by putting all our code into try/finally blocks? I don't think that's gonna fly...That doesn't make much sense to me and I don't know what it has to do with what I said. One of the good reasons for forcing a single return is that you can put all the required cleanup code at the end of the method. Finally blocks accomplish this same end. This is not a perversion. In fact, finally blocks are superior in this regard because they are guaranteed to execute, even if the method doesn't complete normally. Single return cannot make this guarantee.
    Um, I still only see one return. Only now it's in the wrong place. Why not just add the appropriate else clause to the original code? That's what you're going to wind up doing in your "improved" code, anyway.You seem to have completely missed the point. Both code snippets are wrong. My improved version doesn't compile. It's impossible to miss. The other version was deployed into production. In my experience a compilation error is a much better problem to have than a production system crash.
    I don't see any value in forcing the single return. Actually I think it generally makes code much harder to read. It turns the execution path from a tree into an onion.I think it's a good rule of thumb, up there with placing braces after your if statement and documenting when a case statement falls through. It was more important when people wrote 100+line functions, as it was mighty confusing to place a breakpoint at some line and then never hit it because the code executed a return twenty or so lines before your breakpoint. This is still a potential problem today, but people tend to write shorter routines, so it's less common.It's a rule of thumb that makes sense in languages without the high-level control structures that Java has. COBOL is an example of such a language where forcing single returns is really important but it doesn't have a true method structure. It doesn't make sense in Java. And for long methods, the proper advice is to shorten them, not to force a single return.
    ISTR that compilers could perform certain register optimizations if routines only had one entry and exit point, but I can't find a definite reference, and that may have only been valid for block-structured programs anyway. Or loops.This is complete nonsense. The compiler or JVM can optimize your code much better than anything like this will accomplish. There's no reason that the JVM can't treat a method with multiple return statements as having a single return statement given that all paths are guaranteed to return a value of a specific type or an exception will be thrown.
    If you just declare the variable and don't assign it, the compiler will complain if there is a path that doesn't guarantee that it is assigned before it is used.This doesn't work in many IDEs, as the editor won't perform much static analysis, it'll just flag the declaration as an error and refuse to compile the code until you "fix" it.I didn't mention IDEs. This is part of the Java Language Specification. No compliant compiler will allow such code to be compiled.

  • Frustrated with iTunes declining all of my payment methods when valid

    This is the 2nd time this has happened in 4 months. iTunes is declining my valid credit card payments for purchases regardless of what I am using (my usual AMEX, my Visa, my Pay Pal) and I hate the fact that their is no live person I can speak or chat with regarding this issue. I have sent off an email request for help via their "express lane," and I feel that this has to do with the fact that I purchase via my iPad at times. Does anyone have experience with this problem and/or solutions.

    Funny you should mention it. I just bought an iPod and through iTunes I created an account and chose PayPal for payment method. Went through all the screens until I was verified (don't remember the exact verbiage, but i was done) and hit "continue" which began an endless loop of selecting payment method. Ask me how many times I filled out the pmt method screen. I wanted to try out "Genius" and also wanted to try an applet for the iPod. Nope. Makes me regret ever having bought the bloody thing. I wonder how far the iPod can fly through the air if thrown like a frisbee...

  • What I've to do if the App Store told me my payment method not valid

    What I've to do if the App Store told me my payment method not valid

    Then contact your bank and find out why the authorization is being refused. 
    Note that debit cards are not accepted in all markets. You need a valid credit card with a billing address in the country of the store in which you're trying to set up an account. You must also be physically present in that country.
    You can not, for example, set up an account in the US or UK store if you are in Russia.

  • Disable PUT and DELETE HTTP methods in Sun ONE Web Server 6.1

    Hello ,
    i want disable PUT and DELETE methods in SunOne 6.1 , i don't find the solution ...
    Thnaks to help me .
    telnet www.mywebsite.com 80
    Trying 145.248.193.13...
    Connected to www.mywebsite.com.
    Escape character is '^]'.
    OPTIONS * HTTP/1.0
    HTTP/1.1 200 OK
    Server: Sun-ONE-Web-Server/6.1
    Date: Wed, 18 Jan 2006 08:07:41 GMT
    Content-length: 0
    Allow: HEAD, GET, PUT, POST, DELETE, TRACE, OPTIONS, MOVE, INDEX, MKDIR, RMDIR
    Connection: close

    are you sure that it isn't a vulnerability ? if i understand you , OPTIONS * HTTP/1.0 list all the possible methods but they are not actived ?
    i have test with OPTIONS / HTTP/1.0 , is that the those possible methods : HEAD , GET ??
    thanks
    telnet www.mywebsite.com 80
    Trying 145.248.193.13...
    Connected to www.mywebsite.com.
    Escape character is '^]'.
    OPTIONS / HTTP/1.0
    HTTP/1.1 200 OK
    Server: Sun-ONE-Web-Server/6.1
    Date: Wed, 18 Jan 2006 11:11:07 GMT
    Content-length: 0
    Allow: HEAD, GET
    Connection: close

  • Validating one field based on another

    Hi.
    I have freshly started with ABAP programming.Inside an RFC--OUTBOUND_SHIPLIST I need to validate a field called "shipment number" which is TKNUM in R/3 in side table shipment list so that only those shipment number(TKNUM) are displayed for which "material source location" is APL. I think the source location is LGORT in R/3. Please help me out how to do this validation in R/3.
    Thanks & Regards,
    Reinuka Paul.

    Hi
    i have a webusserid which has been provided DAGs * and APL for werks=0366 by the security. i need to do coding so that If one DAG has * and the other has APL, the APL value is considered instead of *.so i have done the below given coding.but its not working please suggest me where i need to make changes.i need those shipments should come automatically when i login with this webuser which has been provided DAGs =APL in R/3.
    FORM rfc_get_outbound_shiplist
      TABLES
         shipment_list STRUCTURE  yweb_shipment_list
      USING
         value(webuser) TYPE  sy-uname
         value(company_code) LIKE  t001-bukrs
         value(werks) TYPE  werks_d
         value(vdatu_from) LIKE  likp-wadat
         value(vdatu_to) LIKE  likp-wadat
         value(kunnr) LIKE  kna1-kunnr
         value(matnr) LIKE  mara-matnr
         value(vbeln_vl) LIKE  vttk-tknum
      CHANGING
         value(return_msg) LIKE  yweb_s_message.
    internal tables:
    Shipment List Table
      DATA:
            BEGIN OF i_shipment_list OCCURS 0,
    tknum_vttk    LIKE yweb_del_view-tknum_vttk, "Shipment #
    vbeln_likp    LIKE yweb_del_view-vbeln_likp, " Deliv #
      lgort         LIKE yweb_del_view-lgort,  storage location        
            END OF i_shipment_list.
      DATA : ltb_values LIKE usvalues occurs 0 with header line .
    TYPES: BEGIN OF ty_lgort,                               
                lgort TYPE t001l-lgort,
                END OF ty_lgort.
      DATA: tb_lgort TYPE STANDARD TABLE OF ty_lgort,
             wa_lgort TYPE ty_lgort.
    SELECT * FROM yweb_del_view INTO
           CORRESPONDING FIELDS OF TABLE i_shipment_list
           WHERE (i_cond_tab) .   "i_cond_tab is an internal conditional table.
    IF sy-subrc = 0.
    CALL FUNCTION 'SUSR_USER_AUTH_FOR_OBJ_GET'
          EXPORTING
          NEW_BUFFERING             = 3
          MANDANT                   = SY-MANDT
            user_name                 = webuser
            sel_object                = 'M_MSEG_LGO'
          TABLES
            values                    = ltb_values
         EXCEPTIONS
           user_name_not_exist       = 1
           not_authorized            = 2
           internal_error            = 3
           OTHERS                    = 4
        IF sy-subrc = 0.
        User has authorization in DAGs. Do the authority check.
          LOOP at  ltb_values where
                        OBJCT = 'M_MSEG_LGO' and
                        FIELD = 'WERKS'.
            AUTHORITY-CHECK OBJECT 'M_MSEG_LGO'
                            ID 'ACTVT' FIELD '03'
                            ID 'WERKS' FIELD WERKS
                            ID 'LGORT' FIELD i_shipment_list-lgort.
            IF sy-subrc <> 0.
             DELETE i_shipment_list INDEX sy-tabix.
            ENDIF.
            ENDLOOP.
          LOOP AT ltb_values WHERE
                       objct = 'M_MSEG_LGO' AND
                       field =  'LGORT'.
            IF ltb_values-von = '*'.
              CONTINUE.
            ELSE.
              wa_lgort-lgort = ltb_values-von.
              APPEND wa_lgort TO tb_lgort.
            ENDIF.
          ENDLOOP.
        ENDIF.
       TYPES: ty_delivery TYPE  yweb_shipment_list.
        TYPES: BEGIN OF ty_vbeln,
                    vbeln TYPE likp-vbeln,
                    lgort TYPE t001l-lgort,
                   tknum type vttk-tknum,
                END OF ty_vbeln.
    DATA : tb_delivery_vbeln TYPE STANDARD TABLE OF ty_delivery .
    DATA: tb_vbeln TYPE STANDARD TABLE OF ty_vbeln,
    wa_vbeln TYPE ty_vbeln.
    IF tb_delivery_vbeln[] IS NOT INITIAL.
          SELECT vbeln lgort
          FROM vepo
          INTO TABLE tb_vbeln
          FOR ALL ENTRIES IN tb_delivery_vbeln
          WHERE vbeln = tb_delivery_vbeln-vbeln_likp.
          SELECT tknum FROM vtts INTO TABLE tb_vbeln FOR ALL ENTRIES IN
       tb_delivery_vbeln WHERE tknum = tb_delivery_vbeln-tknum .
          SORT tb_vbeln BY lgort.
          DELETE ADJACENT DUPLICATES FROM tb_vbeln.
          IF tb_lgort[] IS NOT INITIAL.
            LOOP AT tb_vbeln INTO wa_vbeln where lgort = 'APL'.
              l_tabix = sy-tabix.
              READ TABLE tb_lgort INTO wa_lgort WITH KEY lgort =
               wa_vbeln-lgort.
              IF sy-subrc <> 0.
                DELETE tb_vbeln INDEX l_tabix.
              ENDIF.
            ENDLOOP.
          ENDIF.
        ENDIF.
    Thanks & Regards,
    Reinuka.
    Edited by: Reinuka Paul on Jul 7, 2008 8:03 PM

  • Executing multiple methods off of one button

    Hi,
    I have a parameter form based on the bind variables of a view object and I am trying to execute a second method via the "ExecuteWithParams" buttons.
    I have included an <f:actionListener/> within my command button so my current button code is as follows:
    <af:commandButton actionListener="#{bindings.ExecuteWithParams.execute}"
    text="Submit"
    disabled="#{!bindings.ExecuteWithParams.enabled}"
    action="Go" partialSubmit="false">
    <af:setActionListener from="#{bindings.Param1.inputValue}"
    to="#{Input.Param1}"/>
    <af:setActionListener from="#{bindings.Param2.inputValue}"
    to="#{Input.Param2}"/>
    <af:setActionListener from="#{bindings.Param3.inputValue}"
    to="#{Input.Param3}"/>
    <af:setActionListener from="#{bindings.Param4.inputValue}"
    to="#{Input.Param4}"/>
    <f:actionListener type="model.InputBean"/>
    </af:commandButton>
    model.InputBean:
    public class InputBean extends AppModuleImpl implements ActionListener{
    ....... (includes sets and gets for Input.Param1-4)......
    public void processAction(ActionEvent e){
    FacesContext fc = FacesContext.getCurrentInstance();
    ValueBinding vb = fc.getApplication().createValueBinding("#{data}");
    BindingContext bc = (BindingContext)vb.getValue(fc);
    DCDataControl dc = bc.findDataControl("AppModuleDataControl");
    ApplicationModule am = (ApplicationModule)dc.getDataProvider();
    AppModule service = (AppModule)am;
    service.Method(Param1, Param2);
    The service.Method() is called but errors out with a nullPointerException at both parameters.
    I've hard coded the method and found it does work, I am just having trouble passing the variables in to start with.
    The setActionListeners within the button code are so I can pass the values that are entered in each Param to the next page, I thought I might be able to
    use these to set the Params for service.Method() but it seems this isn't happening.
    Any Ideas?
    Thanks,

    Hi,
    That has helped, I was able to execute my second method and redirect to the other page on the one button submit
    but now my view objects that I dropped from the data control palette don't return any rows.
    Any ideas?
    Thanks,
    Not sure what I did, but it started working!
    Edited by: Ruari on May 21, 2009 11:26 AM

  • Customize Envelope.html in one C series

    I have send encrypted emails in my C-350 Series. I have an IEA to manage my own pages, an customize the websafe portals.
    My problem is with the envelope.html, because i onle can customize the logos in the page, that is taken of the IEA, but i have to translate the text, and change the colors, etc.
    Whe the IEA do the encrypt action, the envelope that recive the final user look how i want, but when i use the the C Series to do the encrypt action, i only can customize the logos.
    Any one know how i can to change the default envelope.html in C-Seres.
    Thanks.

    You can create a new envelope message by using the Text Resources.
    Go to Mail Policies, Text Resources and add a new template. Add a Envelope Notification Template.
    Happy New Year.
    Andy
    Thank you Andy, and happy new year too for you.
    The problem that i have is with the securedoc.html, the attachment. I can not customize the information, only the logos when i use the c- Series as encription system. But when i use the IEA, and i change the envelope.html, the securedoc.html attachments looks like i need.
    Thanks you newly, an best regards.

  • Customer Master: Communicatio method more than One mail ID

    Hi All,
    I have a requirement here:
    In the customer master - General data - address - communication method
    My user want to maintain more than one e-mail id, i see system allows to insert more than one id.
    Requirement: User want system to send ex: order confirmation to all the IDs that are maintained in the customer master.
    Issue: I see in the customer master after I insert the mail ID there is a radio button which restricts to only one ID where the communication to be sent.  
    Help: Any one got some idea how I can fulfil this requirement please?
    Yash

    hi
    this is to inform you that
    create a Z table woth maintaince view with authorized personall only.
    where you can have/maintain n number of mail ids of the users.
    and
    two function modules are available for the same one is old and anothre is new function modules provided by SAP.
    when ever you want to trigger a email you have to call the z table.
    then it triggers automatically.
    regards
    balajia

Maybe you are looking for

  • How do i turn off voice over in iphone 4GS

    how do i turn off voice over in iphone 4gs thank you

  • Custom Search Help for Business Agreement field in transaction BP.

    Dear Experts, My requirement is to add Custom search help to Businees Agreement field (BUPA_CRMM31-BUAG_ID) in transaction code BP. PLease guide me how to add Custom search help to Businees Agreement field which dont have search help option. Regards,

  • Saving for iPhone app

    Hi, I'm new to Illustrator and am trying it out for an iPhone game I'm working on. I've got a couple problems actually. The 1st problem I'm having is finding a way to choose my center point so that when I rotate the object in the game, it rotates aro

  • Emond/afctl not showing actual ip address

    Here's one weird emond (?) problem. I get those lines in the log: Nov 18 03:15:21 myserver emond[57]: Host at ssh2 will be blocked for at least 15.00 minutes I'm trying to understand how it manages to replace the real IP address that's making attempt

  • Safari 6 crashing.

    As per my previous posts about Safari crashing after ML install, today I opened safari and while I was not doing anything with it it was OK, sat there for about 30mins. After about 5 min of working with it it crashed. Sent it's usual error report to