Report which has forms attached...

This is alot to digest and I'm trying to be as detailed as possible, but also brief. I created a report with form in App Express, report and form is Software_Inventory. Afterwards, I created 2 more tabs attached to this same application, Software_Maintenance and Software_License. The Software table has a foreign key to the Maintenance table. The License table has a foreign key to the Software table. When the report was originally created, it was done using the Inventory table. When I need to edit data in one of the tables, I click the edit button on the report and it takes me to the Inventory table and the data in that table is returned, but does not return the info on the other 2 tables in the forms. 1st problem I've run into: I've modified my report to add the columns from the other tables and link the tables by their foreign keys, Application Express gives me the error: ORA-00972, identifier too long. Query can't be parsed. Ex of code in report source section of the report: select col1...col20 from "#owner#"."table1", "#owner#"."table2"
where "#owner#."table1.foreign_key" = "#owner#"."table2.primary_key"
How do I get rid of the 00972 error? I've written Oracle queries for years and my syntax is correct, but maybe Application Express needs it to be written a certain way.
Problem #2, how do I link my other 2 forms so that when I select to edit a record that's in my report, the info linked to my driving table also populates the other 2 forms, ie, the Maintenance and License form? OR when I fix the query problem, this in turn will fix my other 2 forms population of data?
Thanks for any help you guys can give.

thanks for the response. I've been out of the office for a few days due to an ice storm. I have my query working, but my problem now is, when I need to update a record in the maintenance and/or license table, the form has me in insert mode, rather than update. The relationship is, 1 software record has 1 maintenance agreement, but 1 maintenace agreements can 1 or more softwares. 1 piece of software can have 1 or more licenses and 1 license has 1 piece of software.
My foreign key in the software_inventory table is linked to the maintenance and the foeign key in the license table is linked to the software table. But in each case, the FK has to be nullable, until the record is entered into the other table to create the primary key.
I create the software record. When I enter a software record, I create the PK keys in both the software and maintenance tables and the FK in the software table. The user wants the capability to enter the maintenance and license information at another time if they want to, therefore, the PK in the maintenance table is created, but has no other info. When I come back in to modify the record, the maintenance table is in insert mode and not update mode.
Hopefully I haven't confused anyone. How do I change modes of a form?

Similar Messages

  • Any Orjinal SAP Reports which has currency field and currency key

    Hi Friends,
    I am looking for a report which has currency field and currency key at selection screen. I want to learn how SAP do selection with currency. Can you say a transaction deal with my desire?
    Thanks.

    try report RFSSLD00
    A.

  • Report which has to provide me the total payments made to Vendors.

    Hello All,
    I am looking for a report which has to provide me the total payments made to the vendors for a specified period.
    Some one please help.I have tried with FBL1N but of no use.
    Thanks,
    Bala

    HI
    B K
    You can directly go to
    -Easy access screen
    -Accounting
    -Financial accounting
    -Account payable
    -Information system
    -Reports for Accounts Payable Accounting
    -Vendor Balances
    -Transaction Figures: Account Balance (S_ALR_87012079)
    enter collowing  fields
    Vendor acc ---
    company code--
    fiscal year  -
    select execute button
    triadhnaidu .a
    Edited by: trinadhrao althi on Oct 7, 2008 11:38 AM

  • Can not view/export a report which has 2 group by field when no data found

    Recently I developed a report, which contains 2 group by fields. it runs successfully when the report displays some data.
    but when there is no data, i cann't view/export this report.
    It shows nothing by html format and shows "this file cannot be opened because it has no pages" message by pdf format.
    even there is no records for this report, i still want to see the template file and show some basic information.
    please help me.
    Daniel

    I've found that, just like I used to do in Oracle Reports, if you put in a COUNT column to count your returning rows, you can put 'No Data Found' when there's no data. That way, your report will return and not error out.
    For .pdfs, this is the code I use; COUNT with code of <?if:count(field_name)=0?>.
    In the .rtf..
    COUNT
         No Data Found     
    END COUNT
    Put this in the .rtf before your data should appear or else it won't work.
    Hope this helps!
    Kris

  • Report which has four selection screens called in a specific order

    Hi All,
    In a report, how can I call multiple selection screens predefined, and  create BDC recording in the program based on the values entered in the selection screens. The selection screens are 4 in my scenario in a specific order. Please send across sample code which has the logic to call multiple selection screens and create BDC recording for sales order, delivery, PGI..Thanks
    Ricky

    If ur option is to creat multiple screens...go for tabstrip option in ur report and record it.
    selection-screen begin of screen 001 as subscreen.
    selection-screen begin of block b1 with frame title text-001.
    selection-screen begin of line.
    selection-screen comment 2(10) text-003.
    parameters:par1 type marc-matnr.
    selection-screen end of line.
    selection-screen end of block b1.
    selection-screen end of screen 001.
    selection-screen begin of screen 002 as subscreen.
    selection-screen begin of block b2 with frame title text-002.
    selection-screen begin of line.
    selection-screen comment 2(10) text-003.
    parameters:par2 type marc-matnr.
    selection-screen end of line.
    selection-screen end of block b2.
    selection-screen end of screen 002.
    selection-screen begin of tabbed block tabstrip for 10 lines.
    selection-screen tab (15) tabs1 user-command t1 default screen 001.
    selection-screen tab (15) tabs2 user-command t2 default screen 002.
    selection-screen end of block tabstrip.
    initialization.
    tabs1 = 'TAB1'.
    tabs2 = 'TAB2'.

  • Filtering Interactive Report which has combo box

    Hi,
    I am a rookie in apex.I have an interactive report in which I have a column which contain's only combo box's. Let me say for example that the display values are Yes and No and the return values are Y and N and the name of the column as "required". When I try to filter the report, I can do so for all the other column's but when I try to do so for this column, I get two combo box's when I click on the expression filter instead of the Yes or No choices. I want the choices to appear in the filter for 'required' column instead of the combo box's. How can I do this? ...I have been searching google in vain...Thanks in advance
    Edited by: user13073434 on May 3, 2010 8:27 PM

    Do I have to recompile this .rdf on the UNIX box again? No.
    How to go about this problem?Have a look at the following notes:
    Note: 337302.1 - Error REP-0756 Unable to find PL/SQL library 'inv.pll' when Opening Report POXPRPOP in Reports Builder
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=337302.1
    Note: 1015074.1 - REP-756,REP-735,REP-736 OPENING REPORT WITH FILESYSTEM ATTACHED LIBRARY
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=1015074.1
    Note: 1016542.6 - Getting REP-0756 : Unable to Find PLsql when Running Standard Reports
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=1016542.6

  • How to devolop a report which has two languages in it

    Hi Friends
    I got a requirment where in i need to devolop a report with two languages in it English and Arabic Report is divided into two halves one is in english and another one is in Arabic

    Hi
    Check the code using this...
    DATA: number           TYPE tbtcjob-jobcount,
          name             TYPE tbtcjob-jobname VALUE 'JOB_TEST',
          print_parameters TYPE pri_params.
    CALL FUNCTION 'JOB_OPEN'
      EXPORTING
        jobname          = name
      IMPORTING
        jobcount         = number
      EXCEPTIONS
        cant_create_job  = 1
        invalid_job_data = 2
        jobname_missing  = 3
        OTHERS           = 4.
    IF sy-subrc = 0.
      SUBMIT submitable TO SAP-SPOOL
                        SPOOL PARAMETERS print_parameters
                        WITHOUT SPOOL DYNPRO
                        VIA JOB name NUMBER number
                        AND RETURN.
      IF sy-subrc = 0.
        CALL FUNCTION 'JOB_CLOSE'
          EXPORTING
            jobcount             = number
            jobname              = name
            strtimmed            = 'X'
          EXCEPTIONS
            cant_start_immediate = 1
            invalid_startdate    = 2
            jobname_missing      = 3
            job_close_failed     = 4
            job_nosteps          = 5
            job_notex            = 6
            lock_failed          = 7
            OTHERS               = 8.
        IF sy-subrc <> 0.
        ENDIF.
      ENDIF.
    ENDIF.

  • How can i view a attached file in OAF pages which has been attached

    Dear all,
    Hope you are well.
    i have a table region from that i have attached a file named"file1.text" against a primary key.
    now i want to view that attached file in a oaf page.
    how can i view that attachment.
    would you please explain

    Hi again,
    Personalize that table
    1-Add Attachment Image column
    2-Set the *View Instance (ViewObject that feeds table)
    3-Add Entity under the Attachment image
    4-Set *Entity as same with your entity value
    5-Insert Allowed =>false, Update Allowed => false Show All => true
    6-Add a primary key under the Entity
    7-Set View Attribute with your primary key column like PersonId
    Thanks.
    Anil

  • Can i get a print out of a report output which has LINE-SIZE = 400?

    Hello everybody,
    I have a task where in the output of a report which has LINE-SIZE = 400 needs to be printed.
    can i get a printout out directly in LANDSCAPE or do i need to write some code to get to the result?
    Please do suggest me.
    Helpful answers will surely b rewarded.
    Thanx in advance,
    Sanghamitra.

    Thanx one and all for your quick and prompt replies.
    Now is there any other way of priniting a report of line-size 400 on a fairly large paper ,other than using smart forms.
    Please do suggest.
    Thanx in advance,
    Sanghamitra.

  • Query which the Reports which not run more than 15 days

    Hello,
    I need I query to show all the Concurrent Programs which are attached in Application but not run more than 15 days. Also filter will segregate concurrent Reports and concurrent processes.
    regards,

    Please clarify are you interested in conc programs/reports which has not been run in last 15 days or the ones which were run only in the first 15 days from creation date.
    I am pasting the base query which gives you the details like concurrent program name, executable name, executable type, and execuation file name ( you may add condition like fcp.enabled_flag = 'Y' for all active programs etc)
    SELECT  fe.executable_name,
            fe.execution_file_name,
            fl.meaning,
            fcp.concurrent_program_name,
            fcpt.USER_CONCURRENT_PROGRAM_NAME
    FROM    apps.fnd_executables fe,
            apps.fnd_lookups     fl,
            apps.fnd_concurrent_programs fcp,
            apps.fnd_concurrent_programs_tl fcpt
    WHERE  fcp.executable_id = fe.executable_id
    AND    fe.execution_method_code = fl.lookup_code
    AND    fl.lookup_type =  'CP_EXECUTION_METHOD_CODE'
    AND    fcp.concurrent_program_id = fcpt.concurrent_program_idEdited by: 936671 on Sep 4, 2012 5:58 AM

  • How to find listing of modules which has used xyz PL/SQL function?

    Hi,
    How I can find the list of forms/reports which has used xyz pl/sql function?
    I want to delete a pl/sql function but before that I would like to
    make sure this function is not being used by any forms/report.
    Thanks for your help!!
    D

    There are many tools available for finding out the particular string across many forms in one shot.
    One such utility is forms apimaster.
    You can download it's 30 days free trial from the internet.

  • Need to find All Custom Reports which are based on SAP standard reports

    Hi Specialists,
    I would like to find out all the customized reports which are a copy of SAP standard reports in the client's system.
    For Eg. RPCP11G0 is the SAP standard report which has been customized & it's code has been re-written into a Custom report i.e. ZGBPPYMP001_P11D.
    I would like to know all such occurences in the system.
    Steps already done:
    1) Tried searching with RPR_ABAP_SOURCE_SCAN & RS_ABAP_SOURCE_SCAN.
    Please suggest .
    Thanks
    Abhinav.

    it's only possible with an tool-program
    when your developers have not change the line with the REPORT-command.
    e.g.
    standard-report is RAGITT01
    copy is ZC_RAGITT01 or sth like this
    but report line is unchanged in copy:  "REPORT RAGITT01 MESSAGE-ID AB..."
    solution:
    select all reports from TRDIR/TADIR  from your Z/Y-device classes
    and analyse the reports with
    read report ZC_RAGITT01 into wa.
    and use find for searching 'report-command'.
    and check whether the result of that finding is an standard abap
    hope that helps
    Andreas

  • Report which include sales order, material, qty, raw mat cost, sold gds cst

    Dear All,
    I want report which has to provide Sales order No, Material, Material Description, Raw material cost and Cost of sold goods.
    Please suggest
    Regards

    Hi,
    VA05 return all the orders that are present under one customer.
    It will give you customer number,material and material description etc...
    But failed in other fields.
    So you have to develop a Z report with the help of your ABAPer.
    Regards,
    Krishna.

  • Report based on a ITEM (which has SQL statement)

    Hi everyone,
    I have a created a form based on a table which has 1 column that stores SQL statement in the database.And i am displaying the SQL statement in TEXT AREA FILED.
    What i want to do is to create a report based on that SQL statement (Which is in the TEXT AREA field on the same page).I tried to create a report region with
    :P25_SQL_STATEMENT.But i am getting an error
    ----->invalid query, no select statement found.
    How can i do a report based on the item which has SQL query in it.
    Thanks
    phani
    .

    Hi Jkallman,
    Thanks for the reply.I have a (FORM WITH REPORT) on a table which has column of SQL_STMNT VARCHAR2(2000 BYTE) which takes the SQL statement entered from the FORM.
    1.I have a report which shows all the records in the above mention table on page 10
    2.If i hit the edit button in the report i go to page 11 which i have the FORM on the above mentioned table.In that form i have a field :P11_SQL_STMNT.
    3.I am trying to create a report on the same page 11 based on the SQL query of that :P11_SQL_STMNT.
    4.I did the follwoing steps
    --> create a region
    ----> report
    ---->sql report
    and entered the following code.
    begin
    return (:P11_SQL_STMNT);
    end;
    but it is giving me the error which i mentioned in the previous post.If u need any more details i can provide
    Thanks in advance
    phani

  • How to make date column sortable which has inline case in report

    Hi all,
    I have date column which has inline case to check for expiration and display text 'expired' along with date. This column is set to be sortable. On sorting, it is doing based on char not on date. How can I retain this inline case along with getting correct sort order on clicking column header ?
    Thanks!

    982185 wrote:
    Hi all,Welcome to the forum: please read the FAQ and forum sticky threads (if you haven't done so already), and update your profile with a real handle instead of "982185".
    When you have a problem you'll get a faster, more effective response by including as much relevant information as possible upfront. This should include:
    <li>Full APEX version
    <li>Full DB/version/edition/host OS
    <li>Web server architecture (EPG, OHS or APEX listener/host OS)
    <li>Browser(s) and version(s) used
    <li>Theme
    <li>Template(s)
    <li>Region/item type(s) (making particular distinction as to whether a "report" is a standard report, an interactive report, or in fact an "updateable report" (i.e. a tabular form)
    With APEX we're also fortunate to have a great resource in apex.oracle.com where we can reproduce and share problems. Reproducing things there is the best way to troubleshoot most issues, especially those relating to layout and visual formatting. If you expect a detailed answer then it's appropriate for you to take on a significant part of the effort by getting as far as possible with an example of the problem on apex.oracle.com before asking for assistance with specific issues, which we can then see at first hand.
    I have date column which has inline case to check for expiration and display text 'expired' along with date. This column is set to be sortable. On sorting, it is doing based on char not on date. How can I retain this inline case along with getting correct sort order on clicking column header ?Note comments above regarding the importance of stating whether you are using a standard or interactive report.
    Here's 2 possible techniques, which you can modify to fit how you want "expired" values to be sorted:
    <li>{message:id=10609805}
    <li>{message:id=4175275}
    The second one is the best approach if using a standard report, or an interactive report in APEX 4.2.

Maybe you are looking for