Force statement to use a given rule or execution plan

Hi!
We have a statement that in our production system takes 6-7 seconds to complete. The statement comes from our enterprise application's core code and we are not able to change the statement.
When using a RULE-hint (SELECT /*+RULE*/ 0 pay_rec...........) for this statement, the execution time is down to 500 milliseconds.
My question is: Is there any way to pin a execution plan to a given statement. I have started reading about outlines, which seems promising. However, the statement is not using bind-variables, and since this is core code in an enterprise application I cannot change that either. Is it possible to use outlines with such a statement?
Additional information:
When I remove all statistics for the involved tables, the query blows away in 500 ms.
The table tran_info_types has 61 rows and is a stable table with few updates
The table ab_tran_info has 1 717 439 records and is 62 MB in size.
The table query_result has 777 015 records and is 216 MB in size. This table is constantly updated/insterted/deleted.
The query below return 0 records as there is no hits in the table query_result.
This is the statement:
SELECT  /*+ALL_ROWS*/
       0 pay_rec, abi.tran_num, abi.type_id, abi.VALUE
  FROM ab_tran_info abi,
       tran_info_types ti,
       query_result qr1,
       query_result qr2
WHERE abi.tran_num = qr1.query_result
   AND abi.type_id = qr2.query_result
   AND abi.type_id = ti.type_id
   AND ti.ins_or_tran = 0
   AND qr1.unique_id = 5334549
   AND qr2.unique_id = 5334550
UNION ALL
SELECT 1 pay_rec, abi.tran_num, abi.type_id, abi.VALUE
  FROM ab_tran_info abi,
       tran_info_types ti,
       query_result qr1,
       query_result qr2
WHERE abi.tran_num = qr1.query_result
   AND abi.type_id = qr2.query_result
   AND abi.type_id = ti.type_id
   AND ti.ins_or_tran = 0
   AND qr1.unique_id = 5334551
   AND qr2.unique_id = 5334552;Here is the explain plan with statistics:
Plan
SELECT STATEMENT  HINT: ALL_ROWSCost: 900  Bytes: 82  Cardinality: 2                           
     15 UNION-ALL                      
          7 NESTED LOOPS  Cost: 450  Bytes: 41  Cardinality: 1                 
               5 NESTED LOOPS  Cost: 449  Bytes: 1,787,940  Cardinality: 59,598            
                    3 NESTED LOOPS  Cost: 448  Bytes: 19,514,824  Cardinality: 1,027,096       
                         1 INDEX RANGE SCAN UNIQUE TRADEDB.TIT_DANIEL_2 Search Columns: 1  Cost: 1  Bytes: 155  Cardinality: 31 
                         2 INDEX RANGE SCAN UNIQUE TRADEDB.ATI_DANIEL_7 Search Columns: 1  Cost: 48  Bytes: 471,450  Cardinality: 33,675 
                    4 INDEX UNIQUE SCAN UNIQUE TRADEDB.QUERY_RESULT_INDEX Search Columns: 2  Bytes: 11  Cardinality: 1       
               6 INDEX UNIQUE SCAN UNIQUE TRADEDB.QUERY_RESULT_INDEX Search Columns: 2  Bytes: 11  Cardinality: 1            
          14 NESTED LOOPS  Cost: 450  Bytes: 41  Cardinality: 1                 
               12 NESTED LOOPS  Cost: 449  Bytes: 1,787,940  Cardinality: 59,598            
                    10 NESTED LOOPS  Cost: 448  Bytes: 19,514,824  Cardinality: 1,027,096       
                         8 INDEX RANGE SCAN UNIQUE TRADEDB.TIT_DANIEL_2 Search Columns: 1  Cost: 1  Bytes: 155  Cardinality: 31 
                         9 INDEX RANGE SCAN UNIQUE TRADEDB.ATI_DANIEL_7 Search Columns: 1  Cost: 48  Bytes: 471,450  Cardinality: 33,675 
                    11 INDEX UNIQUE SCAN UNIQUE TRADEDB.QUERY_RESULT_INDEX Search Columns: 2  Bytes: 11  Cardinality: 1       
               13 INDEX UNIQUE SCAN UNIQUE TRADEDB.QUERY_RESULT_INDEX Search Columns: 2  Bytes: 11  Cardinality: 1            Here is the execution plan when I have removed all statistics (exec DBMS_STATS.DELETE_TABLE_STATS(.........,..........); )
Plan
SELECT STATEMENT  HINT: ALL_ROWSCost: 12  Bytes: 3,728  Cardinality: 16                           
     15 UNION-ALL                      
          7 NESTED LOOPS  Cost: 6  Bytes: 1,864  Cardinality: 8                 
               5 NESTED LOOPS  Cost: 6  Bytes: 45,540  Cardinality: 220            
                    3 NESTED LOOPS  Cost: 6  Bytes: 1,145,187  Cardinality: 6,327       
                         1 TABLE ACCESS FULL TRADEDB.TRAN_INFO_TYPES Cost: 2  Bytes: 104  Cardinality: 4 
                         2 INDEX RANGE SCAN UNIQUE TRADEDB.ATI_DANIEL_6 Search Columns: 1  Cost: 1  Bytes: 239,785  Cardinality: 1,547 
                    4 INDEX UNIQUE SCAN UNIQUE TRADEDB.QUERY_RESULT_INDEX Search Columns: 2  Bytes: 26  Cardinality: 1       
               6 INDEX UNIQUE SCAN UNIQUE TRADEDB.QUERY_RESULT_INDEX Search Columns: 2  Bytes: 26  Cardinality: 1            
          14 NESTED LOOPS  Cost: 6  Bytes: 1,864  Cardinality: 8                 
               12 NESTED LOOPS  Cost: 6  Bytes: 45,540  Cardinality: 220            
                    10 NESTED LOOPS  Cost: 6  Bytes: 1,145,187  Cardinality: 6,327       
                         8 TABLE ACCESS FULL TRADEDB.TRAN_INFO_TYPES Cost: 2  Bytes: 104  Cardinality: 4 
                         9 INDEX RANGE SCAN UNIQUE TRADEDB.ATI_DANIEL_6 Search Columns: 1  Cost: 1  Bytes: 239,785  Cardinality: 1,547 
                    11 INDEX UNIQUE SCAN UNIQUE TRADEDB.QUERY_RESULT_INDEX Search Columns: 2  Bytes: 26  Cardinality: 1       
               13 INDEX UNIQUE SCAN UNIQUE TRADEDB.QUERY_RESULT_INDEX Search Columns: 2  Bytes: 26  Cardinality: 1            Our Oracle 9.2 database is set up with ALL_ROWS.
Outlines: http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96533/outlines.htm#13091
Cursor sharing: http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:3696883368520

Hi!
We are on Oracle 9iR2, running on 64-bit Linux.
We are going to upgrade to Oracle 10gR2 in some months. Oracle 11g is not an option for us as our application is not certified by our vendor to run on that version.
However, our performance problems are urgent so we are looking for a solution before we upgrade as we are not able to upgrade before we have done extensive testing which takes 2-3 months.
We have more problem sql's than the one shown in this post. I am using the above SQL as a sample as I think we can solve many other slow running SQL's if we solve this one.
Is the SQL Plan management an option on Oracle 9i and/or Oracle 10g?

Similar Messages

  • Locked table stats on volatile IOT result in suboptimal execution plan

    Hello,
    since upgrading to 10gR2 we are experiencing weird behaviour in execution plans of queries which join tables with a volatile IOT on which we deleted and locked statistics.
    Execution plan of the example query running ok (SYS_IOT... is the volatile IOT):
       0       SELECT STATEMENT Optimizer Mode=ALL_ROWS (Cost=12 Card=1 Bytes=169)
       1    0    SORT AGGREGATE (Card=1 Bytes=169)
       2    1      NESTED LOOPS OUTER (Cost=12 Card=1 Bytes=169)
       3    2        NESTED LOOPS OUTER (Cost=10 Card=1 Bytes=145)
       4    3          NESTED LOOPS (Cost=6 Card=1 Bytes=121)
       5    4            NESTED LOOPS OUTER (Cost=5 Card=1 Bytes=100)
       6    5              NESTED LOOPS (Cost=5 Card=1 Bytes=96)
       7    6                INDEX FAST FULL SCAN ...SYS_IOT_TOP_76973 (Cost=2 Card=1 Bytes=28)
       8    6                TABLE ACCESS BY INDEX ROWID ...VSUC (Cost=3 Card=1 Bytes=68)
       9    8                  INDEX RANGE SCAN ...VSUC_VORG (Cost=2 Card=1)Since 10gR2 the index on the joined table is not used:
       0       SELECT STATEMENT Optimizer Mode=ALL_ROWS (Cost=857 Card=1 Bytes=179)
       1    0    SORT AGGREGATE (Card=1 Bytes=179)
       2    1      NESTED LOOPS OUTER (Cost=857 Card=1 Bytes=179)
       3    2        NESTED LOOPS OUTER (Cost=855 Card=1 Bytes=155)
       4    3          NESTED LOOPS (Cost=851 Card=1 Bytes=131)
       5    4            NESTED LOOPS OUTER (Cost=850 Card=1 Bytes=110)
       6    5              NESTED LOOPS (Cost=850 Card=1 Bytes=106)
       7    6                TABLE ACCESS FULL ...VSUC (Cost=847 Card=1 Bytes=68)
       8    6                INDEX RANGE SCAN ...SYS_IOT_TOP_76973 (Cost=3 Card=1 Bytes=38)I did a UNLOCK_TABLE_STATS and GATHER_TABLE_STATS on the IOT and everything worked fine - the database used the first execution plan.
    Also, setting OPTIMIZER_FEATURES_ENABLE to 10.1.0.4 results in the correct execution plan, whereas 10.2.0.2 (standard on 10gR2) doesn't use the index - so i suppose it's an optimizer problem/bug/whatever.
    I've also tried forcing the index with a hint - it's scanning the index but the costs are extremly high.
    Any help would be greatly appreciated,
    regards
    -sd

    sdeng,
    The first thing you should do is to switch to using the dbms_xplan package for generating execution plans. Amongst other things, this will give you the filter and access predicates as they were when Oracle produced the execution plan. It will also report comments like: 'dynamic sampling used for this statement'.
    If you have deleted and locked stats on the IOT, then 10gR2 will (by default) be using dynamic sampling on that object - which means (in theory) it gets a better picture of how many rows really are there, and how well they might join to the next table. This may be enought to explain the change in plan.
    What you might try, if the first plan is guaranteed to be good, is to collect stats on the IOT when there is NO data in the IOT, then lock the stats. (Alternatively, fake some stats that say the table is empty if it never is really empty).
    Regards
    Jonathan Lewis
    http://jonathanlewis.wordpress.com
    http://www.jlcomp.demon.co.uk

  • How are execution plan created with tables of stale stats

    Hello
    I would like to ask the group
    1. How oracle handels the execution plan with table joins where some tables have stale stats
    2. How would oracle handel execution plan where the table has histogram but the stats are stale.
    Database version 11.1.0.7.0
    Thanks
    Arun

    ALTER SESSION SET EVENTS='10053 trace name context forever, level 1';
    by doing above before executing the SQL, you can see what & how CBO arrives at the actual execution plan

  • Can you force a Oracle Update Statement to use a specific database thread?

    We are attempting to write a Oracle Update Statement to update a value on all records in a single column. We are updating a column with a value found in a history table. Simple enough. We do it all the time. It works but we are having contention issue with users on the system using the main database threads and updating the same table at the same time. So what is happening is the update uses up all the available database threads and then the users just get timeouts and can't update. What we are trying to determine is can I write it to force the update statement to use a specific thread on the database when it is running?
    Here is the current update statement
    UPDATE
    TASK_DATA TSK
    SET
    dttSTATUS_WORK_IN_PROGRESS_TIM =
    SELECT
    HIS.T5
    FROM
    H2839 HIS
    WHERE
    TSK.REQUEST_ID = HIS.ENTRYID
    AND
    HIS.T5 IS NOT NULL
    AND
    TSK.dttSTATUS_WORK_IN_PROGRESS_TIM IS NULL
    Edited by: user11307503 on Oct 21, 2009 3:47 PM

    the update uses up all the available database threads and then the users just get timeouts and can't updateI'm not convinced that you're got a clear picture of how Oracle works and what is going on here.
    You're updating TASK_DATA, the whole table.
    Writers don't block readers - that's a key principle of Oracle.
    But if all the other users are trying to update a row or rows in TASK_DATA at the same time as your other process is updating all rows in the table, then there's going to be contention.
    This is not about "using up all available database threads" - that's nonsense.
    This is (probably) about sessions trying to update rows that your other process has locked.
    1. Get a clear picture of what the sessions are waiting on - it's probably TX locks.
    2. How many rows are you updating with this update on TASK_DATA?
    3. How long does it take? How often do you do it? Is there no quieter time when you can do it?

  • How to compile the hint to force selection statement to use index

    Hello expert,
    will you please tell me how to compile the hint to force selection statement to use index?
    Many Thanks,

    Not sure what you mean by compile, but hint is enclosed in /*+ hint */. Index hint is INDEX(table_name,index_name). For example:
    SQL> explain plan for
      2  select * from emp
      3  /
    Explained.
    SQL> @?\rdbms\admin\utlxpls
    PLAN_TABLE_OUTPUT
    Plan hash value: 3956160932
    | Id  | Operation         | Name | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT  |      |    14 |   546 |     3   (0)| 00:00:01 |
    |   1 |  TABLE ACCESS FULL| EMP  |    14 |   546 |     3   (0)| 00:00:01 |
    8 rows selected.
    SQL> explain plan for
      2  select /*+ index(emp,pk_emp) */ *
      3  from emp
      4  /
    Explained.
    SQL> @?\rdbms\admin\utlxpls
    PLAN_TABLE_OUTPUT
    Plan hash value: 4170700152
    | Id  | Operation                   | Name   | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT            |        |    14 |   546 |     2   (0)| 00:00:01 |
    |   1 |  TABLE ACCESS BY INDEX ROWID| EMP    |    14 |   546 |     2   (0)| 00:00:01 |
    |   2 |   INDEX FULL SCAN           | PK_EMP |    14 |       |     1   (0)| 00:00:01 |
    9 rows selected.
    SQL> Hint in the above example is forcing optimizer to use index which resul;ts in a bad execution plan. Most of the time optimizer does not need hints and chooses an optimal plan. In most cases sub-optimal plan is result of stale or incomplete statistics.
    SY.

  • Is there a way to force essbase to use a certain disk?

    We run essbase 9.3.1 most bso databases, but also some ASO.
    Is there a way to force essbase to use a certain disk?
    Our operating system runs on C:\. Essbase is installed on D:\ Our M:\ drive is for data purpose.
    We want to direct essbase to create the *.ind and *pag files on the M:\ drive.
    To do so I added "DISKVOLUMES M C 0k D 0k " to the essbase.cfg, restarted essbasse and created and loaded a new application. But is still creates the ind and pag file soin D:\ With configure application I am able to move the files before a databases is loaded.
    Is there a way to force essbase to use a certain disk?

    ok ok ok (not ok)
    all the answers seems to say that it is NOT posible to force it from start.
    You can only correct it afterwards.
    We want the essbase admins NOT be able to create a application on a certain path.
    All the given answers tell me: let them do it and change it later on.
    To bad.
    But anyhow thanks for all the replies.

  • How to change the response of human task if we are using the skip rule

    Hi,
    We have developed the request workflow in OIM11g for this we are using the Beneficiary Manager approval composite to approve the request by his manager.
    We are using the skip rule in the human task component to skip the user if the requester is beneficiary manager.
    After the skip rule is executing the the request is going to failed state because of the response it is sending to the OIM
    The skip rule is working as expected but the response sending to OIM is COMPLETED instead of APPROVE.
    Please let us know the steps to change the response to Approve after the skip rule is executed or how to add the response COMPLETED in OIM.
    Thanks

    You will have to write a conditional block outisde the task where you would check if the skip condition is met and if yes then you will have to hard code the approved conditions into the payload for the task outcome.
    <assign name="SetAutoApproveConditions">
                            <copy>
                                <from expression="string('APPROVE')"/>
                                <to variable="ApprovalTask_1_globalVariable"
                                    part="payload"
                                    query="/task:task/task:systemAttributes/task:outcome"/>
                            </copy>
                            <copy>
                                <from expression="string('COMPLETED')"/>
                                <to variable="ApprovalTask_1_globalVariable"
                                    part="payload"
                                    query="/task:task/task:systemAttributes/task:state"/>
                            </copy>
                        </assign>HTH,
    BB

  • Use of "&" in rules

    Hi Gurus,
    I am new to rules, i have to understand some code and need to modify. I very new to rules. I have a doubts regarding rules. What is the use of "&" sign in rules? How do we use this in rules? And could you plz explain below statements.
    1) HS.Exp “A#BegRetainedEarnings ”&“= A#EndRetEarn.Y#Prior.P#Last  ”&“+ A#NetIncome.Y#Prior.P#Last.W#YTD” -- in this statement what is the use of "&" and how it works.
    2) HS.Exp "A#Account3.C1#Computers = " & SomeVariable --- In this stament "&" use and how it works.
    3) HS.Exp “A#Account3.C1#Computers = A#Account4 “ & “.C1#Computers * 1.1” -- Plz explain this statement and *".C1#Computers"* . with out specifying other dimensions, what is the purpose of ".C1#Computers".
    Thanks and regards
    nivas

    Ampersands is your concatenation symbol, it is used to add a variable to a text string.
    HS.Exp “A#BegRetainedEarnings ”&“= A#EndRetEarn.Y#Prior.P#Last ”&“+ A#NetIncome.Y#Prior.P#Last.W#YTD”
    The ampersand appears to be unnecessary in the above example this should work
    HS.Exp “A#BegRetainedEarnings = A#EndRetEarn.Y#Prior.P#Last+ A#NetIncome.Y#Prior.P#Last.W#YTD”
    You can test this by scanning your rules.
    HS.Exp "A#Account3.C1#Computers = " & SomeVariable --- In this stament "&" use and how it works.
    if your variable equals Banana, the equivalent string would be HS.Exp "A#Account3.C1#Computers = Banana" meaning whatever the value of the variable is what it will be appended to the string.
    HS.Exp “A#Account3.C1#Computers = A#Account4 “ & “.C1#Computers * 1.1” -- Plz explain this statement and ".C1#Computers" . with out specifying other dimensions, what is the purpose of ".C1#Computers".
    Again the ampersand appears to be unnecessary.
    The purpose of ".C1#Computers", is to limit the value placed on your target account to that of the Computers Member of the Custom 1 dimension.
    Please take the following statement the right way: Before venturing into the rules file, learn some VBA.
    Edited by: Raul Rodriguez on Feb 12, 2011 3:35 PM

  • How to do state machine using events .

    Hi all.
    i like to create a state machine using events methos .
    i have 4 functions 1,2,3,4. (event based functios) (seperate sub vis)
    1.i will trigger the 1 function.
    then end of the first function should trigger the next function.
    like state machine .
    how to create this method in labview .. i tried value signaling its still not working . what i want.
    Solved!
    Go to Solution.

    JGar wrote:
    Wouldn't it make sense to have the entire state machine within one event case?  When you trigger the event case the state machine then executes like a normal state machine.
    DO NOT DO THAT!!!!!!  Long parts of code do NOT belong inside of an event case.
    The Event Structure should be in its own state and the state machine should to to that state every once in awhile to check for user events.
    Alternatively, you could put just the state case structure inside of the Timeout event case.  Something like this: http://www.notatamelion.com/2015/03/02/building-a-proper-labview-state-machine-design-pattern-pt-2/
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Verizon/Actiontec forces people to use 802.11b on GT704WGB modems

    Verizon recently sent me an Actiontec GT704WGB as a replacement for my GT704WG.  When I tried to turn off the mixed mode wireless support (802.11b and 802.11g), the modem wouldn't show "802.11g only" on the status screen.
    I rebooted the modem remotely only to find that every custom setting except for my PPPoE login had been reset.  Thinking that I had hit the "Restore Factory Settings" link by default, I changed all of the other settings back to the way they were and rebooted the modem.  Again, everything was set back to factory defaults.  Since the mixed mode setting was one of the last things I changed, I left it alone and changed everything else and rebooted.  The settings were remembered, so it's obvious that turning off 802.11b causes the factory reset.  However, there is no factory reset if you only want to turn off 801.11g.  For some reason, the Actiontec modem/gateways have no way to back up the settings, even to the modem itself as with the Westell 7500, so you are foced to re-enter every custom setting, password and rule every time factory settings are restored.
    I emailed tech support, but they were clueless, so either the firmware is defective and no one reported it, or they are forcing you to use 802.11b.  I didn't have this problem with my GT704WG with the newest firmware, which btw isn't what's on Verizon's website and Actiontec has taken it down.
    It may seem like it doesn't matter that 802.11b is broadcasting, but if you are in a 802.11g only environment, you can turn off the "Mixed Mode Protection" setting in your adapters.  That way the adapters only need to perform CTS-to-self instead of RTS/CTS checks, which should improve performance.

    voyager62 wrote:
    Even then I'd lose the ability to manage the Actiontec wirelessly.
    Really? I would not be so sure of that, if I were you.
    I know that you do not have a Linksys, but as an example I point to:
    http://www.dslreports.com/faq/7267
    * Especailly the recommended method that they talk about.
    voyager62 wrote:
    The best solution is to simply fix the firmware so that 802.11b can be turned off properly.
    Yes, I guess that  would be nice.
    If you are the original poster (OP) and your issue is solved, please remember to click the "Solution?" button so that others can more easily find it. If anyone has been helpful to you, please show your appreciation by clicking the "Kudos" button.

  • [SOLVED] how to use diffrent iptables rules for different ppp account?

    x86 plantform run arch linux system , have two network interface etn1 eth0 .eth1 connect to internet. eth0 connect to other terminals through switch. want use different iptables rules for different pppoe account .also want to know how to forbidden more than one terminals established pppoe link use same account at the same time .
    Last edited by linuxsir (2013-09-26 06:48:01)

    (You establish PPPoE sessions over the local network to the Arch machine? Which then routes the traffic?)
    first question ,yes that is exactly what i am done. second question i also have a small  scripts on windows pc to solve routes traffic problem
    route -p delete 0.0.0.0
    route -p add 192.168.9.0 mask 255.255.255.0 192.168.9.1
    route -p add 0.0.0.0 mask 0.0.0.0 192.168.22.0
    but after a while i found scripts is not necessary because windows always attempt to use PPPoE sessions as default internet connection local connection is also ok
    and use  -i pppX in my iptables rules dose not  solve my problem , because same account start PPPoE session could be marked as ppp0 or ppp1. it is hard to identified which account start session.

  • The STOP statement was used outside a report flow.

    Hi Gurus,
    when i am executing this program it is going to short dump.
    pls help me out.
    thanks in advance.
    Runtime Errors         STOP_NO_REPORT
    Date and Time          06.10.2008 12:10:06
    Short text
    The STOP statement was used outside a report flow.
    What happened?
    Error in the ABAP Application Program
    The current ABAP program "YMRP0003" had to be terminated because it has
    come across a statement that unfortunately cannot be executed.
    What can you do?
    Note down which actions and inputs caused the error.
    To process the problem further, contact you SAP system
    administrator.
    Using Transaction ST22 for ABAP Dump Analysis, you can look
    at and manage termination messages, and you can also
    keep them for a long time.
    Error analysis
    The STOP statement is only useful in specific events of the report
    processing (that is, the execution of a type 1 program). In this case,
    there was no report flow, so the statement could not be executed.
    How to correct the error
    If the error occurred in your own ABAP program or in an SAP
    program you modified, try to remove the error.
    System environment
    SAP-Release 700
    Application server... "ciRDE"
    Network address...... "10.131.28.7"
    Operating system..... "HP-UX"
    Release.............. "B.11.23"
    Hardware type........ "ia64"
    Character length.... 16 Bits
    Pointer length....... 64 Bits
    Work process number.. 3
    Shortdump setting.... "full"
    Database server... "hpx190"
    Database type..... "ORACLE"
    Database name..... "RDE"
    Database user ID.. "SAPDAT"
    Char.set.... "C"
    SAP kernel....... 700
    created (date)... "Apr 21 2008 20:48:34"
    create on........ "HP-UX B.11.23 U ia64"
    Database version. "OCI_102 (10.2.0.1.0) "
    Patch level. 157
    Patch text.. " "
    Database............. "ORACLE 9.2.0.., ORACLE 10.1.0.., ORACLE 10.2.0.."
    SAP database version. 700
    Operating system..... "HP-UX B.11"
    Memory consumption
    Roll.... 16192
    EM...... 8379680
    Heap.... 0
    Page.... 65536
    MM Used. 3492016
    MM Free. 695200
    User and Transaction
    Client.............. 050
    User................ "MBAGGALA"
    Language key........ "E"
    Transaction......... "CC31 "
    Transactions ID..... "48E9EB60C2944602E10000000A831C07"
    Program............. "YMRP0003"
    Screen.............. "SAPMC29C 0020"
    Screen line......... 22
    Information on where terminated
    Termination occurred in the ABAP program "YMRP0003" - in "SCM-MRP-FSE-12_02".
    The main program was "SAPMC29C ".
    In the source code you have the termination point in line 138
    of the (Include) program "YMRP0003".
    Source Code Extract
    Line
    SourceCde
    108
    109
    110
    *This function module read the status of an object
    111
    112
    CALL FUNCTION 'STATUS_TEXT_EDIT'
    113
    EXPORTING
    114
    client           = sy-mandt
    115
    flg_user_stat    = lc_flagx
    116
    objnr            = ls_ecm_data-objnr
    117
    only_active      = lc_flagx
    118
    spras            = sy-langu
    119
    IMPORTING
    120
    line             = lf_sttxt
    121
    user_line        = lf_asttx
    122
    EXCEPTIONS
    123
    object_not_found = 1
    124
    OTHERS           = 2.
    125
    126
    CHECK NOT sy-tcode EQ 'CC32'.
    127
    *-- Begin of Changes made by DGupta1 on 07/12/2006--
    128
    Changes are made to update the Change Number Dates While Calling CC32
    129
    from custom transaction YC06 only
    130
    CHECK NOT sw_yc06 EQ 'X'.
    131
    *-- End of Changes made by DGupta1 on 07/12/2006--
    132
    133
    CHECK NOT lf_sttxt CS 'ECCM' AND NOT lf_sttxt CS 'ECOR'.
    134
    135
    136
    IF ls_ecm_data-datuv NE  lc_maxdate.
    137
    MESSAGE s011.
    >>>>>
       STOP.
    139
    ENDIF.
    140
    141
    142
    IF lf_lastd < lf_artwd.
    143
    MESSAGE s012.
    144
    STOP.
    145
    ENDIF.
    146
    147
    IF ls_ecm_data-lvorm = lc_flagx.
    148
    MESSAGE s013.
    149
    STOP.
    150
    ENDIF.
    151
    152
    WRITE: lf_lastd TO lf_lastd_string.
    153
    WRITE: lf_artwd TO lf_artwd_string.
    154
    155
    156
    IF ls_ecm_data-ccart NE lc_fixd.
    157
    Contents of system fields
    Name
    Val.
    SY-SUBRC
    0
    SY-INDEX
    0
    SY-TABIX
    0
    SY-DBCNT
    1
    SY-FDPOS
    40
    SY-LSIND
    0
    SY-PAGNO
    0
    SY-LINNO
    1
    SY-COLNO
    1
    SY-PFKEY
    ARC0H
    SY-UCOMM
    FCBU
    SY-TITLE
    Create ECR: Object Types
    SY-MSGTY
    S
    SY-MSGID
    YMRP
    SY-MSGNO
    011
    SY-MSGV1
    SY-MSGV2
    SY-MSGV3
    SY-MSGV4
    SY-MODNO
    0
    SY-DATUM
    20081006
    SY-UZEIT
    121006
    SY-XPROG
    SAPCNVE
    SY-XFORM
    CONVERSION_EXIT
    Active Calls/Events
    No.   Ty.          Program                             Include                             Line
    Name
    7 FORM         YMRP0003                            YMRP0003                              138
    SCM-MRP-FSE-12_02
    6 FUNCTION     SAPLXCCA                            ZXCCAU05                               39
    EXIT_SAPMC29C_005
    5 FORM         SAPMC29C                            MC29CFS1_SAVE_USER_EXIT                36
    SAVE_USER_EXIT
    4 FORM         SAPMC29C                            MC29CFF2_FCODE_FCBU_EXECUTE            88
    FCODE_FCBU_EXECUTE
    3 FORM         SAPMC29C                            MC29CFO1_OKCODE_CHECK                 252
    OKCODE_CHECK
    2 MODULE (PAI) SAPMC29C                            MC29CI10_OKCODE                        12
    OKCODE
    1 MODULE (PAI) SAPMC29C                            MC29CI10_DYNPRO_CALL                   11
    DYNPRO_CALL
    Chosen variables
    Name
    Val.
    No.       7 Ty.          FORM
    Name  SCM-MRP-FSE-12_02
    SY-REPID
    YMRP0003
    0000000000000000000000000000000000000000
    0000000000000000000000000000000000000000
    5455333322222222222222222222222222222222
    9D20000300000000000000000000000000000000
    SY-TCODE
    CC31
    00000000000000000000
    00000000000000000000
    44332222222222222222
    33310000000000000000
    SW_YC06
    0
    0
    2
    0
    LF_STTXT
    CRTD
    0000000000000000000000000000000000000000
    0000000000000000000000000000000000000000
    4554222222222222222222222222222222222222
    3244000000000000000000000000000000000000
    SYST-REPID
    YMRP0003
    0000000000000000000000000000000000000000
    0000000000000000000000000000000000000000
    5455333322222222222222222222222222222222
    9D20000300000000000000000000000000000000
    LS_ECM_DATA-DATUV
    20081006
    00000000
    00000000
    33333333
    20081006
    LC_MAXDATE
    29991231
    00000000
    00000000
    33333333
    29991231
    %_PRINT
    000                                                                                0###
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    2222333222222222222222222222222222222222222222222222222222222222222222222222222222222222223000
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    SY-MSGID
    YMRP
    00000000000000000000
    00000000000000000000
    54552222222222222222
    9D200000000000000000
    LC_FLAGX
    X
    0
    0
    5
    8
    SPACE
    0
    0
    2
    0
    SY-MSGNO
    011
    000
    000
    333
    011
    LC_ITEM
    EUR_SCM-PUR-FSE-12_02
    000000000000000000000
    000000000000000000000
    455554425552454233533
    552F33DD052D635D12F02
    SY-MSGV1
    00000000000000000000000000000000000000000000000000
    00000000000000000000000000000000000000000000000000
    22222222222222222222222222222222222222222222222222
    00000000000000000000000000000000000000000000000000
    SY-MSGV2
    00000000000000000000000000000000000000000000000000
    00000000000000000000000000000000000000000000000000
    22222222222222222222222222222222222222222222222222
    00000000000000000000000000000000000000000000000000
    SY-MSGV3
    00000000000000000000000000000000000000000000000000
    00000000000000000000000000000000000000000000000000
    22222222222222222222222222222222222222222222222222
    00000000000000000000000000000000000000000000000000
    SY-MSGV4
    00000000000000000000000000000000000000000000000000
    00000000000000000000000000000000000000000000000000
    22222222222222222222222222222222222222222222222222
    00000000000000000000000000000000000000000000000000
    LF_LASTD
    00000000
    00000000
    00000000
    33333333
    00000000
    LF_ARTWD
    00000000
    00000000
    00000000
    33333333
    00000000
    SY-SUBRC
    0
    0000
    0000
    No.       6 Ty.          FUNCTION
    Name  EXIT_SAPMC29C_005
    ECM_ALT_DATE
    Table IT_665[0x202]
    \FUNCTION=EXIT_SAPMC29C_005\DATA=ECM_ALT_DATE
    Table reference: 113
    TABH+  0(20) = 0000000000000000000000000000000000000000
    TABH+ 20(20) = 000000710000029900000000000000CAFFFFFFFF
    TABH+ 40(16) = 040000DB000006200010249401800000
    store        = 0x0000000000000000
    ext1         = 0x0000000000000000
    shmId        = 0     (0x00000000)
    id           = 113   (0x00000071)
    label        = 665   (0x00000299)
    fill         = 0     (0x00000000)
    leng         = 202   (0x000000CA)
    loop         = -1    (0xFFFFFFFF)
    xtyp         = TYPE#000018
    occu         = 16    (0x00000010)
    access       = 1     (ItAccessStandard)
    idxKind      = 0     (ItIndexNone)
    uniKind      = 2     (ItUniqueNon)
    keyKind      = 1     (default)
    cmpMode      = 2     (cmpSingleMcmpR)
    occu0        = 1
    groupCntl    = 0
    rfc          = 0
    unShareable  = 0
    mightBeShared = 0
    sharedWithShmTab = 0
    isShmLockId  = 0
    gcKind       = 0
    isUsed       = 1
    isCtfyAble   = 1
    >>>>> Shareable Table Header Data <<<<<
    tabi         = Not allocated
    pghook       = Not allocated
    idxPtr       = Not allocated
    shmTabhSet   = Not allocated
    id           = Not allocated
    refCount     = Not allocated
    tstRefCount  = Not allocated
    lineAdmin    = Not allocated
    lineAlloc    = Not allocated
    shmVersId    = Not allocated
    shmRefCount  = Not allocated
    shmIsReadOnly = Not allocated
    >>>>> 1st level extension part <<<<<
    regHook      = Not allocated
    collHook     = Not allocated
    ext2         = Not allocated
    >>>>> 2nd level extension part <<<<<
    tabhBack     = Not allocated
    delta_head   = Not allocated
    pb_func      = Not allocated
    pb_handle    = Not allocated
    ECM_DATA
    050            01001020081006            00000000            00000000            dsfasdddffSS
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    3332222222222223333333333333322222222222233333333222222222222333333332222222222226766766666552
    0500000000000000100102008100600000000000000000000000000000000000000000000000000004361344466330
    ECM_EFFECTIVITY
    Table IT_666[0x464]
    \FUNCTION=EXIT_SAPMC29C_005\DATA=ECM_EFFECTIVITY
    Table reference: 126
    TABH+  0(20) = 0000000000000000000000000000000000000000
    TABH+ 20(20) = 0000007E0000029A00000000000001D0FFFFFFFF
    TABH+ 40(16) = 040000DB000006800010249401800000
    store        = 0x0000000000000000
    ext1         = 0x0000000000000000
    shmId        = 0     (0x00000000)
    id           = 126   (0x0000007E)
    label        = 666   (0x0000029A)
    fill         = 0     (0x00000000)
    leng         = 464   (0x000001D0)
    loop         = -1    (0xFFFFFFFF)
    xtyp         = TYPE#000020
    occu         = 16    (0x00000010)
    access       = 1     (ItAccessStandard)
    idxKind      = 0     (ItIndexNone)
    uniKind      = 2     (ItUniqueNon)
    keyKind      = 1     (default)
    cmpMode      = 2     (cmpSingleMcmpR)
    occu0        = 1
    groupCntl    = 0
    rfc          = 0
    unShareable  = 0
    mightBeShared = 0
    sharedWithShmTab = 0
    isShmLockId  = 0
    gcKind       = 0
    isUsed       = 1
    isCtfyAble   = 1
    >>>>> Shareable Table Header Data <<<<<
    tabi         = Not allocated
    pghook       = Not allocated
    idxPtr       = Not allocated
    shmTabhSet   = Not allocated
    id           = Not allocated
    refCount     = Not allocated
    tstRefCount  = Not allocated
    lineAdmin    = Not allocated
    lineAlloc    = Not allocated
    shmVersId    = Not allocated
    shmRefCount  = Not allocated
    shmIsReadOnly = Not allocated
    >>>>> 1st level extension part <<<<<
    regHook      = Not allocated
    collHook     = Not allocated
    ext2         = Not allocated
    >>>>> 2nd level extension part <<<<<
    tabhBack     = Not allocated
    delta_head   = Not allocated
    pb_func      = Not allocated
    pb_handle    = Not allocated
    ECM_HIERARCHY
    Table IT_667[0x120]
    \FUNCTION=EXIT_SAPMC29C_005\DATA=ECM_HIERARCHY
    Table reference: 110
    TABH+  0(20) = 0000000000000000000000000000000000000000
    TABH+ 20(20) = 0000006E0000029B0000000000000078FFFFFFFF
    TABH+ 40(16) = 040000DB000006B00010249401800000
    store        = 0x0000000000000000
    ext1         = 0x0000000000000000
    shmId        = 0     (0x00000000)
    id           = 110   (0x0000006E)
    label        = 667   (0x0000029B)
    fill         = 0     (0x00000000)
    leng         = 120   (0x00000078)
    loop         = -1    (0xFFFFFFFF)
    xtyp         = TYPE#000021
    occu         = 16    (0x00000010)
    access       = 1     (ItAccessStandard)
    idxKind      = 0     (ItIndexNone)
    uniKind      = 2     (ItUniqueNon)
    keyKind      = 1     (default)
    cmpMode      = 2     (cmpSingleMcmpR)
    occu0        = 1
    groupCntl    = 0
    rfc          = 0
    unShareable  = 0
    mightBeShared = 0
    sharedWithShmTab = 0
    isShmLockId  = 0
    gcKind       = 0
    isUsed       = 1
    isCtfyAble   = 1
    >>>>> Shareable Table Header Data <<<<<
    tabi         = Not allocated
    pghook       = Not allocated
    idxPtr       = Not allocated
    shmTabhSet   = Not allocated
    id           = Not allocated
    refCount     = Not allocated
    tstRefCount  = Not allocated
    lineAdmin    = Not allocated
    lineAlloc    = Not allocated
    shmVersId    = Not allocated
    shmRefCount  = Not allocated
    shmIsReadOnly = Not allocated
    >>>>> 1st level extension part <<<<<
    regHook      = Not allocated
    collHook     = Not allocated
    ext2         = Not allocated
    >>>>> 2nd level extension part <<<<<
    tabhBack     = Not allocated
    delta_head   = Not allocated
    pb_func      = Not allocated
    pb_handle    = Not allocated
    ECM_MNT_VALUE
    0000000000000000
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    2222222222222223333333333333333222222222222222222222222222222222222222222222222222222222222222
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    ECM_OBJMNGREC
    Table IT_668[0x600]
    \FUNCTION=EXIT_SAPMC29C_005\DATA=ECM_OBJMNGREC
    Table reference: 107
    TABH+  0(20) = 0000000000000000000000000000000000000000
    TABH+ 20(20) = 0000006B0000029C0000000000000258FFFFFFFF
    TABH+ 40(16) = 040000DB000005C0001024C401800000
    store        = 0x0000000000000000
    ext1         = 0x0000000000000000
    shmId        = 0     (0x00000000)
    id           = 107   (0x0000006B)
    label        = 668   (0x0000029C)
    fill         = 0     (0x00000000)
    leng         = 600   (0x00000258)
    loop         = -1    (0xFFFFFFFF)
    xtyp         = TYPE#000016
    occu         = 16    (0x00000010)
    access       = 1     (ItAccessStandard)
    idxKind      = 0     (ItIndexNone)
    uniKind      = 2     (ItUniqueNon)
    keyKind      = 1     (default)
    cmpMode      = 8     (cmpManyEq)
    occu0        = 1
    groupCntl    = 0
    rfc          = 0
    unShareable  = 0
    mightBeShared = 0
    sharedWithShmTab = 0
    isShmLockId  = 0
    gcKind       = 0
    isUsed       = 1
    isCtfyAble   = 1
    >>>>> Shareable Table Header Data <<<<<
    tabi         = Not allocated
    pghook       = Not allocated
    idxPtr       = Not allocated
    shmTabhSet   = Not allocated
    id           = Not allocated
    refCount     = Not allocated
    tstRefCount  = Not allocated
    lineAdmin    = Not allocated
    lineAlloc    = Not allocated
    shmVersId    = Not allocated
    shmRefCount  = Not allocated
    shmIsReadOnly = Not allocated
    >>>>> 1st level extension part <<<<<
    regHook      = Not allocated
    collHook     = Not allocated
    ext2         = Not allocated
    >>>>> 2nd level extension part <<<<<
    tabhBack     = Not allocated
    delta_head   = Not allocated
    pb_func      = Not allocated
    pb_handle    = Not allocated
    ECM_OBJ_TYPE
    Table IT_669[28x192]
    \FUNCTION=EXIT_SAPMC29C_005\DATA=ECM_OBJ_TYPE
    Table reference: 116
    TABH+  0(20) = C0000009448BF3E0000000000000000000000000
    TABH+ 20(20) = 000000740000029D0000001C000000C0FFFFFFFF
    TABH+ 40(16) = 040000DB000005600010249421800000
    store        = 0xC0000009448BF3E0
    ext1         = 0x0000000000000000
    shmId        = 0     (0x00000000)
    id           = 116   (0x00000074)
    label        = 669   (0x0000029D)
    fill         = 28    (0x0000001C)
    leng         = 192   (0x000000C0)
    loop         = -1    (0xFFFFFFFF)
    xtyp         = TYPE#000014
    occu         = 16    (0x00000010)
    access       = 1     (ItAccessStandard)
    idxKind      = 0     (ItIndexNone)
    uniKind      = 2     (ItUniqueNon)
    keyKind      = 1     (default)
    cmpMode      = 2     (cmpSingleMcmpR)
    occu0        = 1
    groupCntl    = 0
    rfc          = 0
    unShareable  = 0
    mightBeShared = 1
    sharedWithShmTab = 0
    isShmLockId  = 0
    gcKind       = 0
    isUsed       = 1
    isCtfyAble   = 1
    >>>>> Shareable Table Header Data <<<<<
    tabi         = 0xC0000009448B8270
    pgHook       = 0xC0000009448BF440
    idxPtr       = 0x0000000000000000
    shmTabhSet   = 0x0000000000000000
    id           = 195   (0x000000C3)
    refCount     = 1     (0x00000001)
    tstRefCount  = 0     (0x00000000)
    lineAdmin    = 48    (0x00000030)
    lineAlloc    = 48    (0x00000030)
    shmVersId    = 0     (0x00000000)
    shmRefCount  = 2     (0x00000002)
    >>>>> 1st level extension part <<<<<
    regHook      = Not allocated
    collHook     = Not allocated
    ext2         = Not allocated
    >>>>> 2nd level extension part <<<<<
    tabhBack     = Not allocated
    delta_head   = Not allocated
    pb_func      = Not allocated
    pb_handle    = Not allocated
    TRANS_TYP
    H
    0
    0
    4
    8
    D_ASTTX
    0000000000000000000000000000000000000000
    0000000000000000000000000000000000000000
    2222222222222222222222222222222222222222
    0000000000000000000000000000000000000000
    SY-REPID
    SAPLXCCA
    0000000000000000000000000000000000000000
    0000000000000000000000000000000000000000
    5454544422222222222222222222222222222222
    310C833100000000000000000000000000000000
    L_ITEM
    EUR_SCM-MRP-FSE-12_02
    000000000000000000000000000000
    000000000000000000000000000000
    455554424552454233533222222222
    552F33DDD20D635D12F02000000000
    LI_YBS00001
    050EUR_SCM-MRP-FSE-12_02         YMRP0003                                SCM-MRP-FSE-12_02
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    3334555544245524542335332222222225455333322222222222222222222222222222222544245524542335332222
    050552F33DDD20D635D12F020000000009D2000030000000000000000000000000000000033DDD20D635D12F020000
    SY-SUBRC
    0
    0000
    0000
    SYST
    #######################(###############Z################################################XC####
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    000000000000000000000000000000000000000000000000000000000000000000000000000000000000000E000100
    0000000000000000000000020000000000000005000000000100000000000000000000000000010900000001540000
    0000000100000A0000000108010001000000000A0000000000000000000000000000000000000B000008000083000C
    LI_YBS00001-REPORT
    YMRP0003
    0000000000000000000000000000000000000000
    0000000000000000000000000000000000000000
    5455333322222222222222222222222222222222
    9D20000300000000000000000000000000000000
    LI_YBS00001-FORM
    SCM-MRP-FSE-12_02
    000000000000000000000000000000
    000000000000000000000000000000
    544245524542335332222222222222
    33DDD20D635D12F020000000000000
    LS_YBS00001
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    LS_YBS00001-ENABLED
    0
    0
    2
    0
    LS_YBS00001-REPORT
    0000000000000000000000000000000000000000
    0000000000000000000000000000000000000000
    2222222222222222222222222222222222222222
    0000000000000000000000000000000000000000
    LS_YBS00001-FORM
    000000000000000000000000000000
    000000000000000000000000000000
    222222222222222222222222222222
    000000000000000000000000000000
    SYST-REPID
    SAPLXCCA
    0000000000000000000000000000000000000000
    0000000000000000000000000000000000000000
    5454544422222222222222222222222222222222
    310C833100000000000000000000000000000000
    No.       5 Ty.          FORM
    Name  SAVE_USER_EXIT
    RET_CODE
    0
    0000
    0000
    SY-SUBRC
    0
    0000
    0000
    SY-MSGID
    YMRP
    00000000000000000000
    00000000000000000000
    54552222222222222222
    9D200000000000000000
    DARSTAB[]
    Table[initial]
    AEDTB[]
    Table IT_650[0x202]
    \PROGRAM=SAPMC29C\DATA=AEDTB[]
    Table reference: 129
    TABH+  0(20) = 0000000000000000C000000944A25D7000000000
    TABH+ 20(20) = 000000810000028A00000000000000CAFFFFFFFF
    TABH+ 40(16) = 0400000000000EF00010249401800000
    store        = 0x0000000000000000
    ext1         = 0xC000000944A25D70
    shmId        = 0     (0x00000000)
    id           = 129   (0x00000081)
    label        = 650   (0x0000028A)
    fill         = 0     (0x00000000)
    leng         = 202   (0x000000CA)
    loop         = -1    (0xFFFFFFFF)
    xtyp         = TYPE#000065
    occu         = 16    (0x00000010)
    access       = 1     (ItAccessStandard)
    idxKind      = 0     (ItIndexNone)
    uniKind      = 2     (ItUniqueNon)
    keyKind      = 1     (default)
    cmpMode      = 2     (cmpSingleMcmpR)
    occu0        = 1
    groupCntl    = 0
    rfc          = 0
    unShareable  = 0
    mightBeShared = 0
    sharedWithShmTab = 0
    isShmLockId  = 0
    gcKind       = 0
    isUsed       = 1
    isCtfyAble   = 1
    >>>>> Shareable Table Header Data <<<<<
    tabi         = Not allocated
    pghook       = Not allocated
    idxPtr       = Not allocated
    shmTabhSet   = Not allocated
    id           = Not allocated
    refCount     = Not allocated
    tstRefCount  = Not allocated
    lineAdmin    = Not allocated
    lineAlloc    = Not allocated
    shmVersId    = Not allocated
    shmRefCount  = Not allocated
    shmIsReadOnly = Not allocated
    >>>>> 1st level extension part <<<<<
    regHook      = 0x0000000000000000
    collHook     = 0x0000000000000000
    ext2         = 0xC000000944AFAD80
    >>>>> 2nd level extension part <<<<<
    tabhBack     = 0xC000000944A23AF0
    delta_head   = 0000000000000000000000000000000000000000000000000000000000000000000000000000000
    pb_func      = 0x0000000000000000
    pb_handle    = 0x0000000000000000
    CC07
    000000000000000000000000000000000000000000000000000000000000000
    000000000000000000000000000000000000000000000000000000000000000
    222222222222222222222222222222222222222222222222222222222222222
    000000000000000000000000000000000000000000000000000000000000000
    AENRB
    050            01001020081006            00000000            00000000            dsfasdddffSS
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    3332222222222223333333333333322222222222233333333222222222222333333332222222222226766766666552
    0500000000000000100102008100600000000000000000000000000000000000000000000000000004361344466330
    DARSTAB
    00000000000000000000000000000000000000000000
    00000000000000000000000000000000000000000000
    22222222222222222222222222222222222222222200
    00000000000000000000000000000000000000000000
    AEEFB[]
    Table IT_651[0x464]
    \PROGRAM=SAPMC29C\DATA=AEEFB[]
    Table reference: 105
    TABH+  0(20) = 0000000000000000C000000944AFADF000000000
    TABH+ 20(20) = 000000690000028B00000000000001D0FFFFFFFF
    TABH+ 40(16) = 0400000000000F500010249401800000
    store        = 0x0000000000000000
    ext1         = 0xC000000944AFADF0
    shmId        = 0     (0x00000000)
    id           = 105   (0x00000069)
    label        = 651   (0x0000028B)
    fill         = 0     (0x00000000)
    leng         = 464   (0x000001D0)
    loop         = -1    (0xFFFFFFFF)
    xtyp         = TYPE#000067
    occu         = 16    (0x00000010)
    access       = 1     (ItAccessStandard)
    idxKind      = 0     (ItIndexNone)
    uniKind      = 2     (ItUniqueNon)
    keyKind      = 1     (default)
    cmpMode      = 2     (cmpSingleMcmpR)
    occu0        = 1
    groupCntl    = 0
    rfc          = 0
    unShareable  = 0
    mightBeShared = 0
    sharedWithShmTab = 0
    isShmLockId  = 0
    gcKind       = 0
    isUsed       = 1
    isCtfyAble   = 1
    >>>>> Shareable Table Header Data <<<<<
    tabi         = Not allocated
    pghook       = Not allocated
    idxPtr       = Not allocated
    shmTabhSet   = Not allocated
    id           = Not allocated
    refCount     = Not allocated
    tstRefCount  = Not allocated
    lineAdmin    = Not allocated
    lineAlloc    = Not allocated
    shmVersId    = Not allocated
    shmRefCount  = Not allocated
    shmIsReadOnly = Not allocated
    >>>>> 1st level extension part <<<<<
    regHook      = 0x0000000000000000
    collHook     = 0x0000000000000000
    ext2         = 0xC0000009448F3220
    >>>>> 2nd level extension part <<<<<
    tabhBack     = 0xC00000094482B060
    delta_head   = 0000000000000000000000000000000000000000000000000000000000000000000000000000000
    pb_func      = 0x0000000000000000
    pb_handle    = 0x0000000000000000
    DCTAB[]
    Table IT_35[7x16]
    \PROGRAM=SAPMC29C\DATA=DCTAB[]
    Table reference: 25
    TABH+  0(20) = C000000944921280000000000000000000000000
    TABH+ 20(20) = 00000019000000230000000700000010FFFFFFFF
    TABH+ 40(16) = 0400000000001BB00010249401800000
    store        = 0xC000000944921280
    ext1         = 0x0000000000000000
    shmId        = 0     (0x00000000)
    id           = 25    (0x00000019)
    label        = 35    (0x00000023)
    fill         = 7     (0x00000007)
    leng         = 16    (0x00000010)
    loop         = -1    (0xFFFFFFFF)
    xtyp         = TYPE#000133
    occu         = 16    (0x00000010)
    access       = 1     (ItAccessStandard)
    idxKind      = 0     (ItIndexNone)
    uniKind      = 2     (ItUniqueNon)

    Dear Rajesh!
    Please advise me, what have you done to resolve your problem!!??
    I get next problem when i try to start some transaction:
    Short text                                                                               
    Syntax error in program "SAPLPA_PACKAGE_SERVICES ".                                          
    What happened?                                                                               
    Error in the ABAP Application Program                                                                               
    The current ABAP program "SAPLSFW_COMMON" had to be terminated because it has                
        come across a statement that unfortunately cannot be executed.                                                                               
    The following syntax error occurred in program "SAPLPA_PACKAGE_SERVICES " in                 
         include "LPA_PACKAGE_SERVICES$25 " in                                                       
        line 13:                                                                               
    "The type "TPCHK_FROZEN_OBJECTS_H" is unknown."                                              
    The include has been created and last changed by:                                            
        Created by: "SAP "                                                                               
    Last changed by: "SAP "                                                                      
        Error in the ABAP Application Program                                                                               
    The current ABAP program "SAPLSFW_COMMON" had to be terminated because it has                
        come across a statement that unfortunately cannot be executed.                               
    Error analysis                                                                               
    The following syntax error was found in the program SAPLPA_PACKAGE_SERVICES :                
        "The type "TPCHK_FROZEN_OBJECTS_H" is unknown."                                              
    Trigger Location of Runtime Error                                                                
        Program                                 SAPLSFW_COMMON                                       
        Include                                 LSFW_COMMONU01                                       
        Row                                     117                                                  
        Module type                             (FUNCTION)                                           
        Module Name                             SFW_GET_SWITCHPOS                                    
    Source Code Extract                                                                               
    Line
    SourceCde                                                                               
    87
         IF sy-subrc = 0.                                                                       
       88
           <fs_switchpos>-switch_id  = devc_resultline-switch_id .                              
       89
           <fs_switchpos>-state      = devc_resultline-state .                                  
       90
           <fs_switchpos>-text       = devc_resultline-text .                                   
       91
                                                                                    92
           INSERT <fs_switchpos> INTO TABLE resulttab. "Ergebnis merken                         
       93
           CONTINUE.                                                                               
    94
         ENDIF.                                                                               
    95
                                                                                    96
                                                                                    97
         READ TABLE gt_sfw_package INTO wa_sfw_package WITH TABLE KEY                           
       98
                        devclass = lf_devclass                                                  
       99
                        version  = 'A' .                                                        
      100
                                                                                    101
         IF sy-subrc = 0. "Objekt ist in einem Paket mit Schalter                               
      102
           <fs_switchpos>-switch_id = wa_sfw_package-switch_id .                                
      103
                                                                                    104
         ELSE. "gucken, ob es sich um geschachtelte Pakete handelt                              
      105
                                                                                    106
           DO 20 TIMES.                                                                               
    107
                                                                                    108
             CLEAR wa_superpackage .                                                            
      109
                                                                                    110
             READ TABLE gt_superpackage INTO wa_superpackage WITH TABLE KEY                     
      111
                             devclass = lf_devclass.                                            
      112
                                                                                    113
             IF sy-subrc = 0 .                                                                  
      114
               lf_superpackage = wa_superpackage-parentcl.                                      
      115
             ELSE.                                                                               
    116
                                                                                    >>>>>
               CALL FUNCTION 'PA_GET_SUPER_PACKAGE_NAME'                                        
      118
                 EXPORTING                                                                      
      119
                   i_package_name       = lf_devclass                                           
      120
                   i_direct_select      = 'X'                                                   
      121
                 IMPORTING                                                                      
      122
                   e_super_package_name = lf_superpackage.                                      
      123
                                                                                    124
                                                                                    125
               wa_superpackage-devclass = lf_devclass .                                         
      126
               wa_superpackage-parentcl = lf_superpackage .                                     
      127
               INSERT wa_superpackage INTO TABLE gt_superpackage .                              
      128
                                                                                    129
             ENDIF.                                                                               
    130
                                                                                    131
             IF lf_superpackage = space .                                                       
      132
               <fs_switchpos>-state     = space .                                               
      133
               <fs_switchpos>-switch_id = space .                                               
      134
               EXIT. "Enstation !                                                               
      135
             ELSE .                                                                               
    136

  • How do I force Mail to use contact names in Address Book?

    I ~need~ Apple Mail to display sender names as I have them in Address Book. My students are Thai and have typed their sender names in Thai, so I can't recognise a thing. I've sorted all the names out in Address Book (in English) but Mail still displays sender names using the email default, rather than the names from Address Book.
    • Upon receiving new mail however, the message's sender name ~WILL~ show up as the name put in Address Book. HOWEVER, after viewing the message the name reverts back to the one specified by the email author!! After that I can't get the name to show up as the Address Book name!
    Is there a toggle somewhere? How do I force Mail to use the contact names from Address Book?

    Try unchecking this:

  • Is there a way on maxdb to force netbackup to use different initSID.utl fil

    (This thread refers to a question that was posted to a blog and where the proper location to handle it is this forum)
    Is there a way on maxdb to force netbackup to use different initSID.utl files ? I have try to do it with different bsi.env file . But if i start the backup it keep on asking for the default bsi.env file in /sapdb/data/wrk/SID directory . I have set the variable BSI.ENV to the new file but it looks like it ignore it. Its on a sun solaris operating system
    Due to security reasons the DBM server process does no longer inherit environment variables from its caller, e.g. dbmcli.
    see PTS 1155045, as especially in the area of external backup tools inheriting environment settings seem to be rather common.
    Idea is to add BSI_ENV to the dbm.cfg file with a command like:
      dbmcli -d ... -u ... dbm_configset BSI_ENV
    For further information please refer to this documentation section
    or for Backint also here 
    Best regards
    Jörg

    Hi Jörg,
    hmmm. I'd guess there are some problem with for which user the environment variables have been defined...
    Anyhow, usually it's easier not to use the environment variables but to provide the dbm-server it's own runtime variables via dbm_configset.
    Check the old thread archive_stage and archive_stage_repeat to different NSR_POOLs for an example application of this.
    regards,
    Lars

  • Use of Selection Rule in Report Writer.

    Hello Everybody,
    I am trying to make use of selection rule in report writer.   We have a mixed chart of accounts using both IFRS and USGAAP account.  Distinction between USGAAP and IFRS is based on certain value in gl account master data.  Using report writer rule I wish to exclude IFRS account for a specfic report.
    For example
    REPORT = X = Rule to restrict selection to only USGAAP account
    REPORT = Y = Rule to restrict selection to only IFRS account.
    I have created a rule and tried to build user-exit around it.  However during the callup of the selection rule no values are transferred to user-exit and therefore the ABAP consultant is not able to write any specific code.
    Request your inputs on usage of selection rules in report writer.
    Regards
    Jayesh.

    Hi Jayesh,
    Please have a look at the below attachment.
    [http://help.sap.com/saphelp_470/helpdata/en/5b/d22e3843c611d182b30000e829fbfe/content.htm]
    Warm regards,
    Murukan Arunachalam

Maybe you are looking for