Referring to other object in call stack

Hi,
i have to refer to another object (other class as well) from with in my method. I can see those in the call stack but unable to access it. here is the scenario.
Call stack
method3 (object mref1) <-current
method2 (object pob1)
method1 (object kos1)
from with in my current execution point how would  i  point to object kos1.
I'm able to do this in other scenario where the code is not in oops.
any insights would be helpful.
Thanks.

Hi,
i have to refer to another object (other class as well) from with in my method. I can see those in the call stack but unable to access it. here is the scenario.
Call stack
method3 (object mref1) <-current
method2 (object pob1)
method1 (object kos1)
from with in my current execution point how would  i  point to object kos1.
I'm able to do this in other scenario where the code is not in oops.
any insights would be helpful.
Thanks.

Similar Messages

  • Accessing objects in the Call Stack

    Hi all,
    is there any way to access in your ABAP program, objects in the previous levels of the call stack (the way we can display them in the debugger using the (program)object syntax).
    Thanks,
    Z

    I got the solution.
    I tried out the (program)object syntax with different kinds of statements.
    The one with field-symbols works:
      ASSIGN ('(ZTESTPROGRAM)LS_OBJ') TO <fs>.
    Where ZTESTPROGRAM contains the object LS_OBJ

  • Call stack depth

    Hello,
    i would like to know if there is any possibility in PL/SQL to get the current stack depth inoformation. I am not sure if this is the right description, i would like to know how deep into calling subprograms has a program execution come at the moment.
    I would like to use this information for automatical indentation of log file, produced by a pl/sql procedure call.

    948452 wrote:
    Can you please provide me with some sample code?Unable to read the documentation for some reason?
    SQL> ed
    Wrote file afiedt.buf
      1  create or replace procedure callme(x in number, y in number) is
      2    v_call_stack varchar2(32767);
      3  begin
      4    v_call_stack := dbms_utility.format_call_stack();
      5    dbms_output.put_line(v_call_stack);
      6    if x < y then
      7      callme(x+1,y);
      8    end if;
      9* end;
    SQL> /
    Procedure created.
    SQL> exec callme(1,5);
    ----- PL/SQL Call Stack -----
      object      line  object
      handle    number  name
    3F6E5040         4  procedure SCOTT.CALLME
    482416A0         1  anonymous block
    ----- PL/SQL Call Stack -----
      object      line  object
      handle    number  name
    3F6E5040         4  procedure SCOTT.CALLME
    3F6E5040         7  procedure SCOTT.CALLME
    482416A0         1  anonymous block
    ----- PL/SQL Call Stack -----
      object      line  object
      handle    number  name
    3F6E5040         4  procedure SCOTT.CALLME
    3F6E5040         7  procedure SCOTT.CALLME
    3F6E5040         7  procedure SCOTT.CALLME
    482416A0         1  anonymous block
    ----- PL/SQL Call Stack -----
      object      line  object
      handle    number  name
    3F6E5040         4  procedure SCOTT.CALLME
    3F6E5040         7  procedure SCOTT.CALLME
    3F6E5040         7  procedure SCOTT.CALLME
    3F6E5040         7  procedure
    SCOTT.CALLME
    482416A0         1  anonymous block
    ----- PL/SQL Call Stack -----
      object      line  object
      handle    number  name
    3F6E5040         4  procedure SCOTT.CALLME
    3F6E5040         7  procedure SCOTT.CALLME
    3F6E5040         7  procedure SCOTT.CALLME
    3F6E5040         7  procedure SCOTT.CALLME
    3F6E5040         7  procedure SCOTT.CALLME
    482416A0         1  anonymous block
    PL/SQL procedure successfully completed.

  • How do I get a variable, or object from ABAP STACK.

    Hey Gurus,
    How do I get a variable, or object from ABAP STACK.
    Example: I start my FM. I can see in the ABAP STACK the variable I need. I can see the object; I could use to get my variable. I need to use it in my FM; however I need to reference it in the run time. How do I do that?
    Is there a method I can use for reading ABAP STACK?
    Do I just use command: get reference of u2026?
    Does anyone have an example code?
    Basis version 7
    Thanks in advance
    Martin

    Ah, you mean you want to access a variable from another program in the call stack, yes?  You can do this using field symbols, but please don't try to change a value while doing this, it could really screw things up. 
    this example, is using two programs, where the second is accessing variables of the first program.  Basically just notice that we are using the program name and the variable name when assigning the field symbol.
    report zrich_0006 .
    tables: mara.
    parameters: p_matnr type mara-matnr..
    data: matnr type mara-matnr.
    data: imarc type table of marc with header line.
    matnr = p_matnr.
    select * from marc into table imarc up to 10 rows
                   where matnr = p_matnr.
    perform in in program zrich_0007.
    report zrich_0007 .
    *       FORM in                                                       *
    form in.
      data: field(50).
      data: xmarc type marc.
      field-symbols: <matnr>.
      field-symbols: <imarc> type marc_upl_tt.
    * Assign an individual variable
      field = '(ZRICH_0006)matnr'.
      assign (field) to <matnr>.
    * Assign an internal table
      field = '(ZRICH_0006)IMARC[]'.
      assign (field) to <imarc>.
    * Write out your data
      write <matnr>.
      loop at <imarc> into xmarc.
        write: / xmarc-werks.
      endloop.
    endform.
    Regards,
    Rich Heilman

  • OSB Cloud crashes with call stack : kbhsxmDestroyNode - kbhscaDoCleaning

    RMAN Backup using OSB Cloud is failing with the following errors in the alert.log :
    ORA-07445: exception encountered: core dump [kbhsxmFreeNode()+26] [SIGSEGV] [ADDR:0x2700000009] [PC:0x2AFD2527545E] [Address not mapped to object] []
    ----- SQL Statement (None) -----
    Current SQL information unavailable - no cursor.
    ----- PL/SQL Stack -----
    ----- PL/SQL Call Stack -----
    object line object
    handle number name
    0x2049eb6a0 1372 package body SYS.DBMS_BACKUP_RESTORE
    Top call stack functions:
    kbhsxmFreeNode <- kbhsxmFreeNode <- kbhsxmFreeNode
    kbhsxmDestroyNode <- kbhscaDoCleaning <- sbtbackup
    SO: 0x2345f0320, type: 2, owner: (nil), flag: INIT/-/-/0x00 if: 0x3 c: 0x3
    proc=0x2345f0320, name=process, file=ksu.h LINE:12451, pg=0
    (process) Oracle pid:1002, ser:110, calls cur/top: 0x206b02538/0x206b02538
    flags : (0x0) -
    flags2: (0x800), flags3: (0x0)
    intr error: 0, call error: 0, sess error: 0, txn error 0
    intr queue: empty
    ksudlp FALSE at location: 0
    (post info) last post received: 0 0 27
    last post received-location: ksa2.h LINE:286 ID:ksasnr
    last process to post me: 235f6a748 1 6
    last post sent: 0 0 9
    last post sent-location: ksq.h LINE:1982 ID:ksqrcl
    last process posted by me: 2345ed1a0 174 0
    (latch info) wait_event=0 bits=0
    Process Group: DEFAULT, pseudo proc: 0x234a07088
    O/S info: user: oracle, term: UNKNOWN, ospid: 17906
    OSD pid info: Unix process pid: 17906, image: [email protected]
    Any suggestions on how to resolve this?

    FINALLY!  Thanks to all... it was that #$%$ inputmanagers !!  SAVE THIS FIX!!!
    All, after many hours trying EVERY proposed fix on many threads, I FINALLY found the solution.  It's pretty simple.  This fix is thanks to nickburlett on this thread (https://forums.adobe.com/thread/1636876).  Simply "Clearing the contents of "/Library/InputManagers" solves the problem of Creative Cloud Desktop not opening after installing OS X Yosemite.  

  • Obtaining full call stack

    Hello, any one know of a utility that will output full call stack information from beginning of a program to end. here's an example output.
    MyObj::main()
    0 AnotherObj::callMe()
    0 1 AnotherObj::anotherFunc()
    0 1 2 AnotherObj::yetAnotherFunc()
    0 1 2 EXIT AnotherObj::yetAnotherFunc()
    0 1 EXIT AnotherObj::anotherFunc()
    0 EXIT AnotherObj::callMe()
    EXIT MyObj::main()

    Use aspectJ extension for java. Its a very good concept for addressing cross-cutting concerns in java design. Logging is a concern accross classes. You can centralize logging by using what are called "aspects".
    Its very much possible to obtain the entire call stack using this in the way u wanted.
    You can start looking at http://www.aspectj.org
    After you have understood what aspect-oriented programming is you can use the following aspect. You have to download aspectJ for using this.
    import java.io.*;
    import org.aspectj.lang.Signature;
    import org.aspectj.lang.reflect.SourceLocation;
    import org.aspectj.lang.JoinPoint;
    import java.util.LinkedList;
    import java.lang.reflect.Field;
    import java.lang.*;
    aspect func
    int nestlevel=0;
    Signature sig;
    SourceLocation sl;
    boolean in;
    StringBuffer strbf = new StringBuffer();
    LinkedList ll = new LinkedList();
    static PrintStream ps;
    static
         try
              ps = new PrintStream(new FileOutputStream(new File("Trace.txt")));
         catch(Exception ex)
              ex.printStackTrace();
              System.out.println("Could not create trace file.");
    pointcut functrack() : call(* *(..)) && !within(func) && !call(* java..*(..));
    before() : functrack()
    Object[] obj = thisJoinPoint.getArgs();
         doBeforeJob(thisJoinPoint, obj);
    after() returning(Object o) : functrack()
    doAfterJob(thisJoinPoint, o);
    String formatInputParameters(Object o[])
         StringBuffer temp = new StringBuffer();
    temp.append("(");
         if(o.length == 0)
         temp.append("");
         temp.append(")");
         return temp.toString();
    for(int i = 0; i < o.length; i++)
    if(i < (o.length-1))
    temp.append(o.toString() + ", ");
    else
    temp.append(o.toString());
    temp.append(")");
    return temp.toString();
    void doBeforeJob(JoinPoint tjp, Object [] obj)
    String s = new String(formatInputParameters(obj));
    ll.add(new Long(System.currentTimeMillis()));
    nestlevel++;
    captureValues(tjp);
    printValues(s);
    void captureValues(JoinPoint tjp)
    sig = tjp.getSignature();
    sl = tjp.getStaticPart().getSourceLocation();
    void printValues(String s)
    in = true;
    indent("[FI]Function Call: " + sig.getName() + s + "; Line " + sl.getLine() + " of File " + sl.getFileName() + ".");
    void indent(String s)
    strbf.setLength(0);
    for(int i=1; i<nestlevel; i++)
         strbf.append(" ");
    strbf.append(s);
         ps.println(strbf.toString());
    if(in == false && nestlevel == 1){
    ps.println();
    ps.println();
    ps.println();
    ps.println();
    void doAfterJob(JoinPoint tjp, Object o)
    captureValues(tjp);
    strbf.setLength(0);
    if(o != null){
    strbf.append("[FO]Return Value = " + o.toString() + " from function: " + sig.getName() + "; Line " + sl.getLine() + " of File " + sl.getFileName() + ".");
    else{
    strbf.append("[FO]Return Value = null" + " from function: " + sig.getName() + "; Line " + sl.getLine() + " of File " + sl.getFileName() + ".");
    Long st = new Long(ll.removeLast().toString());
    strbf.append("Execution Time: " + String.valueOf(System.currentTimeMillis()-st.longValue()) + " milli-sec");
    in = false;
    indent(strbf.toString());
    nestlevel--;

  • Call Stack Navigation

    Hi,
    I want to go navigate trough my call stack starting from the very top level like this: Runstate.Root.Runstate -> going down to where my execution is actually running ...
    How can I do this?
    Thanks,

    Hello,
    I develop an application operator of testsrand in c#, and I etulise the order dowry Net, I want to get  the current sequence execution in a listview in c#
    I do not arrive introduced the code
    RunStat.CallStack in my code
    here my code
    private void btnStart_Click(object sender, EventArgs e)
    affichageDeroulementTest.Clear();
    // Execution de Programmme
    myExecution = myEngine.NewExecution(mySqFile,
    "Test UUTs", mySqFile.GetModelSequenceFile(out sDummyString), false, 0, null, null, null);
    Please
    it is somebody can help me has recovers the sequence in the course of execution
    thank you;

  • Import only table but got PLSQL CALL STACK.

    Hi,
    I am using ORACLE DATABASE 11g and Linux Enterprise 5. I am executing a command to import only one table from other schema to our schema. This import is done on netwrok_link parameter. In this case the log shows me many errors but the table gets imported.
    What does these error means ? can anyone please suggest how to correct them...
    $impdp tables=IUT01.FLX_DD_FIN_STMT_LOGS network_link=DBLINK_IUT01 remap_schema=iut01:ngpiut01 remap_tablespace=iut01:ngpiut01 table_exists_action=replace
    Import: Release 11.2.0.3.0 - Production on Wed Mar 28 10:06:54 2012
    Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.
    Username: sys as sysdba
    Password:
    Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Starting "SYS"."SYS_IMPORT_TABLE_01":  sys/******** AS SYSDBA tables=IUT01.FLX_DD_FIN_STMT_LOGS network_link=DBLINK_IUT01 remap_schema=iut01:ngpiut01 remap_tablespace=iut01:ngpiut01 table_exists_action=replace
    Estimate in progress using BLOCKS method...
    Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
    Total estimation using BLOCKS method: 2 MB
    ORA-39126: Worker unexpected fatal error in KUPW$WORKER.CONFIGURE_METADATA_UNLOAD [WORK_PHASE]
    ORA-03113: end-of-file on communication channel
    ORA-02063: preceding line from DBLINK_IUT01
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
    ORA-06512: at "SYS.KUPW$WORKER", line 9001
    ----- PL/SQL Call Stack -----
      object      line  object
      handle    number  name
    0x8aabd0e0     20462  package body SYS.KUPW$WORKER
    0x8aabd0e0      9028  package body SYS.KUPW$WORKER
    0x8aabd0e0      6814  package body SYS.KUPW$WORKER
    0x8aabd0e0      2691  package body SYS.KUPW$WORKER
    0x8aabd0e0      9697  package body SYS.KUPW$WORKER
    0x8aabd0e0      1775  package body SYS.KUPW$WORKER
    0x9f3376a0         2  anonymous block
    Processing object type TABLE_EXPORT/TABLE/TABLE
    . . imported "NGPIUT01"."FLX_DD_FIN_STMT_LOGS"             2921 rows
    Processing object type TABLE_EXPORT/TABLE/INDEX/INDEX
    Processing object type TABLE_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
    Processing object type TABLE_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS
    Processing object type TABLE_EXPORT/TABLE/COMMENT
    Processing object type TABLE_EXPORT/TABLE/CONSTRAINT/REF_CONSTRAINT
    ORA-39083: Object type REF_CONSTRAINT failed to create with error:
    ORA-02298: cannot validate (NGPIUT01.FLX_DD_FIN_ACCOUNT_CODE_FK) - parent keys not found
    Failing sql is:
    ALTER TABLE "NGPIUT01"."FLX_DD_FIN_STMT_LOGS" ADD CONSTRAINT "FLX_DD_FIN_ACCOUNT_CODE_FK" FOREIGN KEY ("ACCOUNT_CODE") REFERENCES "NGPIUT01"."FLX_DD_ACCOUNTS_B" ("ACCOUNT_CODE") ENABLE
    Processing object type TABLE_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
    ORA-39126: Worker unexpected fatal error in KUPW$WORKER.DISPATCH_WORK_ITEMS [TABLE_STATISTICS]
    ORA-31600: invalid input value 100001 for parameter HANDLE in function CLOSE
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 105
    ORA-06512: at "SYS.DBMS_METADATA", line 709
    ORA-06512: at "SYS.DBMS_METADATA", line 5734
    ORA-06512: at "SYS.DBMS_METADATA", line 1475
    ORA-06512: at "SYS.DBMS_METADATA", line 7481
    ORA-06512: at "SYS.KUPW$WORKER", line 2792
    ORA-02067: transaction or savepoint rollback required
    ORA-06512: at "SYS.DBMS_METADATA", line 1475
    ORA-06512: at "SYS.DBMS_METADATA", line 7481
    ORA-06512: at "SYS.KUPW$WORKER", line 10928
    ORA-03113: end-of-file on communication channel
    ORA-02055: distributed update operation failed; rollback required
    ORA-02063: preceding lines from DBLINK_IUT01
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
    ORA-06512: at "SYS.KUPW$WORKER", line 9001
    ----- PL/SQL Call Stack -----
      object      line  object
      handle    number  name
    0x8aabd0e0     20462  package body SYS.KUPW$WORKER
    0x8aabd0e0      9028  package body SYS.KUPW$WORKER
    0x8aabd0e0      9831  package body SYS.KUPW$WORKER
    0x8aabd0e0      1775  package body SYS.KUPW$WORKER
    0x9f3376a0         2  anonymous block
    ORA-39126: Worker unexpected fatal error in KUPW$WORKER.CONFIGURE_METADATA_UNLOAD [POST_WORK_PHASE]
    ORA-03113: end-of-file on communication channel
    ORA-02063: preceding line from DBLINK_IUT01
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
    ORA-06512: at "SYS.KUPW$WORKER", line 9001
    ----- PL/SQL Call Stack -----
      object      line  object
      handle    number  name
    0x8aabd0e0     20462  package body SYS.KUPW$WORKER
    0x8aabd0e0      9028  package body SYS.KUPW$WORKER
    0x8aabd0e0      6814  package body SYS.KUPW$WORKER
    0x8aabd0e0      2691  package body SYS.KUPW$WORKER
    0x8aabd0e0      9697  package body SYS.KUPW$WORKER
    0x8aabd0e0      1775  package body SYS.KUPW$WORKER
    0x9f3376a0         2  anonymous block
    Job "SYS"."SYS_IMPORT_TABLE_01" completed with 10 error(s) at 10:07:27

    ORA-03113: end-of-file on communication channelThis error means that you have a communication error. The Data Pump code has automatic restart, so when this happens, the worker process KUPW$WORKER fails with a fatal error, but the MCP process restarts the worker and restarts the job where it left off.
    Is the import command getting terminated in middle of transaction and putting the call stack on the screen. Previously i dint >used to get these errors in import. What could be the reason ?Part of the Data Pump job is terminated, but the complete job is not terminated. There is an MCP process that runs and controls the job, there are also worker process(es) that run that are assigned work items to perform. In your case the work item fails because it can't communicate with some other process. This causes the worker process to die. The MCP detects this and starts another worker process and assigns the same work item that failed. When the worker process fails, it dumps its stack.
    All this means is that the communication works, but looks like it is flaky. The worker process can communicate sometimes, but fails others. I have no idea which layer is flaky.
    Dean

  • To find out the object which called a method

    Hi all,
    Is there any way to findout the object which called a class method.
    The object name is required inside the method.
    Thanks in advance,
    Sreekanth

    Hi Sreekanth,
    You can do it by reading the CALL STACK.
    At the beginning of your method put the following code:
    data:
        begin of stackItem,
          program        type SYREPID,
          include        type SYREPID,
          line           type i,
          eventtype(12)  type c,
          event(70)      type c,
          flag_system(1) type c,
        end of stackItem,
        stack like standard table of StackItem.
      call 'ABAP_CALLSTACK' id 'DEPTH' field 2 id 'CALLSTACK' field stack.
      read table stack into stackitem index 2.
      MEssage i002(sy) with stackitem-program.
    Here stackitem-program is the calling program.
    Cheers,
    Aditya

  • What do they mean ...exception  passed up call stack

    For the project I am working on, we throw a created exception. This exception is "passed up the call stack if thrown by the object". I understand how to throw exceptions and try/catch, and rethrow. What are they talking about...passing it up the call stack?? I can't find any reference to this anywhere. Am I supposed to just ignore the exception and hope it gets caught in another class or method?

    look at:
    public class A {
    public static void main(String args[]) {
      try {
        new A().foo();
      } catch (Exception e) { }
    public void foo() throws Exception {
      bar(1);
    public void bar(int i) throws Exception {
      if (i>=0) bar(i-1) else gar();
    public void gar() throws Exception {
      goo();
    public void goo() throws Exception {
      throw new Exception("ouch!");
    }  // end of class AWhen the program is run, main creates an A, and calls foo()
    foo() then calls bar()
    bar() then calls bar() again
    bar() then calls gar()
    gar() then calls goo()
    This is called the "call stack". It is (something like) the stack of method calls that are performed. The terminology comes from the fact that when a method calls another, the information about the calling method is actually pushed onto a Stack data structure. When the called method returns, the information is popped back off, so the calling method continues to run from where it left off.
    Now goo() throws an Exception to gar()
    gar() then throws it up to bar()
    bar() then throws it up to bar() again
    gar() then throws it up to bar()
    bar() then throws it up to foo()
    foo() then throws it up to main()
    That's what it means that the Exception is passed up the call stack.

  • Unable to evaluate expression because the code is optimized or a native frame is on top of the call stack.

    Hi,
    I am trying to run a long running process, by redirecting to the LongRunningView using the code below. But its throwing exception Can anyone please help
    string strCurrentUrl = SPUtility.OriginalServerRelativeRequestPath;
    strCurrentUrl = strCurrentUrl + "?ListName=" + strListName;
    ////Initiates the Excel Import
    if (ObjdtExcel != null && ObjdtExcel.Rows.Count > 0)
    ExcelImportJob objJob = new ExcelImportJob(strTabName, ObjdtExcel, strFileExt, SPContext.Current.Site.ID, SPContext.Current.Web.ID, strWorkflow, strListName);
    objJob.Title = "Excel Import Job";
    //// Redirect the user to another page when finished.
    objJob.RedirectWhenFinished = false;
    //// Specify if the user can cancel this.
    objJob.UserCanCancel = false;
    //// Specify the refresh rate of the job, here, the page polls every 5 seconds for completion.
    objJob.MillisecondsToWaitForFinish = 15000;
    //// Finally, start the job on a web.
    objJob.Start(SPContext.Current.Web);
    string strUrl = string.Format("{0}?JobId={1}&Source={2}", PROGRESS_PAGE_URL, objJob.JobId, strCurrentUrl);
    SPUtility.Redirect(strUrl, SPRedirectFlags.Default, HttpContext.Current);
    The exception being "Unable to evaluate expression because the code is optimized or a native frame is on top of the call stack."
    Arjun Menon U.K

    Hi Arjun,
    Any update?
    Best regards,
    Patrick
    Patrick Liang
    TechNet Community Support

  • Get information for classes from call stack in abap (like java reflection)

    Hi,
    is there any possibilty to get following information:
    I want to program a logging tool. You can create a logging object and use some methods like
    xxxxx->add_msg(msg) to put logging information to the logging object.
    but i also want to find out, from which class/object/runtime environment this msg comes.
    example:
    class CL_ABC uses the logging tool and does following call:
    lo_logger = CL_logger->get_logger().
    lo_logger->add_msg( 'test the code' ).
    now the method ->add_msg() in logger object is called. inside this method, i want to have the information, from which class/object the ->add_msg() method is called. after the call, the logging object must have this information like:
    CALL_CLASS: CL_ABC
    CALL_LINE: 83
    MSG: test the code
    any ideas?

    You can use the SYSTEM_CALLSTACK function module.
    Read this thread, Uwe has given details on both getting the calling class and method: Re: How to determine current method / interface method that is running?
    Most probably this solves your needs.
    Regards

  • The ABAP call stack was: SYSTEM-EXIT of program BBPGLOBAL

    Hi
    We are using SRM 5.0. We are facing a strange problem. We are able to see the initial screen of SRM EBP in the browser. But once the user name and password are provided the system goes for a dump with the following error:
    The following error text was processed in the system SS0 : System error
    The error occurred on the application server <Server Name> and in the work process 0 .
    The termination type was: ABORT_MESSAGE_STATE
    The ABAP call stack was: SYSTEM-EXIT of program BBPGLOBAL
    <b>SM21 Log:</b>
    Short Text
         Transaction Canceled &9&9&5 ( &a &b &c &d &e &f &g &h &i )
         The transaction has been terminated.  This may be caused by a
         termination message from the application (MESSAGE Axxx) or by an error
         detected by the SAP System due to which it makes no sense to proceed
         with the transaction.  The actual reason for the termination is
         indicated by the T100 message and the parameters.
    Transaction Canceled ITS_P 001 ( )
    Message Id: ITS_P
    Message No: 001
    I just checked these threads but did not help much,
    RABAX_STATE  error after loggin into BBPSTART service in SRM 4.
    ITS_TEMPLATE_NOT_FOUND error
    Besides I tried this note: 790727 as well, still I get the same error.
    Any help would be highly appreciated.
    Thanks in advance
    Kathirvel Balakrishnan

    Hi
    <u>Please do the following steps.</u>
    <b>When you are using the Internal ITS,you need not run the report W3_PUBLISH_SERVICES.(only SIAC_PUBLISH_ALL_INT )
    ALso pls check the foll:
    -->activate the services through SICF tcode.
    > Go to SICF transaction and activate the whole tree under the node Default host>sap>bc>gui>sap>its.
    >Also maintain the settings in SE80>utilities>settings>internet transaction server-->test service/Publish. (BBPSTART , BBPGLOBAL etc)
    Table TWPURLSVR should have entries for the / SRM server line as well as gui and web server.
    Could you please review again the following steps ?
    Did you check that ICM was working correctly (Transaction -  SMICM) ?
    1-Activate the necessary ICF services
    With transaction SICF and locate the
    services by path
    /sap/public/bc/its/mimes
    /sap/bc/gui/sap/its/webgui
    2- Publish the IAC Services
    With Transaction SE80 locate from
    the menu Utilities -> Settings ->
    Internet Transaction Server (Tab) ->
    Publish (Tab) and set “On Selected
    Site” = INTERNAL.
    3- Locate the Internet Services SYSTEM and WEBGUI.
    Publish these services with the Context
    Menu -> Publish -> Complete Service
    4- Browse to http://<server>:<icmport>/sap/bc/gui/
    sap/its/webgui/! and login to the
    webgui.</b>
    Hope this will help.
    Please reward suitable points.
    Regards
    - Atul

  • Call stack

    What is the best way to see call stack in JSP/servlet application?
    How can I see in which order classes and methods are called when I for example clik the button on web page?
    "The call stack is a list of classes and methods that have been called or
    executed in java application. The most current method is at
    the top of the stack. The element second from the top issued a call to
    execute the top-most method, and so on and so forth."

    I use Struts and JSTL.
    I would like to see how it works.
    All call stack from beginning (http request) to the end (jsp output).
    So, where to put this System.out?
    At the end in my jsp?
    In front/dispatch servlet?
    Where?
    How many thread was created if I have tags in jsp?
    How to output all of them?
    Again, I have ONE jsp page with tags and I would like to see call stack i.e. which classes and methods was called when I call this jsp - http request?

  • Get the parameter values and entire call stack in procedure

    Does Oracle provides any utility procedure like format_error_stack, and format_call_stack, where I can get entire procedure/function call along with parameters passed to it so that I can just dump that into some table as part of logging.
    -S

    Thanks for the response. I guess who_am_i and who_called_me gives only the proc/function name. I am looking for a way to figure out what was the parameters and values passed to the procedure so I can simply dump them into my log tables.
    This would be similar to any java application where it can dump its own call stack, which has parameters and values passed to it and can dump into a log file.
    For ex:
    create or replace procedure my_proc( a number, b varchar2)
    is
    begin
    --this log stack should be able to print procedure name and parameters passed to it.
    -- I should be able to use log_stack without any parameters in any procedure/function
    log_stack();
    end;
    --My output should be something like this
    SQL> EXEC my_proc(1, 'ABC')
    CALL STACK:
    my_proc(a => 1, b => 'ABC')

Maybe you are looking for