Identifying the completed quesies from Dynamic Views

Hi Gurus
How to identify the queries which has completed its execution through Dynamic tables. I am able 2 find the sql's which are fired against the database by querying the v$sql but i am unable to find which are all the sql's completed the execution.Kindly suggest me how to identify the Executed sql's in the database through V$ Views.
Thanks a lot in advance.

You mean queries which are running at the time on the database?
http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:497421739750
Queries running on current database.
SQL queries
HTH
Girish

Similar Messages

  • How to get the complete data from Webdynpro using a RFC

    hi guys,
    A form is created in the webdynpro, when that pdf form is called the user have to provide the key field ie the employee number in the form and then when he press the 'go' button a rfc is called and it gives all the details of the employee in the form. Then the user have to input some fields in the form and he have press the submit button. My problem is here, when the user is going to press the submit button that form will be converted to a stream (binary) of data and it is sent to one of the import parameter used in the RFC.
    I have created a RFC and created a import parameter of data type XSTRING, since i want to see what exactly R3 is receiving from web dynpro i am writing this contant in the sever as a text file. When i saw that text file i cant see the complete data.
    And when i searched in R3 the capacity of xstring is 1024 CHAR, so i dont know how to capture the entire data from webdynpro into my R3.
    I give the code what i worte please tell me am i missing anything in my code, or is there any data type which can hold more than 500kb of data which is coming from webdynpro.
    FUNCTION ZSEND_MAIL_ATTACHMENT.
    ""Local Interface:
    *"  IMPORTING
    *"     VALUE(OUT_PLACE_LEVEL) TYPE  XSTRING OPTIONAL
    *"     VALUE(BIN_DATA) TYPE  INDX_CLUST OPTIONAL
    *"  TABLES
    *"      IT_MESSAGE STRUCTURE  SOLISTI1
    Data Declaration
      DATA: gd_cnt TYPE i,
          gd_sent_all(1) TYPE c,
          gd_error TYPE sy-subrc,
          tab_lines LIKE sy-tabix.
    Structure Declaration
      DATA : BEGIN OF it_file OCCURS 0,
              row(255),
             END OF it_file.
      DATA : BEGIN OF i_split OCCURS 0,
      row(50),
      END OF i_split.
    Internal Table Declaration
      data : it_receivers like table of SOMLRECI1 with header line."occurs 0.
      DATA : objbin LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE. "sOLIX
      DATA : it_packing_list LIKE sopcklsti1 OCCURS 0 WITH HEADER LINE.
      data : wa_receiver like table of SOMLRECI1 with header line.
      data : it_receiver like table of SOMLRECI1 with header line.
      data : v_bin_data like SOLISTI1 occurs 0 with header line.
      DATA : gd_doc_data LIKE sodocchgi1 OCCURS 0 WITH HEADER LINE.
    *data bin_data1 like table of solix with header line.
      REFRESH : objbin, it_packing_list, it_receivers, wa_receiver.
      CLEAR   : objbin, it_packing_list, wa_receiver, it_receivers.
      DATA V_SUBJECT(255) VALUE 'HI'.
      gd_doc_data-doc_size = ( tab_lines - 1 ) * 255 + STRLEN( it_message ).
      gd_doc_data-obj_langu = sy-langu.
      gd_doc_data-obj_name = 'SENDFILE'.
      gd_doc_data-obj_descr = v_subject.
      gd_doc_data-sensitivty = 'O'.
      APPEND GD_DOC_DATA.
    Appending The Internal Table it_packing_list
      it_packing_list-head_start = 1.
      it_packing_list-head_num = 0.
      it_packing_list-body_start = 1.
      it_packing_list-doc_type = 'RAW'.
      it_packing_list-body_num = tab_lines.
      APPEND it_packing_list.
    *CALL FUNCTION 'GUI_UPLOAD'
    *EXPORTING
    *filename = V_FILE_PATH
    *filetype = 'BIN'
    *TABLES
    *data_tab = BIN_DATA.
      move bin_data to v_bin_data.
      append v_bin_data.
    *move soli to bin_data.
      LOOP AT V_BIN_DATA into objbin.
    MOVE v_bin_data TO objbin-line.
        APPEND objbin.
      ENDLOOP.
      CLEAR it_packing_list.
      DESCRIBE TABLE objbin LINES tab_lines.
      it_packing_list-transf_bin = 'X'.
      it_packing_list-head_start = 1.
      it_packing_list-head_num = 1.
      it_packing_list-body_start = 1.
      it_packing_list-doc_type = 'PDF'.
      it_packing_list-body_num = tab_lines.
      it_packing_list-doc_size = tab_lines * 255.
      APPEND it_packing_list.
    data file(255) value '/tmp/bali.txt'.
    *Appending The Internal Table it_receivers
    close dataset '/tmp/bali.txt'.
    open dataset '/tmp/bali.txt' for output in text mode encoding default.
    if sy-subrc = 0.
    loop at objbin.
    transfer objbin to '/tmp/bali.txt'.
    endloop.
    else.
    write 'hi'.
    close dataset '/tmp/bali.txt'.
    endif.
      it_receiver-receiver = '[email protected]'.
      it_receiver-rec_type = 'U'.
      it_receiver-com_type = 'INT'.
    APPEND wa_receiver.
    move wa_receiver[] to it_receiver[].
      append it_receiver.
    *Move wa_receiver[] to it_receivers[].
    Clear it_receivers.
    if i_OUT_PLACE_LEVEL NE 0.
    loop at it_receivers into wa_receiver.
       loop at it_receivers into wa_receiver.
    **Function Module To Post The Message To Externa Mail
         CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
           EXPORTING
             document_data              = gd_doc_data
             put_in_outbox              = 'X'
             commit_work                = 'X'
           TABLES
             packing_list               = it_packing_list
             CONTENTS_TXT               = objbin
             receivers                  = it_receivers
           EXCEPTIONS
             too_many_receivers         = 1
             document_not_sent          = 2
             document_type_not_exist    = 3
             operation_no_authorization = 4
             parameter_error            = 5
             x_error                    = 6
             enqueue_error              = 7
             OTHERS                     = 8.
         clear wa_receiver.
    ENDFUNCTION.

    You have to convert your long string to a table of shorter strings.
    There may be other ways, but one possibility is to use a loop to process you string.
    while (there is something left)
       put the next e.g. 1024 characters in a new row of your table
    endwhile
    If you need to reconstruct your string from the table, don't use simple concatenation since it will remove blanks at the end of lines. Believe me (from experience) sooner or later this will happen.
    Instead you need to either set the subsections of your long string, or insert from the end of your table and keep shifting the contents (probably less efficient) right

  • Select a Project in the Library Inspector from Projects View -- now broken?

    The new interface is missing something I used to use all the time.  In Olde Aperture (3.3.1), double-clicking any selected Project(s) in Projects View showed the contents of that (those) Project(s) in the Browser and selected them in the Library tab of the Inspector.  This behavior has been changed (3.3.2): now the contents are shown in the Browser, but as a subset of the superset of Projects, which remains selected in the Library tab of the Inspector.
    This represents a bit of a dam in my workflow.  I manage a few Libraries with thousands of nested Projects.  I often need to select the Project in the Library tab of the Inspector.  Double-clicking a Project (or Projects) was a great way to select those Projects in the Library tab of the Inspector.  Is there a quick way to do this in 3.3.2?  The old way kept with Aperture's visual orientation.  Currently, I am having to memorize the names of Projects in order to find them.  This is, afaict, a step backwards.
    Is there any justification/benefit to having "Projects" remain selected after one double-clicks a Project or Projects in Projects View?
    Notes:
    - when two or more Projects are selected in Projects View and then double-clicked, one can right-click an Image and select "Show in Project" from the pop-up context menu.  When only one Project is selected originally, that menu choice is not shown.
    - you cannot open the Project Info pane after double-clicking a Project in Projects View.  You must either return to Projects View and click the "i" icon on the Project tile, or otherwise right-click the Project name in the Library tab of the Inspector and select "Show Project info" from the context menu pop-up.
    Thanks  .
    Added:
    Léonie and I discussed this once already, but other than acknowledging the problem, didn't progress.
    Message was edited by: Kirby Krieger

    Kirby, I see you have explored this annoying change more since your post last month, when AP 3.3 came out.
    Is there any justification/benefit to having "Projects" remain selected after one double-clicks a Project or Projects in Projects View?
    None that I can think of.
    Is there a quick way to do this in 3.3.2?  The old way kept with Aperture's visual orientation.
    Only the "Goto Project" button in the "Project Info" panel, but I would not call that quick.
    Notes:
    - when two or more Projects are selected in Projects View and then double-clicked, one can right-click an Image and select "Show in Project" from the pop-up context menu.  When only one Project is selected originally, that menu choice is not shown.
    But that is really a nice work-around - just take care to at least select two projects at the same time.
    I missed that feature, because I was annoyed that it does not work when selecting one project.
    - you cannot open the Project Info pane after double-clicking a Project in Projects View.  You must either return to Projects View and click the "i" icon on the Project tile, or otherwise right-click the Project name in the Library tab of the Inspector and select "Show Project info" from the context menu pop-up.
    But at least you can still double click the project and go to the project with the "Project Info" HUD open, and it will stay open. But it is cumbersome to have to remember to open the HUD before going to the project. Otherwise not even the name of the project will be displayed. I have added the name of the project to each metadata view, so I can see it in the Inspector HUD as well.
    I rarely use the projects view and rely heavily on the folder structure and the search field to quickly find my projects.
    Cheers
    Léonie

  • Passing parameter to the i18n text from xml view in fiori app

    Hi,
    Could somebody let me know how to pass parameter to get the i18n text inside xml view of a Fiori app.
    For e.g. inside my i18n properties file i have a entry like:
    PEC_ISSUE={0}issues of total{1}
    inside xml i use it like {i18n>PEC_ISSUE}
    but now how do i pass those 2 parameters to this ??
    i know in javascript it works with , (comma) but does not work in xml. Any help...
    Thanks,
    Ashish

    Hi Michele,
    I found it. Below is the example from my coding.
    <Text      text="{parts: [{path: 'i18n>PEC_to'}, {path: 'promoprocsteps>RetailPromotionSalesFromDate_E'},
                                                           {path:'promoprocsteps>RetailPromotionSalesToDate_E'}],
                                                           formatter: 'retail.promn.promotioncockpit.utils.Formatter.formatDatesString'}"  />
    So you have to create a formatter and pass all the strings to the formatter and then do it inside JS.
    In JS you do it in this way:
    i18n.getText(i18String, [newString, string2]);
    i hope this helps.
    Regards,
    Ashish

  • ECC5 How to read the stored value from Team Viewer

    Hi,
    How can I pick up the stored value from the team viewer from within ECC5?
    I would normally use FM 'HR_ASR_WDA_GET_EMPLOYEE'  to read mem id MSS01 but this doesn't exist in ECC5.
    All help appreciated.
    Rob

    Hi,
    How can I pick up the stored value from the team viewer from within ECC5?
    I would normally use FM 'HR_ASR_WDA_GET_EMPLOYEE'  to read mem id MSS01 but this doesn't exist in ECC5.
    All help appreciated.
    Rob

  • Identifying the column match from an in clause

    Greetings all,
    I have a dynamic query which populates a pseudo lookup table. It can (currently) populated anywhere from 1 to 8 columns, with an associated description.
    Joining to the results of this query I have a table containing a list of accounts. These accounts have two identifiers I can use to join the appropriate row in my dynamically fed lookup table. The first of these identifiers always appears in one column,
    but the second can match any of the other columns.
    the join looks like this:
    inner join lookup
    on PLID = PLID
    and CV in (level0,level1,level2,level3...)
    Not only would I like to clean up this join, but I also need to know which of the columns CV has matched too.
    My first through was a case statement, but that would require me to know how many columns the dynamic table has, and adjust the query to reflect that each time.
    case
    when cv = level1 then 1
    when cv = level2 then 2
    end
    So, my question is, does anyone have a nifty trick to solve either, or both of these problems?
    Many thanks in advance.

    Now that you understand the problem, perhaps we can get back to the original question of determining which values from an in operation was the match, where the values of the in are dynamic?
    No, I don't yet understand the problem fully.
    And there is nothing strange in this. Many of the problems we have to solve are complex, and it may be difficult to convey all information to a total stranger who have no information about business rules etc.
    Particularly I don't know why think you need a dynamic result set. What I do know from experience is that working with something like a dynamic result set is painful, and that T-SQL is not intended for it. Therefore I tend to avoid solutions which produces
    such beasts. And I really have to work with then, I do that client-side, and not in SQL.
    There simply are no nice solutions to what you asked you for in your initial post. Therefore my advice was to reconsider what you have this far. I'm sorry if you found that advice rude.
    What possibly may work in your case is that rather than having an unknown number of column, is to store all values in a string where each value takes up the same amount of space. (That is, you pad all ids or whatever you have.) Now you can use charindex
    to see if you get a match, and where the match is.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • ApplicationModule reference to writeXML from dynamic view object

    I need to create a class or a bean that my JSP pages will instantiate and based on the JSP request type, this class creates a ViewObject dynamically. After generating the view, I would like to use the ViewObject.writeXML function and pass an XSL file reference into it and send the generated XML to the requesting JSP file.
    1. I would NOT want to use the tags to create the application module.
    2. I use the oracle.jbo.html.jsp.JSPApplicationRegistry.registerApplicationFromPropertyFile to register the application module.
    3. At this point, I need to get a reference to my ApplicationModule to call the createViewObjectFromQueryStmt.
    How and where can I get a reference to the application module at this point.
    I would really appreciate your help, comments, and suggestions.
    Thank you

    I tried to get connection from AppModule transaction (using special trick - casting to DBTransaction and creating statement) and run JDBC query on it - the same results (bad on BC4J and good on JDBC - on the same connection!) - so the problem must be inside Business Components.... I haven't sources of BC4J Components, so I don't know how they execute query...
    String am = "mypackage.MypackageModule", cf = "MypackageModuleLocal";
    ApplicationModule am = Configuration.createRootApplicationModule(_am,_cf);
    String stmt = "select username as \"Username\" from uzivatel";
    ViewObject vo = am.createViewObjectFromQueryStmt("testvo",stmt);
    Row r = vo.first();
    val = (String)r.getAttribute("Username");
    String formattedVal =
    vo.findAttributeDef("Username").getUIHelper().getFormattedAttribute(r,null);
    System.out.println("("+val+"), length="+val.length());
    System.out.println("("+formattedVal+"), length="+formattedVal.length());
    Connection connection = null;
    Transaction transaction = am.getTransaction();
    try {
    Statement statement = ((DBTransaction)transaction).createStatement(0);
    connection = statement.getConnection();
    statement.close();
    catch (Exception e) {};
    Statement stKomPar = connection.createStatement();
    ResultSet rsKomPar = stKomPar.executeQuery("select username as Username from uzivatel");
    rsKomPar.next();
    val = rsKomPar.getString("Username");
    System.out.println("("+val+"), length="+val.length());
    Configuration.releaseRootApplicationModule(am,true);

  • Re: [SunONE-JATO] How to Access methods in the MainAppServletBase class from a view bean

    OK, fair enough.
    Look at the ServletConfig class.
    c
    Purvashada wrote:
    >
    We had that option. We decided against the
    property files as we can get this dynamically.
    There has been problems when this property
    was set incorrectly at the time of installation.
    Are there any api's to get the servername and
    port number other than through request object..
    --- "Craig V. Conover" <craig.conover@s...> wrote:
    So I guess my question is, why do you need a user
    request to get this
    information?
    You should be able to get this info when the
    application is started up,
    from a props file.
    Does this info change from day to day? If not, why
    not create a props
    file on the machine that the app is running that has
    this info?
    Then in the servlet's init method, read this prop
    file.
    Does that work for you? Not sure how a user request
    is needed to
    determine this? If it is, please explain.
    I have used this same technique for database
    properties (servername,
    instance name, uid, pwd, etc).
    On the QA machine was the properties that pointed to
    the QA database,
    and on the Production machine, the property file
    with the same name had
    props that pointed to the Production database.
    craig
    Purvashada wrote:
    It is a static data that is same for all theusers.
    It is application level data but generateddynamically
    to get the server name and the port number the appis
    running on..
    Thanks
    --- "Craig V. Conover" <craig.conover@s...>wrote:
    OK, so how does doing this only once help you.
    Wouldn't you need to do
    this for each individual end user?
    I'm not suggesting that this is request scoped,but
    maybe session scoped.
    If so, then do this in the module servlet's
    onNewSession event.
    If this is per user, then storing it staticallyis
    problematic because
    all users will be using the same data which Idon't
    think you want.
    Let me know if my assumptions are correct.
    craig
    Purvashada wrote:
    Basically, I need to pass the host url/request
    url
    to
    another server which then posts the results
    back to this server.
    I need to get the host url dynamically.
    This is what I am doing in my code to
    get the host url..
    URL =req.getScheme() + "://" +
    req.getServerName()
    +
    ":" + req.getServerPort();
    Thanks
    --- "Craig V. Conover" <craig.conover@s...>wrote:
    Correct, that is a per request event.
    Sounds like we need to figure out a newapproach.
    Please elaborate on your requirements for
    doing
    whatever it is you require.
    Maybe we can suggest an alternative, orperhaps
    reveal that it may not
    be necessary after all.
    craig
    Purvashada wrote:
    I had added this code in the
    initializeRequestContext(..)
    Hoping it would be called once.
    It looks like it is called for every
    request.
    HttpServletRequest req =requestContext.getRequest();
    setActionURL(req);
    If I add the code in the init() method
    how can I get the HttpServletRequest
    getRequest()
    Thanks
    --- "Craig V. Conover"
    <craig.conover@s...>
    wrote:
    cool.
    Be careful about how you update this URL
    when
    you
    use setURL method.
    The servlets in JATO are the only shared
    (Application scope rather than
    Request scope like ViewBeans and
    Models),
    and
    that
    you could potentially
    have sync/multithread issues. You said
    you
    were
    only
    updating once at
    the start of the App, so you should be
    fine.
    I
    assume you are doing this
    from an init method or init event in theservlet
    class? If so, no worries.
    Also, just to be sure everyone follows,
    I am
    not
    suggesting that you
    write syncronize code in the servlets asthis
    will
    be a potential bottle
    neck in your app's scalibility. This is
    not
    a
    JATO
    shortcoming as there
    are alternatives to do this sort of
    coding.
    craig
    Purvashada wrote:
    I made the method static and is
    accessible..
    --- "Craig V. Conover"<craig.conover@s...>
    wrote:
    I would assume it is a static
    method, so
    just
    do:
    MainAppServletBase.getURL()
    right?
    If not static, it probably should
    be. If
    you
    feel it
    should not be
    static, let us know why/what your
    requirements
    are.
    >
    === message truncated ===
    To download the latest version of S1AF (JATO), please visit one of the
    following locations:
    Framework + IDE plugin for Sun ONE Studio 4 Update 1, Community Edition:
    http://wwws.sun.com/software/download/products/Appl_Frmwk_2.0_CE.html
    Framework + IDE pluign for Sun ONE Studio 4 Update 1, Enterprise Edition:
    http://wwws.sun.com/software/download/products/Appl_Frmwk_2.0_EE.html
    Previous versions of JATO:
    http://www.sun.com/software/download/developer/5102.html

    OK, fair enough.
    Look at the ServletConfig class.
    c
    Purvashada wrote:
    >
    We had that option. We decided against the
    property files as we can get this dynamically.
    There has been problems when this property
    was set incorrectly at the time of installation.
    Are there any api's to get the servername and
    port number other than through request object..
    --- "Craig V. Conover" <craig.conover@s...> wrote:
    So I guess my question is, why do you need a user
    request to get this
    information?
    You should be able to get this info when the
    application is started up,
    from a props file.
    Does this info change from day to day? If not, why
    not create a props
    file on the machine that the app is running that has
    this info?
    Then in the servlet's init method, read this prop
    file.
    Does that work for you? Not sure how a user request
    is needed to
    determine this? If it is, please explain.
    I have used this same technique for database
    properties (servername,
    instance name, uid, pwd, etc).
    On the QA machine was the properties that pointed to
    the QA database,
    and on the Production machine, the property file
    with the same name had
    props that pointed to the Production database.
    craig
    Purvashada wrote:
    It is a static data that is same for all theusers.
    It is application level data but generateddynamically
    to get the server name and the port number the appis
    running on..
    Thanks
    --- "Craig V. Conover" <craig.conover@s...>wrote:
    OK, so how does doing this only once help you.
    Wouldn't you need to do
    this for each individual end user?
    I'm not suggesting that this is request scoped,but
    maybe session scoped.
    If so, then do this in the module servlet's
    onNewSession event.
    If this is per user, then storing it staticallyis
    problematic because
    all users will be using the same data which Idon't
    think you want.
    Let me know if my assumptions are correct.
    craig
    Purvashada wrote:
    Basically, I need to pass the host url/request
    url
    to
    another server which then posts the results
    back to this server.
    I need to get the host url dynamically.
    This is what I am doing in my code to
    get the host url..
    URL =req.getScheme() + "://" +
    req.getServerName()
    +
    ":" + req.getServerPort();
    Thanks
    --- "Craig V. Conover" <craig.conover@s...>wrote:
    Correct, that is a per request event.
    Sounds like we need to figure out a newapproach.
    Please elaborate on your requirements for
    doing
    whatever it is you require.
    Maybe we can suggest an alternative, orperhaps
    reveal that it may not
    be necessary after all.
    craig
    Purvashada wrote:
    I had added this code in the
    initializeRequestContext(..)
    Hoping it would be called once.
    It looks like it is called for every
    request.
    HttpServletRequest req =requestContext.getRequest();
    setActionURL(req);
    If I add the code in the init() method
    how can I get the HttpServletRequest
    getRequest()
    Thanks
    --- "Craig V. Conover"
    <craig.conover@s...>
    wrote:
    cool.
    Be careful about how you update this URL
    when
    you
    use setURL method.
    The servlets in JATO are the only shared
    (Application scope rather than
    Request scope like ViewBeans and
    Models),
    and
    that
    you could potentially
    have sync/multithread issues. You said
    you
    were
    only
    updating once at
    the start of the App, so you should be
    fine.
    I
    assume you are doing this
    from an init method or init event in theservlet
    class? If so, no worries.
    Also, just to be sure everyone follows,
    I am
    not
    suggesting that you
    write syncronize code in the servlets asthis
    will
    be a potential bottle
    neck in your app's scalibility. This is
    not
    a
    JATO
    shortcoming as there
    are alternatives to do this sort of
    coding.
    craig
    Purvashada wrote:
    I made the method static and is
    accessible..
    --- "Craig V. Conover"<craig.conover@s...>
    wrote:
    I would assume it is a static
    method, so
    just
    do:
    MainAppServletBase.getURL()
    right?
    If not static, it probably should
    be. If
    you
    feel it
    should not be
    static, let us know why/what your
    requirements
    are.
    >
    === message truncated ===
    To download the latest version of S1AF (JATO), please visit one of the
    following locations:
    Framework + IDE plugin for Sun ONE Studio 4 Update 1, Community Edition:
    http://wwws.sun.com/software/download/products/Appl_Frmwk_2.0_CE.html
    Framework + IDE pluign for Sun ONE Studio 4 Update 1, Enterprise Edition:
    http://wwws.sun.com/software/download/products/Appl_Frmwk_2.0_EE.html
    Previous versions of JATO:
    http://www.sun.com/software/download/developer/5102.html

  • Why do my rules fail in the data flow from connector view to Meta view?

    I have Meta directory 5.0 alongwith the iplanet Directory Server 5.0 installed which is working fine.
    I have created an instance of NT Domain Connector which retrieves entries in a Connector view.
    Where do I get the examples about writing the data flow rules for the NT Domain Connector for flowing specific entries from CV to MV. Basically I do not want the NT Groups in the MV. Also I want to create an additional attribute e.g myflag whose value should be updated manually in the CV. And now if myflag = 0 I dont want this entry to be moved to MV and if myflag = 1 the entry should be moved to MV.
    I tried to write a few rule but it fails in testing only (Rule Tester). And I am not able to locate the exact error in my rule. Does it require any specific configuration ?
    Thanks
    Amol Talap

    You should post your rule.
    But either way, have you tried this:
    (objectclass==ntuser) or
    (objectclass!=groupofuniquenames)
    The first set allows only entries that are user.
    The second allows only entries that are not groups.
    As for the flags, try this:
    (myflag==1) or
    (myflag!=1)
    Same effect as above.
    Further more if rule testing fails, it could that you are not referencing the right Directory when using the rule tester. The rule tester does not always point to the right location.
    J.F.

  • How can I display the descriptor column from a view in my BR message

    I have a table, Memberships, that contains a column for staff id. The staff data is on a remote database and I have created a view to access the required data. I have set the descriptor sequence for the name column of the staff view but the BR still displays the id.
    I'm assuming that because staff is a view and has no capi of its own, the membership capi cannot call the staff capi function display_label.
    I still would like to display the name of the staff member instaid of the ID. Can anyone suggest a workaround to force the display but without having to customize the membership capi after it has been created by headstart?

    Hi,
    try altering the code to create the capi.
    I modified this code allready quite a lot to achieve my goals.
    I also had that problem, and solved it by altering the code that generates the display_label. For each display_label funtion, I add a call to a package- function 'APPPA_LABEL.display_label' with parameters the tablename and the pk of the record. In the packagefunction, you can write your own definition of the display-label.
    The Productivity Boosters look a bit difficult in the beginning, but when you get to know them, you can achieve some good results.
    Greetings,
    Kristof

  • How do I clear the completed updates from the list?

    Since this new update my update list doesn't clear when the updates are done.  How can I clear it?

    Hi Duhhuh,
    Updates remain in the Update folder (not sure how long, but for awhile). This is because with iOS 7, users can opt to have their updated downloaded automatically, so they remain in the folder so you can see what has recently been updated.
    You will notice that they are grouped by the data that they downloaded on.
    This is just an informational list. It does not take up any memory.
    Cheers,
    GB

  • HOW TO GET THE SELECTED VALUE IN A ROW FROM ONE VIEW TO ANOTHER VIEW?

    hi all,
    I  have a small issue.
    i have created two views.In the table of the first view i'm selecting a row and pressing the button it will move to next view.
    i am adding some fields manually in the table of the second view and pressing the save button.Here all the values should get updated corresponding to the field which i have selected in the first view.
    I want to know how to get the particular field in the selected row from one view to another view.
    Kindly help me.

    Hi,
            Any data sharing accross views can be achiveved by defining CONTEXT data in COMPONENT CONTROLLER and mapping it to the CONTEXT of all the views. Follow the below steps.
    1. Define a CONTEXT NODE in component controller
    2. Define same CONTEXT NODE in all the views where this has to be accessed & changed.
    3. Go to CONTEXT NODE of each view, right click on the node and choose DEFINE MAPPING.
    This is how you map CONTEXT NODE and same can be accessed/changed from any VIEW or even from COMPONENT CONTROLLER. Any change happens at one VIEW will be automatically available in others.
    Check the below link for more info regarding same.
    [http://help.sap.com/saphelp_nw04s/helpdata/EN/48/444941db42f423e10000000a155106/content.htm]
    Regards,
    Manne.

  • Firing the Suspend Plug of Interface View Controller of1 DC from another DC

    Hi Experts,
    Can you please let me know if it is possible to fire a suspend plug from a Component Controller?
    I've been tried it before from View controller on some event and was able to fire the plug successfully but when I am trying to fire the same from the init method of the Component Controller or init method of the view controller, it gives me the below error:
    com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Instance of interface view controller XXXXCompInterfaceView does not exist.
    I believe that it is not possible to fire the suspend plug from the Init method  of either Component Controller or View Controller.
    So, is it possible to fire the suspend plug in one custom method of a component controller if the custom method is called from some another component?
    Please let me know.
    Thanks & Regards,
    Anurag

    Hi Prashant,
    When I am trying to fire the Suspend plug from my view on click of a button, I am getting the following error:
    com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Cannot suspend embedded component via outbound plug <Plug Name> of view <Interface View Name>
        at com.sap.tc.webdynpro.progmodel.view.ViewManager.fireSuspendPlug(ViewManager.java:209)
        at com.sap.tc.webdynpro.progmodel.view.View.navigate(View.java:533)
        at com.sap.tc.webdynpro.progmodel.view.View.navigate(View.java:462) 
    Earlier, when I used to fire the plug from my DC; it used to work fine but now my DC is being used as a used DC in another component and since then I am facing this issue.
    Currently, my DC is being used as used DC. I am not sure if I use any used DC, it would work or not.
    Please respond if anybody has any suggestions.
    Regards,
    Anurag

  • Paging issues using a dynamic view object...

    I am working on an application that uses JAG to generate JSP pages, i had the requirement to use dynamic view objects where the view object query is generated at runtime. The rest of the application is more or less the same... I used the defult functionality provided by TableScrollButtons.jsp file for paging. Now the problem im facing is that while the '>' and '<' buttons are working fine, i cant seem to navigate to the pages using the drop down...
    With the default handler, whenever i select the range the range displayed remains the same ie 1-10, 10 being the rangesize, but the rows are refreshed with values from the next page. Also, if the next page is the last and is incomplete, then the rows are pushed in from the bottom, so that the last page is always full...I tried the tuning panel in the view object edit dialogue and all settings are fine (i think)...could anyone please tell me what i am doing wrong??

    could it be because i am using a dynamic view object with dynamic bindings? i am using the preparemodel() method in the action as follows...
    protected void prepareModel(DataActionContext ctx) throws Exception {
    inferRangeBindingIfUnset(ctx);
    ctx.getBindingContainer().setEnableTokenValidation(false);
    String sql = ctx.getHttpServletRequest().getParameter("sql");
    String cost=ctx.getHttpServletRequest().getParameter("CostCostCent");
    String event=ctx.getHttpServletRequest().getParameter("event");
    if (sql != null && event == null) {
    setupDynamicQueryAndDynamicBindings(ctx,sql.substring(1),cost);
    if (retrieveOnlyCurrentPageFromDatabase()) {
    ViewObject vo = getIterForPaging(ctx).getViewObject();
    if (vo.getAccessMode() != ViewObject.RANGE_PAGING) {
    vo.setAccessMode(ViewObject.RANGE_PAGING);
    // if(event==null)
    super.prepareModel(ctx);
    ctx.getBindingContainer().setEnableTokenValidation(true);
    if (ctx.getEvents() == null || ctx.getEvents().size() ==0) {
    setPage(ctx,1);
    setLastPage(ctx,getIterForPaging(ctx).getRowSetIterator().getEstimatedRangePageCount());
    else if(event.equals("setRangeStart")) {
    setPageFromRequest(ctx);
    }

  • Event Receiver to get folder Names from List View Web Part

    Hi,
    We have a requirement i.e.
    On one of the page,there are some folders on the list view web part.
    Now through event receiver i should pick the folder names from list view web part and
    update the same in the list.
    If that names already exists in the list then we should leave without updating,if not we have to add folder name in the list.
    Please share your ideas regarding the same.
    Regards,
    Naga Sudheer M
    Thanks & Regards, Sudheer

    Hello,
    LVWP is just for displaying content of site so you need to associate your event receiver with actual list/library. You can create ItemAdded event receiver to check existing folder and create new if not existing. "sk2014" links are good to start.
    http://sharepoint.stackexchange.com/questions/59788/change-name-in-itemadding-event-receiver-or-create-a-new-item
    Let us know in case any doubt
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

Maybe you are looking for

  • Can't I use Field NE SPACE in READ statement ?

    What is wrong with the below statments  READ TABLE t_zdadp_rpt WITH TABLE KEY t_zdadp_rpt-zdesc NE SPACE.    READ TABLE t_zdadp WITH TABLE KEY zdesc NE SPACE. Could you pleae help

  • Bapi changing payment terms in purchase order

    hi to all abap gurus I want to change the Payment terms in Purchase order using bapi_po_change . can u pls give coding for this bapi with all required int tables declarations . points will berewarded for good ansers

  • Trying to run Ghost blog in https raise errors

    Hi, I'm running my ghost blog in azure, and recently I decided to run it over https. This is my config.js file and web.config. When I run the site in that way the site just show blank page. Those are the supposed right configurations. config.js // ##

  • PPro CC 2014 Crashes and More Problems

    Posted on Twitter and Adobe Help said to post our issues here.... Ever since we've updated to CC 2014 we have lots of issues on our systems: 1. Routine crashes. 2. System really lags, especailly after having PPro open for a few hours - btw, talking t

  • Subcontracting Message Error no. M7093

    Hello gurus, I need your help very urgently. I have created a good receipt for subcontracting purchase order. The item category of the purchase order is: L And the account assignment is: Blank. I can created the good receipt through MIGO very well. T