BSP Controller Class Enhancement - calling problem while execution

Hi all,
We are having a requirement in the EREC-Publication.
We have to insert 2 Droop-down fields on screen providing the F4 help for them.
BSP is modified to add the required fields.
Also, the Controller class methods are enhanced so that the given F4 list table is populated.
Here the issue is, when we call the BSP application a fresh and go to the required page, F4 help gets populated and the list is displayed. This means that the Enhancement is also being called. - Confirmed after inserting a break-point.
Then if i navigate to "Previous page" or "Initial page" using the link that is generated by the SAP Standard. Then when i come back to the same page again. the Enhancement for filling the F4 help list is not called and as a result the F4 help remains empty...
Is there any solution for the same i am not able to figure out what is exactly going wrong?
Thanks and Regards,
Kunjal Patel

Hi Sharmila,
The BSP Application in concern is a SAP Standard and hence, we need to enhance the same.
What you say is correct that we need to do it in the DoInit method. However, as far as possible Modification of SAP Standard code should be avoided. For the same, we have used the Implicit Enhancement point to enhance the required Method of the class.
This Enhancement is not called every time the class method is called. Hence, the worry.
Any suggestions?
Thanks and Regards,
Kunjal Patel

Similar Messages

  • Strange problem while execution of query....

    Hi Friends
    I am facing a strange problem while executing the query.
    I have one query ,its old one ,till yesterday everday it was working fine ,
    But today i am trying to execute that query ,execution process takes very long time ,finally no response from bw server.
    its an important report in our company
    I checked query , Every thing is ok ,bze i haven't made any changes
    So i need some suggetions  .like where can i check and what can i do?
    ASAP ....  So Please ...its very urgent....
    EVERY THING AND ANY THING WILL BE REWARED
    Thanks in advance
    RK

    Hi
    Stefan
    Thank you for your valuable suggestion
    the problem is solved
    Already i  assigned  points.
    Thnaks & Regards
    RK

  • Query Problem while execution

    Hello Friends,
    I have a problem while executing a query.
    When I run any query from any role, by default it is opening other working workbook.
    After the refresh also, it is not doing anything, still shows the same workbook results.
    It is displaying the underneath query as query from the above workbook only.
    Same query from a workbooks Role  works okay, but when I run the same query from query’s role, it is causing this kind of strange behavior.
    Can someone please help me?
    Thanks
    Priya

    Hi Bhanu
    I think, that could be the problem.I have created a Z program and assigned a default template for all queries, before I could verified your solution.
    By the time, I checked it from the settings, it is already showing the default template which I have assigned.
    The issue is fixed now.
    Thanks
    Priya

  • (Class cast Exception)Problem while loading data fro database in java class

    Dear all,
    Please help me...to solve this
    I have a database having two columns of String and Date Types.
    In my java code i was trying to load the data to a UI.
    I am successfull in loading the String type value.
    But while loading date field value,is showing Class cast Exception.
    What i am doing is Getting the values from database to a String[] array.
    So my question is how to
    get the Date field as date field itself,Then convert it to a String..Then put it in to String[] array...
    Any body please help...If any one want more clarification in question i will give......

    Hi,
    I am using GWT to display my data in a Grid.
    So it will accept a Single two dimensional String array....Here i have one as String and other as Date.
    So i was trying to get each row in a sindle dimensional array array[] then store it in a list.
    Iteration goes up to 10 rows.After i am setting it in to a list
    ie list.add(array);
    Now while returning this list i am doing this
    "return (String[][])list.toArray(new String[0][]);"
    When i tried to get the date element to String array it is showing class cast exception. When i tried with toString() method it is showing the same problem.

  • Problem while execution of WS10000031

    Hi experts,
    I need your help, We are running the 2-Step approval workflow WS10000031 and this is what is happening when the first authorizer gets the workitem : the authorizer rejects at least one position, then the applicant receives notification of positions that have been rejected, the applicant accepts the changes and this is where I have the problem, when the applicant accepts the basket, the WS10000031  fires again !!!!... why this happens ???... is assumed that the flow should continue to the next task which is to be approved by the second agent .... or not this is the logic of WS10000031 ???... WS10000031 enters an infinite loop!
    can somebody explain this behavior?
    Thanks in advance.

    Hi
    Stefan
    Thank you for your valuable suggestion
    the problem is solved
    Already i  assigned  points.
    Thnaks & Regards
    RK

  • Problems  while execution of query  using RSRT tcode

    Hi Experts,
    I have built a query in development server and I  have executed the query using RSRT tcode.I found some of the fields were having cross marks.Again I checked the no of records coming from infoprovider for that field.Data was coming from the cube.But I cant understand why for those particular fields cross mark were coming.Is it an issue?if it is an issue please tell me how to sort out.
    Regards
    Rakesh

    Hi Durgesh,
    First of all the field for which I got X symbol is not a selection criteria field.Rather it is an naviagational attribute of a characteristics.In my query service order is a charecterictreristics and status type is an attribute of it.I am  checking the status type of different orders.For a particular order and status tupe X symbol is coming.
    Regards
    Rakesh

  • Controller Is Being Called Twice - Why???

    I think this is going to be a complicated question to answer but I'll try to explain what's going on as best I can. The basic problem I'm having is that the controller class gets called twice for some reason (instead of once) and I have no idea why. I type in a URL in my browser that goes to a JSP page called �myJsp.jsp�. Basically all that page contains is this...
    <tiles:insert definition =�my.tile� flush=�true�/>In my tiles-defs.xml file I have the following listing...<definition
    name="my.tile"
    path="SomeOtherJsp.jsp"
    controllerClass="x.y.z.MyController">
    </definition>
    x.y.z.MyController.java makes some calls to a DAO to retrieve data. MyController.java then puts that data into the requestScope for the JSP below to access...
    SomeOtherJsp.jsp has nothing special in it although it DOES contain a link to myJsp.jsp (and, somehow, it's like this link is being clicked even though I'm not clicking it).
    <a href="myJsp.jsp?someParam=<c:out value="${requestScope.someValue}"/>">Click Here To Do Something</a>If anyone can help I'd greatly appreciate it. By the way, I spoke to someone else who mentioned that I should turn this kind of thing into a struts action instead of doing a deletion within a controller class. I am going to refactor my code to do this. However, I'm still curious to know the answer to my question. Maybe it will help me get a better understanding of exactly what's going on in the world of servlets. :)

    Hi Shiv, <br><br>
    Yes I have placed System.out.println...and a debug point ...<br>
    super.processRequest(pageContext, webBean);<br>
    OAApplicationModule am = pageContext.getApplicationModule(webBean); <br>
    // String personId="13477";<br>
    // Serializable[] parameters = { personId };<br>
    if (!pageContext.isFormSubmission()) {     <br>
    am.invokeMethod("createEmployeeRow", null);<br>
    }<br>
    //am.invokeMethod("initDetails",parameters);<br>
    System.out.println("!!!!!!!!!!!!!!!!!!!!!!!!!IN Process Request"); <br>
    debug point is at String personID="13477"....<br><br>
    Thanks<br>Soujanya

  • How to Find Controller class of  BSP application for particular Iview

    Hi  All,
    Any one please  help me  to find a Controlller class of BSP for an  I view.
    http://Host Name :Port No/sap/bc/gui/sap/its/wosm-cr-->this is for sap retail,
    My requirement  is to change some source code in that particular iview.
    i goine with SE80 Tcode
    with package called WOSM>ITS service>Topic 90-->which contain Mime Objects,Html Templates.
    but i dint find any
    Point will be given!!!

    Hi All,
    My question is where should i find Controller class ?
    i gone with Tcode  SE80>packages>WOST>ITS service>WOSM>Topic90>which contain Mime Objects,HTML Templates.
    i dint find any controller class.
    regards
    Naresh

  • Problem while saving an object under a dev class

    hi all,
            Here is a problem while saving an object under a development class.... I created a Z program (ZSORDER)  through SE38 and while i was saving that Z program under a development class called SALES it shows an error message like  <b>" customer object program ZSORDER can't be assigned to the package SALES"</b>..... can any one can explain what is the problem....

    hi,
    you should have created your package starting with the letters "Y" or "Z".
    you have created it with the letter "s". SALES.
    's' is reserved to be used by SAP.
    so create the package  with the letters 'y' or 'z' like 'ysales' and you wont be getting that problem.
    try it.
    warm regards,
    Hari Kiran

  • Enhanced view class not calling

    Hi,
    I've enhanced a search view and redefined the search event handler method. But when i execute the application, it is not calling my enhanced view controller implementation class. the system always call standard view controller class. could anybody explain the reason for it?
    Best Regards,
    Kumar

    Hi,
    Check the enhancement set to client mapping in sm30 (BSPWDV_EHSET_ASG)..Enhacement set should be mapped to client in which you are running the application..
    Also you can check in component_loading default implement, there it should read z-controller instead of standard class.
    Cheers,
    Sumit Mittal

  • My iphone 4S has problem in making and receiving the calls. While making the call , call fails and netwrok disappears. Like wise no voice is heard for incoming calls. This happened after return from the overseas travel.

    My iphone 4S has problem in making and receiving the calls. While making the call , call fails and netwrok disappears. Like wise no voice is heard for incoming calls. This happened after return from the overseas travel.

    Hello SamSax
    Check out the assist page below for troubleshooting call connectivity.
    Calls and connection issues
    http://www.apple.com/support/iphone/assistant/calls/
    Thanks for using Apple Support Communities.
    Regards,
    -Norm G.

  • Error while extending controller: class name is wrong or not included

    Hi All,
    I am getting this error while I port my extended controller class to the custom top and assign this controller to the page. I have made sure its the class file that is copied. The directory is correct, the permissions were given using chmod 775. There exists a soft link betwen the custom top and the oracle top as well. What else am I missing here?
    Error: oracle.apps.fnd.framework.OAException: Could not create Java class: (oracle.apps.ap.oie.entry.webui.XXEntryFlowPageCO) associated with region: (GeneralInformationPG). This is probably because the class name is wrong or not included in project.

    :( Started out with that Gyan. If i do give the path with xx. appended to it, it lets me save and when i log back in and there are no changes to the page. I go to the personalise option to find the modification has been overwritten. I was told that this is so because Oracle doesnt recognise the xx.path and since there exists a soft link already the standard path with the new controller name should work.
    i have really tried both of these options and am not sure what could be wrong. thanks for all your attempts to help. anything else i can try?

  • Problem while determining receivers using interface mapping: "SYSTEM FAILURE" during JCo call. Bean SMPP_CALL_JAVA_RUNTIME3 not found

    We have a SOAP to PROXY scenario Which is in Production.
    We keep getting the Error:
    " Problem while determining receivers using interface mapping: "SYSTEM FAILURE" during JCo call. Bean SMPP_CALL_JAVA_RUNTIME3 not found on host XXXXXX, ProgId =AI_RUNTIME_XXX.
    We are using Standard Receiver Determination with single receiver without any condition. And no mapping being used in interface determination.
    What are all the possible situation where we face such as this issue in Production.

    Please check the SAP note
    # 1706936 - messages fails with error java.lang.RuntimeException Bean SMPP_CALL_JAVA_RUNTIME3 not found
    1944248 - PI unstable due to JCO_SYSTEM_FAILURE mapping issues

  • Problem while determining receivers in enhanced receiver determination

    i am doing scenario FILE-TO-FILE (with one sender and 2 receivers, dynamic receiver identification based on mapping)using enhanced receiver determination,
    it is giving following error in MONI,
    <b>Problem while determining receivers using interface mapping
    System expected the element 'Receivers'</b>
    pls. help me if anybody experienced this scenario,
    i am doing  this scenario based on the below blog.
    /people/venkataramanan.parameswaran/blog/2006/03/17/illustration-of-enhanced-receiver-determination--sp16

    Have u properly followed the weblog,
    Integration Repository Step No 2 and Step No 5
    <i>2. </i><i>In order to use the enhanced receiver determination, create a message mapping which has the target message as “Receiver Determination” in the SAP BASIS --> http://sap.com/xi/XI/System.</i>
    <i>5. Create the Interface Mapping </i>
    U must have checked that ur Xi is on SP 16 or above )
    Regards,
    Prateek

  • Class calling Problem

    I am having a error
    "Cannot reference this before supertype constructor has been called".
    and have no clue what is trying to tell me. It goes to this code snid bit that i am working on for a test game i will be creating.
    class Races
         public Races(Races r,boolean[] Race,int n)
              if(Race[0])
                   r = new Human(r,Race,n);
              else if(Race[1])
                   r = new Mincila(r,Race,n);
              else if(Race[2])
                   r = new Deathoid(r,Race,n);
              else if(Race[3])
                   r = new Mech(r,Race,n);
         class Human extends Races
              public Human(Races r,boolean[] Race,int n)
                   super(r,Race,n);
              private void setBaseUnit(int n)
                   switch(n)
                        case 1:
                             break;
                        case 2:
                             break;
              private class Warrior extends Human
                   private int Health, AP, IMGnum;
                   private String IMGname;
                   private Image IMG;
                   private int D_AP = 5, D_Health = 150;
                   public Warrior(Races r,boolean[] Race,int n)
                        Health = getDefaultHealth();
                        AP = getDefaultAP();
                        IMGname = "Blazer";
                        IMGnum = 0;
                             IMG = Toolkit.getDefaultToolkit().getImage(this.getClass().getResource("/Images/"+IMGname+"/"+IMGname+IMGnum+".gif"));
                   private int getDefaultAP()
                   {return D_AP;}
                   private int getDefaultHealth()
                   {return D_Health;}
              private class Mage extends Human
                   private int Health, AP, IMGnum;
                   private String IMGname;
                   private Image IMG;
                   private int D_AP = 5, D_Health = 150;
                   public Mage(Races r,boolean[] Race,int n)
                        Health = getDefaultHealth();
                        AP = getDefaultAP();
                        IMGname = "Mage";
                        IMGnum = 0;
                        IMG = Toolkit.getDefaultToolkit().getImage(this.getClass().getResource("/Images/"+IMGname+"/"+IMGname+IMGnum+".gif"));
                   private int getDefaultAP()
                   {return D_AP;}
                   private int getDefaultHealth()
                   {return D_Health;}
              private class Warlock extends Human
                   private int Health, AP, IMGnum;
                   private String IMGname;
                   private Image IMG;
                   private int D_AP = 5, D_Health = 150;
                   public Warlock(Races r,boolean[] Race,int n)
                        Health = getDefaultHealth();
                        AP = getDefaultAP();
                        IMGname = "Warlock";
                        IMGnum = 0;
                        IMG = Toolkit.getDefaultToolkit().getImage(this.getClass().getResource("/Images/"+IMGname+"/"+IMGname+IMGnum+".gif"));
                   private int getDefaultAP()
                   {return D_AP;}
                   private int getDefaultHealth()
                   {return D_Health;}
    }can you please help me by telling me where my problem is coming in and how i can fix it. If this is a poor choice of codeing the program. and any other improvement that i could use.
    null

    ok nickmagus your program design worked you win the bucks but now i got some different problems and will be doing another 2 if someone can help me with this
    I have made a test class
    import java.awt.*;
    public class BWTester
         public static void main(String args[])
              BWcharaters BWC = new BWcharaters("Human","Warrior");
              try{
                   System.out.println("Race: "+BWC.getRace());
              }catch(Exception e){
                   System.out.println("Race not obtained");
              try{
                   System.out.println("Class: "+BWC.getClassName());
              }catch(Exception e){
                   System.out.println("Class not obtained");
    }A class to call it and run Races.. (Which has new name and face but works)
    import java.awt.*;
    import javax.swing.*;
    import java.lang.*;
    public class BWcharaters
         private boolean Human, Mincila, Deathoid, Mech, BROKEN;
         BWRaces r;
         public BWcharaters(String Race,String U_Class)
              setCharater(Race,U_Class);
         public String getRace()
              String Race = r.getRace();
              return Race;
         public String getClassName()
              String ClassName = r.getClassName();
              return ClassName;
         private void setCharater(String Race,String U_Class)
              boolean[] BWcB = new boolean[4];
              if(Race == "Human")
                   BWcB[0] = true;
              else if(Race == "Mincila")
                    BWcB[1] = true;
              else if(Race == "Deathoid")
                   BWcB[2] = true;
              else if(Race == "Mech")
                   BWcB[4] = true;
              r = new BWRaces(r,BWcB,U_Class);
    }And Race itself
    import java.awt.*;
    class BWRaces
         protected String RaceName = null;
         protected String ClassName = null;
         public BWRaces(BWRaces r,boolean[] Race,String U_Class)
              setRace(r,Race,U_Class);
              ClassName = U_Class;
         public String getRace()
         {return RaceName;}
         public String getClassName()
         {return ClassName;}
         private void setRace(BWRaces r,boolean[] Race,String U_Class)
              if(Race[0])
                   r = new Human(r,Race,U_Class);
                   RaceName = "Human";
              else if(Race[1])
                   r = new Mincila(r,Race,U_Class);
                   RaceName = "Mincila";
              else if(Race[2])
                   r = new Deathoid(r,Race,U_Class);
                   RaceName = "Deathoid";
              else if(Race[3])
                   r = new Mech(r,Race,U_Class);
                   RaceName = "Mech";
    class Human extends BWRaces
         public Human(BWRaces r,boolean[] Race,String U_Class)
              super(r,Race,U_Class);
              setBaseUnit(r,Race,U_Class);
         private void setBaseUnit(BWRaces r,boolean[] Race,String U_Class)
                   if(U_Class == "Warrior")
                        r = new Warrior(r,Race,U_Class);
                   else if(U_Class == "Mage")
                        r = new Mage(r,Race,U_Class);
                   else if(U_Class == "Warlock")
                        r = new Warlock(r,Race,U_Class);
    class Mincila extends BWRaces
         public Mincila(BWRaces r,boolean[] Race,String U_Class)
              super(r,Race,U_Class);
    class Deathoid extends BWRaces
         public Deathoid(BWRaces r,boolean[] Race,String U_Class)
              super(r,Race,U_Class);
    class Mech extends BWRaces
         private int Health;
         public Mech(BWRaces r,boolean[] Race,String U_Class)
              super(r,Race,U_Class);
    class Warrior extends Human
         private int Health, AP, IMGnum;
         private String IMGname;
         private Image IMG;
         private int D_AP = 5, D_Health = 150;
         public Warrior(BWRaces r,boolean[] Race,String U_Class)
              super(r,Race,U_Class);
              Health = getDefaultHealth();
              AP = getDefaultAP();
              IMGname = "Blazer";
              IMGnum = 0;
              IMG = Toolkit.getDefaultToolkit().getImage(this.getClass().getResource("/Images/"+IMGname+"/"+IMGname+IMGnum+".gif"));
         private int getDefaultAP()
         {return D_AP;}
         private int getDefaultHealth()
         {return D_Health;}
         public String getClassName()
              String ClassName = "Warrior";
              return ClassName;
    class Mage extends Human
         private int Health, AP, IMGnum;
         private String IMGname;
         private Image IMG;
         private int D_AP = 5, D_Health = 150;
         public Mage(BWRaces r,boolean[] Race,String U_Class)
              super(r,Race,U_Class);
              Health = getDefaultHealth();
              AP = getDefaultAP();
              IMGname = "Mage";
              IMGnum = 0;
              IMG = Toolkit.getDefaultToolkit().getImage(this.getClass().getResource("/Images/"+IMGname+"/"+IMGname+IMGnum+".gif"));
         private int getDefaultAP()
         {return D_AP;}
         private int getDefaultHealth()
         {return D_Health;}
    class Warlock extends Human
         private int Health, AP, IMGnum;
         private String IMGname;
         private Image IMG;
         private int D_AP = 5, D_Health = 150;
         public Warlock(BWRaces r,boolean[] Race,String U_Class)
              super(r,Race,U_Class);
              Health = getDefaultHealth();
              AP = getDefaultAP();
              IMGname = "Warlock";
              IMGnum = 0;
              IMG = Toolkit.getDefaultToolkit().getImage(this.getClass().getResource("/Images/"+IMGname+"/"+IMGname+IMGnum+".gif"));
         private int getDefaultAP()
         {return D_AP;}
         private int getDefaultHealth()
         {return D_Health;}
    }If you could seriously help me figure out what the probelm java is having with me it would help a ton. To check you need to Copy and paste my programs in 3 files and then run BWTester.
    It will pop up with a ton of
    at BWRaces.setRace<BWRaces.java:20>
    at BWRaces.<init><BWRaces.java:9>
    at Human.<init><BWRaces.java:45>

Maybe you are looking for

  • Adding leading zeros before data loaded into DSO

    Hi In below PROD_ID... In some ID leading zeros are missing before data loaded into BI from SRM into PROD_ID. Data type is character. If leading zeros are missing then data activation of DSO is failed due to missing zeros and have to manually add the

  • Problem with Sender JDBC CC

    Hi, Sender JDBC communication channel is working fine first time to pull the data and from database.  After pulling the data from the database i just stop the communication channel and start it to pull the data again. but it is not pulling the data a

  • How to download movie in spanish?, how to download movie in spanish?

    i need help

  • Constant Field Values

    A simple question. Does anyone know how to use Constant Field Values of PAPI? Please paste the sample code. Thanks.

  • Printing ALV report

    Hi everyone, I have a report that was created with ALV, everything works fine until we print. When we print the report, it is printed in one page and that's ok, but the size is reduced, I mean the size is very small, any idea why we have this issue?.