Segment Name with extra information in WE02.

Hello SAPients!
I created an IDoc Extension for basic type WBBDLD04 and modified the corresponding BAdI. Everything works fine, the extra segment is correctly added and the information in the Segment is correct. The only problem I have is that in TCode WE02/WE05 the name of the segment appears with information of the first field.
Example: The segment is ZE1WBB1 but in the tree of the Tcode WE02 appears like <b>ZE1WBB1 1024.00</b> or sometimes like <b>ZE1WBB1 0.00</b>. That extra information corresponds to the first field of the custom segment that I created (<b>LABST</b> in this case)
If I look in the table EDID4 everything looks perfect. The segment name is what it should be and the SDATA field has the correct information.
What am I doing wrong?
Thanks!

I found the problem, in WE31 I just had to remove the "Qualified Segment" Checkbox and Voila!

Similar Messages

  • I keep getting a message "safari cannot open page [page name with header information] because you are not connected to the internet.

    I keep getting a message "safari cannot open page [page name with header information] because you are not connected to the internet.  Then I check CNN for a time stamp, and I am connected to the internet.  I have reset everything suggested in other posts, ensured any other device that could be hogging bandwidth is off, the router is reset, the iPad is reset.  The other devices are not having this problem, and it happens on both places I use the iPad, the university library, (getting a second degree after a change in a long time career and at home. Any insight into this issue would be appreciated.

    Saing yu tried everthing provides little information to us.  We do not know what you tied.
    Have you tried:
    - Resetting the iPod:
    Reset iPod touch:  Press and hold the On/Off Sleep/Wake button and the Home
    button at the same time for at least ten seconds, until the Apple logo appears.
    - Powering off and then back on your router- Resetting network setting: Settings>General>Reset>Reset Network Settings
    The toubleshooting here:
    iPhone and iPod touch: Troubleshooting Wi-Fi networks and connections
    - Does you iPod conenct to other networks?
    - Do other devices connect to your network?

  • System Error:Database access error,rollback segment number with name "" too small

    Hi Experts,
    In SXMB_MONI  XML messages for File2File scenario are failing
    with the below message:
    Database access error
    com.sap.aii.utilxi.misc.api.ResourceException: ORA-01555: snapshot too
    old: rollback segment number with name "" too small ORA-22924: snapshot
    too old at com.sap.aii.utilxi.blob.api.AIIBlob.getByteArray
    (AIIBlob.java:85) at
    com.sap.aii.utilxi.blob.api.AIIBlobImpl.getByteArray
    (BlobServices.java:156)
    I have refered this link http://scn.sap.com/thread/3147106
    Kindly suggest,
    Gagan.

    This may be due memory issue on the server. refer the note/thread as
    http://scn.sap.com/thread/3456694
    3807  - Error messages regarding rollback and undo segments
    Regards
    Ramg

  • I am trying to import my cd's onto itunes on a new macbook pro. i can import the cd fine but can not get track names or album art work. after going into advanced it is just coming up with "CDDB information not available"

    i can import the cd fine but can not get track names or album art work. after going into advanced it is just coming up with "CDDB information not available"
    thank you

    Use the trackpad to scroll, thats what it was designed for. The scroll bars automatically disappear when not being used and will appear if you scroll up or down using the trackpad.
    This is a user-to-user forum and most people will post on here if they have problems. You very rarely get people posting to say there update went smooth. The fact is the vast majority of Mountain Lion users will not be experiencing any major problems with the OS, or maybe with apps which are not compatible, but thats hardly Apple's fault if developers don't update their apps.

  • My iphone is stolen .. is there any way to know the numbe of the person going to use in the future .. I have the serial no. and every thing .. and it is registered under my name and my information with iTunes ??

    my iphone is stolen .. is there any way to know the numbe of the person going to use in the future .. I have the serial no. and every thing .. and it is registered under my name and my information with iTunes ??

    If you had find my iphone activated on the iphone itself before it was stolen, then you may be able to track it.
    Otherwise, there is nothing you can do.
    Sorry.
    Report it to the police and your wireless carrier and change your password.

  • External segment name E2LFA1M002 cannot be interpreted

    Dear All,
    I am sending IDoc from SAP R/3 to XI.In SAP R/3 (WE02) it shows IDoc with status 03 but when i check it in XI(WE02) it shows Status 56 and 60 with Error
    56-External segment name E2LFA1M002 cannot be interpreted
    60-Basic type CREMDM04 does not exist
    I am sending CREMDM04 IDoc type with CREMDM Message type.
    Thanks,
    RP

    Yes
    we have loaded Meta data in IDx2
    Port in IDx1
    it says IDoc with Error Added
    and gives above error
    -RP

  • Find the idoc segment link with Sap Table

    Dear Abaers,
    I am new to Idoc. i have one Idoc (Orders01) for creating sales order.
    I had seen the t-codes WE 30 and WE 60 to know the field description.
    The fielddescription shows names like name1 name2 ort01 etc.
    i want to know what are the db tables involved for that particular idoc segment.
    Thanks in Advance,
    Arati

    Hi Arati,
    to get the description name:
    WE30 transaction and check the segments name available.
    With the segment name, go to WE31 and check the fields used and column 'Data element'.
    Double-click in data element (or inform in se11), you have the description value of the field.
    About the tables involved:
    Click in 'Where use list' os this data element.

  • FM to Find segment name based on material class type

    Hi Experts,
    is there any function module availble to find out the segment name based on material class or material class type?
    Please use a more informative subject line in the future.
    Edited by: Rob Burbank on Feb 17, 2009 10:33 AM

    HI,
    Try with transcation Code WE41
    Thanks
    Kalyan

  • How to make a tree with more information in one line

    Hi
    I have seached this forum, and haven't find any information that I can use.
    I need a tree structure with following informations:
    arbpl
    _____aufnr________material_____ text
    _______extra informations
      |_____aufnr________material_____ text
      ....................................................... |_______extra informations
    My problem is that I can't get more than one information each line.
    Can anybody give me some input, and better good advice/examples hot to do.
    My code looks like this:
    *& Report  my report
    REPORT  myreport.
    type-pools : stree.
    data : wa_node type snodetext.
    data : node_table like wa_node occurs 0 with header line.
    TABLES: caufv, caufvd, IOOPER, marc, mara, resb, jest, tj02t.
    data: BEGIN OF gt_status_tab occurs 0,
          aufnr like caufv-aufnr,
          stat like jest-stat,
          txt04 like tj02t-txt04,
          end of gt_status_tab.
    data: g_objnr like jest-objnr.
    data: BEGIN OF gt_sele_tab OCCURS 0,
          werks like caufv-werks,
          fevor like marc-fevor,
          arbpl like IOOPER-arbpl,
          aufnr like caufv-aufnr,
          aufplA like caufv-aufpl,
          matnr like caufvd-matnr,
          gstrp like CAUFV-GSTRP,
          GLTRP LIKE CAUFV-GLTRP,
          rmatnr like resb-matnr,
          bdmng like resb-bdmng,
          GAMNG like caufv-GAMNG,
          aufpl like resb-aufpl,
          auart like caufv-auart,
          matkl like mara-matkl,
          istat like tj02t-istat,
         inact  like jest-inact,
    END OF gt_sele_tab.
    select-options:
    s_werks for CAUFV-werks,
    s_arbpl for iooper-arbpl,
    s_fevor for marc-fevor,
    s_aufnr for caufv-aufnr,
    s_sttxt for CAUFVD-STTXT,
    s_auart for caufv-auart,
    s_matnr for caufvd-matnr,
    s_matkl for mara-matkl,
    s_rmatnr for resb-matnr,
    s_gstrp for caufv-gstrp,
    s_gltrp for caufv-gltrp.
    start-of-SELECTION.
      SELECT  a~werks
              a~fevor
              a~aufnr
              a~PLNBEZ
              a~gstrp
              a~gltrp
              a~aufpl
              b~matnr
              b~bdmng
              a~gamng
              b~aufpl
              a~auart
              d~matkl
        into "CORRESPONDING FIELDS OF TABLE gt_sele_tab
        (gt_sele_tab-werks,
        gt_sele_tab-fevor,
        gt_sele_tab-aufnr,
         gt_sele_tab-matnr,
         gt_sele_tab-gstrp,
         gt_sele_tab-gltrp,
         gt_sele_tab-aufplA,
        gt_sele_tab-rmatnr,
        gt_sele_tab-bdmng,
        gt_sele_tab-GAMNG,
        gt_sele_tab-aufpl,
        gt_sele_tab-auart,
        gt_sele_tab-matkl)
         FROM  CAUFV as a
        join resb as b
        on b~rsnum = a~rsnum
        and b~rspos = b~rspos
        join afvc as C
        on c~aufpl = b~aufpl
        and c~aplzl = b~aplzl
        join mara as d
        on d~matnr = b~matnr
             WHERE  a~AUFNR  in s_aufnr
             AND    a~AUART  in s_auart
             AND    a~GLTRP  in s_gltrp
             AND    a~GSTRP  in s_gstrp
             AND    a~FEVOR  in s_fevor.
        append gt_sele_tab.
      ENDSELECT.
      loop at gt_sele_tab.
        clear g_objnr.
        concatenate 'OR' gt_sele_tab-aufnr into g_objnr.
    *append
        select *  from jest
          where objnr = g_objnr
          and   inact ne 'X'.
          gt_status_tab-aufnr = gt_sele_tab-aufnr.
          gt_status_tab-stat = jest-stat.
          append gt_status_tab.
        ENDSELECT.
        SELECT single arbpl into gt_sele_tab-arbpl
                 FROM  CRHD
               WHERE  OBJTY  = 'A'
               AND    OBJID  = gt_sele_tab-aufpl.
        gt_sele_tab-arbpl = '200'.
        MODIFY gt_sele_tab.
      endloop.
      perform fill_nodes.
      perform tree_display.
    **& Form FILL_NODES
    **text
    **--> p1 text
    **<-- p2 text
    form fill_nodes .
      DATA: L_ARBPL type arbpl.
      node_table-type = 'T'.
      node_table-name = 'Arbejdsplads'.
      node_table-tlevel = '01'.
      node_table-nlength = '15'.
    *  node_table-color = '4'.
      node_table-text = ''.
      node_table-tlength = '20'.
      node_table-tcolor = '3'.
      append node_table.
      clear node_table.
      loop at gt_sele_tab.
        at new arbpl.
          node_table-type = 'P'.
          node_table-name = gt_sele_tab-arbpl.
          node_table-tlevel = '02'.
          node_table-nlength = '20'.
    *      node_table-color = '4'.
          node_table-text = ''.
          node_table-tlength = '30'.
          node_table-tcolor = '3'.
          append node_table.
          clear node_table.
          L_ARBPL = gt_sele_tab-arbpl.
    *node_table-type = 'P'.
    *node_table-name = 'ITEM DATA'.
    *node_table-tlevel = '03'.
    *node_table-nlength = '20'.
    *node_table-color = '4'.
    *node_table-text = ''.
    *node_table-tlength = '30'.
    *node_table-tcolor = '3'.
    *append node_table.
    *clear node_table.
    break g-lmn.
          loop at gt_sele_tab where arbpl = l_arbpl.
            node_table-type = 'P'.
            node_table-name = gt_sele_tab-aufnr.
            node_table-tlevel = '04'.
            node_table-nlength = '20'.
    *        node_table-color = '4'.
    node_table-parent = '04'.
            node_table-text = ''.
            node_table-tlength = '30'.
            node_table-tcolor = '3'.
            node_table-TPOS2 = '2'.
            node_table-text2 = 'halløj'.
            node_table-TPOS3 = '3'.
            node_table-text3 = 'igen'.
            append node_table.
            clear node_table.
    *        break g-lmn.
            node_table-type = 'P'.
    *        node_table-name = 'Materiale'.
    *        node_table-tlevel = '04'.
    node_table-parent = '04'.
            node_table-nlength = '20'.
    *        node_table-color = '4'.
            node_table-text1 = gt_sele_tab-matnr.
            node_table-TPOS2 = '2'.
            node_table-text2 = 'halløj'.
            node_table-TPOS3 = '3'.
            node_table-text3 = 'igen'.
            node_table-tlength1 = '40'.
            node_table-tcolor1 = '3'.
            append node_table.
            clear node_table.
    *        node_table-type = 'P'.
    *        node_table-name = 'UNIT'.
    *        node_table-tlevel = '05'.
    *        node_table-nlength = '20'.
    **        node_table-color = '4'.
    *        node_table-text2 = 'test'.
    *        node_table-tlength2 = '30'.
    *        node_table-tcolor2 = '3'.
    *        append node_table.
    *        clear node_table.
    *node_table-type = 'P'.
    *node_table-name = 'QUANTITY'.
    *node_table-tlevel = '05'.
    *node_table-nlength = '20'.
    *node_table-color = '4'.
    *node_table-text = i_vbap-kwmeng.
    *node_table-tlength = '40'.
    *node_table-tcolor = '3'.
    *append node_table.
    *clear node_table.
    *node_table-type = 'P'.
    *node_table-name = 'DESCRIPTION'.
    *node_table-tlevel = '05'.
    *node_table-nlength = '20'.
    *node_table-color = '4'.
    *node_table-text = i_vbap-arktx.
    *node_table-tlength = '30'.
    *node_table-tcolor = '3'.
    *append node_table.
    *clear node_table.
    *endloop.
          endloop.
        endat.
    *loop at i_likp where vbelv = i_vbak-vbeln.
    *node_table-type = 'P'.
    *node_table-name = 'DELIVERY'.
    *node_table-tlevel = '03'.
    *node_table-nlength = '20'.
    *node_table-color = '4'.
    *node_table-text = ''.
    *node_table-tlength = '30'.
    *node_table-tcolor = '3'.
    *append node_table.
    *clear node_table.
    *node_table-type = 'P'.
    *node_table-name = i_likp-vbeln.
    *node_table-tlevel = '04'.
    *node_table-nlength = '20'.
    *node_table-color = '4'.
    *node_table-text = ''.
    *node_table-tlength = '30'.
    *node_table-tcolor = '3'.
    *append node_table.
    *clear node_table.
    *endloop.
    *loop at i_vbrk where vbelv = i_vbak-vbeln.
    *node_table-type = 'P'.
    *node_table-name = 'INVOICE'.
    *node_table-tlevel = '03'.
    *node_table-nlength = '15'.
    *node_table-color = '4'.
    *node_table-text = ''.
    *node_table-tlength = '20'.
    *node_table-tcolor = '3'.
    *append node_table.
    *clear node_table.
    *node_table-type = 'P'.
    *node_table-name = i_vbrk-vbeln.
    *node_table-tlevel = '04'.
    *node_table-nlength = '20'.
    *node_table-color = '4'.
    *node_table-text = ''.
    *node_table-tlength = '30'.
    *node_table-tcolor = '3'.
    *append node_table.
    *clear node_table.
    *endloop.
      endloop.
    endform. " FILL_NODES
    **& Form TREE_DISPLAY
    **text
    **--> p1 text
    **<-- p2 text
    form tree_display .
      call function 'RS_TREE_CONSTRUCT'
      exporting
      insert_id = '000000'
      relationship = ' '
    *LOG =
      tables
      nodetab = node_table
      exceptions
      tree_failure = 1
      id_not_found = 2
      wrong_relationship = 3
      others = 4
    *if sy-subrc = 0.
    *message id sy-msgid type sy-msgty number sy-msgno
    *with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    *endif.
      call function 'RS_TREE_LIST_DISPLAY'
      exporting
    *CALLBACK_PROGRAM =
      callback_user_command = 'USER_COMMAND'
    *CALLBACK_TEXT_DISPLAY =
    *CALLBACK_MOREINFO_DISPLAY =
    *CALLBACK_COLOR_DISPLAY =
    *CALLBACK_TOP_OF_PAGE =
    *CALLBACK_GUI_STATUS =
    *CALLBACK_CONTEXT_MENU =
      status = 'IMPLICIT'
      check_duplicate_name = '1'
    *color_of_node = '4'
    *color_of_mark = '3'
    *color_of_link = '1'
    *color_of_match = '5'
      lower_case_sensitive = ' '
      modification_log = ' '
      node_length = 30
      text_length = 75
      text_length1 = 0
      text_length2 = 0
      return_marked_subtree = ' '
      screen_start_column = 0
      screen_start_line = 0
      screen_end_column = 0
      screen_end_line = 0
      suppress_node_output = ' '
      layout_mode = ' '
      use_control = 'F'
    *IMPORTING
    *F15 =
    endform.                    "tree_display
    " FINAL_DISPLAY

    Hi,
    Have you checked the examples in SALV_OBJECTS?
    /wg

  • How can I map the composite_dn name with a composite in run time

    Hi All,
    I want to craete a report on number of total business and system faults with the help of Information Publisher in OEM 12c Cloud Control. I am fetching data from the table composite_instance_fault present in SOAINFRA schema. Below os my SQL statement:-
    select error_category,count(error_category) from prefix_SOAINFRA.composite_instance_fault where composite_dn=??EMIP_BIND_TARGET_GUID?? group by error_category
    Now I want to know that how can I map the composite_dn name with a composite in run time. When we fetch data from the repository we used to map target in rumtime by using ??EMIP_BIND_TARGET_GUID?? but here as I am not fetching data from repository, how can I map target in run time.
    On executing the above SQL statement its returing an empty table without any data.
    Please guide!!
    Thanks in Advance!!

    Hi,
    try something like this.
    Mike
    Attachments:
    Unbenannt 5_LV80.vi ‏12 KB

  • Why does iPhoto (9.0/11) not retain the Event name when exporting more than one event? (using File - Export - Album name with number).

    Why does iPhoto (9.0/11) not retain the Event name when exporting more than one event? (using File -> Export -> Album name with number).
    Exporting a single Event retains the Event name which is what I'd expect. But highlighting more than one event and exporting it renames the images to Events 001.JPG, Event 002.JPG etc.
    I was recently on holidays and had all my events nicely split on Dad's computer but when I went to export it I couldn't retain any of this information. Now I have to replicate this all again on my computer.
    It wasn't possible to export the entire library as the external drive was fat32 format an I didn't want all of it. It would be nice to export a bunch of events to someone and have it retain the name.
    Does anyone have a work around or will this be fixed at some point by Apple?

    Why does iPhoto (9.0/11) not retain the Event name when exporting more than one event? (using File -> Export -> Album name with number).
    Exporting a single Event retains the Event name which is what I'd expect. But highlighting more than one event and exporting it renames the images to Events 001.JPG, Event 002.JPG etc.
    I was recently on holidays and had all my events nicely split on Dad's computer but when I went to export it I couldn't retain any of this information. Now I have to replicate this all again on my computer.
    It wasn't possible to export the entire library as the external drive was fat32 format an I didn't want all of it. It would be nice to export a bunch of events to someone and have it retain the name.
    Does anyone have a work around or will this be fixed at some point by Apple?

  • How can I set up a List of Figures with extra text?

    I'm writing my Art History dissertation, which includes a substantial group of figures at the end.  My advisor has requested that I caption the images, but also provide a List of Figures before the actual images begin.  I've got it figured out this far--I'm using the Table of Contents feature to automatically number the captions and then pull the caption text back to the List of Figures. 
    Here's the snag:  I need to include attribution information about where I found the images I'm using, but only in the list of figures.  My advisor specifically requested that I not include this information in the captions as he felt it cluttered the images.  How can I include small amounts of text (for example "After Jones 1987, Fig. 22") for hundreds of images in the List of Figures without putting this info in the captions themselves? 
    Of course, just typing the info into the List of Figures doesn't work--as soon as the list is updated the extra text gets erased.  I've been playing around with hidden layers, but when I create a new hidden layer with text frames the numbering of the original layer is disturbed.  Any ideas about how to preserve the numbering and include the extra information in the List of Figures without adding it to the visible caption? I'd be very grateful for any help.

    Perhaps at the end of your caption, in a [None] coloured text, 0.1 pt size? Don't put it into a separate paragraph, 'cause you'd need to pick this up as well for your TOC. To edit this invisibly small text, you can use the Story Editor.
    (And I got quite far suggesting making it Conditional Text, which you would normally hide, having it show only when you generated the List of Figures, before a few dormant neurons woke up and demanded attention.
    'Course it would work -- you would get the extra text in your list, and if you hide the conditional text again, your document would reverse to "normal" state. However, making the conditional text visible may cause your text to reflow, and thus your regular Contents would be okay but the List of Figures -- generated with more text in your document! -- could well be off by a few pages ...)

  • Making a Directory with alumni information...Templates to use?

    I am making a directory with alumni information for my high school reunion. In one part of the book, I want to list bio information along with a current pix. In the back of the book, I want to alphabetize everyone's name and address and then cross-reference which page their bio is on. Can anyone tell me how to go about doing that? I want the end result to be a booklet (with 81/2 inch by 11 inch paper folded in half). I tried using one of the Pages templates (I believe it is the one for cooking because it was the only one I could find in the brochure section that was not a tri-fold). I am finding that it took so long to put just one page together. I need to be able to do it rather quickly since there are over 100 people already attending and I can't take forever to do this project. I would appreciate any input from anyone on this subject.
    Thanks in advance.

    I would start on a Word Processing blank document, Not a Page layout document. I'd use A4 paper size but I guess you'll have to use the US letter size.
    When I have created the bios of the people I would use a Heading style for their names. By doing this I can make a Table of Contents of there names. Don't forget adding page number.
    The table of Contents (TOC) will be created in the beginning of the brochure. Select the TOC and copy the content. Open TextEdit and Paste. To alphabetise you need to get the free app WordServices from [http://www.devon-technologies.com/products/freeware/services.html]
    do the alphabetising and copy and paste the text in the end of your Pages document. The TOC is the very last thing you should do before making the booklet.
    Save the document. I hope you have done that many times during the process creating it. And also save it as a PDF document.
    To make the booklet get either the app BookLightning 1.7.2 or Create Booklet PDF Service 1.1
    These application will take your document and create a booklet with the right pagination.

  • How can I find a segment name from p1 and p2 value of v$session??

    Hi, all.
    A session is waiting with "gc cr request".
    The pvalue of the session are as followings.
    p1text p1 p2text p2 p3text p3
    file# 15 block# 412 id# 33619969
    I issued the following sql statement to find the segment name.
    select segment_name
    from dba_extents
    where file_id = 15
    and 412 between block_id and (block_id + blocks -1)
    However, No row returned.
    Is there any mistake??
    Thanks and Regards.

    Hi,
    You will find what the wait means in the Oracle Reference manual.
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14237/toc.htm
    To find out what object P1 refers to:
    select * from v$datafile where file# = file#;
    To find the hot block within that object above do:
    select name, kind from ext_to_obj_view
    where file# = file#
    and lowB <= block#
    and highB >= block#;
    to create a report an example change your variable to what you need
    select
    sess.username,
    sess.sid,
    se.event,
    se.total_waits,
    se.total_timeouts,
    se.time_waited/100 time_waited,
    se.average_wait
    from v$session_event se, v$session sess
    where event like '%buffer busy% <===== change to your choosing
    and sess.sid = se.sid
    and sess.username is not null
    and se.total_waits > 10000
    order by username, sid
    hope this helps.
    al

  • TIPS(16) : PROVIDING USERS WITH SESSION INFORMATION

    제품 : SQL*PLUS
    작성날짜 : 1996-11-12
    TIPS(16) : Providing Users with Session Information
    ===================================================
    rem
    rem orasessn.sql
    rem
    rem
    rem This script is used to provide users with information regarding their
    rem oracle sessions.
    rem The USER_SESSION view provides information related only to the
    rem current session for a user; while the ALL_SESSIONS relates to all
    rem sessions within the database for a user.
    rem The DBA_SESSION can only be viewed by the
    rem Oracle sys id (and anyone granted select on this view).
    rem The DBA_SESSION lists all oracle sessions excluding the Oracle
    rem generic processes (dbwr, pmon, smon, etc.).
    rem The SID and SERIAL# can be used with killing sessions.
    This script must be run from the Oracle sys id.
    rem --------------------------------------------------------------------------
    rem
    set echo on;
    spool orasessn;
    rem
    drop public synonym ALL_SESSIONS;
    create or replace view ALL_SESSIONS
    (USERNAME, OS_USER, SID, SERIAL#, STATUS, SERVICE, DATABASE,
    CURSORS, MACHINE, TERMINAL, PROGRAM)
    as
    select substr(v1.username,1,20), substr(v1.osuser,1,12),
    to_char(v1.sid,'999'), to_char(v1.serial#,'999999'),
    v1.status, v1.server, substr(v3.value,1,10), v2.value,
    substr(v1.machine,1,15), v1.terminal, v1.program
    from v$session v1, v$sesstat v2, v$parameter v3
    where v1.username = user
    and v2.sid = v1.sid
    and v2.statistic# = 3
    and v3.name = 'db_name' ;
    grant select on ALL_SESSIONS to PUBLIC;
    create public synonym ALL_SESSIONS for ALL_SESSIONS;
    rem
    drop public synonym USER_SESSIONS;
    create or replace view USER_SESSIONS
    (USERNAME, OS_USER, SID, SERIAL#, STATUS, SERVICE, DATABASE,
    CURSORS, MACHINE, TERMINAL, PROGRAM)
    as
    select substr(v1.username,1,20), substr(v1.osuser,1,12),
    to_char(v1.sid,'999'), to_char(v1.serial#,'999999'),
    v1.status, v1.server, substr(v3.value,1,10), v2.value,
    substr(v1.machine,1,15), v1.terminal, v1.program
    from v$session v1, v$sesstat v2, v$parameter v3
    where v1.audsid = userenv('SESSIONID')
    and v2.sid = v1.sid
    and v2.statistic# = 3
    and v3.name = 'db_name' ;
    grant select on USER_SESSIONS to PUBLIC;
    create public synonym USER_SESSIONS for USER_SESSIONS;
    rem
    create or replace view DBA_SESSIONS
    (USERNAME, OS_USER, SID, SERIAL#, STATUS, SERVICE, DATABASE,
    CURSORS, MACHINE, TERMINAL, PROGRAM)
    as
    select substr(v1.username,1,20), substr(v1.osuser,1,12),
    to_char(v1.sid,'999'), to_char(v1.serial#,'999999'),
    v1.status, v1.server, substr(v3.value,1,10), v2.value,
    substr(v1.machine,1,15), v1.terminal, v1.program
    from v$session v1, v$sesstat v2, v$parameter v3
    where v1.username is not null
    and v2.sid = v1.sid
    and v2.statistic# = 3
    and v3.name = 'db_name' ;
    rem -------------------------------------------------------------------
    spool off;

    제품 : SQL*PLUS
    작성날짜 : 1996-11-12
    TIPS(16) : Providing Users with Session Information
    ===================================================
    rem
    rem orasessn.sql
    rem
    rem
    rem This script is used to provide users with information regarding their
    rem oracle sessions.
    rem The USER_SESSION view provides information related only to the
    rem current session for a user; while the ALL_SESSIONS relates to all
    rem sessions within the database for a user.
    rem The DBA_SESSION can only be viewed by the
    rem Oracle sys id (and anyone granted select on this view).
    rem The DBA_SESSION lists all oracle sessions excluding the Oracle
    rem generic processes (dbwr, pmon, smon, etc.).
    rem The SID and SERIAL# can be used with killing sessions.
    This script must be run from the Oracle sys id.
    rem --------------------------------------------------------------------------
    rem
    set echo on;
    spool orasessn;
    rem
    drop public synonym ALL_SESSIONS;
    create or replace view ALL_SESSIONS
    (USERNAME, OS_USER, SID, SERIAL#, STATUS, SERVICE, DATABASE,
    CURSORS, MACHINE, TERMINAL, PROGRAM)
    as
    select substr(v1.username,1,20), substr(v1.osuser,1,12),
    to_char(v1.sid,'999'), to_char(v1.serial#,'999999'),
    v1.status, v1.server, substr(v3.value,1,10), v2.value,
    substr(v1.machine,1,15), v1.terminal, v1.program
    from v$session v1, v$sesstat v2, v$parameter v3
    where v1.username = user
    and v2.sid = v1.sid
    and v2.statistic# = 3
    and v3.name = 'db_name' ;
    grant select on ALL_SESSIONS to PUBLIC;
    create public synonym ALL_SESSIONS for ALL_SESSIONS;
    rem
    drop public synonym USER_SESSIONS;
    create or replace view USER_SESSIONS
    (USERNAME, OS_USER, SID, SERIAL#, STATUS, SERVICE, DATABASE,
    CURSORS, MACHINE, TERMINAL, PROGRAM)
    as
    select substr(v1.username,1,20), substr(v1.osuser,1,12),
    to_char(v1.sid,'999'), to_char(v1.serial#,'999999'),
    v1.status, v1.server, substr(v3.value,1,10), v2.value,
    substr(v1.machine,1,15), v1.terminal, v1.program
    from v$session v1, v$sesstat v2, v$parameter v3
    where v1.audsid = userenv('SESSIONID')
    and v2.sid = v1.sid
    and v2.statistic# = 3
    and v3.name = 'db_name' ;
    grant select on USER_SESSIONS to PUBLIC;
    create public synonym USER_SESSIONS for USER_SESSIONS;
    rem
    create or replace view DBA_SESSIONS
    (USERNAME, OS_USER, SID, SERIAL#, STATUS, SERVICE, DATABASE,
    CURSORS, MACHINE, TERMINAL, PROGRAM)
    as
    select substr(v1.username,1,20), substr(v1.osuser,1,12),
    to_char(v1.sid,'999'), to_char(v1.serial#,'999999'),
    v1.status, v1.server, substr(v3.value,1,10), v2.value,
    substr(v1.machine,1,15), v1.terminal, v1.program
    from v$session v1, v$sesstat v2, v$parameter v3
    where v1.username is not null
    and v2.sid = v1.sid
    and v2.statistic# = 3
    and v3.name = 'db_name' ;
    rem -------------------------------------------------------------------
    spool off;

Maybe you are looking for

  • To protect or not to protect....that is the question

    I've got a question for all my fellow Mac users out there.  I recently purchased a 2011 MacBook Pro in December of 2011.  I absolutely love the computer.  What I was going to get some input on was the issue with anti-virus protection.  I have seen a

  • Scheduling Agreement-View Changes Made with a T-code

    Dear All, I have a requirement wherein our client wants to view the changes or updation that has happened over a period of time in the scheduling agreement, ie changes in quantity and changes in dates. For example; we have MM04 wherein we can see the

  • XML scrolling thumbnail, image loader, & Buttons [halfway works]

    Intro: I started a flash-based website a few years ago. Back in 2006 I was able to get a xml scrolling thumbnail, image loader to work without a glitch. For numerous reasons I had to put the project on hold until now. [one was that my 30 day trial of

  • JCO$Exception when creating RFC model

    Hi all, I'm getting this fatal error when creating an RFC model in Web Dynpro for Java (connecting to a BW system): com.sap.mw.JCO$Exception: Missing R3NAME=... or ASHOST=... in connect_param in RfcOpenEx I have absolutely no clue what's going wrong.

  • Data recovery service?

    Hi Everbody! A (clumsy) friend/client (lets call him a criend ) of mine has dropped his harddisk in a changeover operation. It holds 6 years of his personal (guitar) recordings. He told me it schreeches (and is of course not 'seen' by his machine), w