Urgent :- table maitenance dailog problem.

Hi All,
Im maitaining a table using table maitenance dailog.
and its a two step with 1 overview screen and 2 single screen.
i hv created  a transaction using se93 based on SM30.
so when i execute this transaction i get an overview screen when there are no entries in the table or there are more then one entry in table.
but when i hv one entry table then i dont get the overview screen and on executing the transaction i get the single screen as the first screen(through which we create entries).
I can also give u screen shots to explain u better but there is no option for file attachment.
Please respond as we would be facing same problem for all the tables we are going to create.

In you getTableCellRendererComponent you are setting the combo to getSelectedItem(). To get the new value, you need to use the value passed into the method in the parameter list:
combo.setSelectedItem(value.toString())

Similar Messages

  • Table of contents problems

    I am trying to convert a document from Word to Pages. I've run into a some table of contents problems that I know how to solve in Word, but which apparently cannot be solved at all in Pages.
    1. I need to make several entries differ from the paragraph text. For example, I have a heading that reads "PROGRAM THEME: MUSIC IN AMERICA AND BEYOND." I need it to read simply "Theme."
    2. The paragraph text is all caps. I need the TOC entries to be in title case.
    I can do these things easily in Word. But I really dislike Word and would like to use Pages. Is there any way to do these simple things?

    I can't help with the TOC as I've not had a need to use one since I've been using Pages. I can help with the title case. Go to my iDisk & download Pages Title Caps.scpt. To add the AppleScript menu in OS X 10.4.x or 10.5.x, go to Applications > AppleScript and launch the AppleScript Utility application. The option to "Show Script Menu in menu bar" is activated from there. You can put the downloaded script in the Scripts folder in either the main HD > Library or in your user Library.

  • URGENT-Table renderer problem

    I created my own renderer(which renders JCombobox) for JTable.But the problem is when i select an item,it's not setting that item in the combobox.combobox remains blank. but when i click the combobox,it shows that selected item and shows popup menu.
    please give me some solution.
    thanx in advance.
    here is my piece of code.
    public class comboRenderer extends TableCellRenderer{
    JComboBox combo;
    /* In this constructor i am getting the combobox that is being used by the cell editor for editing a particular cell */
    public comboRenderer(JComboBox cmb){
    combo=cmb;
    public Component getTableCellRendererComponent(JTable table,Object value,boolean is Selected,boolean hasFocus,int row,int column){
    setSelectedItem(combo.getSelectedItem());
    //setting the currently selected item
    return this;
    //#################################

    In you getTableCellRendererComponent you are setting the combo to getSelectedItem(). To get the new value, you need to use the value passed into the method in the parameter list:
    combo.setSelectedItem(value.toString())

  • URGENT, URGENT - Table not displaying correctly

    hi guys
    I am using a Jtable as a leaf node to a jtree. The table is editable, and displays the cells, but doesnt dislay the header or the left side border of the table.
    here is my code:
    Can somebody tell me why ? .. this is urgent. thanks
    public class SimpleTree extends JFrame {
    public static void main(String[] args) {
              new SimpleTree();
    public SimpleTree() {
    super("Creating a Simple JTree");
    WindowUtilities.setNativeLookAndFeel();
    addWindowListener(new ExitListener());
         Container content = getContentPane();
         Container content2 = getContentPane();
         JComboBox comboBox;
         comboBox = new JComboBox();
    comboBox.addItem("true");
    comboBox.addItem("false");
    JTable     table;
         String columnNames[] = { "OrderID", "CustomerID", "EmployeeID", "Order Date", "Shipped Date" };
         String dataValues[][] =
              { "34", "34" , "67","12/02/2002", "16/04/2002" },
              { "-123", "43", "853","12/02/2002", "16/04/2002" },
              { "93", "89.2", "109","12/02/2002", "16/04/2002" },
              { "279", "9033", "3092","12/02/2002", "16/04/2002" }
         table = new JTable( dataValues, columnNames );
         table.setEnabled(true);
         table.isCellEditable(4,4);
         table.setShowHorizontalLines(true);
         table.setShowVerticalLines(true);     
         table.getTableHeader().setForeground(Color.black);
         table.getTableHeader().setBackground(Color.lightGray);
         table.getTableHeader().setReorderingAllowed(true);
         table.getTableHeader().resizeAndRepaint();
         JTableHeader header = table.getTableHeader();
    header.setUpdateTableInRealTime(true);
    header.setReorderingAllowed(true);
         JScrollPane jScrollPane = new JScrollPane(table);
         Object[] hierarchy =
    { "Orders",
                        table,
    new Object[] { "Orders",
    new Object[] { "Prodcuts",
    new Object[] { "",
    table },
    "Employees",
    "Suppliers" };
         DefaultMutableTreeNode root = processHierarchy(hierarchy);
         JTree tree = new JTree(root);
         tree.putClientProperty("JTree.lineStyle", "Angled");
         tree.setCellRenderer(new MyTreeCellRenderer(table));
         tree.setCellEditor(new SimpleTreeCellEditor(table));
         tree.repaint();
         table.repaint();
         tree.setRowHeight(-2);      
         tree.setEditable(true);
         content.add(new JScrollPane(tree), BorderLayout.CENTER);
         setSize(275, 300);
    setVisible(true);
    /** Small routine that will make node out of the first entry
    * in the array, then make nodes out of subsequent entries
    * and make them child nodes of the first one. The process is
    * repeated recursively for entries that are arrays.
    private DefaultMutableTreeNode processHierarchy(Object[] hierarchy) {
    DefaultMutableTreeNode node =
    new DefaultMutableTreeNode(hierarchy[0]);
         DefaultMutableTreeNode child;
    for(int i=1; i<hierarchy.length; i++) {
    Object nodeSpecifier = hierarchy;
    if (nodeSpecifier instanceof Object[]) // Ie node with children
    child = processHierarchy((Object[])nodeSpecifier);
         else
    child = new DefaultMutableTreeNode(nodeSpecifier); // Ie Leaf
    node.add(child);     
         return(node);

    I don't know for sure, but I imagine that your CellEditor and CellRenderer return the table when they should probably return the JScrollPane that contains the table. I suppose I should be more worried seeing as the fate of the world depends on this very problem. You know the president called me just the other day asking the same thing. I realize that we might run out of clean air or water if this is not solved, but I got some other things to do right now...

  • Urgent - Table with Unicode data of 4000 length to be pulled in BI

    Dear Gurus,
    I have a table which contains the mix type of data - Unicode, text and numeric. The Unicode field is of length 4000 chars max.
    Is it possible to pull this in BI 7 ?
    I know BI can accommodate 60 chars max in which case I need to create around 67 infoobjects as attributes to the master infoobject if I go with the normal process. This is generally good if the requirement is upto 240-300 chars. But for my case, this obviously will degrade the performance.
    Is there any alternative for this ?
    This is an important and urgent issue for me and I will assign the points for useful answers.
    Regards,
    Srinivas

    Hi Diego,
    Appreciate your timely response. I guess that I left a bit in my mentioning of the doubt.
    I already have the PC file(the CSV file of course) with me which contains the data. One of the fields in that contains Unicode characters of 4000 length. Of course, I can upload the other fields of the file into BI, but the problem will arrive with the Unicode field.
    For handling the Unicode, I will see the SM59 settings whether Unicode option is set there or not. But to upload the 4000 chars of this Unicode field from the PC file to BI system, I was looking for some better alternative.
    Please suggest....
    Regards,
    Srinivas

  • Urgent!!! Problem in regular expression for matching braces

    Hi,
    For the example below, can I write a regular expression to store getting key, value pairs.
    example: ((abc def) (ghi jkl) (a ((b c) (d e))) (mno pqr) (a ((abc def))))
    in the above example
    abc is key & def is value
    ghi is key & jkl is value
    a is key & ((b c) (d e)) is value
    and so on.
    can anybody pls help me in resolving this problem using regular expressions...
    Thanks in advance

    "((key1 value1) (key2 value2) (key3 ((key4 value4)
    (key5 value5))) (key6 value6) (key7 ((key8 value8)
    (key9 value9))))"
    I want to write a regular expression in java to parse
    the above string and store the result in hash table
    as below
    key1 value1
    key2 value2
    key3 ((key4 value4) (key5 value5))
    key4 value4
    key5 value5
    key6 value6
    key7 ((key8 value8) (key9 value9))
    key8 value8
    key9 value9
    please let me know, if it is not possible with
    regular expressions the effective way of solving itYes, it is possible with a recursive regular expression.
    Unfortunately Java does not provide a recursive regular expression construct.
    $_ = "((key1 value1) (key2 value2) (key3 ((key4 value4) (key5 value5))) (key6 value6) (key7 ((key8 value8) (key9 value9))))";
    my $paren;
       $paren = qr/
               [^()]+  # Not parens
             |
               (??{ $paren })  # Another balanced group (not interpolated yet)
        /x;
    my $r = qr/^(.*?)\((\w+?) (\w+?|(??{$paren}))\)\s*(.*?)$/;
    while ($_) {
         match()
    # operates on $_
    sub match {
         my @v;
         @v = m/$r/;
         if (defined $v[3]) {
              $_ = $v[2];
              while (/\(/) {
                   match();
              print "\"",$v[1],"\" \"",$v[2],"\"";
              $_ = $v[0].$v[3];
         else { $_ = ""; }
    C:\usr\schodtt\src\java\forum\n00b\regex>perl recurse.pl
    "key1" "value1"
    "key2" "value2"
    "key4" "value4"
    "key5" "value5"
    "key3" "((key4 value4) (key5 value5))"
    "key6" "value6"
    "key8" "value8"
    "key9" "value9"
    "key7" "((key8 value8) (key9 value9))"
    C:\usr\schodtt\src\java\forum\n00b\regex>

  • Error: "... is not a table ..." XML not correctly interpreted after XSL-transformation. Table row quantity problem.

    Hey guys, this is one of my xml-elements:
    Jaspreet Sohi 12 18 Juliane Lenz 11 17 Sophie Charlotte Stender 10 15 Rosbeh Hamidzadeh Khayyat 12 17 Lion Stoldt 12 17 Mats Lucas Meincke 6 8 Bero Luke Vincent Ernst 6 8 Cedric Roth 6 8 Soner Cantay 6 8 The following XSL Transformation I use once for transforming all "m" tags and once in order to transform all "j" tags. Please imagine the CSL-code below to be duplicated exactly. Only the "jungs"-table-Tag is replaced by "mädchen" and all underscores _j are replace by _m. As well all "select="j[@..." parts are replaced by "select="m[@...". 1 2 3 The code is very easygoing I think and not difficult to understand. As I said, I use it twice - for both transformations. The very, extremely weird thing, my problem, is that one transformation works perfectly in InDesign and a table is created for all "kategorie"-tags (all is set within a for-each loop). But the second script does not work! I simply do not get this I can't understand it. I've tried more than anything. InDesign sais (in German, so translated based on assumption) "jungs is an invalid table element or is displayed in wrong order". The second strange thing is that I can replace my "aid:trows" attribute by any number, e.g. "10" and immediately the script works fine (as there are never more than 6 "j" tags in my XML so that never the table has more than 6 rows"). But it does not want to work correctly with the actual number, my variable "rows_j". These are my variables: They are all defined before the tables for m and j are created. So finally, why (the heck) is one table created and interpreted perfectly whereas the second - immediately following the first in the XSL.script as an EXACT copy of the first - results in an error? As i've already said, I've tried really everything. For example the script works also when one of the parts "" is randomly deleted from the script. Removing one of these parts directly makes the script working. Just one of my attempts to understand the thing but this has only shown that none of these parts "cell to end-for-each" includes an error. I'm really desperate and looking forward to being rescued by one of you geniuses :)

    Hah, No worries. The forum software is, well, different.
    What would be better, though, would be a sample ID file, any XSLT/XLT files you use, and a bit of data exactly as you have it (pre-transform state). ZIP it up, upload to say dropbox.com and feel free to send me a private message for the download link.
    Too many times there is something different between samples pasted into a post and the real thing that it is sometimes less useful time-wise. I'll keep it private, of course. Then we can communicate via PMs or email until we can (hopefully) arrive together at a solution, then post what that solution is in the forum to benefit others.
    Thank you, Mike

  • Table Control Related Problem

    Hi,
    I have created table control displaying fields from ztable and now i have created user defined structure containing the same table as structure and one more field is added as MARK for capturing row. Now the problem is when i select one row on table control and scroll down to select another row and again if i scroll up to select another row , its not showing the previous row selected Please provide me solution
    Please follow the code for reference.
    On screen 0600.
    PROCESS BEFORE OUTPUT.
      MODULE status_0600.
      MODULE fetch_data.
      MODULE vertical_scroll2.
      LOOP AT it_vnd INTO fl_vnd WITH CONTROL tbl_2.
        MODULE display_fetched_data.
      ENDLOOP.
    PROCESS AFTER INPUT.
    MODULE USER_COMMAND_0600.
      LOOP AT it_vnd.
        FIELD fl_vnd-mark
        MODULE move_records ON INPUT.
      ENDLOOP.
      MODULE create_records.
      MODULE change_delete.
    In TOP INCLUDE
    TYPES:   BEGIN OF zthird.
            INCLUDE STRUCTURE zfmmvndrcert.
    TYPES:    mark TYPE c LENGTH 1.
    TYPES:   END OF zthird.
    CONTROLS :  tbl_2 TYPE TABLEVIEW USING SCREEN 0600.
    DATA :         it_vnd TYPE  TABLE OF zthird,
                       it_evnd TYPE TABLE OF zthird,
                       it_strd TYPE TABLE OF zthird,
                       fl_vnd  TYPE zthird.
    PROCESS BEFORE OUT.
    MODULE status_0600 OUTPUT.
      DATA l_code TYPE TABLE OF sy-ucomm.
      APPEND 'SAVE' TO l_code.
      SET PF-STATUS 'ZVNDR' EXCLUDING l_code.
      SET TITLEBAR 'ZVND'.
    ENDMODULE.                 " STATUS_0600  OUTPUT
    MODULE fetch_data OUTPUT.
    SOME  DATA FETCHING LOGIC IS THERE BUT NOT INCLUDED
      SORT it_vnd BY lifnr cert_number cert_type DESCENDING.
      LOOP AT it_strd INTO fl_vnd.
        fl_vnd-mark = c_x.
        MODIFY it_vnd FROM fl_vnd TRANSPORTING mark WHERE lifnr       = fl_vnd-lifnr
                                                    AND   cert_number = fl_vnd-cert_number
                                                    AND   cert_type   = fl_vnd-cert_type.
        CLEAR fl_vnd.
      ENDLOOP.
      DESCRIBE TABLE it_vnd LINES v_ln.
    ENDMODULE.                 " fetch_data  OUTPUT
    module vertical_scroll2 output.
    describe table it_vnd
    lines v_lines.
    tbl_2-lines = v_lines + 2.
    endmodule.                 " vertical_scroll2  OUTPUT
    MODULE display_fetched_data OUTPUT.
        MOVE-CORRESPONDING fl_vnd TO zfmmvndrcert.
        CLEAR fl_vnd.
    ENDMODULE.                 " display_fetched_data  OUTPUT
    PROCESS AFTER INPUT.
    MODULE move_records INPUT.
      IF v_fl EQ space.
        REFRESH : it_evnd,it_strd.
        v_fl = c_x.
      ENDIF.
      MOVE-CORRESPONDING zfmmvndrcert TO fl_vnd.
      fl_vnd-mark = c_x.
      MODIFY it_vnd FROM fl_vnd TRANSPORTING mark WHERE lifnr = fl_vnd-lifnr.
      APPEND fl_vnd to it_strd.
      APPEND fl_vnd TO it_evnd.
      CLEAR fl_vnd.
    DESCRIBE TABLE it_evnd
    lines v_ln.
    ENDMODULE.                 " move_records  INPUT
    Please provide me solution.
    Thanks ...
    PARAG
    Edited by: Matt on Jan 14, 2009 2:02 PM added  tag

    Ok. So you want to select multiple rows.
    For this, add one single char field say SEL in your internal table for table control i.e it_vnd.
    Then on your screen layout, table control properties add the field into w/SelName field (IT_VND-SEL).
    Now when you select records in the table control, the field SEL will have value X.
    Check if the above solution works.
    regards,
    Jinson

  • Historical and transaction data in the same tables creates perf problems

    Our Oracle based application is slow partly due to the fact that historical data are kept in the same table as transactional data. For example records about deceased patients, patients treated 5 years ago...etc, are kept in the one and only one patient table, which is needed to run the daily process of the hospital. So gradually all our major tables PATIENTS, CHARTS, NAMES, APPOINTMENTS have grown very large and since most of our SQL join all these tables at the same time, then all screens and reports run very slowly. I have introduced the idea that we should split all these tables in two: historical PATIENTS data, and CURRENT PATIENTS data...the same with all the others. A nice system would first search in the smaller transactional tables, which would run faster being smaller, and if no data found, then fallback to the historical tables. But this would require programming. From what I have read mateialized view could solve part of our problem. We could have views containing for example only one year worth of the data, and I guess any changes could be later replicated in the base table. What I dont know is what to do if we cannot find the patient in the matealized views ? Do I need to fallback to another SQL which will search in the initial base tables ? Anyway we can implement this without programming ? Tx.

    Appointment table: 207,470
    Visit table: 5,890,920
    Patient table: 2,993,129
    Chart table: 2,864,069
    Patient names table: 3,938,118
    SELECT
        APPOI_OR_VISIT,
        VISIT_SEQ,
        PAT_SEQ,
        INST_CODE,
        INST_CODE_DISPL,
        INST_DESC,
        CLINIC_CODE,
        CLINIC_CODE_DISPL,
        CLINIC_DESC,
        SPEC_CODE,
        SPEC_CODE_DISPL,
        SPEC_DESC,
        VISIT_DATE,
        VISIT_TIME,
        VISIT_TIME_ARRIVAL,
        APPTYPE_CODE,
        SESSION_DOM_MODE,
        PRESTYPE_CODE,
        PRESTYPE_DOM_TYPE,
        DIA_CODE,
        VISIT_TIME_START_RESP,
        VISIT_TIME_DISCHARGE,
        APPOI_NB_DURATION,
        VISIT_TX_REASON,
        VISIT_TX_COMMENT,
        EXTDOC_CODE,
        VISIT_PN_REFPHYS_NAME,
        PATYPE_CODE,
        PAYRESP_CODE,
        VISIT_IND_GROUP,
        VISIT_PCODE,
        VISIT_IND_COMPLETE,
        VISIT_IND_ADMISSION,
        VISIT_IND_CONFIDENTIALITY,
        VISIT_DATE_ACCIDENT,
        APPOI_SEQ,
        BILLING_CODE,
        VISIT_TX_DIAGNOSIS,
        CST_CODE_1,
        CST_CODE_2,
        CST_CODE_3,
        APPOI_DH_CRE,
        APPOI_CODE_CRE_USER,
        APPOI_DH_MOD,
        APPOI_CODE_MOD_USER,
        VISIT_CODE_CRE_USER,
        VISIT_DH_CRE,
        VISIT_UPDATED_COUNT,
        VISIT_CODE_MOD_USER,
        VISIT_DH_MOD,
        APPOI_PAYRESP_CODE,
        APPOI_DT_ACCIDENT,
        PATIENT_LAST_NAME,
        PATIENT_FIRST_NAME,
        PATIENT_CONFIDENTIALITY,
        PATIENT_CHART_EXT,
        TO_NUMBER(SUBSTR(PATIENT_CHART_EXT, 1, INSTR(PATIENT_CHART_EXT, '|')-1)) AS PATIENT_CHART_NO,
        PAT_IND_SPECIAL_RISK
    FROM
        SELECT
            'VISIT'              AS APPOI_OR_VISIT,
            VISIT.VISIT_SEQ,
            VISIT.PAT_SEQ,
            INSTITUTION.INST_CODE,
            INSTITUTION.INST_CODE_DISPL,
            INSTITUTION.INST_DESC,
            CLINIC.CLINIC_CODE,
            CLINIC.CLINIC_CODE_DISPL,
            CLINIC.CLINIC_DESC,
            SPECIALTY.SPEC_CODE,
            SPECIALTY.SPEC_CODE_DISPL,
            SPECIALTY.SPEC_DESC,
            VISIT.VISIT_DATE,
            VISIT.VISIT_TIME,
            VISIT.VISIT_TIME_ARRIVAL,
            VISIT.APPTYPE_CODE,
            VISIT.SESSION_DOM_MODE,
            VISIT.PRESTYPE_CODE,
            VISIT.PRESTYPE_DOM_TYPE,
            VISIT.DIA_CODE,
            VISIT.VISIT_TIME_START_RESP,
            VISIT.VISIT_TIME_DISCHARGE,
            VISIT.APPOI_NB_DURATION,
            VISIT.VISIT_TX_REASON,
            VISIT.VISIT_TX_COMMENT,
            VISIT.EXTDOC_CODE,
            VISIT.VISIT_PN_REFPHYS_NAME,
            VISIT.PATYPE_CODE,
            VISIT.PAYRESP_CODE,
            VISIT.VISIT_IND_GROUP,
            VISIT.VISIT_PCODE,
            VISIT.VISIT_IND_COMPLETE,
            VISIT.VISIT_IND_ADMISSION,
            VISIT.VISIT_IND_CONFIDENTIALITY,
            VISIT.VISIT_DATE_ACCIDENT,
            VISIT.APPOI_SEQ,
            VISIT.BILLING_CODE,
            VISIT.VISIT_TX_DIAGNOSIS,
            VISIT.CST_CODE_1,
            VISIT.CST_CODE_2,
            VISIT.CST_CODE_3,
            VISIT.APPOI_DH_CRE,
            VISIT.APPOI_CODE_CRE_USER,
            VISIT.APPOI_DH_MOD,
            VISIT.APPOI_CODE_MOD_USER,
            VISIT.VISIT_CODE_CRE_USER,
            VISIT.VISIT_DH_CRE,
            VISIT.VISIT_UPDATED_COUNT,
            VISIT.VISIT_CODE_MOD_USER,
            VISIT.VISIT_DH_MOD,
            NULL AS APPOI_PAYRESP_CODE,
            TO_DATE(NULL) AS APPOI_DT_ACCIDENT,
            NAME.NAM_PN_NAM AS PATIENT_LAST_NAME,
            NAME.NAM_PN_FNAM AS PATIENT_FIRST_NAME,
            CONFIDENTIALITY.CONF_DESC AS PATIENT_CONFIDENTIALITY,
            PI_SECURITY.F_GET_CHART_NUMBER_SCAN_CODE(VISIT.PAT_SEQ, 103 /*:pChartInstitutionID*/, 0) AS PATIENT_CHART_EXT,
            PATIENT.PAT_IND_SPECIAL_RISK
        FROM
                   AS_T_VISITS        VISIT,
                   CT_R_INSTITUTIONS  INSTITUTION,
                   AS_T_CLINICS       CLINIC,
                   CT_R_SPECIALITIES  SPECIALTY,
                   PI_T_NAMES         NAME,
                   PI_T_PATIENTS      PATIENT,
                   PI_R_CONF_LEVELS   CONFIDENTIALITY
        WHERE
            VISIT_DATE >= TO_DATE('2004-04-01', 'YYYY-MM-DD') /*:P_VISIT_DATE_FROM*/ AND
            VISIT_DATE <= TO_DATE('2004-04-02', 'YYYY-MM-DD') /*::P_VISIT_DATE_TO*/ AND
            CLINIC.CLINIC_CODE = VISIT.CLINIC_CODE AND
            SPECIALTY.SPEC_CODE = CLINIC.SPEC_CODE AND
            INSTITUTION.INST_CODE(+) = VISIT.INST_CODE AND
            NAME.PAT_SEQ = VISIT.PAT_SEQ AND
            NAME.NAMTYP_CODE = 1 AND
            PATIENT.PAT_SEQ = VISIT.PAT_SEQ AND
            CONFIDENTIALITY.CONF_CODE (+) = PATIENT.CONF_CODE
        UNION
        SELECT
            'APPOI'                                                                                                                                                                                                        AS APPOI_OR_VISIT,
            0                                                                                                                                                                                                                            AS VISIT_SEQ,
            NVL(APPOINTMENT_GROUP.PAT_SEQ, APPOINTMENT.PAT_SEQ) AS PAT_SEQ,
            INSTITUTION.INST_CODE,
            INSTITUTION.INST_CODE_DISPL,
            INSTITUTION.INST_DESC,
            CLINIC.CLINIC_CODE,
            CLINIC.CLINIC_CODE_DISPL,
            CLINIC.CLINIC_DESC,
            SPECIALTY.SPEC_CODE,
            SPECIALTY.SPEC_CODE_DISPL,
            SPECIALTY.SPEC_DESC,
            APPOINTMENT.SESSION_DATE                                                                                                                                                                AS VISIT_DATE,
            APPOINTMENT.APPOI_TIME                                                                                                                                                                     AS VISIT_TIME,
            ''                                                                                                                                                                                                                  AS VISIT_TIME_ARRIVAL,
            APPOINTMENT.APPTYPE_CODE,
            APPOINTMENT.SESSION_DOM_MODE,
            0                                                                                                                                                                                                                            AS PRESTYPE_CODE,
            ''                                                                                                                                                                                                                  AS PRESTYPE_DOM_TYPE,
            0                                                                                                                                                                                                                            AS DIA_CODE,
            ''                                                                                                                                                                                                                  AS VISIT_TIME_START_RESP,
            ''                                                                                                                                                                                                                  AS VISIT_TIME_DISCHARGE,
            APPOINTMENT.APPOI_NB_DURATION,
            APPOINTMENT.APPOI_TX_REASON                                                                                                                                                           AS VISIT_TX_REASON,
            APPOINTMENT.APPOI_TX_COMMENT                                                                                                                                                      AS VISIT_TX_COMMENT,
            APPOINTMENT.EXTDOC_CODE,
            APPOINTMENT.APPOI_PN_REFPHYS_NAME                                                                                                                                            AS VISIT_PN_REFPHYS_NAME,
            APPOINTMENT_TYPE.PATYPE_CODE  AS PATYPE_CODE,
            0                                                                                                                                                                                                                            AS PAYRESP_CODE,
            DECODE(APPOINTMENT_GROUP.PAT_SEQ,NULL,0,1)                                                                                                                   AS VISIT_IND_GROUP,
            ''                                                                                                                                                                                                                  AS VISIT_PCODE,
            0                                                                                                                                                                                                                            AS VISIT_IND_COMPLETE,
            0                                                                                                                                                                                                                            AS VISIT_IND_ADMISSION,
            APPOINTMENT.APPOI_IND_CONFIDENTIALITY                                                                                                                                  AS VISIT_IND_CONFIDENTIALITY,
            TO_DATE(NULL)                                                                                                                                                                                          AS VISIT_DATE_ACCIDENT,
            APPOINTMENT.APPOI_SEQ,
            0                                                                                                                                                                                                                            AS BILLING_CODE,
            ''                                                                                                                                                                                                                  AS VISIT_TX_DIAGNOSIS,
            0                                                                                                                                                                                                                            AS CST_CODE_1,
            0                                                                                                                                                                                                                            AS CST_CODE_2,
            0                                                                                                                                                                                                                            AS CST_CODE_3,
            APPOINTMENT.APPOI_DH_CRE                                                                                                                                                                AS APPOI_DH_CRE,
            APPOINTMENT.APPOI_CODE_CRE_USER                                                                                                                                                 AS APPOI_CODE_CRE_USER,
            APPOINTMENT.APPOI_DH_MOD                                                                                                                                                                AS APPOI_DH_MOD,
            APPOINTMENT.APPOI_CODE_MOD_USER                                                                                                                                                 AS APPOI_CODE_MOD_USER,
            ''                                                                                                                                                                                                                  AS VISIT_CODE_CRE_USER,
            SYSDATE                                                                                                                                                                                                             AS VISIT_DH_CRE,
            0                                                                                                                                                                                                                            AS VISIT_UPDATED_COUNT,
            ''                                                                                                                                                                                                                  AS VISIT_CODE_MOD_USER,
            SYSDATE                                                                                                                                                                                                             AS VISIT_DH_MOD,
            PAYRESP_CODE                                                                             AS APPOI_PAYRESP_CODE,
            APPOI_DT_ACCIDENT,
            NAME.NAM_PN_NAM AS PATIENT_LAST_NAME,
            NAME.NAM_PN_FNAM AS PATIENT_FIRST_NAME,
            CONFIDENTIALITY.CONF_DESC AS PATIENT_CONFIDENTIALITY,
                                        PI_SECURITY.F_GET_CHART_NUMBER_SCAN_CODE(APPOINTMENT.PAT_SEQ, 103 /*:pChartInstitutionID*/, 0) AS PATIENT_CHART_EXT,
            PATIENT.PAT_IND_SPECIAL_RISK
        FROM
                   AS_T_APPOINTMENTS       APPOINTMENT,
                   AS_R_APPOINTMENT_TYPES  APPOINTMENT_TYPE,
                   AS_T_CLINICS            CLINIC,
                   CT_R_SPECIALITIES       SPECIALTY,
                   CT_R_INSTITUTIONS       INSTITUTION,
                   AS_T_APPOINTMENT_GROUPS APPOINTMENT_GROUP,
                   PI_T_PATIENTS           PATIENT,
                   PI_R_CONF_LEVELS        CONFIDENTIALITY,
                   PI_T_NAMES              NAME,
                   AS_T_APPOINTMENT_SEQ_MAPPING  SEQMAP
        WHERE
            SESSION_DATE >= TO_DATE('2004-04-01', 'YYYY-MM-DD') /*:P_VISIT_DATE_FROM*/ AND
            SESSION_DATE <= TO_DATE('2004-04-02', 'YYYY-MM-DD') /*::P_VISIT_DATE_TO*/ AND
            APPOINTMENT.APPOI_DOM_TYPE IN('A','AR') AND
            CLINIC.CLINIC_CODE = APPOINTMENT.CLINIC_CODE AND
            SPECIALTY.SPEC_CODE = CLINIC.SPEC_CODE AND
            INSTITUTION.INST_CODE(+) = APPOINTMENT.INST_CODE AND
            APPOINTMENT_GROUP.APPOI_SEQ (+) = APPOINTMENT.APPOI_SEQ AND
            APPOINTMENT_TYPE.APPTYPE_CODE (+) = APPOINTMENT.APPTYPE_CODE AND
            NAME.PAT_SEQ = NVL(APPOINTMENT.PAT_SEQ, APPOINTMENT_GROUP.PAT_SEQ) AND
            NAME.NAMTYP_CODE = 1 AND
            PATIENT.PAT_SEQ = NVL(APPOINTMENT.PAT_SEQ, APPOINTMENT_GROUP.PAT_SEQ) AND
            CONFIDENTIALITY.CONF_CODE (+) = PATIENT.CONF_CODE AND
            SEQMAP.APPOI_SEQ (+) = APPOINTMENT.APPOI_SEQ AND
            SEQMAP.APPOI_SEQ IS NULL
    ORDER BY
         VISIT_DATE, VISIT_TIME, PATIENT_CHART_NO

  • Table field length problem

    Hi Team,
    We r tring to create table with field length 250 and 'CHAR' type and one more field 'STRING 'for unlimited length.While creating table entries ,it is tsking only 130 length for all fields.it is not taking 250 characters for 250 length field.and it is not taking unlimited length for String field.Plz let me know.

    Hello Mohan,
    CHAR 250 is right. i am not facing any problem.
    can you please explain in detail what you have done and what error you are getting.
    Regards,
    Sujeet
    Edited by: Sujeet Mishra on Dec 2, 2009 4:42 AM

  • TABLE FIELD DETERMINATION PROBLEM

    Hi Experts,
    I have a problem described  below by an example .
    Suppose I enter in the Tcode 'MIRO' and give the value of the field 'Inv. recpt date' and 'Reference' and then press
    'ENTER' . Now I just want to know that in which table the value of the field 'Reference' is gone and saved . I tried in a
    method in which I click on the field and press 'F1' . But it is showing only the structure name 'INVFO' not th table name.
    So please tell me the exact step through which I can identify the table name properly  .
    DEB
    Edited by: DEB. ABAP on Dec 1, 2011 11:32 AM
    Moderator message: FAQ, please search for previous discussions of this topic.
    Edited by: Thomas Zloch on Dec 1, 2011 12:12 PM

    Hi,
    U cant find out the field using pressing F1 in this type of fields....
    most of the MIRO details are in RBKP and RSEG.
    Some times U can find multiple values for particular record
    Suppose U got 3 entries in the field of the REFERENCE from the table. To find out which is the reference u have to make help of other field. This field is almost called CONDITION TYPE.
    These things are depends on clients.... So we cant give a proper answer....
    Eg:      REFERENCE     CONDTION
                123                      A
                124                      B
                125                      C
    here 3 values are there in ref for one doc so we have to refer condition also.....
    Values : 123,124,125
    condition : A, B, C
    Edited by: Riyas.a.rasak on Dec 1, 2011 12:02 PM
    Edited by: Riyas.a.rasak on Dec 1, 2011 12:05 PM

  • Table Input Field Problem

    Hi All,
    I am facing a problem now where table row height is too big , as in 1 row size is actually a merged of 2 rows, the input field is shifted to the bottom of the cell.  And when you select the row, an asterik is visible at the bottom row, and the input field is shifted up to the top of the cell. I am using customized iterator and cl_crm_ic_inputfield to render the cell. Anyone have this problem before?
    Thanks!
    Cheers,
    cady

    Hi Guys,
    Some additional info i found on this issue. I am using design2003. I realized that the * added meant that its required field. However, upon further checking, when calling method RENDER_DESIGN2003 in class cl_crm_ic_inputfield, it checkes for me->required is not initial, which is kind of odd since the required field has the initial value of 'FALSE'. So , either required = 'TRUE' or 'FALSE', it will always be required field. Anyone encountered such problem before?
    Cheers,
    cady

  • Urgent: regarding output display problem

    hi,
    i had made dis report for displaying changes made to a purticular material in a purticular month.
    d poblem is dis when i check a materail in MM04 which use to display a change made to a single material and when i check further that what changes had made it shows 4 changes but when i check my report it shows only 2 changes had been made.
    plzz help me out as help will be definately rewarded.
    last time i asked in dis forum not much help was provided.
    here is d code:-
    REPORT ZNEW01 no standard page heading LINE-SIZE 310.
    TABLES: CDHDR,CDPOS.
    DATA: BEGIN OF ITAB OCCURS 0,
    OBJECTCLAS LIKE CDHDR-OBJECTCLAS,
    OBJECTID LIKE CDHDR-OBJECTID,
    USERNAME LIKE CDHDR-USERNAME,
    UDATE LIKE CDHDR-UDATE,
    UTIME LIKE CDHDR-UTIME,
    TCODE LIKE CDHDR-TCODE,
    CHANGE_IND LIKE CDHDR-CHANGE_IND,
    END OF ITAB.
    DATA: BEGIN OF ITAB1 OCCURS 0,
    OBJECTCLAS LIKE CDPOS-OBJECTCLAS,
    OBJECTID LIKE CDPOS-OBJECTID,
    FNAME LIKE CDPOS-FNAME,
    CHNGIND LIKE CDPOS-CHNGIND,
    VALUE_OLD LIKE CDPOS-VALUE_OLD,
    VALUE_NEW LIKE CDPOS-VALUE_NEW,
    END OF ITAB1.
    SELECT-OPTIONS: M_DATE FOR CDHDR-UDATE,
    U_ID FOR CDHDR-CHANGE_IND.
    SELECT BOBJECTCLAS BOBJECTID BUSERNAME BUDATE BUTIME BTCODE B~CHANGE_IND INTO
    TABLE ITAB
    FROM CDHDR AS B WHERE B~OBJECTCLAS = 'MATERIAL' AND UDATE IN M_DATE AND CHANGE_IND IN U_ID.
    Check not itab[] is initial.
    SELECT OBJECTCLAS OBJECTID FNAME CHNGIND VALUE_OLD VALUE_NEW INTO TABLE
    ITAB1 FROM CDPOS
    FOR ALL ENTRIES IN ITAB WHERE OBJECTID = itab-objectid and objectclas = ITAB-OBJECTCLAS .
    *SELECT OBJECTCLAS OBJECTID FNAME CHNGIND VALUE_OLD VALUE_NEW INTO TABLE
    *ITAB1 FROM CDPOS
    *WHERE OBJECTID = itab-objectid and objectclas = ITAB-OBJECTCLAS .
    ULINE.
    LOOP AT ITAB.
    WRITE:/ ITAB-OBJECTID,22 ITAB-USERNAME,ITAB-UDATE,ITAB-UTIME,ITAB-TCODE.
    LOOP AT ITAB1 WHERE OBJECTCLAS = ITAB-OBJECTCLAS AND OBJECTID = ITAB-OBJECTID.
    WRITE: 60 ITAB1-FNAME,ITAB1-CHNGIND,ITAB1-VALUE_OLD(40),ITAB1-VALUE_NEW(40).
    ENDLOOP.
    ENDLOOP.

    hey ric
    i have tested ur code
    i think u have got a problem with the selection criteria "date"
    because i have cross checked the code you have developed and through the transaction
    it is impeccably right
    i think the selection of date in your report should be the range of dates in which they have been modfiied/changed
    if satisfied plz do reward
    regards
    samarendra

  • #Name in Access table - Connection string problem

    Dear All,
    Hope you can help with this one. I am using the 9.0.1.8 ODBC driver set to connect to our Oracle817 database. Usually when connecting tables everything is fine, and no problems appear. There are, however, a small handful of tables that cause ODBC Call Failed errors when I attempt to connect and open them, they display an incorrect record count, and fill all columns with #Name.
    After checking someone else's PC, I have found that the problem is caused by the connection string. Obviously the connection string is genereated from the setting used in the ODBC Admin panel, but how do I get it to include or exclude the settings that are causing the problems?
    With thanks in advance,
    Paul.

    The Application Name is used for the database administrator to see the name of the application that is connecting to SQL Server. If it is not provided, the default value is '.NET SQLClient Data Provider'.

  • Urgent Help Reqd: Delta Problem....!!!

    Hi Experts,
    Urgent help reqd regarding follwoing scenario:
    I am getting delta to ODS 1 (infosource : 2LIS_12_VCHDR) from R/3. Now this ODS1 gives delta to Cube1. I got one error record which fails when going to cube (due to master data check).And this record would be edited later.
    So I thought of re loading cube and using error handling to split request in PSA and load valid records in cube.Later when I have coorect info abt error, I would load erroneous record manually using PSA.
    I did following steps:
    1)Failed request is not in cube...(setting is PSA and then into target)....also it has been deleted from PSA.
    2)Remove data status from source ODS1.
    3)Change error handling in infopackage to valid " Valid records update, reporting possible".
    4)start loading of cube.
    But when I did this I got following message :
    <b> "Last delta update is not yet completed.Therefore, no new delta update is possible.You can start the request again if the last delta request is red or green in the monitor"</b>
    But both my requests in cube and ODS are Green...no request is in yellow...!!
    Now the problem is :
    1) I have lost ODS data mart status
    2)how to load valid records to cube, since errorneous record can be edited only after 3- 4 days.
    3)How not to affect delta load of tomorrow.
    Please guide and help me in this.
    Thanks in advance and rest assured I will award points to say thanks to SDNers..
    Regards,
    Sorabh
    Message was edited by: sorabh arora

    Hi Joseph,
    Thanks for replying....
    I apolgize and I have modified the message above..
    I just checked in cube...there is no failed request for today...and neither in PSA....Person who has handed this to me may have deleted this is PSA..and why req is not in failed state in cube...I am not sure..though setting is "PSA and then into data package".....
    So how to go frm here....
    Thanks
    Sorabh

Maybe you are looking for

  • Bridge quit working, won't start, problem details and System Configuration info given..is this adobe or apple?

    This is the info in the window that opened when I try to start Bridge. It has never done this, nothing has changed...is this a problem with Bridge, or mac? Process:         Adobe Bridge CC [1968] Path:            /Applications/Adobe Bridge CC/Adobe B

  • Does it matter where the external usb hub is plugged in?

    I just got e new 7 port powered usb hub from Sitecom to connect a camera (once in a while) or card reader, printer(s), scanner, external drive etc. When I use one of the four ports on the backside of the iMac, only 1 -and only this one- specific port

  • Weblogic Server 8.1 SP1 bug?

    Hello,           I have a problem when using XML JSP in combination with Struts tags, allthough I have the feeling that any other TLD will have the same problem.           The <html:link page="http://www.home.nl">Home</html:link>           is not ren

  • Planned order dates

    Hi Guru's,               please explain how the planned order dates are calculated. in MTS scenario if a delivery exists and another planned order is raised the system is not calculating dates as per dates given in the Material master.it is cheduling

  • How to charge and use macbook battery correctly.

    Hi, all! I really worried about my battery life. Now it's okay, but I'm thinking about future. When I'm using macbook it's plugged in AC. For night I plug it out. So is it right? Or I've got to charge it in other way?