Scenarios to use dynamic UI access and creation.

Hi,
     I would like to know the possible scenarios to use Dynamic UI creation or access. Since so far I don't find any compelling need to use dynamic UI creation or other dynamic access to UI element.
ThanQ for Ur time.
Cheers,
Sam

Hi Sam.
Dynamic Ui creation is only neede if you do not know which or how many UI
elements you need during design time.
We have one scenario where we need to generate select options for reports dynamically. The
select options are defined in application tables and read during run time. So
depending on the defined option in the table for a certain report, the selction UI is
built dynamically.
Many cases can be handled by using context attributes for the UI element
properties e.g. (read only, visibility or required/normal item). We have some views
where only certain user types have to enter certain data. So depending on the
user type the visibility or required property of input fields is controlled by context
sttibutes.
But this is just one point of view. I guess there cvan be a lot of scenarios where
dynamic UI creation is needed.
Anyway, always consider that dynamic UI creation is less maintainable cause
code is harder to read and understand.
Cheers,
Sascha

Similar Messages

  • ALV display using dynamic field catalog and dynamic internal table

    hi ,
    please guide me for ALV display using dynamic field catalog and dynamic internal table.
    Thank you.

    Hi Rahul,
    maybe thread dynamic program for alv is helpful for you. More information about the [SAP List Viewer (ALV)|http://help.sap.com/saphelp_nw70/helpdata/EN/5e/88d440e14f8431e10000000a1550b0/frameset.htm]. Also have a look into the example programs SALV_DEMO_TABLE*.
    Regards Rudi

  • Multiple Accounts in 7.0 using Dynamic User Forms and Account Types

    Guys/Gals,
    We are attempting to implement the new way of handling multiple account types in IDM 7.0 and so far are coming up unsuccessful. We have managed to customize the Dynamic Resource Forms to create standard default AD accounts, however when we attempt to create different account types of AD(i.e type ADMIN account, or TEST account) we have a no go. We've made identity rules for the types of accounts we have, and the form displays the attributes, however when we go to save, the it attemts to update the default account, and not make the new account type. Has anyone implemented these new features? Any help or suggestions would be greatly appreciated. Thanks!

    Were you ever able to implement this? I was told this was the way to handle multiple accounts for a user on a resource, but so far it's not making much sense to me, nor does it seem feasible. I was wondering if you had any success with it.

  • HT5914 Using AppleScript with Accessibility and Security features in Mavericks

    I have an AppleScript that works fine when run from the AppleScript Editor and has an errorr when run as an App.  This problem is described by the following knowledgebase article: http://support.apple.com/kb/HT5914   However, in my case the first error appears, but the second dialog does not.  I've tried Signing the AppleScript, but the error remains.  Any suggestions?

    A regular AppleScript application saves its properties to the script in the application bundle, which is seen as a new (different) application.  If your script doesn't need to keep its properties (e.g. to save some current value for the next run), you can try making the script read only, then add the application to the Privacy list.

  • How to use dynamic query for Result table

    Hello Experts,
    I want to use dynamic query and then display the result in the assignment block.
    Using dynamic query BTQAct and BTQRAct and base on some search criteria i want tofilter and then append the result in the result table of that custom context node, and then it should display the result in the view in UI.
    SO can you please provide me the samplle code on how to use the dynamic query and append in the result table.
    Regards.

    Hi,
    Please find below sample code:
    data:  query         TYPE REF TO cl_crm_bol_dquery_service,
               result        TYPE REF TO if_bol_bo_col.
    DATA: lt_params       TYPE crmt_name_value_pair_tab,        
               lwa_params      TYPE crmt_name_value_pair.             
    query = cl_crm_bol_dquery_service=>get_instance( 'BTQAct' ). " Get instance of dynamic query
    Set general query parameter for maximum number of hits
          lwa_params-name = 'MAX_HITS' .
          lwa_params-value = '50'.
          APPEND lwa_params TO lt_params.
          query->set_query_parameters( it_parameters = lt_params ).
          query->add_selection_param( iv_attr_name = 'OBJECT_ID'
                                                    iv_sign      = 'I'
                                                    iv_option    = 'EQ'
                                                    iv_low       = <lv_objectid>
                                                    iv_high      = '' ). " Set your search criteria. Repeat this code if you have multiple parameters
    "You can find possible search options for a query object in  GENIL_BOL_BROWSER
    result ?= query->get_query_result(  ).   " Get result from your search query
    me->typed_context-> <your result context node>->set_collection( result ). 
    Here you will have to create a context node in your view which would refer to query result object like for BTQAct its BTQRAct                      
    Hope this helps.
    e Regards,
    Bhushan

  • When to not use dynamic in C#

    I'm making a class similar to the following:
    public class KeyValue
    public readonly string key;
    public readonly object value;
    Value could be of any object type as a result of this design.
    Alternatively, I could just use dynamic for value and it'll make my life easier, because it would mean no type-casting, and also because, as far as I understand, I could use value types without needing to box/unbox.
    Is there any reason not to use dynamic and to use object instead? Because I can't think of any.
    Note: I realize generics are much more suited for this, but it doesn't work for my needs. The above is really a simplification just for the purposes of this question.

    Hi
    StrikeBT,
    >>Is there any reason not to use dynamic and to use object instead? Because I can't think of any.
    The compiler ignores the variables
    defined by dynamic. So it will brings some errors in runtime.
    For example:dynamic typing is that it often hides bugs that would be otherwise revealed during compilation. Such bug then only manifests on run-time, which of course makes it much harder to detect.
    Please take a look at the example in the following articles. Note the samples it would be helpful to understand more.
    What is the difference between “dynamic” and “object” keywords?
    dynamic type in C#.4.0  Where and how to use? How does it differ from var and object?
    >>Note: I realize generics are much more suited for this, but it doesn't work for my needs.
    Yes,  for example code as below
    public interface IXRefData
    // TODO: add definition here
    public class XRefComponent<TData>
    where TData : IXRefData
    public void Update() { }
    public class XRefPickData : IXRefData { }
    public class XRefPackData : IXRefData { }
    public class XRefUpdator
    private List<dynamic> components = new List<dynamic>();
    public List<dynamic> Components
    get { return components; }
    set { components = value; }
    class Program
    static void Main(string[] args)
    XRefUpdator updator = new XRefUpdator();
    // Now we can add two different classes to list Components
    updator.Components.Add(
    new XRefComponent<XRefPickData>());
    updator.Components.Add(
    new XRefComponent<XRefPackData>());
    Thanks,
    Kristin
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Dynamic Work Area and field symbol

    Hi All,
    I'm have a big internal table like this
    data: begin of data occurs 0,
    Field01,
    Field02,
    Field03,
    *bucket 1
    Field04,
    Field05,
    Field06,
    *bucket 2
    Field04,
    Field05,
    Field06,
    *bucket 3
    Field04,
    Field05,
    Field06,
    Field 1, 2 3 will be the same for pernr, first last name.
    Field 4, 5, 6 are the same format but different numbers (or values ) in different buckets.
    Each bucket can be shown (or not) based on the condition of a person, for example if that person live in 2 states, it will show 2 bucket with 2 address info inside each.
    I will run this under get pernr to sort out each person who have many address or not.
    Can I use dynamic work area and field symbol here? if I can, how?
    Really appreciate your help with points...

    You can use the ASSIGN COMPONENT ... and than APPEND the work area to the table.
    Check out this sample program:
    REPORT  ZTEST_NP.
    DATA: BEGIN OF ITAB OCCURS 0,
          F1    TYPE I,
          F2    TYPE I,
          F3    TYPE I,
          END   OF ITAB.
    DATA: WA_ITAB LIKE ITAB.
    DATA: L_CNT TYPE I.
    FIELD-SYMBOLS: <F_FLD> TYPE ANY.
    DO 10 TIMES.    " I want 10 reocrds
      CLEAR L_CNT.
      DO 3 TIMES.   " I have 3 fields
        L_CNT = L_CNT + 1.
        ASSIGN COMPONENT L_CNT OF STRUCTURE WA_ITAB TO <F_FLD>.
        <F_FLD> = L_CNT.
      ENDDO.
      APPEND WA_ITAB TO ITAB.
      CLEAR  ITAB.
    ENDDO.
    LOOP AT ITAB INTO WA_ITAB.
      WRITE: / WA_ITAB-F1,
               WA_ITAB-F2,
               WA_ITAB-F3.
    ENDLOOP.
    Regards,
    Naimesh Patel

  • Transfering  Access and Excel to XML

    Dear all,
    Does anybody know the classes and APIs used to transfering Access and Excel to XML?
    Kevin

    There is no single Java API that is built to translate Access and Excel data into XML. However, you can use a simple combination of APIs to accomplish this task. A direct way of doing this is to create ODBC datasources from your Access or Excel sources, use JDBC to connect to and query those datasources. From there you can use the WebRowSet to convert your ResultSet into XML. If you require more control over the formatting of the data, you'll need write something that iterates over the ResultSet data, translating the column names and values into XML. I would recommend using JDOM to build your XML documents. WebRowSet is part of the Rowset API.
    Hope this clears things for you.

  • Example of obj.conf file using dynamic headers/footers

    Just a quick query. I'm trying to use dynamic headers/footers and I've read
    the notes on:
    http://docs.iplanet.com/docs/manuals/enterprise/50/ag/essearch.htm#26999
    I cant seem to get it to work. Could you send me an example of an obj.conf
    file so I can get mine to work?
    Many Thanks in Advance,
    Mian Amar Ahmad

    Thanks. I followed the guidance of the 3 links you provided. I thought what I coded in the obj.conf was working.
    <If $uri =~ "^/dynamic/(.*)$">
    NameTrans fn="restart" uri="/$1?$query"
    </If>
    But, I later found that this fails when the method is a GET and the query-string is null and when the method is a POST. I need all GETs and POSTs starting with "/dynamic" to have it stripped and "restarted". So, I modified my original config to make POSTs work. So now I have the following code:
    <If $method eq "POST" and $uri =~ "^/dynamic/(.*)$">
    NameTrans fn="restart" uri="/$1"
    </If>
    <If $method eq "GET" and $uri =~ "^/dynamic/(.*)$">
    NameTrans fn="restart" uri="/$1?$query"
    </If>
    Now, I'm left with trying to get it working for GETs where the query-string is null. I'm not quite sure how to do this? Do you have any suggestions? It seems like the code is getting pretty crazy just to perform this functionality, Is there a simplier way that I am not seeing?

  • XI--- R/3 scenario: directly access and query a Y-table in R/3

    Hi forum,
    I need to make a XI--->R/3 scenario, i want to access and query a table in R/3 (a Y transparent table),
    i have been suggested to use a Sysnchronous call to BAPI/Function module, but i want to know whether there's a way i can access/query a Y-Table in the R/3 directly without using a function module in it,

    hi sudeep,
    to access a table in r/3 u can either go for an rfc or a server proxy.
    >>whether there's a way i can access/query a Y-Table in the R/3 directly without using a function module in it,
    do u mean querying the database directly? u "can" ofcourse do it  but <b>shud never</b> access r/3 database directly.
    [reward if helpful]
    regards,
    latika.

  • Dynamic class loading problem using unknown JAR archive and directory names

    I read the following article, which enlightened me a lot:
    Ted Neward: Understanding Class.forName().
    However, it took me some while to understand that my problem is the other way around:
    I know the name of the class, I know the name of the method,
    but my program/JVM does not know where to load the classes from.
    Shortly, my problem is that the server engine that I am writing
    uses two different versions of the same library.
    So I am trying out the following solution:
    My program is named TestClassPathMain.java
    Assume the two libraries are named JAR1.jar and JAR2.jar
    and the class/instance method that should
    be exposed to TestClassPathMain.java by them is named
    TestClass1.testMethod().
    As long as I was depending on just one library,
    I put JAR1.jar in the classpath before starting java,
    and I was happy for a while.
    At the moment I got the need to use another version of
    TestClass1.testMethod() packaged in JAR2.jar,
    a call would always access JAR1.jar's
    TestClass1.testMethod().
    I then decided to remove JAR1.jar from the classpath,
    and programmatically define two separate ClassLoaders, one for use
    with JAR1.jar and the other for use with JAR2.jar.
    However, the problem is only partly solved.
    Please refer to the enclosed code for details.
    (The code in the JAR1.jar/JAR2.jar is extremely simple,
    it just tells (by hardcoding) the name of the jar it is packaged in
    and instantiates another class packaged in the same jar using
    the "new" operator and calls a method on it. I don't enclose it.)
    The TestClassPathMain.java/UC1.java/UC2.java code suite was
    successfully compiled with an arbitrary of JAR1 or JAR2 in the classpath,
    however removed from the classpath at runtime.
    (I know that this could have been done (more elegantly...?) by producing an Interface,
    but I think the main problem principle is still untouched by this potential lack of elegancy(?))
    1) This problem should not be unknown to you experts out there,
    how is it generally and/or most elegantly solved?
    The "*** UC2: Variant 2" is the solution I would like best, had it only worked.
    2) And why arent "*** UC2: Variant 2" and
    "*** static UC2: Variant 2" working,
    while "*** Main: Variant 2" is?
    3) And a mal-apropos:
    Why can't I catch the NoClassDefFoundError?
    The output:
    *** Main: Variant 1 JAR 1 ***:
    Entering TestClass1.testMethod() packaged in JAR1.jar
    About to instantiate TestClass2 with the new operator
    About to call TestClass2.testMethod()
    Entering TestClass2.testMethod() packaged in JAR1.jar
    *** Main: Variant 1 JAR 2 ***:
    Entering TestClass1.testMethod() packaged in JAR2.jar
    About to instantiate TestClass2 with the new operator
    About to call TestClass2.testMethod()
    Entering TestClass2.testMethod() packaged in JAR2.jar
    *** Main: Variant 2 JAR 1 ***:
    Entering TestClass1.testMethod() packaged in JAR1.jar
    About to instantiate TestClass2 with the new operator
    About to call TestClass2.testMethod()
    Entering TestClass2.testMethod() packaged in JAR1.jar
    *** Main: Variant 2 JAR 2 ***:
    Entering TestClass1.testMethod() packaged in JAR2.jar
    About to instantiate TestClass2 with the new operator
    About to call TestClass2.testMethod()
    Entering TestClass2.testMethod() packaged in JAR2.jar
    *** UC1: Variant 1 JAR 1 ***:
    Entering TestClass1.testMethod() packaged in JAR1.jar
    About to instantiate TestClass2 with the new operator
    About to call TestClass2.testMethod()
    Entering TestClass2.testMethod() packaged in JAR1.jar
    *** UC1: Variant 1 JAR 2 ***:
    Entering TestClass1.testMethod() packaged in JAR2.jar
    About to instantiate TestClass2 with the new operator
    About to call TestClass2.testMethod()
    Entering TestClass2.testMethod() packaged in JAR2.jar
    *** static UC2: Variant 2 JAR 1 ***:
    Exception in thread "main" java.lang.NoClassDefFoundError: TestClass1
            at UC2.runFromJarVariant2_static(UC2.java:56)
            at TestClassPathMain.main(TestClassPathMain.java:52)
    TestClassPathMain.java
    import java.lang.reflect.InvocationTargetException;
    import java.lang.reflect.Method;
    import java.net.MalformedURLException;
    import java.net.URL;
    import java.net.URLClassLoader;
    public class TestClassPathMain {
        public static void main(final String args[]) throws MalformedURLException, ClassNotFoundException, InstantiationException, SecurityException, NoSuchMethodException, IllegalArgumentException, IllegalAccessException, InvocationTargetException {
                // Commented out because I cannot catch the NoClassDefFoundError.
                // Why?
                try {
                    final TestClass1 testClass1 = new TestClass1();
                    System.out.println(
                        "\nThe class TestClass1 is of some unexplicable reason available." +
                        "\nFor the purpose of the test, it shouldn't have been!" +
                        "\nExiting");
                    System.exit(1);
                } catch (NoClassDefFoundError e) {
                    System.out.println("\nPositively confirmed that the class TestClass1 is not available:\n" + e);
                    System.out.println("\n\nREADY FOR THE TEST: ...");
                // Works fine
                System.out.println("\n*** Main: Variant 1 JAR 1 ***:");
                runFromJarVariant1("file:/W:/java/eclipse/workspaces/simped_test/CP1/JAR1.jar");
                System.out.println("\n*** Main: Variant 1 JAR 2 ***:");
                runFromJarVariant1("file:/W:/java/eclipse/workspaces/simped_test/CP2/JAR2.jar");
                // Works fine
                System.out.println("\n*** Main: Variant 2 JAR 1 ***:");
                runFromJarVariant1("file:/W:/java/eclipse/workspaces/simped_test/CP1/JAR1.jar");
                System.out.println("\n*** Main: Variant 2 JAR 2 ***:");
                runFromJarVariant1("file:/W:/java/eclipse/workspaces/simped_test/CP2/JAR2.jar");
                // Works fine
                final UC1 uc1 = new UC1();
                System.out.println("\n*** UC1: Variant 1 JAR 1 ***:");
                uc1.runFromJarVariant1("file:/W:/java/eclipse/workspaces/simped_test/CP1/JAR1.jar");
                System.out.println("\n*** UC1: Variant 1 JAR 2 ***:");
                uc1.runFromJarVariant1("file:/W:/java/eclipse/workspaces/simped_test/CP2/JAR2.jar");
                // Crashes
                System.out.println("\n*** static UC2: Variant 2 JAR 1 ***:");
                UC2.runFromJarVariant2_static("file:/W:/java/eclipse/workspaces/simped_test/CP1/JAR1.jar");
                System.out.println("\n*** static UC2: Variant 2 JAR 2 ***:");
                UC2.runFromJarVariant2_static("file:/W:/java/eclipse/workspaces/simped_test/CP2/JAR2.jar");
                // Crashes
                final UC2 uc2 = new UC2();
                System.out.println("\n*** UC2: Variant 2 JAR 1 ***:");
                uc2.runFromJarVariant2("file:/W:/java/eclipse/workspaces/simped_test/CP1/JAR1.jar");
                System.out.println("\n*** UC2: Variant 2 JAR 2 ***:");
                uc2.runFromJarVariant2("file:/W:/java/eclipse/workspaces/simped_test/CP2/JAR2.jar");
        private static void runFromJarVariant1(final String jarFileURL)
            throws MalformedURLException,
                   ClassNotFoundException,
                   InstantiationException,
                   IllegalArgumentException,
                   IllegalAccessException,
                   InvocationTargetException,
                   SecurityException,
                   NoSuchMethodException {
            final URL url = new URL(jarFileURL);
            final URLClassLoader cl =
                new URLClassLoader(new URL[]{url},
                                   Thread.currentThread().getContextClassLoader());
            final Class clazz = cl.loadClass("TestClass1");
            final Object testClass1 = clazz.newInstance();
            final Method testMethod1 = clazz.getMethod("testMethod", null);
            testMethod1.invoke(testClass1, null);
        private static void runFromJarVariant2(final String jarFileURL)
            throws MalformedURLException,
                   ClassNotFoundException,
                   InstantiationException,
                   IllegalArgumentException,
                   IllegalAccessException,
                   InvocationTargetException,
                   SecurityException,
                   NoSuchMethodException {
            final URL url = new URL(jarFileURL);
            final URLClassLoader cl =
                new URLClassLoader(new URL[]{url},
                                   Thread.currentThread().getContextClassLoader());
            final Class clazz = cl.loadClass("TestClass1");
            final TestClass1 testClass1 = new TestClass1();
            testClass1.testMethod();
    UC1.java
    import java.lang.reflect.InvocationTargetException;
    import java.lang.reflect.Method;
    import java.net.MalformedURLException;
    import java.net.URL;
    import java.net.URLClassLoader;
    public class UC1 {
        public void runFromJarVariant1(final String jarFileURL)
            throws MalformedURLException,
                   ClassNotFoundException,
                   InstantiationException,
                   IllegalArgumentException,
                   IllegalAccessException,
                   InvocationTargetException,
                   SecurityException,
                   NoSuchMethodException {
            final URL url = new URL(jarFileURL);
            final URLClassLoader cl =
                new URLClassLoader(new URL[]{url},
                                   Thread.currentThread().getContextClassLoader());
            final Class clazz = cl.loadClass("TestClass1");
            final Object testClass1 = clazz.newInstance();
            final Method testMethod1 = clazz.getMethod("testMethod", null);
            testMethod1.invoke(testClass1, null);
    UC2.java
    import java.lang.reflect.InvocationTargetException;
    import java.net.MalformedURLException;
    import java.net.URL;
    import java.net.URLClassLoader;
    public class UC2 {
        public void runFromJarVariant2(final String jarFileURL)
        throws MalformedURLException,
               ClassNotFoundException,
               InstantiationException,
               IllegalArgumentException,
               IllegalAccessException,
               InvocationTargetException,
               SecurityException,
               NoSuchMethodException {
            final URL url = new URL(jarFileURL);
            final URLClassLoader cl =
                new URLClassLoader(new URL[]{url},
                                   Thread.currentThread().getContextClassLoader());
            final Class clazz = cl.loadClass("TestClass1");
            final TestClass1 testClass1 = new TestClass1();
            testClass1.testMethod();
         * Identic to the "runFromJarVariant2" method,
         * except that it is static
        public static void runFromJarVariant2_static(final String jarFileURL)
        throws MalformedURLException,
               ClassNotFoundException,
               InstantiationException,
               IllegalArgumentException,
               IllegalAccessException,
               InvocationTargetException,
               SecurityException,
               NoSuchMethodException {
            final URL url = new URL(jarFileURL);
            final URLClassLoader cl =
                new URLClassLoader(new URL[]{url},
                                   Thread.currentThread().getContextClassLoader());
            final Class clazz = cl.loadClass("TestClass1");
            final TestClass1 testClass1 = new TestClass1();
            testClass1.testMethod();
    }

    2. i need to load the class to the same JVM (i.e. to
    the same environment) of the current running
    aplication, so that when the loaded class is run, it
    would be able to invoke methods on it!!!
    ClassLoader(s) do this. Try the URLClassLoader.
    (I was talking about relatively esoteric "security"
    issues when I mentioned the stuff about Class objects
    "scope".) You might use the URLClassLoader kind of
    like this.
    Pseudo-code follows:
    // setup the class loader
    URL[] urls = new URL[1];
    urls[0] = new URL("/path/to/dynamic/classes");
    URLClassLoader ucl = new URLClassLoader(urls);
    // load a class & use make an object with the default constructor
    Object tmp = ucl.loadClass("dynamic.class.name").newInstance();
    // Cast the object to a know interface so that you can use it.
    // This may be used to further determine which interface to cast
    // the class to. Or it may simply be the interface to which all
    // dynamic classes have to conform in your program.
    InterfaceImplementedByDynamicClass loadedObj =
        (InterfaceImplementedByDynamicClass)tmp;It's really not as hard as it sounds, just write a little test of
    this and you will see how it works.

  • Dynamic web pages and Access

    I am starting to work on some dynamic web pages to upload
    information to an Access 2003 database using ASP. What I would like
    to do is to give the user a chance to review their information
    before it actually gets sent to the database. That is to say, after
    they fill out the form on the dynamic web page, and click a submit
    button, I would like to bring up a new page with their info
    summarized and give them the chance to review it and/or go back and
    make changes before it actually gets written to the database. Any
    suggestions would be appreciated!

    I'm not sure what the question is. It sounds like you already
    know what you want.
    Have the form post to an asp page that retrieves the form
    values and displays them in the format you want. Give them the
    choice to go back and make changes or submit. The second page can
    also be a form that you dynamically populate from the first page
    values.
    I'm not really sure what the benefit of this is. Why do the
    users need a different page to review what they input from the
    original page? What added value will there be?

  • Error using CR 11.5 with dynamic cascading prompts and SAP Integr.Kit XI R2

    Hi,
    we are using the SAP Integration Kit XI R2 (patched up to FP4.3) in order to report SAP BW data (BW 3.5) in Crystal Reports 11.5 (SP 4). In order to access the stored BEx Queries we use either the SAP BW Query or the SAP BW MDX Query Driver (_we DO NOT use any universes_). Everything seems to work fine ex cept when we want to use dynamic cascading LOVs within CR. For example when a user runs a report she/he should select first a customer group (0CUST_GROUP prompt) and then the customer (0DEBITOR). Defining the cascading prompts with dynamic LOVs is no problem in CR and when the report runs (either in CR Designer or in InfoView) both prompts appear. Still when we do a selection for the first prompt (0CUST_GROUP) we get a 0x8004380D error with the text message stating that the system is not able to retrieve the LOV data (I guess for the 0DEBITOR prompt). Please note that we do not get a corba error and no firewalls are activated. We checked the trace files of the page server and found out that there was an error calling the createRowsetCursor function within enginekernel.cpp.
    Any hints on our case will be mostly appreciated. We have the feeling that we are hitting a bug here but maybe we are overseeing something.
    Cheers
    Stratos
    PS: Please note that if we access directly the ODS Object (SAP ODS driver) the dynamic cascading prompts on exactly the same InfoObject (or better their keys in the ODS) work without a problem.

    Hi Stratos
    You can define LOV's in universes but unfortunately you can not use universes based on SAP in Crystal Reports.
    You can define parameters in the Bex query which are passed on to Crystal Reports, so you don't need to define them in the Business Objects tools. Please have a look at the SAP Integration Kit user's guide
    Roland

  • Using form with mssql,access and oracle9i

    Is it a good idea to use forms 9i with mssql,access and oracle 9i as back end
    meaning using forms6i/9i as front end
    what happens with datatype defined in mssql tables
    like smallint etc
    SEJ

    Yes, I have read it. Good information, and it has gotten me close. If I follow what it says, I can get directly into insert mode ... however, update and delete buttons still exist.
    Here are the exacts in my situation:
    1) created a dynamic page that creates a link generated from the function 'Portal30.wwv_user_utilities.get_url('my_application.my_link','parameter_name','parameter_value');'. Notice no relational operator.
    2) created a form that is based upon table 'b'. The value passed to this form by step 1 is a foreign key from table 'a'.
    3) created a link object that references form identified in step 2.
    By clicking on the link generated by the dynamic page (with a parameter set and no conditional operators set), we go to the form in insert mode but we see all buttons. After your last note I decided to try a new, fresh, Portal generated form based upon table 'b', making the primary key and the foreign key hidden. I modified the link to reference this new form. By clicking the link, I go to the form in insert mode, but ALL buttons are showing, including query, next, and previous, even though some of these buttons are invalid.
    I am using 3.07.? We are in the middle of installing 3.08 or 3.09, whichever we can get running first. My dba is out for the week, so I will not be able to upgrade until next week.
    Any thoughts you have would be helpful. I am on the verge of creating 2 forms, but I don't want the code duplication if I can help it.
    Once again, thanks in advance.

  • Use AGENT through dynamic attribute access

    I'm working with some persistent objects, but don't know the actual persistent class until runttime.  To get the agent, I've coded this
    DATA: l_agntclass TYPE classname,
         lr_det_agent TYPE REF TO cl_os_ca_common.
    FIELD-SYMBOLS <lr_det_agent> TYPE any.
    l_agntclass = me->derive_agent_classname( ).
    ASSIGN (l_agntclass)=>agent to <lr_det_agent>.
    lr_det_agent ?= <lr_det_agent>.
    Now I can call the methods of lr_det_agent.  All well and good, and it works, but is this the right way?  I tried defining <lr_det_agent> as TYPE REF TO.  But that failed in the assign.  And I tried CASTING TYPE on the assign, but that doesn't accept classes.
    Am I missing something obvious?
    Thanks
    matt

    Hello Matt
    The solution is quite simple (see below):
    *& Report  ZUS_SDN_PERSISTENT_CLASS
    *& Thread: Use AGENT through dynamic attribute access
    *& <a class="jive_macro jive_macro_thread" href="" __jive_macro_name="thread" modifiedtitle="true" __default_attr="1143122"></a>
    REPORT  zus_sdn_persistent_class.
    DATA: gd_clsname    TYPE classname,
          gd_method     TYPE string,
          gd_attribute  TYPE string.
    DATA: go_obj        TYPE REF TO object,  " root object
          go_os_common  TYPE REF TO cl_os_ca_common.
    DATA: go_persist    TYPE REF TO cb_alert,
          go_agent      TYPE REF TO ca_alert.
    FIELD-SYMBOLS <go_det_agent> TYPE ANY.
    START-OF-SELECTION.
      BREAK-POINT.
      gd_attribute = 'CA_ALERT=>AGENT'.
      " In your case: CONCATENATE l_agntclass '=>AGENT' ...
      ASSIGN (gd_attribute) TO <go_det_agent>.
      go_os_common ?= <go_det_agent>.
      BREAK-POINT.
    END-OF-SELECTION.
    Regards
      Uwe

Maybe you are looking for