Displaying Value generated from a sequence

I have a form that is used to create a new entry. The primary key is generated from an insert trigger and the user wants the page to be redisplayed with the new primary key that was generated by the trigger. The trigger works OK. How do I get the value that was generated by the trigger back to the page for display?
Thanks.

if it's just one record why don't you move the INSERT statement into a function?
<br><br>
CREATE TABLE t
  id NUMBER(15),
  name VARCHAR2(20)
<br><br>
CREATE SEQUENCE sq_id
  START WITH 1
  INCREMENT BY 1
  NOCACHE
  NOCYCLE;
<br><br>
CREATE OR REPLACE
FUNCTION insert_into_t( p_name IN VARCHAR2) RETURN NUMBER
IS
  l_id NUMBER(15);
BEGIN
  INSERT INTO t
  VALUES ( sq_id.nextval, p_name )
  RETURNING id INTO l_id;
  RETURN l_id;
END insert_into_t;
show errors<br><br>
chet

Similar Messages

  • Multi-Select Box Not Displaying Values Passed From Grid?

    Coldfusion 8
    I inherited an application and am trying to maintain and improve it... hit a snag today.
    I have a multi-select box that is not displaying what I expect.  The values come from a ColdFusion grid which is based off a database query.
    Here is the code for the select - does not work - nothing is selected:
    <cfselect name="USER_IDS" multiple="true" queryposition="below" selected="USER_IDS" query="ActiveUsersPlus" disabled="#disabled#" value="G_USER_WORK_UNIT_SK" display="G_USER_ID" >
    </cfselect>
    Now if I change the multiselect to a single select like below - it takes the first item in the field list (from the grid) and selects it in the drop down.
    <cfselect name="USER_IDS" multiple="false" queryposition="below" selected="USER_IDS" query="ActiveUsersPlus" disabled="#disabled#" value="G_USER_WORK_UNIT_SK" display="G_USER_ID" >
    </cfselect>
    Or if I assign a variable like this and use the multi-select code it seems to work as well.
    testlist = "22,26";
    <cfselect name="USER_IDS" multiple="true" queryposition="below" selected="#testlist#" query="ActiveUsersPlus" disabled="#disabled#" value="G_USER_WORK_UNIT_SK" display="G_USER_ID" >
    </cfselect>
    I have displayed the value of "User_IDs" in the grid and in the data entry part of the screen to see values of:  22,26
    to make sure that wasn't my issue.
    Do grids and multiselects require something additional?  Any advice on how to resolve?

    Problem was related to some javascript for the select box.  There was a function for a single select box but not a multiple select box - this fixed it: 
    if(theForm.elements[i].type == "select-multiple"){
                        var selectBox = theForm.elements[i];
                        var sbname = selectBox.name;
                        cpvalue = String(eval('record.data.' + sbname));
                        var NotifyArray = cpvalue.split(',');
                        for (var j=0; j < selectBox.length; j++) {
                            selectBox[j].selected = false;
                        for (var j=0; j < selectBox.length; j++) {
                            sbvalue = selectBox[j].value;
                            for (var k=0; k < NotifyArray.length; k++){
                                if (sbvalue == NotifyArray[k]){
                                    selectBox[j].selected = true;

  • Result region not displaying values properly from backend table

    HI All,
    We have a search page wherein we have added a new column called grade range in the table as well as in the search region.The new column is mapped to a altogether new column which
    is created in the database table with a default value.The table in the search page has Entity object assosciated with it which is taking care of all the DML operations.
    The name of the newly created item in the serach region is grade range which has three value coming from lookup like 12 ,13 and all,and also the new column
    created in the database table has default value of all.
    When we are trying to query the results in the search page with the filter criteria of any value for grade range, then we are able to see the records in the result table but with the column grade range being null. But When we update any record in the result table , then we are able to see the value for grade range column for updated records after submit.
    And this behaviour of the search page is after the data base refresh. Before that, it was working fine.

    Hi,
    I hope, these two characterstics are from different base cubes. SO you are getting two rows. I hope, it is not possible to display those two rows(what you explained in the example) in a single row. This is very common property of Multi provider. To solve this problem you have to enhance one of DS to include both characterstics and it should feed the data to one cube only. Then you have to built the query directly on that cube.
    With rgds,
    Anil Kumar Sharma .P

  • How to display tokens generated from submitted document?

    Can someone please explain to me the columns located in the DR$<index_name>$I, $K $N $R tables?
    What I would like to do is to be able to identify a recently added document and retrieve the tokens generated on that document. I am thinking I can extract this information from the above tables, except I do not understand clearly how they work.

    The tokens are stored in dr$<index_name>$i.token_text. The rest of the information is either not of use for your purposes or is not easily accessible in blob columns. Your best bet is to add a date column to your table and populate it automatically with a trigger on insert or update. Then you can extract the tokens for each document and order them by that date column, as demonstrated below. You can limit that selection by date or rownum as you like.
    SCOTT@10gXE> CREATE TABLE test_tab
      2    (text_col VARCHAR2 (30),
      3       date_col DATE)
      4  /
    Table created.
    SCOTT@10gXE> CREATE OR REPLACE TRIGGER test_tab_biur
      2    BEFORE INSERT OR UPDATE ON test_tab
      3    FOR EACH ROW
      4  BEGIN
      5    :NEW.date_col := SYSDATE;
      6  END test_tab_biur;
      7  /
    Trigger created.
    SCOTT@10gXE> SHOW ERRORS
    No errors.
    SCOTT@10gXE> INSERT INTO test_tab (text_col) VALUES ('some test data')
      2  /
    1 row created.
    SCOTT@10gXE> EXEC DBMS_LOCK.SLEEP (5)
    PL/SQL procedure successfully completed.
    SCOTT@10gXE> INSERT INTO test_tab (text_col) VALUES ('some other test data')
      2  /
    1 row created.
    SCOTT@10gXE> EXEC DBMS_LOCK.SLEEP (5)
    PL/SQL procedure successfully completed.
    SCOTT@10gXE> INSERT INTO test_tab (text_col) VALUES ('some more test data')
      2  /
    1 row created.
    SCOTT@10gXE> CREATE INDEX test_idx ON test_tab (text_col)
      2  INDEXTYPE IS CTXSYS.CONTEXT
      3  /
    Index created.
    SCOTT@10gXE> COLUMN token_text FORMAT A30
    SCOTT@10gXE> BREAK  ON date_col ON text_col SKIP 1
    SCOTT@10gXE> SELECT t.date_col, t.text_col, i.token_text
      2  FROM   test_tab t, dr$test_idx$i i
      3  WHERE  CONTAINS (t.text_col, i.token_text) > 0
      4  ORDER  BY t.date_col DESC, t.text_col
      5  /
    DATE_COL             TEXT_COL                       TOKEN_TEXT
    25-MAY-2006 11:41:02 some more test data            MORE
                                                        TEST
                                                        DATA
    25-MAY-2006 11:40:57 some other test data           TEST
                                                        OTHER
                                                        DATA
    25-MAY-2006 11:40:52 some test data                 TEST
                                                        DATA
    8 rows selected.
    SCOTT@10gXE>

  • Report value generate from another report

    Hi Experts,
    While executing the query itself i needs to get the value of another report. It has to generate value instantly with out any clicking any fields in the result. How this can be achieved?
    Thanks,
    Kuttan

    HI,
    You can use replacement path variable.
    - Jaimin

  • Better display values from shuttle LOV in a report

    Hi,
    I have created a shuttle LOV in a form and then a report that shows (among other things) the values chosen from this shuttle LOV.
    If the user choose more than one value I don't like how they get displayed in the report (they have to go into a single cell) because
    the user sees a list of items separated by ":" .
    Is there a simple way to show them for example as a bullet point list or in some other nicer human readable format?
    Thanks,
    Antonella

    Hi user13140530,
    *1. I think you have colon separated data in your database.*
    //create one function
    create or replace function DISPLAY_FORMAT
        (L_ID in NUMBER)
        return VARCHAR2 is
    v_selected APEX_APPLICATION_GLOBAL.VC_ARR2;
    val_list varchar2(4000) := '';
    val_list1 varchar2(4000) := '';
    begin
    SELECT SHUTTLE_VALUE INTO  val_list FROM YOUR_TABLE WHERE ID = L_ID;     // select shuttle value according to your table structure.
    v_selected := APEX_UTIL.STRING_TO_TABLE(val_list);
    FOR i IN 1..v_selected.count
    LOOP
        val_list1 := val_list1||i||'.'||v_selected(i)|| '<br>';
    END LOOP;
    RETURN val_list1;
    end;
    /*2. call the above function in your report as a column.*
    // suppose this is your report query
    select ID, NAME, DISPLAY_FORMAT(ID) from your table_name;Try the above code,hope this may helps you.
    Regards,
    Jitendra

  • Multiple values from a sequence ?

    Hi all,
    how can i guarantee that a user gets multiple values from a sequence in a row? (for example : 100, 101 ,102, 103)
    It should not happened that another user gets a sequence value such as 102.
    Can i solve this with sequences or do i need a table?
    thanks

    Why would you want to do this? The easiest way of implementing it is through a code control table, which can be locked by user 1. However, this is only easy for you, not for your users. Consider: user 2 cannot do their work until user 1 commits. Note that if user 1 inserts three records (101, 102, 103) and then commits, user 2 can grab 104. User 1 can't insert any more records until user 2 commits. At which point user 1 can have 105.
    If you really have a business need for such a palaver then you ought to implement it through user-owned objects - sequences or tables - with each user assigned a unique range e.g. user 1 gets 101 to 150, user 2 gets 151 to 200. When a user exhausts their range give them a new chunk. This is an admin overhead and it also means that you can no longer guarantee that ID 157 is more recent than 133.
    To repeat: why do you want to do this?
    Rgds, APC

  • How to display first row value returened from a query as checked as default in a report

    How to display first row value returned from a query as checked as default in a report
    Example
    Parameter 1
    Paramerter2
    ABD
    x(checked)
    Test
    DEF
    JMG
    Mudassar

    Hi Mudassar,
    The issue is caused by the order in which the parameters appear in the report data tab can be difference between our report execution and it failing. In other words, “Parameter2” is execution before parameter “A” due to this issue. We can adjust the parameter’s
    order to solve the issue.
    If “Parameter2” is parameter “A”, we cannot use that expression. Because fields cannot be used in report parameter expression, if we want to display the first value returned from a query as default value, we have to fill the “Specify values” text box with
    the specific value in Default Values dialog box.
    Regards,
    Alisa Tang
    Alisa Tang
    TechNet Community Support

  • How can I get dataTable to display values from the java layer?

    When I use the dataTAble in my JSP page it will only display values from my java layer if the facets tag has it's name set to "header". Why is this happening?
    If I set it to "header" and I look at the page source it actually has created the correct number of rows but it doesn't put the values between the <td> tags? It see's the length of my list but it doesn't pick the values out of the list.
    <h:dataTable var="data" value="#{NameBean.test}" border="1">
    <h:column>
    <f:facet name="header">
    <h:outputText value="Name"/>
    </f:facet>
    </h:column>
    <h:column>
    <f:facet name="header">
    <!-- <h:outputFormat styleClass="outputFormat" id="format1" value="#{NameBean.test}"></h:outputFormat>-->
    <h:outputText styleClass="outputText" value="#{NameBean.test}" style="" rendered="true" escape="false"/>
    </f:facet>
    </h:column>
    </h:dataTable>
    public List gettest()
              List li = new LinkedList();
              Object Developers[] = {"M@n00j", "sdsadas"};
              for( int i = 0; i < Developers.length; i++ )
                   li.add(Developers);
              return li;
    Thanks in advance to anyone that can help.
    -ls6v

    I've been able to get it working with some of those changes along with changes in the JSP. I think it's a setting or two in the JSP that'll allow the program to run correctly.
    I have a list and it's returned like what you suggested. A day or two ago I tried to move the outputtext outside of the facet tag but nothing would print, I know believe that's related to the following setting in the JSP:
    rows="0" in the <h:dataTAble tag
    Unfortunately the dataTAble isn't displaying the values correctly. It prints all of the values (Strings) in the list on each row and it make a new row for the number of items in the list.......... ???
    Here's what it's printing to the screen (the table):
    ===================
    == [asdasd], [sddfdfd] ==
    ===================
    ===================
    == [asdasd], [sddfdfd]==
    ===================
    what it should print:
    ============
    == [asdasd] ==
    ============
    ============
    == [sddfdfd] ==
    ============
    My code:
    public List gettest()
              List li = new ArrayList();
              li.add("asdasd");
              li.add("affffd");
              return li;
              }JSP
    <h:dataTable border="1" columnClasses="list-column-left"
        headerClass="list-header"
        rowClasses="list-row-odd"
        id="table"
        rows="0"
        value="#{NameBean.test}"
        var="data">
    <h:column>
    <f:facet name="header">
    <h:outputText value="test"/>
    </f:facet>
    <h:outputText value="#{NameBean.test}" style="" rendered="true" escape="false"/>
    </h:column>
    </h:dataTable>

  • Can't display values from memory

    Hi, all experts
    i am having trouble displaying the value that i have imported to memory.
    EXPORT keyfgr           FROM  p_keyfgr     TO MEMORY ID 'CM_KEYFGR'.
    EXPORT fcst_filedata    FROM gt_fcst_filedata[]       TO MEMORY ID 'CM_FCST_FILEDATA'.
    SUBMIT (g_hlp_progname) WITH fpath  = p_fname
                               WITH vrsioz = p_vrsioz
                               VIA SELECTION-SCREEN
                               AND RETURN
    When i want to use this value in my other tcode is doesn't display value. pls, help
    IMPORT keyfgr TO D FROM MEMORY ID 'CM_KEYFGR'.
    IMPORT fcst_filedata TO GTA_fcst_filedata FROM MEMORY ID 'CM_FCST_FILEDATA'.
         LOOP AT GTA_fcst_filedata INTO WA_fcst_filedata.
              WRITE: / WA_fcst_filedata-FIELD1.
        ENDLOOP.

    Hi sophanith,
    please go through the code below.
    export p_keyfgr to MEMORY id 'XYZ' .
    EXPORT gt_fcst_filedata[]       TO MEMORY ID 'ABC'.
    SUBMIT (g_hlp_progname) WITH fpath  = p_fname
                               WITH vrsioz = p_vrsioz
                               VIA SELECTION-SCREEN
                               AND RETURN.
    in Import program u should declare the gt_fcst_filedata[] and keyfgr same as export program.
    DATA :gt_fcst_filedata[] TYPE TABLE OF ................
    DATA:keyfgr type ...........
    IMPORT keyfgr FROM MEMORY ID 'XYZ'.
    IMPORT gt_fcst_filedata[] FROM MEMORY ID ' ABC'.
    the you can loop the internal table in to work area.
    regards Ashwin kv

  • Generate dynamic DataTable for Values selected from SelectManyListBox

    I want to generate a datatable for values selected in a selectManyListBox,
    DataTable will have three columns
    1serial number
    2.values selected from listbox
    3.inputText for entering some data
    Plz guide me how can i do this...
    Thanx in advance!

    Check http://balusc.xs4all.nl/srv/dev-jep-dat.html how to use datatables.

  • How can I get iTunes to display the tracks from a CD in their original (album) order?

    To be absolutely honest, I don't really understand what this box is for, so I shall just use it to repeat and expand on my question. (I have already sent a "Feedback" comment on the same topic).
    How can I get iTunes to display the tracks from a CD in their original (album) order?
    It seems to me that there is something very basic wrong with the way iTunes handles CD Tracks.
    Professionally produced CD tracks are seldom if ever in a randomised order. Why then does iTunes seem unable to display the tracks in the order they appear on the original CD source - whether from a personally owned CD or from a download from the iTunes Store?
    Some music demands a specific, non-alphabetic sequence in order to make sense. Why does it seem that iTunes only offers Alphabetic, or reverse alphabetic order - both of which make a nonsense of the original, often intended order of tracks?
    Why not replace the so-called "cover-art" in the bottom left hand corner if the iTunes window - which, while it may look attractive to some, gives the barest of information concerning the original disc, with a list of the original CD tracks in their original order, so that the user can easily reestablish the order in which they should be played.
    As I would expect legibility might be a problem with doing this, why could not the original contents, (in their original order), at least, be displayed when the "cover art" is double clicked-on - the result of which at present gives me an enlarged version of the "Cover Art". While on the subject of the contents of the source disc, what about all the album notes which someone takes trouble to write in order to increase the appreciation of the music on the CD and the listener's general background knowledge of the artists involved. Such notes, it seems to me, have considerable intrinsic value in their own account. I would, I think, normally be prepared to buy such "Sleeve notes" - so long as a "taster" was supplied (as it is for the music) - for something like the cost of a single 'Tune" on iTunes.
    These two aspects let Apple iTunes down enormously, in my opinion. I think that by chopping even quite protracted sequences of music up into bits does no one any favours - except perhaps Apple's already quite substantial bank balance. People have to be aware that two and a half, to three and a half minutes is a very short time to develop a piece of worthwhile music, and that there are many, many composers, not all of whom are alive today who have written music that huge masses of mankind value for the enrichment of their lives and the human condition in general.
    Please make the viewing of iTunes tracks in their correct order by default possible. By all means have the alphabetical variations available as offering a different approach to the music, but not the sole approach to it - PLEASE.
    Frustratedly yours
    Alan Whitaker
    PS I work at my old 24" iMac Intel Core 2 machine which runs OS "Tiger" - because it is more beautiful to look at, the screen is more pleasant to work on, and because, in some ways it is more capable (it will run FreeHand MX without needing a "patch"), than my more recent 21.5" which runs "Snow Leopard". (I don't find it that much slower, either).

    Dear Mike
    Thanks for the support. I am utterly amazed that after all the hype about how good iTunes is that it cannot play a downloaded CD in the correct order, and that what that order should be is not available directly from within one's own iTunes installation. (I know that one can go back to the iTunes Store to check what the order should be, but having downloaded the tracks surely iTunes is clever enough to retrieve this important information.
    My iTunes to differ from yours in that I have also noticed that it seems unable to download copies of my "talking books" in the correct order either. But in my case it downloads them - from a CD - in order, but with the first track downloaded first - so that it appears at the bottom of the column of tracks so that it would get played last! (At least this is, while being inexplicable, a relatively "logical" bit of blundering and because of this is relatively easy to put right!).
    I like many genres of music, some of which are not really programmed except perhaps by the artist performing them. I know that Frank Sinatra was very careful to programme his album songs to obtain a particular effect and in relation to the keys of the music. iTunes presumes to know better.
    Film scores may be totally randomly put together, in some cases, but in others the order is vital to one's appreciation of the music as a whole and how it relates to the plot of the film.
    In symphonic music most works are divided into sections and are conceived by the composer that way. Some individual sections may gain a life of their own if played separately, but they are never complete in the sense that the composer envisaged them without being placed in their proper context.
    Opera and probably most choral music too, is similar except that the words may well become meaningless if the order is changed at the whim of a piece of ill-written computer code, while ballet music has to be heard totally within its sequential context or it becomes meaningless.
    Finally, I would venture that iTunes, by jumbling up the order of the tracks as recorded on a CD, does an immense disservice, not only to the music on a particular CD, but to music in general, by expressing everything in terms of "Songs" - which it seems to interpret as stand-alone items of between 2 and 4 minutes whatever the genre. Even the way the iTunes publicity speaks of how many "songs" it can store instead of how many minutes or hours of recorded sound. This has to be another brick in the wall of "dumming-down" of people's expectations, and the shortening of their attention spans.
    I don't know about anyone else, but I feel betrayed by Apple over this. Perhaps the look, feel and general presentation of an item are not the most desirable features of a consumer product. Maybe it should be judged more on it fitness for the purpose for which it was sold. There is one other possibility - that Apple are trying to redefine "Music" - and that everything that lasts longer than about 3.5 minutes or is in the form of what could for want of a better term be called symphonic in the broadest sense is something else - not "Music" within Apple's new definition, at all!
    Well that's off my chest! now I can get down to creating some sort of order in my iTunes Libraries, knowing that I have to reconsult all the sources in order to confirm the source playing order.
    Anyway thanks again. At least I know that it is not just me
    alanfromthatcham

  • How can I make a row of cells containing 3-digit decimals, who's values resulted from calculations within the spreadsheet, appear as durations of minutes and seconds?

    Row 6 in this spreadsheet is the result of Row 2/Row 3 as evidenced by the formula listed while Cell Y6 selected. How can I make the values in this row appear as durations of minutes and seconds rather than 3-digit decimals? For example, rather than appearing as 9.84 I would like the value of Cell Y6 to appear as 9:50 or 9min 50sec. (obviously .84x60seconds 50 seconds). I tried changing the cell formats from "number" to "duration," but no change is made. Using the "duration" format does however work if I am manually entering the decimal value into the cell rather than allowing it to result from another caluclation within the spreadsheet. Is there a solution to this within Numbers '09? You can see why I would want the "pace" displayed in minutes and seconds. Thanks in advance!
    Ryan

    Hi Ryan,
    You wrote:
    "The problem is that my "Distance" is a row of automatically generated values resulting from ((Row1/60)*Row 6). Changing the format of Row 1 to minutes causes row two to be expressed as a duration, which obviously it shouldn't because it is a distance. The spreadsheet has to be designed so that all I have to manually input on each entry are Row 1 Values (Time) and Row 6 Values (Average Pace). The rest of the cells must be automatically poulated as a result of formulas."
    I'm assuming that where you say "Row 1" in this you mean "Row 2", which is labeled "Time" in the example in the OP.
    In the original post, you presented a formula from cell Y6. Replacing the Header labels in that formula's cell reference with the Addresses of the referenced cells, the formula was:
    Y6: =Y2/Y3
    In this post, you are saying that Y6 contains entered data: "...all I have to manually input on each entry are Row 1 Values (Time) and Row 6 Values (Average Pace).
    Which is correct?
    Regards,
    Barry

  • Remove Value Field from Operating Concern

    Hi all,
    I created a new value field in DEV and assigned it to the corresponding Operating Concern.
    Now, after some discussions, it is not necessary this value field.
    I want to "un-assign" from the Operating Concern they use.
    No data is being posted to this value field and nothing has been transported to QA yet.
    Is this possible? Any ideas?
    Thanks and Regards,
    Flower.

    I guess you can delete the value field as it was not transported to QA and PRD.
    Here is some information given by SAP.
    Deleting characteristics/value fields from an operating concern
    You can delete characteristics and value fields retrospectively from an operating concern that you have already activated. However, you should only use this deletion function for operating concerns that have not yet been used productively. You should also note that some database systems require the operating concern tables to be converted (database conversion) after the deletion has taken place if data had already been posted to the operating concern. Depending on the data volumes involved, the database conversion can take a matter of seconds or indeed several hours. Moreover, you cannot post data or run reports during the conversion. Due to integration, other applications are also affected when data is postedwith an assignment to profitability segments (such as settlement and direct assignment from FI/MM). If the operating concern has been transported to another system (such as the productive system), then the database conversion must also occur in that target system.
    Depending on the fields that were deleted, the following tables need to be converted (where xxxx = operating concern):
    Characteristics: CE1xxxx, CE2xxxx, CE4xxxx, CE4xxxx_ACCT, CE4xxxx_FLAG, and CE4xxxx_KENC
    Amount fields: CE1xxxx, CE2xxxx and CE3xxxx
    Quantity fields: CE1xxxx, CE2xxxx, CE3xxxx, CE4xxxx, CE4xxxx_ACCT, CE4xxxx_ACCT, CE4xxxx_FLAG, and CE4xxxx_KENC
    Before deleting fields from an operating concern with a large data volume (more that 10 000 records in a table), you should refer to the section "The Database Utility" in the ABAP dictionary documentation. This section describes the database conversion process.
    For database systems that do not require conversion (such as DB2 for AS/400, Informix, MSSQL), it can still take a considerable amount of time for the operating concern to be activated.
    To delete characteristics or value fields, perform the following activities:
    1. Delete the corresponding characteristics and value fields from Customizing in all clients (this includes forms, reports, planning layouts, and so forth). To locate characteristics and value fields, use the appropriate where-used list in the Customizing Monitor. You can access it by choosing Tools -> Analysis -> Check Customizing Settings. You can jump directly from the where-used list to the relevant Customizing transaction and then delete the appropriate field there.
    2. Switch to the screen for maintaining the data structure of an operating concern (Maintain operating concern).
    3. If you need to effect other changes to the datastucture for the operating concern before making any deletions, effect those changes and save the data structure.
    4. In order to be able to select the fields of the data structure, choose Extras -> Characteristics (or Value fields) -> Unlock.
    5. Select the characteristics and value fields to be deleted and remove them from the data structure with the "Reset fields" function.
    6. Reactivate the operating concern. The system starts by checking whether the operating concern contains any data and whether the fields to be deleted are still being used in any Customizing settings.
    7. If none of the fields are still in use, the system then starts the re-activation. If the operating concern does not contain any data or does not require the database system to be converted, the tables are activated. You are then able to activate the environment for the operating concern. In this case, the following activities no longer apply.
    If the operating concern already contains data, a system message tells you that the database needs to be converted. If you proceed, an activation log appears (at the top of the list).
    8. Analyze the activation log. If it only contains error messages telling you to convert the tables, proceed with the next activity.
    You must otherwise remove the cause of the errors before the tables can be converted. In this case, you should answer "No" to the next prompt, which asks whether the conversion transaction should start.
    9. If you still only receive error messages telling you to convert the tables, choose "Back" and start the conversion.
    10. Plan a job for the conversion. A list of the tables to be converted is shown for this. If the tables only contain a small amount of data (less than 10 000 records), then all the tables can be converted in one job. In that case, you can select all the tables.
    For larger tables, conversion should take place in several jobs. However, you should ensure that table CE4xxxx (where xxxx = operating concern) is the last table to be converted.
    Warning. No other changes can be made to the operating concern during the conversion.
    A copy of the table is generated during the conversion. The database system should have sufficient memory available for this copy.
    To schedule conversion as a job, use the "Schedule selections" function. You can display the current status of the conversion by selecting the "Refresh" icon. Tables disappear from the list once they have been converted sucessfully. If a conversion is taking a while, it is also possible to leave the transaction. You can then continue the conversion using DB requests -> Mass processing in one of the following ways:
    With the job overview. You access this by choosing System -> Services -> Jobs.
    Using the database utility transaction. You access this by choosing Utilities -> Database Utility in the ABAP Dictionary menu.
    You can use the status function to call up the status of the operating concern during operating concern maintenance. You need to activate all tables after conversion.
    11. To analyze errors that have occurred during the conversion, you can use the database utility transaction by choosing Extras -> Logs. The log has the same name as the conversion job: TBATG-date. You can also restart the conversion with this transaction.
    For more information on the database utility, choose Help -> Application help while still in the above transaction.
    12. Once you have activated all the tables in the operating concern, generate the operating concern environment from within operating concern maintenance.
    You can then use the operating concern again.
    If you want to transport the operating concern into a different system, see the section "Notes on transport"
    Note
    Hope this helps
    Thanks,
    Reddy
    Edited by: reddy  sap on Sep 11, 2009 6:58 PM
    Edited by: reddy  sap on Sep 11, 2009 7:00 PM

  • How to display value in memory

    How to display value in memory, except call function 'LIST_FROM_MEMORY' .
    Thanks.

    Hi
    See this
    may be useful
    SAP memory is a memory area to which all main sessions within a SAPgui have access. You can use SAP memory either to pass data from one program to another within a session, or to pass data from one session to another. Application programs that use SAP memory must do so using SPA/GPA parameters (also known as SET/GET parameters). These parameters can be set either for a particular user or for a particular program using the SET PARAMETER statement. Other ABAP programs can then retrieve the set parameters using the GET PARAMETER statement. The most frequent use of SPA/GPA parameters is to fill input fields on screens
    SAP global memory retains field value through out session.
    set parameter id 'MAT' field v_matnr.
    get parameter id 'MAT' field v_matnr.
    They are stored in table TPARA.
    ABAP memory is a memory area that all ABAP programs within the same internal session can access using the EXPORT and IMPORT statements. Data within this area remains intact during a whole sequence of program calls. To pass data
    to a program which you are calling, the data needs to be placed in ABAP memory before the call is made. The internal session of the called program then replaces that of the calling program. The program called can then read from the ABAP memory. If control is then returned to the program which made the initial call, the same process operates in reverse.
    ABAP memory is temporary and values are retained in same LUW.
    export itab to memory id 'TEST'.
    import itab from memory Id 'TEST'.
    Here itab should be declared of same type and length.
    http://www.sap-img.com/abap/difference-between-sap-and-abap-memory.htm
    ABAP Memmory & SAP Memmory
    http://www.sap-img.com/abap/difference-between-sap-and-abap-memory.htm
    http://www.sap-img.com/abap/type-and-uses-of-lock-objects-in-sap.htm
    Reward points for useful Answers
    Regards
    Anji

Maybe you are looking for

  • Why doesn't my photos in my iCloud backup restore?

    Hi, Just did a factory reset on my iPhone 4S running 5.0.1 yesterday. It seems that none of my old photos from "Camera Album" restores, although I've got more than 4.7 gbs photos stored according to iCloud? This bothers me, as it is more than 1.000 p

  • Macro

    hi all,        i am trying to use a Macro in the standard User exit MV45AFZA,MV45ATZZ. i am writing following code but it gives the error for the below code. ***INCLUDE MV45ATZZ . This include is reserved for user modifications                      *

  • Question about project manager on Flash CS4

    1 It seems that CS4 can not open flp, so how can I use CS4 to manager a project builded by CS3? 2 if you choose a folder to found a new project in CS4, when you want to publish the whole project, you need to choose all the fla of that project...that

  • SCCM 2012 Distribution Point server in a workgroup as well as the clients

    HI,  It is possible to have a distribution point set up by SCCM 2012 R2 which resides in a workgroup to manage workgroup users. Basically, SCCM 2012 R2 is setup within a domain and a forest, The clients in the workgroup resides in a DMZ. The server i

  • HandbreakCLI drop folder script HELP!

    Im trying to get this script to work that passes a file through a drop folder, processes it with HandbreakCLI, then outputs the encoded file to a folded named "iflicks encode" in my "Movies" folder. My problem is that I can't figure out how to modify