Dynamic Type Checking... Is this possible?

I want to do a dynamic check for objec types in a datastructure. Something very similar to instanceof but using dynamic type parameter.
Syntactically speaking...
Instead of writing several methods like
public boolean isOfTypeXYZ( )
return ( this instanceof XYZ);
public boolean isOfTypeABC()
   return ( this instanceof ABC);
...I want one single method like
public isOfType ( Class a_type)
   return (this ***isoftype**** a_type);
}Where isoftype can somehow dynamically figure out if the object is of given type (class)
For those who want to know why I'd need this kind of contrived behaviour let me give a simple example (similar to my real issue).
Suppose I have a swing GUI application which has several laid out components like Containers, JPanels, JToolBars, JMenuItems, JButtons, JToggleButtons, JRadioButtons etc.
Now starting from the JFrame in this containment hierarchy, I want to find all instances of JButtons or say all instances of JRadioButtons or say all instances of JMenuItem or all instances of JComponents ...
I do not want to write a special method for each possible type I might encounter.
I want a more generic method like
searchComponents( Class a_class) that I can invoke by just changing its argument to convey the type.
Unfortunately getClassName() will not work as that gives the most derived type of the object. I want something very much like instanceof wherein I can check for an intermediate super class as well. (eg. All RadioButtons are AbstractButton and should return true for either type).
I tried to search for this in the forums but couldn't find something close to this. (There are several discussions about dynamic type casting which are different).

Is this what you want?
searchComponents( Class a_class) {
// browse components
if (a_class.isInstance(component)) {
// do something
}

Similar Messages

  • Creating dynamic datasources. Is this possible?

    Can I create a 'subset datasource' from an existing datasource
    and then pass this subset datasource to the <jbo:RowsetIterate>
    Let's assume I have a datasource containing 100 records.
    How is is possible to create a new datasource from the exiting datasource
    which will contain 10 records and then this new data source will be passed
    to <jbo:RowsetIterate>?
    I'd like to write a JSP Tag which reads the datasource and creates a subset datasource
    dynamically
    public class SubsetDS extends TagSupport
         public int doStartTag() throws JspException
            ApplicationModule am  = dataSource.getApplicationModule();
            ViewObject vo = am.findViewObject("V0");  
             while(vo.hasNext()){
            Row r = vo.next();
                   // Iterate based on a certain condition and put the new records
            // in a dynamically created DataSource
    Is this possible?

    I don't know about the custom JSP tag part, there is a <jbo:CreateViewObject> tag and ApplicationModule.createViewObject() methods for defining ViewObjects at runtime. We were not able to locate a mechanism for actually running a query against one VO to select rows for a second VO (whether defined at compile-time or runtime). We created a VO at runtime so we could base it's result set on another VO.
    See "Ways to Add a View Object Instance to the Data Model at Runtime" topic in JDev help (we're using 10.1.2, but there's a <jbo:CreateViewObject> tag going back to at least 9.0.3.3); I located using JDev's Help's text search for createviewobject.
    In our case, because the two queries were related (subset), we obtained the where clause from the VO that we defined at compile-time and whose where clause is being set at run time by values passed in from an HTML query form. We then applied that where clause to the dynamically created VO to get the desired subset.
    Hope that gives you a starting place and helps.

  • Variable Decimal of Packed Type Variable: is this possible?

    Hi Experts,
    I'd like to ask if we can have a packed variable with the decimal declaration as variable also, like:
    DATA p_pack_var TYPE p DECIMALS g_var_decimal.
    The scenario is there is a field qamv-toleranzun which I want to be displayed like in the output in QP03. The display in QP03 has variable decimals according to the value in qamv-masseinhsw.
    So for example: qamv-masseinhsw = 3 and qamv-toleranzun is a floating type value, the output in QP03 is format with 3 decimals.
    Or if this is not possible, are there any approach to pass the value of the floating point variable to a decimal type variable with an indefinite decimal places.
    Please Help. Points will be rewarded for valid answers.
    Thanks!

    Is this what you want?
    searchComponents( Class a_class) {
    // browse components
    if (a_class.isInstance(component)) {
    // do something
    }

  • Dynamic Form? Is this possible?

    Hello
    I am trying to create a application to store Biblography references so researchers dont forget who they are citing. It will be similar to an address book, but with different form fields depending on the type of reference.
    For the form where users enter the different fields for a reference, rather than making a form for every type of reference I am trying to make a dynamic generic screen which adds fields depending on the type of reference. To do this I have a string array for each type of reference, which contains the names of all the required fields e.g.
    private String[] bookCitation = { "Title", "Author", "Edition", "Series or Volume Number" "Publisher", "Year of Publication", "Place of Publication"};
    private String[] websiteCitation = { "Title", "Author", "Edition", "Series or Volume Number" "Publisher", "Year of Publication", "Place of Publication"};
    private String[] selection;
    Then in the form screen, the system looks at what type of source the user chose (which is stored to string array variable 'selection' ), and then measures the length of that array, then initates a 'for' loop that creates textfields for each of the fields.
    I have declared 10 textfield variables at the start of the java file with the names field_0, field_1, field_2 ... field_9. (More can be added later if required)
    What I want to know if this is a feasible method in java, and also how could i change the number of the textfield variable to field_x, for each instance of the for loop. e.g when x = 0, i want field_0. I could use a catch statement for each field number if necessary, but this method looks more efficient if it works.
    Here is the code for the entry screen;
    private Screen addEntryScreen()
    addEntryScreen = new Form("New Reference");
    addEntryScreen.addCommand(cancelCommand);
    addEntryScreen.createCommand(addCommand);
    addEntryScreen.setCommandListener(this);
    for(x = 0, x < selection.length, x++)
    field_x = new TextField("selection[ x ]", null, 50, TextField.ANY);
    newProjectScreen.append(field_x);
    for(x = 0, x < selection.length, x++)
    field_x.delete(0, field_x.size());
    display.setCurrent(addEntryScreen);
    return addEntryScreen;
    I hope that all made sense
    Many Thanks
    Max

    I have declared 10 textfield variables at the start of the java file with the names field_0, field_1, field_2 ... field_9. (More can be added later if required)
    No! Use an array or Vector of TextFields.
    this method looks more efficient if it works.So you couldn't try it to discover that it doesn't?
    It looks like you need to spend some time in core java before you continue in Java ME apps. here's a link to the tutorial:
    {color:0000ff}http://java.sun.com/docs/books/tutorial/index.html{color}
    Learn to use arrays and Vector.
    There are a few other points I would like to make about your code:field_x.delete(0, field_x.size());is equivalent to but less easy to read thanfield_x.setText("");Your method addEntryScreen () returns a Form object addEntryScreen, which is confusing. It would be better to call the method getEntryScreen () and have it return entryScreen, which would be setCurrent by the calling routine.
    addEntryScreen.createCommand(addCommand);Form does not have a method createCommand.
    In this linefield_x = new TextField("selection[ x ]", null, 50, TextField.ANY);you are setting the String "selection[ x ]" and not the contents of selection [x] as the label for the TextField.
    Try to get a good grounding in the basics, it'll serve you well later.
    luck, db
    To post code, use the code tags -- [code]Your Code[/code]will display asYour CodeOr use the code button above the editing area and paste your code between the tags it generates.

  • Dynamic Shared Object - Is This Possible?

    What I want in my app is to have 2 tilelists and an array collection of items which will populate the first tilelist and these objects can be dragged between both tilelists. Then the user can click a save button which will save the statuses of both tilelists so the items that are present/not present in each tilelist when the app is closed will still be there when the app is restarted.
    The problem is I want my array collection to be populated dynamically from mysql data on a server.
    I have no problem getting dynamic data from a mysql database into an array colllection via http request and I have no problem getting the shared object to work IF the array collection is defined within the app the usual way but I'm having trouble getting these 2 things to work together. 
    Can anybody tell me if it is indeed possible to have a dynamically populated array collection stored as a shared object on the user's system and would anyone be willing to help me out if I post my code so far? Cheers.

    Hi Greg. The way I usually post code is by clicking the small arrows above and then clicking syntax highlighting and then xml. The problem is this seems to remove all of the quotation marks ("") from my code which is what is causing the errors you mentioned. I've posted it below just by simply copying and pasting. I hope that works better. Cheers for your help:-
    <?xml version="1.0" encoding="utf-8"?>
    <mx:WindowedApplication 
    xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="newsService.send(); initprofile1NewsAndSportSO()">
    <mx:Script><![CDATA[
     import mx.rpc.events.ResultEvent; 
    import mx.collections.*; 
    import flash.net.SharedObject; 
    public var profile1NewsAndSportSO:SharedObject; 
    Bindable] 
    private var profile1NewsAndSportaddLinksFullAC:ArrayCollection; 
    Bindable] 
    private var profile1NewsAndSportaddLinksAC:ArrayCollection; 
    private function newsResultHandler(event:ResultEvent):void{
    profile1NewsAndSportaddLinksFullAC=newsService.lastResult.newscategory.news
    as ArrayCollection;profile1NewsAndSportaddLinksAC=newsService.lastResult.newscategory.news
    as ArrayCollection;}
    // private var profile1NewsAndSportaddLinksFullAC:ArrayCollection = new ArrayCollection([
    // {label:"BBC News"},
    // {label:"ITV"},
    // {label:"Sky News"}
    // ]); // private var profile1NewsAndSportaddLinksAC:ArrayCollection = new ArrayCollection([
    // {label:"BBC News"},
    // {label:"ITV"},
    // {label:"Sky News"}
     private function profile1NewsAndSportReset():void{resetprofile1NewsAndSportAC();
    profile1NewsAndSportAddLinksTilelist.dataProvider = profile1NewsAndSportaddLinksAC;
    profile1NewsAndSportLinkChoice.dataProvider =
    new ArrayCollection([]);}
    private function resetprofile1NewsAndSportAC():void{profile1NewsAndSportaddLinksAC.removeAll();
    for each(var obj:Object in profile1NewsAndSportaddLinksFullAC){profile1NewsAndSportaddLinksAC.addItem(obj);
    private function initprofile1NewsAndSportSO():void{profile1NewsAndSportSO = SharedObject.getLocal(
    "profile1NewsAndSport"); 
    if(profile1NewsAndSportSO.size > 0){ 
    if(profile1NewsAndSportSO.data.profile1NewsAndSportaddList){ 
    if(profile1NewsAndSportSO.data.profile1NewsAndSportaddList != "empty"){ 
    var profile1NewsAndSportaddList:Array = profile1NewsAndSportSO.data.profile1NewsAndSportaddList.split(","); 
    var profile1NewsAndSporttempAC1:ArrayCollection = new ArrayCollection(); 
    for each(var str:String in profile1NewsAndSportaddList){ 
    for each(var obj1:Object in profile1NewsAndSportaddLinksAC){ 
    if(str == obj1.label){profile1NewsAndSporttempAC1.addItem(obj1);
    continue;}
    if(profile1NewsAndSporttempAC1.length > 0){profile1NewsAndSportAddLinksTilelist.dataProvider = profile1NewsAndSporttempAC1;
    if(profile1NewsAndSportSO.data.profile1NewsAndSportchoiceList){ 
    var profile1NewsAndSportchoiceList:Array = profile1NewsAndSportSO.data.profile1NewsAndSportchoiceList.split(","); 
    var profile1NewsAndSporttempAC2:ArrayCollection = new ArrayCollection(); 
    for each(var str2:String in profile1NewsAndSportchoiceList){ 
    for each(var obj2:Object in profile1NewsAndSportaddLinksAC){ 
    if(str2 == obj2.label){profile1NewsAndSporttempAC2.addItem(obj2);
    continue;}
    if(profile1NewsAndSporttempAC2.length > 0){profile1NewsAndSportLinkChoice.dataProvider = profile1NewsAndSporttempAC2;
    else{profile1NewsAndSportReset();
    private function saveprofile1NewsAndSport(event:MouseEvent):void{ 
    var profile1NewsAndSportaddList:String = ""; 
    if(profile1NewsAndSportAddLinksTilelist.dataProvider){ 
    if(ArrayCollection(profile1NewsAndSportAddLinksTilelist.dataProvider).length > 0){ 
    for each(var obj1:Object inprofile1NewsAndSportAddLinksTilelist.dataProvider){
    profile1NewsAndSportaddList += obj1.label +
    else{profile1NewsAndSportaddList =
    "empty";}
    profile1NewsAndSportSO.data.profile1NewsAndSportaddList = profile1NewsAndSportaddList;
    var profile1NewsAndSportchoiceList:String = ""; 
    for each(var obj2:Object inprofile1NewsAndSportLinkChoice.dataProvider){
    profile1NewsAndSportchoiceList += obj2.label +
    profile1NewsAndSportSO.data.profile1NewsAndSportchoiceList = profile1NewsAndSportchoiceList;
    profile1NewsAndSportSO.flush();
    ]]>
    </mx:Script>
     <mx:HTTPService id="newsService" resultFormat="object" result="newsResultHandler(event)" url="http://www.coolvisiontest.com/getnews.php"/> 
    <mx:TileList id="profile1NewsAndSportLinkChoice" fontWeight="bold" dragEnabled="true" dragMoveEnabled="true" dropEnabled="true" height="166" width="650" top="5" left="521" columnCount="5" rowHeight="145" columnWidth="125" backgroundColor="#000000" color="#FFFFFF">
     <mx:itemRenderer>
     <mx:Component>
     <mx:Canvas width="125" height="129" backgroundColor="#000000">
     <mx:Image source="{'http://www.coolvisiontest.com/interfaceimages/images/'+ data.icon}" top="5" horizontalCenter="0"/>
     <mx:Label text="{data.label}" bottom="1" horizontalCenter="0"/>
     </mx:Canvas>  
    </mx:Component>
     </mx:itemRenderer>  
    </mx:TileList>
     <mx:TileList id="profile1NewsAndSportAddLinksTilelist" fontWeight="bold" dragEnabled="true" dragMoveEnabled="true" dropEnabled="true" height="166" width="385" top="5" left="128" columnCount="3" rowHeight="145" columnWidth="125" backgroundColor="#000000" color="#FFFFFF">
     <mx:itemRenderer>
     <mx:Component>
     <mx:Canvas width="125" height="129" backgroundColor="#000000">
     <mx:Image source="{'http://www.coolvisiontest.com/interfaceimages/images/'+ data.icon}" top="5" horizontalCenter="0"/>
     <mx:Label text="{data.label}" bottom="1" horizontalCenter="0"/>
     </mx:Canvas>  
    </mx:Component>
     </mx:itemRenderer>  
    </mx:TileList>
     <mx:Button click="profile1NewsAndSportReset()" id="reset" label="Reset" y="5" height="25" x="5"/>
     <mx:Button click="saveprofile1NewsAndSport(event)" id="save" label="Save Changes" x="5" y="38" width="113" height="25.5"/>
     </mx:WindowedApplication>

  • Global variable of type "List" is this possible in BPEL?

    Map filterMap = new HashMap();
    filterMap.put(WorklistService.FILTER_TYPE_TASK_FILTER,
    WorklistService.TASK_FILTER_DEFAULT);
    filterMap.put(WorklistService.FILTER_TYPE_STATUS_FILTER,
    WorklistService.STATUS_FILTER_ASSIGNED);
    WorklistService wlSvc = WorklistService.getWorklistService();
    IWorklistContext ctx = wlSvc.authenticateUser("jcooper", "");
    List tasks = wlSvc.getWorklistTasks(ctx,
    filterMap,
    WorklistService.SORT_FIELD_TASK_TITLE,
    WorklistService.SORT_ORDER_ASCENDING);
    My question is, is it possible to have the variable tasks which is of type "List" to be accessable in another Java Embedding?

    What do you pass to the config variable?
    Arthur My Blog

  • Knowing the Object type? Is this possible?

    Can we know the type of the object created ? Is there any method
    that lets you know the type of object?
    For example:
    class Superclass{
    class Subclass extends Superclass{
    class TestInheritance{
    public static void main(String[] args){
    Subclass subClass = new Subclass();
    }Now,Subclass is of type Subclass and also of type Superclass.
    Right?
    IS there any way or method I can find out the type of Subclass? ie
    Subclass is of type 'Subclass' and 'Superclass'.

    These might help:
    instanceof operator.
    also
    Object.getClass().className()
    http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html

  • I would like to create a simple vote form that members can hit the reply button and record their preference in a check box. Is this possible on iPad?

    I would like to create a simple vote form that members can hit the reply button and record their preference in a check box. Is this possible on iPad?

    Go to the App Store and search on "Forms Management".
    There are a lot of candidates.

  • Credit Management: Difference Between Static and Dynamic Credit Check

    Hi,
    Could anyone tell the difference Between Static and Dynamic Credit Check?
    According to website: http://www.sap-basis-abap.com/sd/difference-between-static-and-dynamic-credit-check.htm ... this is the answer:
    ====================
    Simple Credit Check : Tr.Code - FD32
    It Considers the Doc.Value + Open Items.
    Doc.Value : Sales Order Has been saved but not delivered
    Open Item : Sales Order has been saved , Delivered, Billed & Transfered to FI, but not received the payment from the customer.
    Static Credit Check it checks all these doc value & check with the credit limit
    1) Open Doc.Value / Sales Order Value : Which is save but not delievered
    2) Open Delivery Doc.Value : Which is delivered but not billed
    3) Open Billing Doc.Value : Which is billed but not posted to FI
    4) Open Item : Which is transfered to FI but not received from the customer.
    Dynamic Credit Check         1) Open Doc
                                                2) Open Delivery
                                                3) Open Billing
                                                4) Open Items
                                                5) Horizon Period = Eg.3Months
    Here the System will not consider the above 1, 2, 3 & 4 values for the lost 3 months.    
    ====================
    Question 1: Could you further explain the above information, if there is any?
    Question 2:: What is the Tcode to customize settings of:
    a) Simple Credit Check (isn't this same with b) below?)
    b) Static Credit Check
    c) Dynamic Credit Check

    Hi Tanish,
    Diff between Static and Dynamic Filters.
    Example One at report Level.
    Create a variable for a Infoobject say ,Material .
    1)In the Query Designer and if u restrict it to some 10 materials at query level, the report will display for only those 10 materials only.This is Static Filter.UR AHrdcoding it to those materials.You cant change them at Query Run time.i.e not changeable by user.
    2)If u give the variable as input ,and when u run the query ,u can can choose the material,may 10 may be 1 or may 20 .It is dynamic.Changeable by user at run time
    Example Two at DTP and Start Routine Level,say Document Type.
    1)If u give filters in Start routine it is Static as u cannot change it in Production,not changeable by user.
    2)f u give filters in DTP it is Dyanamic as u can change it in Production.U can give any doc type,Changeable by user at run time.
    Hope it is Understood.
    Rgds
    SVU

  • Posting with transaction type 160 is not possible at MR8M

    MODERATOR:  Do not post (or request) email address or links to copyrighted or confidential information on these forums.  If you do, the thread will be LOCKED and all points UNASSIGNED.  If you have some information, please consider posting it to the [Wiki|https://wiki.sdn.sap.com/wiki/display/ERPFI/Home] rather than sharing via email.  Thank you for your assistance.
    Hi All,
    We raised  a PO w.r.t CWIP asset and posted GRN (MIGO - Transaction typr:100) and Invoice (MIRO).
    Here, Invoice posted wrongly, So we are trying to reverse the invoice with MR8M (which is posted thru MIRO).
    But system populating one message as per the following:
    Posting with transaction type 160 is not possible here, see long text
    Message no. AAPO 177
    Diagnosis:
    Transaction type 160 has a depreciation limitation, although posting is not mandatory in all of the depreciation areas entered However, it is not possible to select depreciation areas in the current transactions.
    Procedure:
    Check the specification of transaction type 160 or use transaction MR8M to enter the transaction
    Please help
    Sairavi
    kumarfi9gmailcom

    Welcome to the forum.
    As a newbie you should understand the forum rules where you are not suppose to post any basic or repeated question.  To avoid this, you should make a search here
    [Forum Search|http://forums.sdn.sap.com/search!default.jspa?objID=f327]
    Type the same error text in Search Terms so that you will find the solution.
    thanks
    G. Lakshmipathi

  • Dynamic Availability Check for Goods Issue,Transfer Posting

    Dear All,
    Can anyone explain the Dynamic Availability Check??
    I mean the relevance on setting this indicator for a mov.type?
    In OMCM & OMCP I have defined a Checking Rule & also assigned the same to a Mov.type as well the transaction code?
    whether the Dynamic Availability Check concept is same in case of sales ie Say I have a Stock of 100 qtys for a material in a plant & in the availability Scope of Check I have ticked the include safety stock.
    In my material master I have a safety stock of 500 qtys.
    So when I do a transfer posting for this material with Qty as 200, System should allow me do proceed as in my availability check I have enabled the safety stock option.
    But this is not happening & I am getting an error message as deficit of stock 100 nos. Also what is use of setting the dynamic availability check indicator for my mov.type as A - Warning message , B - Error Message etc..
    Kindly suggest valuable inputs.
    Thanks & Regards,

    For e.g. there is Available Stock = 1000 qty and safety stock in material master = 500 qty then system will allow you to use 1000 qty only not 1500 qty
    This is only used for availability check purpose whether system it should be considered or not?
    And following indicators means;
    A  W mess. only issued in the case of non-availability
    B  E mess. only issued in the case of non-availability
    E  Message in any case: W mess. for non-avail., otherw. S mess.
    F  Message in any case: E mess. for non-avail., otherw. S mess.
    S  Availability check only with simulation
    The above indicators indicate whether the system is to check for existing material requirements.
    Award appropriately once the thread is answered.

  • Dynamic Type casting

    Can we dynamically type-cast an object reference passed to Object Clss to that specific class?
    Here is what I want to do.
    I am going to pass an object reference to a method, which has Object class as parameter to it, as shown below. Using getClass() or some other way, I want to dynamically typecast this reference to the original Class and call some method of this Class.
    void test (Object ref1){
    ((ref1.getClass())ref1).writeLog();
    By doing this, am I violating the basic Object Orineted rules?

    I mean, consider an hypothetical case (which is wrong
    from OO point of view) that there are suppose 10
    classes in my system. None of them related to each
    other, all are independent classes. But each one has a
    method called, writeLog(). Now I want to write one
    method which will be called by each of these classes
    (in some 11th class), which will have "Object" as a
    parameter. Now using the actual reference I want to
    call the corresponding writeLog() method.
    1 - Point out to management that the design is now officially broken.
    2 - Point out that if the design is not fixed then any solution that impliments the changes will cost more to maintain in the future and will likely lead to instabilities in the system (due to complexity.)
    3 - Implement one of the suggested solutions and make sure that you put in a lot of error checking and logging in the hacked solution.
    4 - Produce extensive documentation about the impact of changing any of the objects that you are relying on. Push it to anyone and everyone that might ever touch or even suggest changes to the code.
    Doing all of the above allows you to live stress free when the next revision breaks because someone didn't understand the implications of your hacked solution. You will be able to find the problem quickly and point out that it had nothing to do with your code but rather because someone else did not follow the complete documentation that you produced. And then when they complain that your solution was a hack you can point out that you explained that previously as well.

  • No object type found for this message

    Hi all,
    I have a file 2 file scenario which works fine.
    I tried implementing BPM in the same scenario following the link:
    /people/krishna.moorthyp/blog/2005/06/09/walkthrough-with-bpm
    The sender channel is working fine and the file gets deleted from the source folder.
    But the output file is not getting generated.
    The error msg displayed in SXMB_MONI is:
    <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
    <SAP:Category>XIAdapter</SAP:Category>
    <SAP:Code area="BPE_ADAPTER">UNKNOWN_MESSAGE</SAP:Code>
    <SAP:P1 />
    <SAP:P2 />
    <SAP:P3 />
    <SAP:P4 />
    <SAP:AdditionalText />
    <SAP:ApplicationFaultMessage namespace="" />
    <SAP:Stack>No object type found for this message</SAP:Stack>
    <SAP:Retry>M</SAP:Retry>
    </SAP:Error>
    What can be the possible problem.
    Pls help
    Thanks in advance
    Regards,
    Neetu

    Hi,
    <i>>>Are you getting 2 entries in the SXMB_MONI for this File to File Scenario?</i>
        No i am getting a sigle entry in which the sender service is the file system and the receiver service is the Integration Process.
    <i>>>Do you have 2 receiver determinations.
    i.e 1) File to Integration Process
    2) Integrtaion Process to File</i>
               Yes i have the above 2 receiver determinations.
    <i>>>Also go to SXI_CACHE and check the Runtime version of your Integration PRocess.</i>
          the runtime version of my integration process is 2.
    I also tried activating my integration process in SXI_CACHE but the version remains 2.
    What can i do next?
    Pls guide
    Regards
    Neetu
    There is one SAP note, but may not be related here.i.e 816778

  • HELP! JSP as items in a region - is this possible?

    Hi All,
    Can someone please tell me how to bring in a JSP code as an item or portlet within a region. Is this possible with Oracle9iAS release 2? I need to generate dynamic html within a particular region based on a query string parameter and I thought this is one way of doing it.
    If anyone can help, that would be great!
    Thanks in advance,
    Kim

    Kim,
    There are many articles on Portal Center that discuss building portlets from JSPs. You can also post questions on this topic to the PDK forum.
    For PL/SQL, there are a number of options. You can build PL/SQL portlets - the dynamic page component is a good start, that is conceptually similar to JSPs.
    You can also create PL/SQL items that can be rendered in-place or displayed as a link - make sure that you don't use the "Simple PL/SQL" item type, as you can't control the rendering behaviour. Use the supplied "PL/SQL" item type, or create your own custom item type based on "Simple PL/SQL".
    Finally, any item type (except the "simple" ones) can be associated with a procedure that can generate dynamic content. The procedures can be PL/SQL or any function that can be invoked via a URL (e.g. a JSP or servlet).
    Note that in your PL/SQL procedures you'll need to use the HTP package to generate HTML.
    Regards,
    Jerry
    Portal PM

  • Dump while testing Function- Dynamic type conflict when assigning reference

    Hi Gurus,
    I have the following checked and activated-
    - Function with 1 Ruleset
    - The Ruleset containing couple of DBlookup expressions
    - Value range
    - Decision Table
    - Decision tree,
    - Procedure call
    After I give test data while Simulating the function, I get this dump-
    Short text
        Dynamic type conflict when assigning references
    What happened?
        Error in the ABAP Application Program
        The current ABAP program "CL_FDT_DB_LOOKUP==============CP" had to be
         terminated because it has
        come across a statement that unfortunately cannot be executed.
    Have I missed something? We are on SAPKA70207.

    Hi Carsten,
    I couldn't find an OSS note featuring-
    "MOVE_CAST_ERROR" "CX_SY_MOVE_CAST_ERROR"
    "CL_FDT_DB_LOOKUP==============CP" or "CL_FDT_DB_LOOKUP==============CM01K"
    "BUILD_WHERE_CLAUSE_LIMIT"
    Raised OSS note.

Maybe you are looking for

  • Application error happening at least twice a day. Faulting applicaiton name: wmiprvse.exe

    We're experiencing an issue with one of our Windows Server 2008R2 Standard Edition SP1 servers where an Application error occurs at least twice, and sometimes up to 5 or 6 times per day.  The following error is what we see.  Any help would be greatly

  • Cost Sheet & Productin Order

    Dear Experts In my Company the 90% Cost out of total Cost of Production is Raw material (BOM Cost).Which is directly booked in Production Orders and not in Cost Centers.Similarly my other expenses is booked in a Cost Center not to a production order.

  • Camera live video feed to mac?

    My camera outputs a HDMI live video feed. Can I desplay this on my IMAC 21.5'' 2011. I want to use my camera as a stop motion capture device so essentially it would be a webcam. Can you help Oliver. My camera is a Sony Cyber shot HX200V.

  • PDF iBooks and iPad Syncing!!!

    I have stored on my iMac pdf files, how do I sync these to my iPad to show in iBooks under pdf collections so I can read them on the move?

  • After downloading iOS 6, the map rout doesn't work

    Please be informed that I am facing a problem with the iphone Maps, it happened that routs between places are not working now , that happened afyer I downloaded iOS 6, please advise