Table usage in a module component necessary?

hi,
i would like to design a simply forms application. I need only two unbound text-fields (and two buttons) in a window.
I create
1. a module
2. a module component
3. four unbound items (two text; two button)
4. I get the following generation error:
CGEN-00041 ERROR: Module: MY_MODULE has no module components and/or table usages
6. Ok, I create a table usage with one bound item (Rows Displayed = 1, Display = no)
It is really necessary to create a table usage? I only need four unbound items(!!!)
in a forms mask. The data will be not save in database, but they are important for a win_api_dialog in my application. I choose one of x tables in the base table usage window. Perhaps it is better to select the DUAL table!? Does anybody know an another solution without creating a table usage?
best regards,
tom rakete

hi jflack, lennartv,
I found a solution to generate a forms module without a table usage in the designer. After creating two unbound items I create an action item. I set the datasource type of the module component to >>none<<, because there is no table usage. Now the generation is successful.
best regards,
tom

Similar Messages

  • How to retrieve module table usage data from Repository?

    Hi,
    I would like to retrieve some basic data about my application system's modules, like module name, module componenet name list, base table and lookup table name of the module component, base table operations (insert, update, delete). Did some one do it by using the Designer API? I read the the docs, but it does not look as a to simply thing for me. In Designer 1.3 I could figure out the RDBMS views, but with versioning in 6i/9i it just seem too complicated for me.
    Could any one please post an example here?
    Thank you in advance.
    Regards,
    Tamas Szecsy

    begin
    jr_context.set_workarea('XXXX'); -- Workarea name
    end ;
    select cmc.*
    from ci_application_systems cas
    , ci_app_sys_modules cam
    , ci_module_components cmc
    where cas.irid = cam.application_system_reference
    and cam.module_reference = cmc.general_module_reference
    and cas.name = 'XXXX' -- APP name

  • Re-map table usage in Oracle9i Designer

    Hi,
    I have Web application in Designer. One of the module components has a table usage that is based on a view. After some initial testing, we determined that the view was not going to be fast enough for the application. We created a materialized view which solved our speed issue. However, our module component table usage is still referencing the original view. I tried to "copy object" on the module, which from what I've read allows the re-mapping of table usages. However, my client crashes when I click the remap button.
    I'm using Oracle9i Designer 9.0.4.4.8.
    Does anyone have any ideas, or possibly another way of accomplishing this task?
    Thanks,
    Chad

    I'm trying to understand what you have and what you are trying to do. First of all, the Web PL/SQL generator requires you to generate Table APIs (TAPIs) for every table referenced in a module component. If you created one based on a view, the only way to get it to work is to generate a TAPI on the view, which Designer doesn't do natively. I've fooled Designer into generating a view TAPI by creating a table definition that looks exactly like the view and has the same name, and generating the TAPI for that table. Even then, I have to hand-modify the resulting TAPI to remove references to ROWID, since views don't have rowids.
    I've never tried generating TAPI against a materialized view (MV) - it might work, since there really is a table to instantiate the MV, but it might require the same work around as the view.
    As for the reference in the module component definition, I think you have to delete the old table reference and create a new one. I'm not sure what you are doing with "copy object". Remapping is usually done when you are copying an object from one application system to another, and want the references to point at equivalent objects in the new application system, not the objects in the old one.

  • Re: Hash table usage

    The Born collection classes don't have an alternative implementation of
    HashTable. Instead they are wrappers around the Fort&eacute; Framework classes
    using Array, HashTable etc.
    Raymond Blum wrote:
    >
    Eric
    Although I have not looked at them in a while, I remember the Born
    Collection Classes having some HashTable and Iterator functionality that
    might be worth looking at as an alternative.
    The last version I had is 1.2 and was offered under the GNU license,
    there may be something newer, check out
    http://www.born.com
    or email
    [email protected]
    On Thu, 6 May 1999, Fingerhut, Eric wrote:
    We have been using the hashtable class in our application, and have recently
    hit performance problems that lead us to the following questions:
    1) Forte's hashing algorithm - we are concerned that Forte's hashing
    algorithm may not be ideal or even adequate for our data; does anyone know
    how it works?
    2) Hash table performance - any ideas on how to guage it?
    3) Is anyone aware of a binary tree implementation that might be
    available?
    Dr. Thomas Kunst mailto:[email protected]
    sd&m GmbH & Co. KG http://www.sdm.de
    software design & management
    Thomas-Dehler-Str. 27, 81737 Muenchen, Germany
    Tel +49 89 63812-221 Fax -444
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    I'm trying to understand what you have and what you are trying to do. First of all, the Web PL/SQL generator requires you to generate Table APIs (TAPIs) for every table referenced in a module component. If you created one based on a view, the only way to get it to work is to generate a TAPI on the view, which Designer doesn't do natively. I've fooled Designer into generating a view TAPI by creating a table definition that looks exactly like the view and has the same name, and generating the TAPI for that table. Even then, I have to hand-modify the resulting TAPI to remove references to ROWID, since views don't have rowids.
    I've never tried generating TAPI against a materialized view (MV) - it might work, since there really is a table to instantiate the MV, but it might require the same work around as the view.
    As for the reference in the module component definition, I think you have to delete the old table reference and create a new one. I'm not sure what you are doing with "copy object". Remapping is usually done when you are copying an object from one application system to another, and want the references to point at equivalent objects in the new application system, not the objects in the old one.

  • Summary & detailed table usage flags in Des6iR2

    With the coming of the Dependency Analyzer it looks as if the CRUD table usage flags of modules have disappeared in the API.
    I want the definitions via reverse engineering of the usages of embedded SQL in pro-fortran modules in the repository 6iR2.
    In the migration manual (pg 88) it looks as if the detailed usage flags can not be imported out of release 1.3.2 Des/2000.
    Has somebody a solution ???

    With the coming of the Dependency Analyzer it looks as if the CRUD table usage flags of modules have disappeared in the API.
    I want the definitions via reverse engineering of the usages of embedded SQL in pro-fortran modules in the repository 6iR2.
    In the migration manual (pg 88) it looks as if the detailed usage flags can not be imported out of release 1.3.2 Des/2000.
    Has somebody a solution ???

  • CDG-01141 ERROR: Module Component Table Usage ...  Table usage ... requires primary key column for referential integrity

    For some strange reason when I modified a form, (commented out some code in a when-window-activated trigger) I now get the following error.
    CDG-01141 ERROR: Module Component Table Usage GR1130A.CUSTOMER.GR_CUSTOMER.GC: Table usage GR_CUSTOMER requires primary key column for referential integrity
    I am sure this is not related to my change, but do not know what may have caused this or how to fix it.
    Anyone seen this error before? been able to fix it?
    Thanks!
    Windows 7
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0
    Designer Version 6.5.95.4.8

    You know that Developer/Designer 6i is not certified for Windows 7, right? Also, your version is not the latest one, so you can try to install the latest patch set first.
    >Table usage GR_CUSTOMER requires primary key column for referential integrity
    Check if there is a PK in the table definition (not in the database, but in Designer).

  • LOV on  item on 2nd level lookup table usages - Designer 6i

    In Designer 6i, creating a module:
    In a module component, I have a lookup table usage which in turn has a lookup table usage against it ...etc
    e.g
    MCO
    - Base tab 1
    - Lookup tab 1
    - Lookup tab 2
    - Lookup tab 3
    Can I have an LOV fire up from and return into display items in lookup tab 2 and 3 ????
    Currently the generator sets any item from those table which I make INSERTable, back to Display only.

    Mr Short
    unless the behaviour has been changed in 6i, its not possible.

  • Change table usage in a form

    Hello,
    I've been working on a project for a few months now, and in charge of building Forms.
    Just recently we upgraded our Designer 6.0 to Developer Suite 10g (Designer 9.0.4.5.6).
    In their infinite wisdom, the architects have chosen to rename some of the applications and following CDM-standards, all table definitions will have to be renamed also.
    As I am not keen on having to change all table usages in my forms manually, I would like to know if there is a way to do it in Designer itself.
    I know this wasn't possible in the older Designer version, so before I handled something like that in Forms Builder. But now another demand of the project is, to be able to have 100% generation for all forms, so that's not an option anymore.
    So, do I face a lot of work or can anyone give me something I can try?

    Hi,
    I'm sorry to say that maybe you have a lot of effort to pay.
    However, I think you have a tricky way that can help you solve your problem, but not considered a good solution. You can do remaping by overriding the default DML functionality of Form. In detail, you can override ON-INSERT,ON-UPDATE,ON-DELETE,ON-LOCK and ON-FETCH to replace the default SQL statements that Forms Builder automatically generates.
    In this case you just add these triggers to your changed modules, and that's all.
    Regards

  • Passing Internal Table to a Function Module.

    I am new to Web Dynpro Abap. Using the Function Builder, I am trying to pass an Internal Table (IT) as an import parameter into my Function Module (FM), fill it within the FM and be able to recieve the filled IT back as an Export parameter from the FM to my program. My problem here is that I do not know how to specify the Internal Table as an import OR export parameter for a Function Module, I tried using the Table Tab, but it says that is obsoleted.
    Anyone! Thanks.

    Hi,
    You want to pass the internal table to FM inside WD component and that table contains fields from diff table, right?
    Open the FM through SE37. Goto 'Tables' tab of FM. Create table of type mentioned in the 'Associated Type' column of the FM. Fill the internal table with data and pass the internal table to FM.
    You can create Table type with different fields through SE11.
    I hope I interpreted your question correctly.
    Regards,
    Saket.

  • CDR-21605: Failed while processing Module Component % in function c

    I'm generating a form with designer 6i (status 6.5.69.1.0 configuration 4.012). My form is a tabular form, every tab has the subcomponents that refer to previous tab.
    When I create the last subcomponent, exactly the 5th, and I generate, designer give me this message:
    Message
    CDR-21605: Failed while processing Module Component B_JRRP_01 in function cfbfkg_fk_missing_message() :2943 BOF Not in a BoF
    Cause
    The generator failed due to an unexpected error - the
    error indicates the object the generator was processing
    when it failed.
    Action
    When I remove the subcomponent that refer to this module designer generate all.
    I didn't found nothing in metalink, there is someone who can help me?
    Thanks a lot.
    Federica

    Hi
    We seems to have the same problem with all modules based on a certain table definition. If the module component based on the table is removed from the module, we don't get the error. But we have no idea what is wrong with the table definition.
    Anker Møller

  • Error for table usage of diferent tablespace

    I have a module with a table usage of other tablespace, I'm tried generate but I'm getting a error on table usage (Designer doesn't found this table)
    I don't understand, How working with objects of other tablespaces?

    Mmhh... I don't think that's what OP is looking for... I'd change your solution as follows :select a.TABLESPACE_NAME,
           a.BYTES/1024/1024 MB_total,
           b.BYTES/1024/1024 + a.AVAIL/1024/1024 MB_free,
           round(((a.BYTES-b.BYTES-a.AVAIL)/a.BYTES)*100,2) percent_used
      from (select TABLESPACE_NAME,
           sum(decode(maxbytes,0,BYTES,maxbytes)) BYTES,
           sum(decode(maxbytes,0,BYTES,maxbytes)) - sum(bytes) AVAIL
              from dba_data_files
             group by TABLESPACE_NAME) a,
           (select TABLESPACE_NAME, sum(BYTES) BYTES
              from dba_free_space
             group by TABLESPACE_NAME) b
    where a.TABLESPACE_NAME = b.TABLESPACE_NAME
    order by 4 desc;

  • Module component based on pl/sql procedure....

    Hi everyone,
    could anybody help me with step by step instructions on how to generate module component which is based on PL/SQL procedure and how the procedure must look like.
    Well, I make it in Forms Builder but I want to build it in oracle designer too, just to have consistent state of all forms in designer.
    Well, what to say at the end... thanks a lot for help,
    Zlatko

    I'm a user of the Web PL/SQL generator, not the Forms generator, so I was hoping that someone else would step in with some help for you. Seeing as no-one else gave this a try, here is my two cents worth:
    As far as I know, the module components based on a procedure expect to use the Table API (TAPI) packages, and I think they can optionally use the Module API (MAPI) packages. I think MAPI calls TAPI, so if you use MAPI, you must also generate TAPI. These are generated from the Design Editor, TAPI from the Table Definition. The Web PL/SQL generator REQUIRES the TAPI, so I'm very familiar with them. The on-line help has some good descriptions of TAPI.
    The advantage of using TAPI/MAPI instead of direct table updates from your Form is that TAPIs can enforce business rules at the database level, no matter how your table is updated, whether with Forms, Web PL/SQL or even SQL*Plus. They can also do trigger-like actions that would not be possible with actual database triggers (can you say, mutating table?) You might also want to use TAPI if you have both Forms modules and Web PL/SQL modules against the same table.
    Now - if someone with more Forms generator experience than I wants to chime in with a better answer, please do, especially if anything I said is wrong.

  • Copying Reusable Module Component by using extended copy

    I created a new Application System (say B) in the RON and copied a Reusable Module Component from Application System A into B, by using extended copy.
    THE PROBLEM: the copied component is still referencing to the table in application system A instead of B. I would like that the table is referencing to the table in application system B.
    Other module components I copied (non reusable) are referencing to tables in
    application system B.
    What's going wrong?
    * Products used:
    Designer 6.5.88.4.0
    Database hosting repository : 8.1.7.3.0
    Client OS : Windows NT 4.0 sp 6
    Server OS : HP/UX
    Regards,
    Harm

    (You posted a new question as a answer to my question! )
    The default username/password, which is created by using the repository install script, is REPOS_MANAGER/MANAGER. With this username/password you can access the Repository Admin Utility and create new Designer/Repository users. These users must be existing database users.
    Warning: 8i personal Edition is not certified against Designer, that means there may appear problems. (e.g. generating Forms doesn't work). You better can install 8.1.7 Or 9i enterprise edition.
    regards,
    Harm

  • Error while Importing a Table in To Target Module

    Hi All,
    Iam getting follwong error msg while importing a table in OWB Target Module.
    API4806: Object description is not allowed to be translated before object business name. Please give a translation to the business name first.
    why I am getting this error ?
    Rajesh

    Guys,
    I am able to solve the problem. I think the problem is Language settings difference between Database and OWB repository.

  • How to add internal table fileds in Text module in smart forms

    Hi Friends,
        How to add internal table fileds in Text module in smart forms?
    Thanks & Regards,
    Vallamuthu.M

    Hi Vallamuthu ,
    how did you solve your problem?
    thanks,

Maybe you are looking for

  • Animated Gifs in 6i

    I have an image file which is of type 'Gif'. when deployed over the web the gif is unable to load. But buttons which are of type 'Gif' are loaded. I have all in the same path. Any help??

  • Multiple calendars in iCal

    hi guys, is there a way to setup iCal and or my iPhone so that i can see my calendar plus another calendar that has been shared with me? The Calendars are on our Exchange Mail server that we are hosting from our apartment.

  • Problem with Photoshop CS5

    Hello, Many years ago I bought Photoshop CS5 in french. Waiting for the CD I downloaded the trial version. When I received the CD with the licence number, I only had to put the licence number in the trial version. Now I would like to put back CS5 in

  • How I run a shell script from the scheduler on 10.2.0.2.0 ?

    Hello Oracle People, I'd like to run a shell script from the Scheduler in my 10g database. Right now it is a simple shell script. Eventually it will wrap RMAN commands to back up my DB. I wrote a simple pl/sql script to create a job: -- cr_job10.sql

  • Hey, is it possible to recover Werdsmith files?

    Few days ago my iTouch restored itself and all of my apps have been deleted. When I finally managed to sync all of my apps back and opened the Werdsmith app I almost got an heart attack. Please tell me there's some way to get my files back.