SQL incorrect using pm.refresh on inheritance tree 2.5.3

Hi, Sorry for the repeat post, but didn't get a response from the last one
and I'm still searching for a solution
I am getting unexpected behaviour when using the pm.refresh(Object) method.
Refresh works correctly and reloads data if the lock has been updated on
tables/objects with no inheritance. However, if I try to use refresh on an
object that is part of an inheritance hierarchy, the query that is executed
to get the jdolockx value is missing the table join.
Example:
Table Entity
id
displayname
jdolockx
jdoclassx
Table Individual (inherits from Entity)
id
firstName
lastName
jdolockx
Query executed when calling refresh and passing in Individual
SELECT
t0.JDOLOCKX
FROM
ENTITY t0,
INDIVIDUAL t1
WHERE
t1.ID = 1151
Problem
Missing crucial join t1.ID = t0.ID
These classes work correctly with correct SQL when inserting/selecting.
Any help is greatly appreciated.
Regards
Nathan Boyes

I've changed the metadata configuration so that jdolockx is defined only in
the base class and the query is still missing the join.
I have attached the metadata files I'm using.
(SELECT t0.JDOLOCKX FROM Bean t0, MQBean t1 WHERE t1.id = ?):
[reused=1;params={(int)460}]
"Stephen Kim" <[email protected]> wrote in message
news:[email protected]...
How is your metadata configured? JDOLOCKX should only be defined at the
base class level.
begin 666 MQBean.jdo
M/#]X;6P@=F5R<VEO;CTB,2XP(B!E;F-O9&EN9STB551&+3@B/SX-"@T*/&ID
M;SX-"B @(" \<&%C:V%G92!N86UE/2)T82YE=F5N="(^#0H@(" @(" @(#QC
M;&%S<R!N86UE/2)-44)E86XB('!E<G-I<W1E;F-E+6-A<&%B;&4M<W5P97)C
M;&%S<STB0F5A;B(@:61E;G1I='DM='EP93TB87!P;&EC871I;VXB/@T*(" @
M(" @(" @(" @/&5X=&5N<VEO;B!V96YD;W(M;F%M93TB:V]D;R(@:V5Y/2)T
M86)L92(@=F%L=64](DU10F5A;B(O/@T*(" @(" @(" @(" @/&9I96QD(&YA
M;64](G-E<G9E<B(^#0H@(" @(" @(" @(" @(" @/&5X=&5N<VEO;B!V96YD
M;W(M;F%M93TB:V]D;R(@:V5Y/2)I9"UD871A+6-O;'5M;B(@=F%L=64](E-%
M4E9%4DE$(B\^#0H@(" @(" @(" @(" \+V9I96QD/@T*(" @(" @(" @(" @
M/&9I96QD(&YA;64](F5V96YT5'EP92(^#0H@(" @(" @(" @(" @(" @/&5X
M=&5N<VEO;B!V96YD;W(M;F%M93TB:V]D;R(@:V5Y/2)I9"UD871A+6-O;'5M
M;B(@=F%L=64](D5614Y45%E014E$(B\^#0H@(" @(" @(" @(" \+V9I96QD
M/@T*(" @(" @(" @(" @/&9I96QD(&YA;64](G%U975E36%N86=E<B(^#0H@
M(" @(" @(" @(" @(" @/&5X=&5N<VEO;B!V96YD;W(M;F%M93TB:V]D;R(@
M:V5Y/2)D871A+6-O;'5M;B(@=F%L=64](E%5155%34%.04=%4B(O/@T*(" @
M(" @(" @(" @/"]F:65L9#X-"B @(" @(" @(" @(#QF:65L9"!N86UE/2)Q
M=65U94YA;64B/@T*(" @(" @(" @(" @(" @(#QE>'1E;G-I;VX@=F5N9&]R
M+6YA;64](FMO9&\B(&ME>3TB9&%T82UC;VQU;6XB('9A;'5E/2)1545514Y!
M344B+SX-"B @(" @(" @(" @(#PO9FEE;&0^#0H@(" @(" @(" @(" \9FEE
M;&0@;F%M93TB8VAA;FYE;"(^#0H@(" @(" @(" @(" @(" @/&5X=&5N<VEO
M;B!V96YD;W(M;F%M93TB:V]D;R(@:V5Y/2)D871A+6-O;'5M;B(@=F%L=64]
M(D-(04Y.14PB+SX-"B @(" @(" @(" @(#PO9FEE;&0^#0H@(" @(" @(" @
M(" \9FEE;&0@;F%M93TB;VY-97-S86=E365T:&]D(CX-"B @(" @(" @(" @
M(" @(" \97AT96YS:6]N('9E;F1O<BUN86UE/2)K;V1O(B!K97D](F1A=&$M
M8V]L=6UN(B!V86QU93TB3TY-15-304=%34542$]$(B\^#0H@(" @(" @(" @
M(" \+V9I96QD/@T*(" @(" @(" \+V-L87-S/@T*(" @(#PO<&%C:V%G93X-
'"CPO:F1O/@``
`
end
begin 666 Bean.jdo
M/#]X;6P@=F5R<VEO;CTB,2XP(B!E;F-O9&EN9STB551&+3@B/SX-"@T*/&ID
M;SX-"B @(" \<&%C:V%G92!N86UE/2)T82YE=F5N="(^#0H@(" @(" @(#QC
M;&%S<R!N86UE/2)"96%N(B!O8FIE8W1I9"UC;&%S<STB=&$N:60N0F5A;DE$
M(CX-"B @(" @(" @(" @(#QE>'1E;G-I;VX@=F5N9&]R+6YA;64](FMO9&\B
M(&ME>3TB8VQA<W,M8V]L=6UN(B!V86QU93TB2D1/0TQ!4U-8(B\^#0H@(" @
M(" @(" @(" \97AT96YS:6]N('9E;F1O<BUN86UE/2)K;V1O(B!K97D](FQO
M8VLM8V]L=6UN(B!V86QU93TB2D1/3$]#2U@B+SX-"B @(" @(" @(" @(#QE
M>'1E;G-I;VX@=F5N9&]R+6YA;64](FMO9&\B(&ME>3TB=&%B;&4B('9A;'5E
M/2)"96%N(B\^#0H@(" @(" @(" @(" \9FEE;&0@;F%M93TB:60B('!R:6UA
M<GDM:V5Y/2)T<G5E(CX-"B @(" @(" @(" @(" @(" \97AT96YS:6]N('9E
M;F1O<BUN86UE/2)K;V1O(B!K97D](F1A=&$M8V]L=6UN(B!V86QU93TB:60B
M+SX-"B @(" @(" @(" @(#PO9FEE;&0^#0H@(" @(" @(" @(" \9FEE;&0@
M;F%M93TB8V]N=')O;&QE<B(^#0H@(" @(" @(" @(" @(" @/&5X=&5N<VEO
M;B!V96YD;W(M;F%M93TB:V]D;R(@:V5Y/2)I9"UD871A+6-O;'5M;B(@=F%L
M=64](D-/3E123TQ,15))1"(O/@T*(" @(" @(" @(" @/"]F:65L9#X-"B @
M(" @(" @(" @(#QF:65L9"!N86UE/2)E;F%B;&5D(CX-"B @(" @(" @(" @
M(" @(" \97AT96YS:6]N('9E;F1O<BUN86UE/2)K;V1O(B!K97D](F1A=&$M
M8V]L=6UN(B!V86QU93TB14Y!0DQ%1"(O/@T*(" @(" @(" @(" @/"]F:65L
M9#X-"B @(" @(" @(" @(#QF:65L9"!N86UE/2)P;VQL:6YG26YT97)V86PB
M/@T*(" @(" @(" @(" @(" @(#QE>'1E;G-I;VX@=F5N9&]R+6YA;64](FMO
M9&\B(&ME>3TB9&%T82UC;VQU;6XB('9A;'5E/2)03TQ,24Y'24Y415)604PB
M+SX-"B @(" @(" @(" @(#PO9FEE;&0^#0H@(" @(" @(#PO8VQA<W,^#0H@
5(" @/"]P86-K86=E/@T*/"]J9&\^
`
end

Similar Messages

  • Assertion failed: Incorrect use of AdfRichUIPeer on adf tree

    Hi all,
    I am using adf tree component as given below.
    <af:tree value="#{bindings.QACodesParentVO.treeModel}"
    var="node"
    selectionListener="#{QAReasonCodesBean.denialCodesRowSelection}"
    rowSelection="single" id="t1"
    binding="#{QAReasonCodesBean.t1}"
    contentDelivery="immediate">
    <f:facet name="nodeStamp">
    <af:outputText value="#{node}" id="ot1">
    <af:showPopupBehavior popupId="p1"
    triggerType="contextMenu"
    alignId="ot1"/>
    </af:outputText>
    </f:facet>
    <f:facet name="contextMenu">
    <af:popup id="p1">
    <af:menu text="menu 1" id="m1">
    <af:commandMenuItem actionListener="#{QAReasonCodesBean.createItem}"
    disabled="#{!bindings.Create.enabled}"
    id="cmi3"
    text="#{viewcontrollerBundle.CREATE_ITEM}"/>
    <af:commandMenuItem disabled="#{!bindings.Delete.enabled}"
    id="cmi4"
    text="#{viewcontrollerBundle.DELETE_ITEM}">
    <af:showPopupBehavior popupId="::p5"
    triggerType="action"/>
    </af:commandMenuItem>
    </af:menu>
    </af:popup>
    </f:facet>
    </af:tree>
    This tree giving the following error when I am collapsing the expanded the tree nodes. Not in all cases only in few cases.
    Assertion failed: Incorrect use of AdfRichUIPeer.GetDomNodeForCommentComponent.AdfRichOutputText [oracle.adf.RichOutputText]
    id=pt21:r1:1:t1:2:ot1
    StackTrace:
    anonymous(x217)
    [AdfRichOutputText [oracle.adf.RichOutputText] id=pt21:r1:1:t1:2:ot1]
    anonymous(x248)
    [AdfRichOutputText [oracle.adf.RichOutputText] id=pt21:r1:1:t1:2:ot1]
    anonymous()
    anonymous(x367)
    [[object HTMLTableElement]]
    anonymous(x395)
    [[object HTMLTableElement]]
    anonymous(x302)
    [[object HTMLTableElement]]
    anonymous(x309,x310,x311)
    [[object HTMLTableElement],1,(empty)]
    anonymous(x481,x482,x483,x484)
    [[object HTMLTableElement],6,(empty),(empty)]
    anonymous(x88,x89)
    [[object HTMLDivElement],[object HTMLDivElement]]
    anonymous(x112,x113,x114)
    [AdfRichTree [oracle.adf.RichTree] id=pt21:r1:1:t1,[object HTMLDivElement],[object HTMLDivElement]]
    anonymous(x784,x785,x786,x787,x788)
    [[object Element],,(empty),,[object HTMLDivElement],[object HTMLDivElement],[object HTMLDivElement],[object HTMLDivElement],[object
    HTMLDivElement],[object HTMLDivElement],[object HTMLDivElement],[object HTMLDivElement],[object HTMLDivElement],[object
    HTMLDivElement],[object HTMLDivElement],[object HTMLDivElement],[object HTMLDivElement],[object HTMLDivElement],[object
    HTMLDivElement],[object HTMLDivElement],[object HTMLDivElement],[object HTMLDivElement],[object HTMLDivElement],[object
    HTMLDivElement],[object HTMLDivElement],[object HTMLDivElement],[object HTMLFormElement],[object HTMLDivElement],(empty)]
    anonymous(x730,x731,x732,x733,x734)
    [[object Element],true,(empty),(empty),[object Object]]
    anonymous(x712,x713)
    [[object XMLDocument],[object Object]]
    anonymous(x617)
    [AdfDataTransferRequestEvent Object, status=4, context=[object Object], request=AdfXMLRequest Object completionState:4]
    anonymous(x7,x8)
    [AdfDhtmlPage Object,AdfDataTransferRequestEvent Object, status=4, context=[object Object], request=AdfXMLRequest Object completionState:4]
    anonymous(x83)
    [AdfXMLRequest Object completionState:4]
    anonymous(x87)
    [AdfXMLRequest Object completionState:4]
    anonymous()
    anonymous()
    [[object Event]]
    I am I doing any thing wrong in the tree code. How to resolve this issue.
    Regards
    Gayaz

    Hi, did you solved this ?

  • How to refresh the ALV Tree

    Hi,
    I have an ALV Tree report developed using the OOPS. In my ALV Tree output, I have some buttons which will update the database after clicking. The data is correctly updating in the database. But, it is not getting updated in the ALV Tree display. That means, it is not REFRESHing the ALV Tree display. We have to again execute the program in order to see the updated output.
    Could anyone please suggest me how to Refresh the ALV Tree display..?
    We can't use the method 'REFRESH_TABLE_DISPLAY' as it is a PRIVATE method is the class CL_GUI_ALV_TREE.
    Please share your valuable thoughts.
    Thanks & Regards,
    Paddu.

    Hi paddu.
    please check out the link mentioned below,this will help u.
    How to Refresh data on ALV tree
    Regards
    Theres

  • Get the Last Value of Status Field from SQL TABLE using SQL 2008

    I have a table with Fields such as
    UploadstartTime, UploadEndtime, STATUS From TBLA.
    The STATUS Field, has values =7 and 11 are failed and 12 is SUCCESS. I cannot do a max, since it will always show 12, I need to get the MAX(UPLOADENDTIME, and get STATUS For that record. How can I do that using 1 SQL Query?
    My current code is: The issue is
    select
      TBLNAME
    MaxUploadstarttime
    =
    max(UploadStartTime),
    MaxUploadEndtime
    =
    max(UpLoadEndTime),
         Status=max(status)
    from  DB.DBO.LOGTABLE
    p1

    Please post DDL, so that people do not have to guess what the keys, constraints, Declarative Referential Integrity, data types, etc. in your schema are. Learn how to follow ISO-11179 data element naming conventions and formatting rules. You failed! Temporal
    data should use ISO-8601 formats. Code should be in Standard SQL as much as possible and not local dialect. 
    This is minimal polite behavior on SQL forums. 
    >> I have a table with Fields such as <<
    Fields are not columns! There is no generic status in RDBMS. Putting “tbl-” in a table name is called tibbling and we make fun of people who do it (Google Phil Factor's humor columns. If you were polite is this what you wanted to post? 
    CREATE TABLE Something_Uploads
    (upload_source_name CHAR(15) NOT NULL,
     upload_start_timestamp DATETIME2(0) NOT NULL,
     PRIMARY KEY (upload_source_name, upload_start_timestamp),
     upload_end_timestamp DATETIME2(0),
     CHECK(upload_start_timestamp < upload_end_timestamp),
     upload_status INTEGER NOT NULL 
       CHECK (upload_status IN (7,11,12, ..))
    >> I cannot do a max, since it will always show 12, I need to get the MAX(UPLOADENDTIME, and get upload_status For that record [sic]. How can I do that using 1 SQL Query?  <<
    Since you told us nothing and gave no sample data, want to correct this postign? 
    --CELKO-- Books in Celko Series for Morgan-Kaufmann Publishing: Analytics and OLAP in SQL / Data and Databases: Concepts in Practice Data / Measurements and Standards in SQL SQL for Smarties / SQL Programming Style / SQL Puzzles and Answers / Thinking
    in Sets / Trees and Hierarchies in SQL

  • Incorrect use of the TOP clause

    Hi
    I need to demonstrate the use of the TOP clause, however when I run my SQL it says incorrect use of the clause.
    Question: List the top 3 earners in the company( from the employees table). List employee_id, last_name, and the salary in descending order.
    below is my attempt:
    Select TOP 3 employee_id, last_name, salary
    FROM employees
    ORDER BY salary DESC;
    Any assistance will be appreciated
    Thanks

    Imtiyaaz wrote:
    Ok i've tried this:
    SELECT * from
    ( SELECT employee_id, last_name, salary
    FROM employees
    ORDER BY salary
    WHERE ROWNUM <= 3;
    and it works but I need to display the salary in descending order, if I do this:
    SELECT * from
    ( SELECT employee_id, last_name, salary
    FROM employees
    ORDER BY salary DESC
    WHERE ROWNUM <= 3;
    it does not display the top 3 salaries anymore but rather the first 3 rows of the table...?Are you sure that what you ran is what you posted? It works correctly for me:
    SQL > select * from (
      2  select employee_id, first_name, last_name, salary
      3  from hr.employees
      4  order by salary desc )
      5  where rownum <= 3;
    EMPLOYEE_ID FIRST_NAME           LAST_NAME                     SALARY
            100 Steven               King                           24000
            101 Neena                Kochhar                        17000
            102 Lex                  De Haan                        17000John

  • Doubt in inheritance tree..!

    hi SAP Guru's !
    here is My example :
    Class c1 definition.
    endclass.
    Class c2 definition INHERITING FROM c1.
    endclass..
    Class c3 definition INHERITING FROM c2.
    endclass.
    Out of these which one is the root node of inheritance tree  ?
       and
    what is the meaning of this (empty class object )
    " the root node on all inheritance trees in ABAP Objects is the predefined EMPTY class OBJECT. "

    Hello Rajesh
    The root of all classes in ABAP is the class OBJECT.
    Think about an itab in which you want to store instances of any kind of class. What kind of linet_type do you use for your itab?
    If, for example, all your collected instances are sub-classes of your c1 class (or c1 itself) then you could use your class C1 as line_type.
    If the collected instances do not belong to a single inheritance tree then you must use class OBJECT as line_type.
    Example: Have a look at the iterator class CL_SWF_UTL_ITERATOR and its attribute MT_OBJECT_LIST where any kind of instances can be collected.
    Further examples of how to use the iterator class or class OBJECT are:
    Storing and retrieving objects from an internal table
    [Accessing the Inacessible - Local Classes within Global Classes|https://wiki.sdn.sap.com/wiki/display/ABAP/AccessingtheInacessible-LocalClasseswithinGlobalClasses]
    Regards
      Uwe

  • HELP!! SDO_RELATE inside Oracle procedure - ORA-13207: incorrect use of the

    Hello,
    I need help !
    I have a problem with queries inside procedures/packages.
    When execute sql
    SQL> SELECT LOC_OBJ_ID
    2 FROM VORO_LOC X, LBS_OZ_AREAS OZ
    3 WHERE MDSYS.SDO_RELATE(X.SHAPE, OZ.GEOLOC, 'MASK=ANYINTERACT') = 'TRUE'
    4 AND OZ.OZ_NAME='PTK' AND OZ.OZ_GROUP='GORCZEWSKA';
    LOC_OBJ_ID
    2211379
    i have results - it's OK
    The next sql is same, but with agregation
    SQL> SELECT COUNT(*) ILOSC
    2 FROM VORO_LOC X, LBS_OZ_AREAS OZ
    3 WHERE MDSYS.SDO_RELATE(X.SHAPE, OZ.GEOLOC, 'MASK=ANYINTERACT') = 'TRUE'
    4 AND OZ.OZ_NAME='PTK' AND OZ.OZ_GROUP='GORCZEWSKA';
    ILOSC
    1
    it's OK
    But when i want use this SQL inside proedurees in store result in variable i have problem
    SQL> declare
    2 V_NUMBER_NEI_LOC number;
    3 begin
    4 SELECT COUNT(*) ILOSC
    5 INTO V_NUMBER_NEI_LOC
    6 FROM VORO_LOC X, LBS_OZ_AREAS OZ
    7 WHERE MDSYS.SDO_RELATE(X.SHAPE, OZ.GEOLOC, 'MASK=ANYINTERACT') = 'TRUE'
    8 AND OZ.OZ_NAME='PTK' AND OZ.OZ_GROUP='GORCZEWSKA';
    9 end;
    10 /
    declare
    ORA-13207: incorrect use of the [SDO_RELATE] operator
    ORA-06512: at "MDSYS.SDO_INDEX_METHOD_9I", line 259
    ORA-06512: at line 4
    ORA-06512: at line 4
    Please help!

    This might be some issue with SQL in PL/SQL. We will check into this.
    In the meantime, can you try the dynamic SQL to execute that
    sdo_relate query to see if it works?
    Here is the example with dynamic SQL:
    declare
    V_NUMBER_NEI_LOC number;
    begin
    EXECUTE IMMEDIATE
    ' SELECT COUNT(*) ILOSC ' ||
    ' FROM VORO_LOC X, LBS_OZ_AREAS OZ ' ||
    ' WHERE MDSYS.SDO_RELATE(X.SHAPE, OZ.GEOLOC, ' ||
    ' ''MASK=ANYINTERACT'') = ''TRUE'' ' ||
    ' AND OZ.OZ_NAME=''PTK'' AND OZ.OZ_GROUP=''GORCZEWSKA'' '
    INTO V_NUMBER_NEI_LOC;
    end;
    /

  • Dumping on refreshing the Infosource tree.

    Hello all,
    After replicating the datasources, when i try to refresh the "Infosource Tree", it is trowing the runtime error(Dump)
    1. This dump is happening only on my machine(client)
    2. All other machines connecting to the server are not having this kind of problem.
    in ST22.. What happend is given in German as follows.
    "Die maximale Größe eines internen Modus ist auf 2GB beschränkt. Eine     detaillierte Beschreibung der Problematik findet man im Hinweis 548845.  Dieser Laufzeitfehler ist plattformunabhängig und kann nicht durch       Tunen der Speicher-Profilparameter vermieden werden."
    and the direct tranlation into english:
    "The maximum size of an internal mode is limited to 2GB.  One finds a detailed description of the problem in the reference 548845.  This run time error is platform independent and cannot be avoided not by Tunen of the memory profile parameters."
    Could you please tell me, why it is happening only on my machine, not on others. I hope this problem is not depending on the GUI.
    Regards,
    Ravi

    Hi Ravi,
    but did you read the OSS Note ?
    "Reason and Prerequisites
    The runtime error "SYSTEM_IMODE_TOO_LARGE" is triggered if a user context or, more specifically, an internal session tries to use more than 2 GB of main memory. The restriction to 2 GB stems from the fact that signed 32-bit variables were frequently used. With unsigned 32-bit variables, memory sizes may be as much as 4 GB.
    Solution
    As of SAP_BASIS 6.20 Support Package 38, internal sessions can be larger than 2 GB and even larger than 4 GB on 64-bit hardware. In addition, the buffers for database tables and some other buffers can also be set larger than 2 GB and 4 GB, respectively. The Support Package has been available since the end of March 2004. The Support Package requires the 6.20 Kernel Patch Level 1269 or higher. Runtime error SYSTEM_IMODE_TOO_LARGE then no longer occurs. As of SAP_BASIS 6.40, the function is included without any additional Support Packages. For Releases 4.6B to 6.10, such a patch cannot be made available so the restriction to 2 GB still applies.
    We therefore recommend that you consider the following if the "SYSTEM_IMODE_TOO_LARGE" runtime error occurs:
    o  Are you using the application as intended? For example, a memory bottleneck may occur if you select too much data.
    o  Does the memory consumption of the application depend on Customizing parameters whose settings may be inadequate?
    o  Is the application program economical in its use of memory? For example, you must explicitly delete the contents of an internal table (FREE statement) before you can reuse the memory. This is significant, particularly if transactions are running for a long time. Furthermore, you can only use the garbage collector to release objects (class instances) and dynamically generated data objects if they can no longer be accessed using references; you must delete the corresponding reference variables. To examine this question, create a problem message under the component responsible for the application program, if you have not already done so.
    The "Memory Inspector" is a tool that may be used to analyze the memory consumption of ABAP programs. This tool is available with SAP_BASIS 6.40 and with SAP_BASIS 6.20 Support Package 29. Among other things, the "Memory Inspector" displays ranked lists of large internal tables, strings and dynamically generated (data) objects. Furthermore, the tool displays dependencies between individual objects; this permits an analysis as to why certain objects cannot be released by the garbage collector. For information about analyzing the memory consumption (also for earlier releases), see Note 649327.
    For Releases 4.6B to 6.10, you can use a profile parameter that is not globally released to increase the maximum size of an internal session from 2 GB to 4 GB. However, most monitoring tools are unable to correctly display values over 2 GB; this applies to Transactions sm04, sm50, st02, st03, se30, the memory consumption display in the debugger, some outputs in trace files and some other locations within the system.
    SAP can therefore only provide limited support for any internal sessions over 2 GB. If customers increase the maximum size of an internal session from 2 GB to 4 GB, they do so at their own risk. SAP shall not be held responsible for errors caused by internal modes over 2 GB. We cannot guarantee that no other errors than those mentioned here will occur. The problem that occurs in both the 32-bit Kernel and the IBM iSeries if an internal session consumes more than 3.4GB is solved as of the Patch delivered in Note 833336. At present, however, we are not aware of any other errors that would seriously impair productive use of the application. We can provide the name of the profile parameter as well as information regarding the use of the profile parameter on request. For this, create a problem message with the BC-ABA-LA component. As of SAP_BASIS 6.20 Support Package 38 and SAP_BASIS 6.40, the profile parameter is no longer required and should be deleted from the profile, otherwise there is an upper limit of 4 GB.
    The "SYSTEM_IMODE_TOO_LARGE" runtime error occurs regardless of the operating system platform and configuration of the memory areas. In particular, you cannot avoid this error by changing memory profile parameters such as ztta/roll_extension and abap/heap_area_nodia.
    In Releases 4.6B to 6.10, 64-bit hardware is utilized in such a way that an application server can have a larger number of user contexts at the same time. In addition, various buffers (for instance program buffers, buffer for database tables) may now be up to 2 GB each.
    The restriction of internal sessions to 2 GB was introduced when the aforementioned problems occurred; the restriction exists since the 4.6D Kernel Patch 1286 and the 6.20 Kernel Patch 368."
    Hope it helps!
    Bye,
    Roberto

  • Update/refresh a simple tree (cl_gui_simple_tree)

    Dear Ladies and gentleman,
    i have a problem with updating/refreshing a simple tree (cl_gui_simple_tree).
    Situation:
    when i start my 'tree-dynpro' the first time, the tree is displayed correctly. But the tree can be extended by the user via clicking a button 'create new node' e.g.. Therefore a new dynpro will be opened where the user can fill in new data. after clicking the 'save'-button the new entry will correctly stored in my database. and my node-table is also correctly built with the new entry. but my tree doesn't show the new entry. i have to close my program and restart it to view the changes. how can i refresh the tree in realtime without restarting my whole program.
    Thanks a lot for your help,
    Marcel

    Hello Marcel
    The sample report<b> BCALV_DND_01</b> shows how to add nodes to the tree using <i>Drag&Drop</i>.
    In your scenario when the user pushes the CREATE button your application handles the user-command at PAI of the dynro including the adding of the new node to the tree.
    In this scenario PAI is followed by PBO of the dynpro where the flushing should occur automatically.
    However, if the push button is part of the toolbar then PAI is not passed. In this case you may try the following trick:
    (1) Add the following coding to the method handling the user-command:
    ... " add node to tree
      CALL METHOD cl_gui_cfw=>set_new_ok_code( 'REFRESH' ).
    " NOTE: this will trigger that PAI of the dynpro is passed
    (2) Add the following coding in the <b>PAI </b>module handling the user-commands of the dynpro (e.g. USER_COMMAND_0100):
      case gd_okcode.
        WHEN 'REFRESH'.
          CALL METHOD cl_gui_cfw=>flush( ).  " flushing
        WHEN ...
      endcase.
    Regards
      Uwe

  • How to make column headers in table in PDF report appear bold while datas in table appear regular from c# windows forms with sql server2008 using iTextSharp

    Hi my name is vishal
    For past 10 days i have been breaking my head on how to make column headers in table appear bold while datas in table appear regular from c# windows forms with sql server2008 using iTextSharp.
    Given below is my code in c# on how i export datas from different tables in sql server to PDF report using iTextSharp:
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    using System.Windows.Forms;
    using System.Data.SqlClient;
    using iTextSharp.text;
    using iTextSharp.text.pdf;
    using System.Diagnostics;
    using System.IO;
    namespace DRRS_CSharp
    public partial class frmPDF : Form
    public frmPDF()
    InitializeComponent();
    private void button1_Click(object sender, EventArgs e)
    Document doc = new Document(PageSize.A4.Rotate());
    var writer = PdfWriter.GetInstance(doc, new FileStream("AssignedDialyzer.pdf", FileMode.Create));
    doc.SetMargins(50, 50, 50, 50);
    doc.SetPageSize(new iTextSharp.text.Rectangle(iTextSharp.text.PageSize.LETTER.Width, iTextSharp.text.PageSize.LETTER.Height));
    doc.Open();
    PdfPTable table = new PdfPTable(6);
    table.TotalWidth =530f;
    table.LockedWidth = true;
    PdfPCell cell = new PdfPCell(new Phrase("Institute/Hospital:AIIMS,NEW DELHI", FontFactory.GetFont("Arial", 14, iTextSharp.text.Font.BOLD, BaseColor.BLACK)));
    cell.Colspan = 6;
    cell.HorizontalAlignment = 0;
    table.AddCell(cell);
    Paragraph para=new Paragraph("DCS Clinical Record-Assigned Dialyzer",FontFactory.GetFont("Arial",16,iTextSharp.text.Font.BOLD,BaseColor.BLACK));
    para.Alignment = Element.ALIGN_CENTER;
    iTextSharp.text.Image png = iTextSharp.text.Image.GetInstance("logo5.png");
    png.ScaleToFit(105f, 105f);
    png.Alignment = Element.ALIGN_RIGHT;
    SqlConnection conn = new SqlConnection("Data Source=NPD-4\\SQLEXPRESS;Initial Catalog=DRRS;Integrated Security=true");
    SqlCommand cmd = new SqlCommand("Select d.dialyserID,r.errorCode,r.dialysis_date,pn.patient_first_name,pn.patient_last_name,d.manufacturer,d.dialyzer_size,r.start_date,r.end_date,d.packed_volume,r.bundle_vol,r.disinfectant,t.Technician_first_name,t.Technician_last_name from dialyser d,patient_name pn,reprocessor r,Techniciandetail t where pn.patient_id=d.patient_id and r.dialyzer_id=d.dialyserID and t.technician_id=r.technician_id and d.deleted_status=0 and d.closed_status=0 and pn.status=1 and r.errorCode<106 and r.reprocessor_id in (Select max(reprocessor_id) from reprocessor where dialyzer_id=d.dialyserID) order by pn.patient_first_name,pn.patient_last_name", conn);
    conn.Open();
    SqlDataReader dr;
    dr = cmd.ExecuteReader();
    table.AddCell("Reprocessing Date");
    table.AddCell("Patient Name");
    table.AddCell("Dialyzer(Manufacturer,Size)");
    table.AddCell("No.of Reuse");
    table.AddCell("Verification");
    table.AddCell("DialyzerID");
    while (dr.Read())
    table.AddCell(dr[2].ToString());
    table.AddCell(dr[3].ToString() +"_"+ dr[4].ToString());
    table.AddCell(dr[5].ToString() + "-" + dr[6].ToString());
    table.AddCell("@count".ToString());
    table.AddCell(dr[12].ToString() + "-" + dr[13].ToString());
    table.AddCell(dr[0].ToString());
    dr.Close();
    table.SpacingBefore = 15f;
    doc.Add(para);
    doc.Add(png);
    doc.Add(table);
    doc.Close();
    System.Diagnostics.Process.Start("AssignedDialyzer.pdf");
    if (MessageBox.Show("Do you want to save changes to AssignedDialyzer.pdf before closing?", "DRRS", MessageBoxButtons.YesNoCancel, MessageBoxIcon.Exclamation) == DialogResult.Yes)
    var writer2 = PdfWriter.GetInstance(doc, new FileStream("AssignedDialyzer.pdf", FileMode.Create));
    else if (MessageBox.Show("Do you want to save changes to AssignedDialyzer.pdf before closing?", "DRRS", MessageBoxButtons.YesNoCancel, MessageBoxIcon.Exclamation) == DialogResult.No)
    this.Close();
    The above code executes well with no problem at all!
    As you can see the file to which i create and save and open my pdf report is
    AssignedDialyzer.pdf.
    The column headers of table in pdf report from c# windows forms using iTextSharp are
    "Reprocessing Date","Patient Name","Dialyzer(Manufacturer,Size)","No.of Reuse","Verification" and
    "DialyzerID".
    However the problem i am facing is after execution and opening of document is my
    column headers in table in pdf report from
    c# and datas in it all appear in bold.
    I have browsed through net regarding to solve this problem but with no success.
    What i want is my pdf report from c# should be similar to following format which i was able to accomplish in vb6,adodb with MS access using iTextSharp.:
    Given below is report which i have achieved from vb6,adodb with MS access using iTextSharp
    I know that there has to be another way to solve my problem.I have browsed many articles in net regarding exporting sql datas to above format but with no success!
    Is there is any another way to solve to my problem on exporting sql datas from c# windows forms using iTextSharp to above format given in the picture/image above?!
    If so Then Can anyone tell me what modifications must i do in my c# code given above so that my pdf report from c# windows forms using iTextSharp will look similar to image/picture(pdf report) which i was able to accomplish from
    vb6,adodb with ms access using iTextSharp?
    I have approached Sound Forge.Net for help but with no success.
    I hope anyone/someone truly understands what i am trying to ask!
    I know i have to do lot of modifications in my c# code to achieve this level of perfection but i dont know how to do it.
    Can anyone help me please! Any help/guidance in solving this problem would be greatly appreciated.
    I hope i get a reply in terms of solving this problem.
    vishal

    Hi,
    About iTextSharp component issue , I think this case is off-topic in here.
    I suggest you consulting to compenent provider.
    http://sourceforge.net/projects/itextsharp/
    Regards,
    Marvin
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How do i connect to sql server using java?

    hi ever body
    i need to connect to sql server using java
    what is the driver i will use?
    thanks

    Microsoft make a jdbc driver and it is readily available through MSDN. Here is a link http://msdn2.microsoft.com/en-us/data/aa937724.aspx. Whatever jdbc driver you are looking for, Google it, and if it exists you'll find it in 10 seconds.

  • Execute Dynamic SQL statement using procedure builder

    i want to execute a dynamic SQL statment using procedure builder not using forms
    because my statement depending on a variable table name
    i know that i can do that from forms using
    FORMS_DDL('SQL_STAT');
    but i wanna to use the procedure builder
    which function i should use and how?
    please explain in example if you don't mind.
    thanks

    Hi,
    You can very well use DBMS_SQL Package supplied by Oracle for doing this.
    Search for DBMS_SQL in OTN. You will get all info regarding this.
    Regards.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by itslul:
    i want to execute a dynamic SQL statment using procedure builder not using forms
    because my statement depending on a variable table name
    i know that i can do that from forms using
    FORMS_DDL('SQL_STAT');
    but i wanna to use the procedure builder
    which function i should use and how?
    please explain in example if you don't mind.
    thanks<HR></BLOCKQUOTE>
    null

  • SQL report region source to call a pl/sql function using DB link

    Hi - I have a pl/sql function fn_dbtype(id NUMBER) defined in database X. The pl/sql function executes couple DML statements and returns a string (a SELECT query). I am able to call this function using SQL Plus (Connected to Database X) as below and it works fine:
    declare
    vSQL VARCHAR2(100);
    begin
    vSQL := fn_dbtype(1);
    end;
    The DML operations completed fine and vSQL contains the "Select" query now.
    In APEX:
    I am trying to create a SQL report in APEX using SQL query(PL/SQL function returning a sql statement) option. I am trying to figure out what to put in the region source so that the output of the "Select" query is displayed in the report.
    Moreover APEX is hosted in a different database instance. So I would need to call this pl/sql function using a DB Link.
    Please let me know what I need to put in the region source to execute the pl/sql function which returns the "Select" query thereby displaying the query output in the report. Thanks.
    Edited by: user709584 on Mar 19, 2009 2:32 PM
    Edited by: user709584 on Mar 19, 2009 2:34 PM

    try something like this:
    return fn_dbtype(1)@dblink;

  • How can i get data from another database SQL Server use database link from

    I have a database link from Oracle connect to SQL Server database with user cdit connect default database NorthWind.How can I get data from another database(this database in this SQL Server use this database link)?

    hi,
    u should see following documentation:
    Oracle9i Heterogeneous Connectivity Administrator's Guide
    Release 1 (9.0.1)
    Part Number A88789_01
    in it u just go to chapter no. 4 (using the gateway),,u'll find ur answer there.
    regards
    umar

  • Error while retrieving data from PL/SQL Table using SELECT st. (Urgent!!!)

    Hi Friends,
    I am using Oracle 8.1.6 Server, & facing problems while retrieving data from a PL/SQL Table:
    CREATE or REPLACE PROCEDURE test_proc IS
    TYPE tP2 is TABLE of varchar2(10); --declared a collection
    dt2 tP2 := tP2('a','b','c');
    i NUMBER(8);
    begin
    SELECT COUNT(*) INTO i FROM TABLE(CAST(dt2 as tP2));
    DBMS_OUTPUT.PUT_LINE('**'||i);
    end;
    While executing the above procedure, I encountered foll. error:
    ERROR at line 1:
    ORA-00600: internal error code, arguments: [15419], [severe error during PL/SQL execution], [], [],
    ORA-06544: PL/SQL: internal error, arguments: [pfrrun.c:pfrbnd1()], [], [], [], [], [], [], []
    ORA-06553: PLS-801: internal error [0]
    Can anyone please help me, where the problem is??
    Is it Possible to retrieve data from PL/SQL TABLE using SELECT statement? & How ?
    Thanks in advance.
    Best Regards,
    Jay Raval.

    Thanks Roger for the Update.
    It means that have to first CREATE TYPE .. TABLE in database then only I can fire a Select statement on that TYPE.
    Actually I wanted to fire a Select statement on the TABLE TYPE, defined & declared in PLSQL stored procedure using DECLARE TYPE .. TABLE & not using CREATE TYPE .. TABLE.
    I was eager to know this, because my organization is reluctant in using CREATE TYPE .. TABLE defined in the database, so I was looking out for another alternative to access PL/SQL TABLE using Select statement without defining it database. It would have been good if I could access a PLSQL TABLE using Select statement Declared locally in the stored procedure.
    Can I summarize that to access a PL/SQL TABLE using SELECT statement, I have to first CREATE TYPE .. TABLE?
    If someone have any other idea on this, please do let me know.
    Thanks a lot for all help.
    Best Regards,
    Jay Raval.
    You have to define a database type...
    create type tP2 is table of varchar2(10)
    CREATE OR REPLACE PROCEDURE TEST_PROC
    IS
    dt2 tP2 := tP2('a','b','c');
    i NUMBER(8);
    begin
    SELECT COUNT(*) INTO i FROM TABLE(CAST (dt2 AS tP2));
    DBMS_OUTPUT.PUT_LINE('**'||i);
    end;
    This will work.
    Roger

Maybe you are looking for

  • T-Code: VF02

    Hi All, when I am releasing the billing document to accounting in T-code: VF02, I am getting the error as "Error in account determination table T030K Key XXX MWS". So what shall I do now to rectify that error message. Thanks, Vinay Edited by: MK VINA

  • How do I install CS5 on a new computer. My old computer crashed.

    How do I install CS5 on a new computer. My old computer crashed.

  • How do I hide or delete a deferred update?

    I acidentally deferred an update that I meant to hide. I cannot figure out how to hide or delete it from the deferred list in System Update (latest version). This is on a T500 2081 running Vista 64. Message Edited by kalnoc on 02-13-2009 10:21 AM

  • Builnding Distribution error

    以下是我Builnding Distributiong 時所出現的問題,該如何解決呢? Error in MDF API function: _MDFBuildDist_Build Error List .\InputParser.cpp(363): InstallerError 120 Input directory 'E:\Share\Common\Products\p22\Reset00' not found for part 'resetniconfig_x86.msi' in prod

  • Help with NIO and SSL

    hi, anyone have code for SSL with NIO. Thanks