Reporting form R/3 Tables.

Hi Gurus,
Can anyone tell me how to fetch reports from R/3 tables, as I heard that it can be done using se38 transaction, but not clearly sure of this. Need a step by step procedure. Points will be assigned.
Regards,
Venu.

Hi Venu,
Please use this link for your reference
http://help.sap.com/saphelp_nw70/helpdata/EN/28/4c553c42360a40e10000000a114084/frameset.htm
this link help you a lot in understanding about extractions for Generic and as well as Standard.
Thanks and Regards
Arun

Similar Messages

  • No data found error on Form on a Table with report

    Hi Everyone, I'm using Application Express 4.1.0.00.32 on Windows 7. I built a Form on a table with report. Earlier I was using rowid as a passing parameter but then I had to change it to primary key column from report to form.
    So in the "Fetch row process" I changed the "Items containing primary key value" and "Primary Key column" to P1004_PERSON_ID and PERSON_ID respectively. Which is my primary key.
    My Form is working exactly fine but at on point it throws "no data found error".
    I have a required date field in the form. So if the user doesn't fill in the date field and try to save the form, it throws the "Feild required error" and then when user enters date and try to save then it throws the error "No data found.". here is the snapshot... snapshot
    How can I fix this error.I'm really stuck.
    I checked debubber..it is as follows... in debughger it's still showing rowid. I don't know why. How can I fix that.
    Execution
    Message
    Level
    Graph
    0.00233
    0.00932
    S H O W: application="101" page="1004" workspace="" request="" session="123235901404364"
    4
    0.01161
    0.00102
    Language derived from: FLOW_PRIMARY_LANGUAGE, current browser language: en-us
    4
    0.01261
    0.00046
    alter session set nls_language="AMERICAN"
    4
    0.01307
    0.00042
    alter session set nls_territory="AMERICA"
    4
    0.01348
    0.00053
    NLS: CSV charset=WE8MSWIN1252
    4
    0.01401
    0.00042
    ...NLS: Set Decimal separator="."
    4
    0.01443
    0.00053
    ...NLS: Set NLS Group separator=","
    4
    0.01495
    0.00050
    ...NLS: Set g_nls_date_format="DD-MON-RR"
    4
    0.01545
    0.00051
    ...NLS: Set g_nls_timestamp_format="DD-MON-RR HH.MI.SSXFF AM"
    4
    0.01597
    0.00050
    ...NLS: Set g_nls_timestamp_tz_format="DD-MON-RR HH.MI.SSXFF AM TZR"
    4
    0.01647
    0.00079
    ...Setting session time_zone to -05:00
    4
    0.01726
    0.00046
    Setting NLS_DATE_FORMAT to application date format: DD-MON-YYYY
    4
    0.01772
    0.00060
    Setting NLS_TIMESTAMP_FORMAT to application timestamp format: DD-MON-YYYY HH24.MI.SSXFF
    4
    0.01832
    0.00092
    ...NLS: Set g_nls_date_format="DD-MON-YYYY"
    4
    0.01924
    0.00049
    ...NLS: Set g_nls_timestamp_format="DD-MON-YYYY HH24.MI.SSXFF"
    4
    0.01973
    0.00083
    ...NLS: Set g_nls_timestamp_tz_format="DD-MON-RR HH.MI.SSXFF AM TZR"
    4
    0.02056
    0.00099
    NLS: Language=en-us
    4
    0.02154
    0.00157
    Application 101, Authentication: PLUGIN, Page Template: 5091946581246503
    4
    0.02312
    0.00065
    ...fetch session state from database
    4
    0.02377
    0.00106
    fetch items
    4
    0.02483
    0.00065
    ...fetched 103 session state items
    4
    0.02548
    0.00194
    Authentication check: NTLM (NATIVE_CUSTOM)
    4
    0.02742
    0.00188
    ...Execute Statement: begin declare begin wwv_flow.g_boolean := f_ntlm_page_sentry_parm; end; end;
    4
    0.02930
    0.00050
    ... sentry+verification success
    4
    0.02980
    0.00042
    ...Session ID 123235901404364 can be used
    4
    0.03021
    0.00114
    ...Application session: 123235901404364, user=VARMAN01
    4
    0.03135
    0.00162
    ...Check for session expiration:
    4
    0.03297
    0.00075
    Session: Fetch session header information
    4
    0.03372
    0.00113
    ...Setting session time_zone to -5:00
    4
    0.03485
    0.00080
    Branch point: Before Header
    4
    0.03565
    0.00598
    Fetch application meta data
    4
    0.04165
    0.00081
    ...metadata, fetch computations
    4
    0.04245
    0.00076
    ...metadata, fetch buttons
    4
    0.04321
    0.00086
    Setting NLS_DATE_FORMAT to application date format: DD-MON-YYYY
    4
    0.04406
    0.00058
    Setting NLS_TIMESTAMP_FORMAT to application timestamp format: DD-MON-YYYY HH24.MI.SSXFF
    4
    0.04464
    0.00049

    Just an observance... SQL is still showing the rowid instead of the P1004_PERSON_ID ??
    where "PERSON_ID" = :p_rowid;
    should it not be :
    where "PERSON_ID" = :P1004_PERSON_ID:
    thx, Bill

  • How to include the search criteria in "Form on a Table with Report" form.

    Hi,
    I am struggling hard to get to this point can any body help me...
    I had created a page type form and in that I selected Form on a Table with Report..so the hirerachy is Form >> Form on a Table with Report. In that I managed to give one column of data hyperlink so that once we click on that column data it will takes to next form to display all other information.
    But, the problem is there is not serach criteria available on this type of page.Could any body give me a solution how to get on to this.
    Cheers,
    krishna.

    Hi,
    Could, some body please answer to my question I raised above.
    Cheers,
    Krishna.

  • How to Highlight the CURRENT RECORD in a Table with Report Form

    Hi,
    I have created a Table with Report Form....let suppose the table is - EMP
    Report page - 1
    Form page - 2
    Now, when I do Create / Update on Page 2,....the control is back on Page1.
    Suppose in the Report Page (Page1)..we have 10 records....NOW how should I highlight the CURRENT RECORD in Page 1 with some color to identify the record which I have updated/created just now...
    Thanks,
    Deepak

    Hi Deepak,
    You could do that with a custom report template. I've done that here: [http://apex.oracle.com/pls/otn/f?p=267:175]
    Go to Shared Components, Templates and create a new Report template as a copy of your existing one. Then edit your template. In the above example, the Column Template 1 setting was:
    <td #ALIGNMENT# headers="#COLUMN_HEADER#" class="t18data">#COLUMN_VALUE#</td>I copied this into the Column Template 2 setting and updated the Column Template 1 setting to:
    <td #ALIGNMENT# headers="#COLUMN_HEADER#" class="t18data" style="background-color:red; color:yellow;">#COLUMN_VALUE#</td>I then set the Column Template 1 Condition to: Use Based on PL/SQL Expression
    and the Column Template 1 Expression to: '#EMPNO#' = '&P178_EMPNO.'
    (In my example, P178_EMPNO is the single item on the linked to page.
    Save those changes and go to your report and change its template to the new one. As long as a selection has been made and P178_EMPNO has a value, the condition will make sure that the report uses the first template for the row with the matching EMPNO value. All other rows get the template from Column Template 2.
    Andy

  • Form on a Table with Report, 2 Pages

    I have a view and i am using this to create a page as follows for insert/update/delete .
    (1) create application from scratch
    (2) on page 1 using wizard choice "Form on a Table with Report, 2 Pages"
    (3) Follows the screens and create the 2 page where first page is a report and when i click on edit(in my case) it goes to next page for insert/update/delete.Everything like insert/update/delete works fine .
    Now this view has say three columns
    (1) element_type_id
    (2) element_name
    (3) yesnoflag
    changing element_name and yesnoflag column is ok but then i need to have element_type_id corresponding to the element_name from some other table.
    Question1
    How should i get the element_type_id corresponding to the element_name .so when i create a new record it goes to page 2 and i can provide LOV for element_name and enter into yesnoflag, how can i get the element_type_id populated corresponding to the element_name entered.
    Question2
    Also in my application i have name element_type_id as primary key .I am not sure if thats a good idea or should i make element_name as primary key ?
    please help.
    Thanks,
    Sachin

    hey rui--
    by "adjust your html", i simply meant that you should look at your page, think about the html that's being used, and adjust it as necessary to make your data wrap as desired. now that i'm pretty sure i understand your issue, i can tell you the adjustment. you're saying that your form shows your long column "correctly" with data broken up onto separate lines by carriage returns or linefeeds. when you display that same data in your report, those carriage returns ( chr(13) ) and/or linefeeds ( chr(10) ) aren't observed. that's because they don't mean much in regular html. two ways to approach this would be:
    a) replace your carriage returns with explicit <br> tags to get the breaks that you want...
    select test_id, replace(test_description,chr(13)) test_desc from my_table;
    b) wrap your column with <pre> tags to preserve all the original formatting of your data...
    select test_id, '<pre>'||test_description||'</pre>' test_desc from my_table;
    ...and you could, of course, do option B in your report row template if you'd like.
    hope this helps,
    raj

  • Form on a table with report using DB Link

    Hey Guys
    How do i create a "Form on a table with report"?? using a database link. Under the "Table/View name" category when i provide the table name with the database link (like EMP@test), it compalins and says table or view does not exist and it only allows me to select from local tables. When i run "select 1 from emp@test" in sql commands window, it does return records so database link is working..
    Any suggestions??

    yes, I know i can do that, but when i tried it, its not displaying the records that are in the table, so how can i delete an existing record. Its doesnt allow me to browse through the records. Atleast, in the other way, it creates an edit button on the left and clicking it will take you to a form when you can edit it, add/delete.....this is all really simply, only issue is how to incorporate database links in this.

  • INSERT Statement behind a FORM on a TABLE with REPORT

    When I create a form on a table with report, I'm sure an INSERT STATEMENT is genereated in the background somewhere. How can I see this insert statement or how can I get to this INSERT statement? If I can see it, would I be able to modify this INSERT statement?
    Please use simple terms.
    Thanks.

    Roel
    At first, i was just curious to see where that insert statement is and how it looks like.
    Later, I really wanted to see it because I wanted to know how it looks like whne I try to insert a one to many relationship record. Don't know if I'm being too clear on this.
    Lets say table A and B have a 1-to-many relationship. When I want to insert records into both A and B, how does the insert work? Maybe if I get an answer to this question, I may understand how the inserts are done on a 1 to many relationship data insert.
    Thanks.

  • Form on a table with report

    HI all
    I have a page type : form on a table with report .
    the table is :
    CREATE TABLE  "SLIKA_USERS"
       (     "ID" NUMBER,
         "USER_NAME" VARCHAR2(20) NOT NULL ENABLE,
         "USER_PASSWD" VARCHAR2(4000),
         "COMPANY" NUMBER(10,0),
         "FORM_TYPE" NUMBER(2,0),
         "USER_NAME_DB" VARCHAR2(20),
         "USER_LOCK" NUMBER(1,0),
         "DATE_PASSWD_CHNG" DATE,
         "LOGIN_DIR" VARCHAR2(30),
          CONSTRAINT "SLIKA_USERS_PK" PRIMARY KEY ("ID") ENABLE,
          CONSTRAINT "USER_NAME_UNQ" UNIQUE ("USER_NAME") ENABLEthe table contain 500 rows.
    in addition , when new user entered there are few processes that give him the USER_NAME_DB automatically by executing a functions etc.
    in a few weeks , new table need to be active instead SLIKA_USERS table
    the new table will look like this :
    CREATE TABLE  "SLIKA_USERS_NEW"
       (     "ID" NUMBER CONSTRAINT "ID_NN" NOT NULL ENABLE,
         "USER_NAME" VARCHAR2(20),
         "USER_PASSWD" VARCHAR2(4000),
         "COMPANY" NUMBER(10,0) CONSTRAINT "COMP_NN" NOT NULL ENABLE,
         "FORM_TYPE" NUMBER(2,0),
         "USER_NAME_DB" VARCHAR2(20),
         "USER_LOCK" NUMBER(1,0),
         "DATE_OPENED" DATE,
         "DATE_PASSWD_CHNG" DATE,
         "LOGIN_DIR" VARCHAR2(30),
         "USER_ID_NUM" NUMBER(9,0) CONSTRAINT "USER_ID_NUM_NN" NOT NULL ENABLE,
         "USER_F_NAME" VARCHAR2(10) CONSTRAINT "USER_F_NAME_NN" NOT NULL ENABLE,
         "USER_L_NAME" VARCHAR2(15) CONSTRAINT "USER_L_NAME_NN" NOT NULL ENABLE,
         "USER_MNG_NAME" VARCHAR2(30) CONSTRAINT "USER_MNG_NAME_NN" NOT NULL ENABLE,
         "LAST_LOGIN_DATE" DATE,
         "DATE_CLOSED" DATE,
          CONSTRAINT "USER_NAME_PK" PRIMARY KEY ("USER_NAME") ENABLE,
          CONSTRAINT "ID_UNQ" UNIQUE ("ID") ENABLE,
          CONSTRAINT "USER_ID_NUM_UNQ" UNIQUE ("USER_ID_NUM") ENABLE,
          CONSTRAINT "USER_NAME_DB_UNQ" UNIQUE ("USER_NAME_DB") ENABLEproblem :
    before inserting new user to table SLIKA_USERS_NEW i need to check if the user_name alreay exists in SLIKA_USERS table .
    i need to take all his details and move them to the new table , in addition as you can see , i need to complete some details like the USER_ID_NUM,USER_F_NAME,USER_L_NAME.
    of curse if this user doesn't exist in the slika_users i need to create him as new user.
    i thought about trigger , unfortunately it won't be a good idea since i don't have in table slika_users
    the USER_ID_NUM" ,     "USER_F_NAME" , "USER_L_NAME"
    another problem is : even if i will manage to overcome the problem of moving data from table slika_users .
    to slika_users_new ,
    to manage it after the tables will switch won't be easy though.
    in a few weeks , the slika_users need to rename to slika_users_old .
    and slika_users_new will rename to slika_users,
    that is a necessary step because lots of pages in the application , relate to the table slika_users ,
    in addition if new user need to create i still need to look if it's exists in the SLIKA_USERS_OLD (after i'll switch between the tables )
    please give idea how to overcome those problems
    Thanks In Advanced
    Naama

    Hello,
    Basically it can be done, but you'll need to do it manually. You can create your basic report, and define two link columns, each to the proper form, which will include the desired columns.
    The problem I see in this kind of solution is a great risk for data integrity, especially in a multi-user environment. It will take time to update both forms, and in between, the table record will contains inconsistent data – the first columns can contains data updated by the first form, but the rest of the columns will still contains an old data.
    Regards,
    Arie.

  • Form on a Table with Report - Auto Number

    Hi,
    Scenario:
    I want to create "Form on a Table with Report" that should allow my users to add records...
    Steps and issues
    I created a table in MS Access with a field called "TRACKING_NO" as type Auto Number and made it a primary key... I was planning to use it to link Report to Form
    When I uploaded the table to Oracle it changed the type to varchar2... can you please advice how to change it back to Auto number...?
    and will it work if my user add a record to the table (using APEX built in option to create a record)...?
    Thanks in advance

    Hi,
    this is what I would do.
    1. Upload the table from MS Access, lets call it TAB_A
    2. Using SQL-Workshop get the DDL (SQL statement) for this table
    3. Change any names and/or datatypes as required
    4. Create a new table with this DDL, lets call it TAB_O
    5. Copy the contents from TAB_A to TAB_O (e.g. INSERT INTO TAB_O (id, colx, coly) SELECT TO_NUMBER(tracking_no), col1, col2 FROM TAB_A;)
    6. Create a sequence which starts with the last PK + 1 of table TAB_A
    7. Add a trigger to TAB_O to use this sequence to populate it's PK
    By the way, working with APEX requires a solid understanding of Oracle SQL and PL/SQL, regardless of what anyone says, even Oracle.
    Regards Garry

  • Form on a Table with Report,SOS!!!!!!!!!

    I HAVE TWO TABLE'S AS
    TAB_SALES AS
    BRAND     SKIND     PRICE     SALES
    APPLE     PHONE     5000     
    SAMSUNG     PHONE     3000     
    SONY     PHONE     5600     
    PIONEER     PHONE     2300     
    SANYO     BATTERY     109     
    AND TAB_COUNTRY AS
    BRAND     CONUTRY
    APPLE     USA
    SONY     JAPAN
    SAMSUNG     KOREA
    SANYO     JAPAN
    AND I WANT TO CREATE A Form on a Table with Report to display the :
    BRAND     SKIND     PRICE     SALES     CONUTRY
    APPLE     PHONE     5000     USA
    SAMSUNG     PHONE     3000          KOREA
    SONY     PHONE     5600          JAPAN
    PIONEER     PHONE     2300          JAPAN
    SANYO     BATTERY     109          JAPAN
    I want to let end_user modify the sales
    but when I create the Form on a Table with Report,the apex give me the rowid error:
    Error creating form and report.
    ORA-20001: Unable to create query and update page. ORA-20001: Unable to create query and update page. ORA-01445: cannot select ROWID from, or sample, a join view without a key-preserved table
    who can help me ?

    Hi lily,
    I'm sure you are aware of these, but please have a look again at the "Welcome" page of the forum: https://forums.oracle.com/forums/ann.jspa?annID=1324 and think about changing the subject of your post.
    Please provide your APEX and DB version, along with the SELECT statement you are using in the form.
    Any chance to create an example on apex.oracle.com?
    This would probably be the quickest way to get help.
    Thanks
    Sandro

  • Need to create form on a table with report with a table has NO primary key

    Hi, I tried to created some insert/update/delete form+report in an application, it works fine only if the table has primary key. Does anyone know how to create the same functionality with a table with no primary key? I saw an application is built on older version of htmldb that is using tables with no primary keys at all.
    Here are the specific issues that I am facing:
    - I am building some Form on a table with Report, it requires the table with primary key for form to update. Is there a workaround that I can use tables that has no primary keys at all?
    - Say if primary key is necessary in the previous report+form, but the maximum number of columns that I can use to composed a primary is only 2 for that Form-Report, I cannot find anything handling > 2 primary key. Do you know if there are some ways to composite a primary key from many columns together?
    Your help is really appreciated.
    Thanks,
    Angela

    Sorry to ask response so late. I had no time to get back to that issue before.
    Regarding the triggers, I can make it work for the update, but not the insert.
    Here is my trigger:
    create or replace trigger STATUS_T1
    instead of insert on STATUS
    begin
    insert into STATUS ("LABEL", "AREA", "OWNER", "TEST_NAME", "STATUS", "REMARKS", "BUGS", "DEV_MGR", "TEST_BY_DATE")
    values(:new.LABEL, :new.AREA, :new.OWNER, :new.TEST_NAME, :new.STATUS, :new.REMARKS, :new.BUGS, :new.DEV_MGR, :new.TEST_BY_DATE);
    end;
    by any chance, you can notify what is wrong?
    I already skip the ROWID when inserting to the view STATUS, but I cannot figure out what is wrong when inserting a new record to that view.
    It gave me the following errors:
    ORA-06550: line 1, column 38: PL/SQL: ORA-00904: "ID": invalid identifier ORA-06550: line 1, column 7: PL/SQL: SQL Statement ignored
    Error Unable to process row of table STATUS
    Then, I turned to debug mode, I am thinking that maybe because I use a HIDDEN item to hold the value of ROW_ID as I use the rowid (called ID in the view) to retrieve the record as a column link from previous page. What do you think?
    Thanks again,
    Angela

  • Report, Form, and Data Component portlets go to error page

    I am able to add Report Form and Data Component portlets to my page, but when I click on the define button it takes me to my error page.
    Have I missed configuring something?

    hello friends,
    thanks for replly,
    i m using command noe after table node in main window, but i want display the data below the main window , it is diplaying  new page as required but only missing data below the main window.
    to be more clear i want to print all the window in first page then only go for next page , so is there any condition or parmeter in main window to go next page only agfter completion of first page.
    dont worry abt points.

  • Groupings - Form on a table or view

    Hi
    I have a view eg. field_a, field_b, field_c, field_d, field_e, field_f.
    I have selected all these columns when creating a page (Form on a table or view).
    However I would only be displaying field_d, field_e, field_f. I have selected field_a,field_b and field_c as I require these fields so that I can use them to join to a previous page which is an interactive report. I now need to group by field_a, field_b, field_c.
    Is this possible?
    Regds

    Hello,
    You should solve it in your view. Define the GROUP BY in there. Of course you can't update the values in the Forms when using a GROUP by function...
    Greetings,
    Roel
    http://roelhartman.blogspot.com/
    You can reward this reply by marking it as either Helpful or Correct ;-)

  • Cancel button on form of type form on a table or view

    I am a newbie for apex. I am using 10g. I have created form on table emp(empno , name , salary ) . Form is of type Form on a Table or View.
    Cancel & Save(Apply changes) button are not working at all. so I copied process reset page and execute on condition save button click. But still cancel button is not working. applcation has some other forms of type Form with a Report and are working properly. I have wasted 2 days on this problem.

    Hi,
    You can do that. If you have the branch to in the same form what you have to do use clear cache for that page. Click on the edit page, click on the cancel button in the left button section. scroll down to bottom and type the page 32 in the Clear cache field. However it is better to have branch to the report page (different page from the form).
    Hope this will help.
    M Tajuddin
    http://tajuddin.whitepagesbd.com

  • Creation of Report+Form pages

    HI all,
    In [Building an application using APEX OBE|http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/devdays2012/apexp1_lab/apexp1_lab.html] when create the app, creates pages too, and one of them (well, 2) is a Report+Form.
    I tried to search this in my actual application created. But I only found, Form, and Report, but not both.
    There are some way to automatize the creation of this 2 pages, like Application Wizard does?
    Regards.

    GiuseppeL wrote:
    There are some way to automatize the creation of this 2 pages, like Application Wizard does?Yes. From the application home page click Create Page > Form > Form on a Table with Report, then follow the wizard.

Maybe you are looking for