Regarding comparing of 2 tables in report

HI,
I making a report in which i have to display the comparison between the two transparent tables out of which one is already present
(in my case ZSTOCKSUM) is the first and other table is (ZST1) which is same as ZSTOCKSUM as it will store the data from BDC .
In the report i have to compare the data whether data is stored in SAP and from bdc in a report.
can anybody provide me some examples of reports comparing these kind of tables ,as help will be definitely rewarded.

Hi,
The following code tells you, how to compare two internal tables:
DATA: BEGIN OF LINE,
COL1 TYPE I,
COL2 TYPE I,
END OF LINE.
DATA: ITAB LIKE TABLE OF LINE,
JTAB LIKE TABLE OF LINE.
DO 3 TIMES.
LINE-COL1 = SY-INDEX.
LINE-COL2 = SY-INDEX ** 2.
APPEND LINE TO ITAB.
ENDDO.
MOVE ITAB TO JTAB.
LINE-COL1 = 10. LINE-COL2 = 20.
APPEND LINE TO ITAB.
IF ITAB GT JTAB.
WRITE / 'ITAB GT JTAB'.
ENDIF.
APPEND LINE TO JTAB.
IF ITAB EQ JTAB.
WRITE / 'ITAB EQ JTAB'.
ENDIF.
LINE-COL1 = 30. LINE-COL2 = 80.
APPEND LINE TO ITAB.
IF JTAB LE ITAB.
WRITE / 'JTAB LE ITAB'.
ENDIF.
LINE-COL1 = 50. LINE-COL2 = 60.
APPEND LINE TO JTAB.
IF ITAB NE JTAB.
WRITE / 'ITAB NE JTAB'.
ENDIF.
IF ITAB LT JTAB.
WRITE / 'ITAB LT JTAB'.
ENDIF.
This example creates two standard tables, ITAB and JTAB. ITAB is filled with 3 lines and copied to JTAB. Then, another line is appended to ITAB and the first logical expression tests whether ITAB is greater than JTAB. After appending the same line to JTAB, the second logical expression tests whether both tables are equal. Then, another line is appended to ITAB and the third logical expressions tests whether JTAB is less than or equal to ITAB. Next, another line is appended to JTAB. Its contents are unequal to the contents of the last line of ITAB. The next logical expressions test whether ITAB is not equal to JTAB. The first table field whose contents are different in ITAB and JTAB is COL1 in the last line of the table: 30 in
ITAB and 50 in JTAB. Therefore, in the last logical expression, ITAB is less than JTAB.
Regards,
Bhaskar

Similar Messages

  • Regarding selecting data from tables in report?

    How to read the data into the report which is stored in the cluster form in the database its urgent please reply me?

    Retrived from a Clustered Table
         IMPORT letter = my_table_in
            FROM DATABASE zlmetext(lm) ID text_idx.
    You'll have to find where the data was EXPORTed to find the values for some of the parms.
    IMPORT letter = my_table_in
      here, I used
          EXPORT letterdesc  FROM zlmetext-letterdesc
                 letteravail FROM zlmetext-letteravail
                 subject     FROM zlmetext-subject
                 erdat       FROM zlmetext-erdat
                 ernam       FROM zlmetext-ernam
                 aedat       FROM zlmetext-aedat
                 aenam       FROM zlmetext-aenam
                 letter      FROM it_ltr_text
            TO DATABASE zlmetext(lm) ID text_idx.
    In this case, all the fields except letter were stored in the base portion of the table record.   Only Letter was stored in the clustered area.
    Becaue I used LETTER, the "key" to the clustered area is now LETTER and my import uses LETTER as the key to find the table that i stored using letter.
    in this part
    FROM DATABASE zlmetext(lm) ID text_idx.
    the lm is the cluster and must be the same as the export.  This value can NOT be a variable and must be hardcoded as shown.
    text_idx is the built key to retrieve and this is the code I used to create it
    DATA:
      BEGIN OF text_idx,
        appl     LIKE zlmetext-appl,
        letterid LIKE zlmetext-letterid,
        srtf2    LIKE zlmetext-srtf2,
      END OF text_idx.
      text_idx-appl     = zlmetext-appl.
      text_idx-letterid = zlmetext-letterid.
      CLEAR: text_idx-srtf2.

  • Reporting Services - How to open a second table inside report, for each number of client (each apears in first table)

    Reporting Services - How to open a second table inside report, for each number of client (each apears in first table)?
    Exemple:
    Table1
    Cliente name:
    John
    Client number:
    12345
    Survay number of negative answers:
    3
    Table2
    Questions and answers that were negative:
    Question: How much time where you waiting
    Avaluation: 3 (from 1 to 10)
    Answer: They only called me 1 mouth later
    Can you please help me?

    Hi,
    Based on the description, I understand that you want to add subreport in the main report. When previewing the main report, the subreport can be shown in detail. Please see the screenshots on my test:
    In Reporting Services, we can create parameters and pass them from main report to subreport in order to control the data dynamically.
    References:
    Subreports (Report Builder and SSRS)
    Add a Subreport and Parameters (Report Builder and SSRS)
    If I have any misunderstanding, please feel free to contact me.
    Regards,
    Heidi Duan
    Heidi Duan
    TechNet Community Support

  • GRCT    HOW TO ADD Z TABLES IN REPORT PAINTER

    Hi Gurus
    Could you please send me information about how to activate z tables in report painter ?   someone said me that i can user transaction GRCT  to do that...¿ what aspects must I consider to add a table ?
    mail: [email protected]
    Regards
    Andrés Moreno

    hi Andres,
    below are the steps for the Report Painter.....
    Create a new report.
    Menu Path: Information Systems > Ad hoc reports > Report Painter > Report > Create
    On the Report Painter: Create Report screen, enter:
    Library – 1VK
    Report RSS-A
    Report Description – Report w/Total Row
    Hit <Create> button to move to the next screen.
    Create the Rows of the Report – The first four rows are cost element characteristics
    Screen: Report Painter: Create Report
    Type ‘Cost Elements’ in the lead column cell
    Double click on Row 1
    In the Pop-up window 'Element definition: Row1", enter:
    Note: If Pop-up window (select element type) appears, choose 'characteristics' and hit <Enter>.
    Select 'Cost Element' as the characteristic in the 'Available characteristics' section
    Hit <Move selected to left> button to move the characteristic 'Cost element' to the 'Selected characteristics' section
    From – 430000
    Hit <Change short, middle and long texts> icon (at the bottom of the window)
    In the Pop-up for Enter Texts, Enter:
    Short – Description from Table above for this Account
    Click on the <Copy short text> button to copy this description to the other fields.
    Hit <Confirm> to close the Pop-up
    Hit <Confirm/Enter> to check consistency and close.
    Repeat the above steps for the other 3 accounts
    Create a formula row to calculate the total of the Cost Element rows
    Screen: Report Painter: Create Report
    Double click on Row 5 or the next empty row.
    In the Pop-up for Select Element Type select 'Formula'
    Hit <Enter> to close the Pop-up
    In the Pop-up 'Enter Formula'
    Use the calculator buttons to create the formula Y001 + Y002 + Y003 + Y004
    Hit <Enter> to close the Pop-up
    In the Pop-up 'Enter Texts'
    Short – Total
    Click on the <Copy short text> button to copy this description to the other fields.
    Hit <Enter> to close the Pop-up
    Make sure your cursor is in the cell containing the word ‘Total’
    Follow the Menu Path: Formatting > Row
    In the Pop-up 'Row Formatting'
    Overscore – checked
    Underscore – checked
    Hit <Enter> to close the Pop-up
    Create the first column for actual costs
    Screen: Report Painter: Create Report
    Double click on the ‘Column 1’ cell.
    In the Pop-up 'Select element type'
    Select Predefined Key Figure radio button, and press <Enter>.
    In Pop-up 'Choose predefined column'
    Select Actual Costs as the predefined column, and press <Enter>.
    In the Pop-up 'Element definition: Actual costs'
    Press <Confirm> to check consistency and close.
    Define the second column for plan costs
    Screen: Report Painter: Create Report
    Double click on the ‘Column 2’ cell.
    In the Pop-up 'Select element type'
    Select Key Figure with Characteristics as the element type, and press <Enter>.
    In the Pop-up 'Element definition: Column 2'
    Value Type – 01   (Plan)
    Version – 0   (Actuals)
    Valuation – 0   (Legal valuation)
    Hit <Change short, middle and long texts> icon
    In the Pop-up for Enter Texts, Enter:
    Short – Plan
    Click on the <Copy short text> button to copy this description to the other fields.
    Hit <Confirm> to close Pop-up.
    Hit <Confirm> to check consistency and close.
    Create a formula column to calculate the variance between actual and plan costs
    Screen: Report Painter: Create Report
    Double click on the ‘Column 3’ cell
    Assign the points....
    Ranjit

  • Joining the tables in report painter/writer

    Friends,
    Can we join tables in report painter / writer?
    Regards
    HK

    Hello
    table joining required if you want a report wherein you need field from more than one table with interlinked field. Then create infoset in SQ02 and use that infoset and create Query in SQ01 and design as per requirement. Abap coding also possible here
    Report writer/pointer you can refer table for any feld requirement, no need to join thats only viewing
    hope I answer u properly
    Regards
    Dinabandhu

  • Table or report for customer, g/l account and chart of account together

    Hi All.
    I am looking for any table or report where one can see the followings;
    Chart of account and customer together
    or
    chart of account, g/l account and customer together
    or
    cutomer and g/l account
    I am aware of the all the FI table like KNB1, SKA1, SKAT ..and many others. But I failed to get if any of those tables helps to give all above informations together.
    Unless I am missing something.
    Thanks in advance.

    Hi,
    There many FI Reports available to check Customer & G/L Account combination
    1. FBL3N - G/L ACCOUNT LINE ITEM
    2. FBL5N - CUSTOMER LINE ITEM
    3. FBL1N - VENDOR LINE ITEM
    For Chart of Account / Customer and Chart of account /GL account combination you have to develop the Z Report
    For this you can pre pare by using logic of Revenue Account determination
    The table Name Revenue Account determination: C001
    Techincal information: C001-SAKN1
    Sit with your ABAP Programmer and explain your exact requirement he will prepare the table for you as for your requirement
    Best Regards,
    MH

  • URGETNT: REGARDING Purchase Requsition Approval tables

    hi,
    I am making a report on purchase requsition and i have to display the details of which person has approved it and its date of approval. can anybody tell me which are the tables used in it to display it,example :-
    1st Approval - Name of d person      Date of Approval
    2nd Approval - Name of d person     Date of Approval
    3rd  Approval - Name of d person     Date of Approval
    Final Approval - Name of d person    Date of Approval
    this type of details i want to display in my report. if anybody gives me tables and details about it to make d <b><b>report ,he or she will be definately REWARDED...
    Currently i am using table <b>EBAN,EBKN</b> ..
    Regards,
    Ric.s

    Use these table to see who released and description
    T16FC  -  Release code for particular release group
    T16FD  -  Description for Release code
    T16FG  -  Release Groups
    T16FH  -  Descriptions of Release Groups
    T16FK  -  Release Statuses
    use BAPI to get release information for PR .
    BAPI_REQUISITION_GETRELINFO.
    reward points if useful.
    Regards,
    Vimal
    Message was edited by:
            Vimal Kumar

  • How to justify the values in table using report generation tool kit

    Hi
    How can we align the values in excel table using report generation toolkit.
    like left,right,center.
    Regards,
    hari
    Attachments:
    Report_excel.vi ‏34 KB
    New Bitmap Image.JPG ‏134 KB

    Hi,
    A trigger is designed to be a part of a transaction, not it's end.
    It is like following these steps (not really accurate, but should give an idea):
    1. programA issues INSERT statement on tableA
    2. 'control' goes over to the database
    3. constraint checks happen
    4. the associated triggers on tableA do their work (e.g. fetching a sequence value for a primary key)
    5. 'control' goes back to programA
    6. programA decides if a commit (no error occurred) or a rollback (error case) has to be issued.
    Did this help? Probably not, I'm not happy with what I wrote, but anyway... :)

  • Compare two dates in a report

    Hi,
    I would like to compare two dates on a report.
    I would like to compare the opportunity created date and the opportunity modified date. I can't use this formula CASE WHEN Opportunity."Last Modified" = Opportunity."Created Date" then 1 else 0
    I think I have to use TIMESTAMPDIFF but I don't know which interval I have to put to analyze the entire date in this format 31/12/1999 16:49:08
    Thanks a lot for your help
    Regards,

    Hi !
    It depends on the interval you need to compare these dates. If you want to know the number of days between these dates, you'll have to use SQL_TSI_DAY as interval. If it's minutes, you'll need SQL_TSI_MINUTE...
    Here are the possible intervals :
    *SQL_TSI_SECOND, SQL_TSI_MINUTE, SQL_TSI_HOUR, SQL_TSI_DAY, SQL_TSI_WEEK, SQL_TSI_MONTH, SQL_TSI_QUARTER, or
    SQL_TSI_YEAR*
    Hope this will help, feel free to ask more !
    Max

  • Is there any table or report that available in SAP for any PR/STR

    HI All,
    Is there any table or report that available in SAP for any PR/STR that are remain opened after S/O canceled.
    Please advice at the earliest.
    Thanks
    Chandru

    Chandru,
    Of course.  The standard MD06 transaction will display ALL MRP generated exception messages, and will take you to the individual material to allow you to determine how you wish to respond to it.
    So, MD06>enter the plant.  Optionally, enter the controller if you wish to limit the results by planner.
    If you are interested in Sales order cancellations, then these exceptions would be categorized by SAP as belonging to the  "exceptions during Scheduling" or "exceptions during availability" groups.  On the Exceptions group tab, select these two items (6&7), deselect the rest. Enter.
    You are now presented with a list of all materials that contain one or more of these exceptions.  From the menu bar at the top, select Edit>Find.  If you get a 'statistics' popup, click through.  Select the 'Find Exceptions' tab.
    Message 26 "excess stock in individual segment" means that in a MTO environment, you have more supply than demand against given order/items (as you would have if a cust. cancelled his MTO order).  Select this message.
    Message 20 "Cancel Process" means that you have a supply element that has NO requirements (as you would have if a cust. cancelled his MTS order).  Select this messaege.
    Message 15 " Postpone process" means that you have supply elements that are scheduled to be received earlier that necessary (as you might have if a Cust cancelled his MTS order). Optionally select this message.
    Clik the green check.  You will now notice that certain rows on the listing are highlighted.  These are the ones that contain your problem children.  Hit the "glasses selected MRP list" button.
    This takes you to the first MD05 of the highlighted items.  Review the problem.  Decide what to do:  Cancel a supply element?  Push out a supply element? Leave it alone?  Call customer service to discuss which order was cancelled and why?  etc etc etc...
    Once you are done with the first material, clik on the 'next material' icon or hit Ctrl-F2.  Repeat.  Continue till all materials have been evaluated and resolved.
    This works for any other MRP message as well.
    Regards,
    DB49

  • Printing Infinite # of Columns in Append Table to Report

    I am in need of a bit of help here in regards to dealing with the Append Table to Report.vi
    With this VI I can print up to a certain # of columns before the VI starts to wrap columns (& subsequent data under each column) downward in vertical manner.
    I am looking for a way to do the following:
    1) center the text in all columns
    2) set a pre-set # of columns per page, and then print the remaining columns to a separate page thereafter
    3) avoid column header & data from being folded beneath to the subsequent row
    See the attached code and print-outs.
    Thanks!
    Solved!
    Go to Solution.
    Attachments:
    Example Test Report.vi ‏36 KB
    Too many columns!.pdf ‏12 KB

    Using the "Append Table to Report" VI, you can't specify center alignment, through if you enable gridlines, it makes the tables more readable.  If you were to generate an Excel report, you would have more control and be able to specify cell alignment.
    In the Report Generation Toolkit, using Standard Report, there is no way to get or automatically print the page number.  You can do it manually by keeping track of how many pages have been printed if your using the "New Report Page" VI.  
    Using the VI script you posted, I modified it to illustrate how to selectively add columns to the report.  Its usually not standard practice for us to write code for customers, but this example seemed good for the Community Example Page (http://www.ni.com/code/), and with your permission I'd like to post it there as well.
    Product Support Engineer
    National Instruments
    Attachments:
    Example_Test_Report_Done.vi ‏43 KB

  • Is there any table or report  to see basic price  billing doc wise in mass

    Dear  experts,
                  is there any table or report  to see basic price  billing doc wise, in mass, please help
    regards
    rajakarthik

    Hi
    If your basic price is same as Net price then you can check it in table VBRK.
    If Basic Price is not same as Net Price then from the table VBRK you will have to take the value of KNUMV and then with respect to this KNUMV go to table KONV and take the value of KWERT.
    To check the value in mass you may make a report with the help of ABAP or by your own using SQVI transaction.
    Regards
    Amitesh Anand

  • Comparing columns in table and triggers

    hi masters,
    i have oracle 10g in Linux and us PL/SQL developer to access database, ia m not a developer, but am assigned task to compare columns in table and associated trigger.
    let me explain, we have 800 tables, and each table essentially have a trigger created on it. the condition is that each trigger on table should include each column in table, that is columns in table and trigger should be same.
    now i don't understand how to compare them, rather can you suggest any query for the same?? and comparing 800 tables manually will be tedious job...
    i am unable to compare trigger columns with that of tables..
    how can we achieve this???
    any suggestions??
    thanks and regards
    VD

    Hi,
    A good starting point could be consult user_triggers view. Example:
    Connected to Oracle Database 10g Enterprise Edition Release 10.2.0.1.0
    Connected as hr
    SQL> desc user_triggers
    Name              Type           Nullable Default Comments                                                                   
    TRIGGER_NAME      VARCHAR2(30)   Y                Name of the trigger                                                        
    TRIGGER_TYPE      VARCHAR2(16)   Y                Type of the trigger (when it fires) - BEFORE/AFTER and STATEMENT/ROW       
    TRIGGERING_EVENT  VARCHAR2(227)  Y                Statement that will fire the trigger - INSERT, UPDATE and/or DELETE        
    TABLE_OWNER       VARCHAR2(30)   Y                Owner of the table that this trigger is associated with                    
    BASE_OBJECT_TYPE  VARCHAR2(16)   Y                                                                                           
    TABLE_NAME        VARCHAR2(30)   Y                Name of the table that this trigger is associated with                     
    COLUMN_NAME       VARCHAR2(4000) Y                The name of the column on which the trigger is defined over                
    REFERENCING_NAMES VARCHAR2(128)  Y                Names used for referencing to OLD, NEW and PARENT values within the trigger
    WHEN_CLAUSE       VARCHAR2(4000) Y                WHEN clause must evaluate to true in order for triggering body to execute  
    STATUS            VARCHAR2(8)    Y                If DISABLED then trigger will not fire                                     
    DESCRIPTION       VARCHAR2(4000) Y                Trigger description, useful for re-creating trigger creation statement     
    ACTION_TYPE       VARCHAR2(11)   Y                                                                                           
    TRIGGER_BODY      LONG           Y                Action taken by this trigger when it fires                                 
    SQL> select * from user_triggers;
    TRIGGER_NAME                   TRIGGER_TYPE     TRIGGERING_EVENT                                                                 TABLE_OWNER                    BASE_OBJECT_TYPE TABLE_NAME                     COLUMN_NAME                                                                      REFERENCING_NAMES                                                                WHEN_CLAUSE                                                                      STATUS   DESCRIPTION                                                                      ACTION_TYPE TRIGGER_BODY
    TRGTEST                        BEFORE STATEMENT INSERT                                                                           HR                             TABLE            DEPARTMENTS                                                                                                     REFERENCING NEW AS NEW OLD AS OLD                                                                                                                                 ENABLED  trgTest                                                                          PL/SQL      DECLARE
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  before insert on departments                                                                   -- local variables here
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             BEGIN
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 nul;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             END trgTest;
    UPDATE_JOB_HISTORY             AFTER EACH ROW   UPDATE                                                                           HR                             TABLE            EMPLOYEES                                                                                                       REFERENCING NEW AS NEW OLD AS OLD                                                                                                                                 ENABLED  update_job_history                                                               PL/SQL      BEGIN
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  AFTER UPDATE OF job_id, department_id ON employees                                           add_job_history(:old.employee_id, :old.hire_date, sysdate,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  FOR EACH ROW                                                                              
    SECURE_EMPLOYEES               BEFORE STATEMENT INSERT OR UPDATE OR DELETE                                                       HR                             TABLE            EMPLOYEES                                                                                                       REFERENCING NEW AS NEW OLD AS OLD                                                                                                                                 ENABLED  secure_employees                                                                 PL/SQL      BEGIN
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  BEFORE INSERT OR UPDATE OR DELETE ON employees                                               secure_dml;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             END secure_employees;
    RK_ALT_BEF_TRG                 AFTER EVENT      ALTER                                                                            HR                             SCHEMA                                                                                                                           REFERENCING NEW AS NEW OLD AS OLD                                                                                                                                 ENABLED  rk_alt_bef_trg                                                                   PL/SQL      BEGIN
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                AFTER ALTER ON HR.SCHEMA                                                                         dbms_output.put_line('AFTER Schema trigger fired');
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 dbms_output.
    SQL> Regards,

  • SAP Report Painter - SAP tables for report items and hierarchy

    Hello,
    can you pls. help me with an information about the list of SAP tables for Report Painter, particularly the tables where the report items/positions and report hierarchy are stored?
    for example, for the Report Writer report items and report hierarchy can be found in T8* tables.
    What are these tables for Report Painter?
    thank you in advance for any info.
    Regards,
    Jasminka
    Edited by: Jasminka Vlahovic on Dec 29, 2010 8:53 PM

    Hi  Jasminika ,
    Could you please share with me those tables names where report items  and hierarchy are saved
    Regards
    Neeraj

  • 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.

Maybe you are looking for

  • How can i get the data from the weblink

    Hi All, Good Afternoon, i create a page with picklist, that picklist contains so many currencies like(USD,AED,BSD----------) when ever i am selecting the currency from that picklist, that time i want to get the current exchage rate from this link htt

  • Why can't I use my apple id as i cloud address?

    Why can't I use my apple ID as an Icloud e-mail address on my 3gs Iphone?

  • Photo album: enlarged thumbnails' layer

    This problem appears only in IE6 and 7, not Firefox or Safari. When I mouseover a thumb it enlarges, but instead of the enlarging OVER the adjoining thumbs, it enlarges UNDER its neighboring thumbs' layer. Here's the sample (slavishly copied from the

  • Any updates for Nokia 6102i for the Tungsten E2

    I am trying to link my Bluetooth enabled Nokia 6102i and my Tungsten E2. I have checked for updates on the palm site, but it doesnt look like any updates have been created since 2005, and this phone was introduced in 2006. Can anyone steer me in the

  • Synced my phone to my computer and lost my photos. HELP

    please help! I linked my phone up to my computer because i needed to get a few photos off my phone. i clicked the option "USB only", but none of my photos showed up on my computer, so i unplugged my phone, and plugged it back in, then pressed the opt