Regarding display of description infotype details of OM infotypes

Hi,
Is there any standard report where I can get to see the details which I have stored in description infotype for the OM objetcs. If no then what is the best way to get the same?
With Regards,
Kaustuv Goswami.

Hi,
in the selection screen you have to specify at least for example
Plan version : 01
Object type  : D
Infotype        : 1002
Evaluation of infotype fields : X
Than you get the objects D with an existing describtion in infotyp 1002.
If you haven't customized the infotyp for your object type, it wouldn't work.
Regards
Bernd

Similar Messages

  • Regarding displaying role description in alv

    Hi All,
             Here i got struck up with an issue. I want to display role name and its description. But my problem is description is having more than a single line. I need to concatenate all the lines, But I don't know what to do here exactly. I need to display the output in LAV format. And one more thing the description length is more than 255 characters also in that case how to handle.
    Please suggest me a solution for this.
    Regards
    G.S.Naidu

    Hello Naidu,
          Plz search in sdn for handle more than 255 char in ALV,
    Regards.

  • Custom Infotype - to display the description  in query ouput!!

    I have created a Custom Infotype  and when I run a Infoset Query against the custom infoset, the field is getting displayed but not the description.
    For Ex
    ADP Infotype Company Code A11 - America
                           Company Code A12 - Africa
                                                    A13 - Russion,
    My issue is, when i run the query, the three letter code (A111, A12) is getting displayed but not the descripton itself.
    Can some one please let me know how to display the description in the output when we nun the infoset Query.
    Thanks for your assiance!!

    Hi,
    Have u given proper Data element and Domain to the field?
    Generate the Query again.
    Manoj

  • Regarding displaying of photo in wd abap

    Hi All,
      I want to display a photo in wdabap.Actually through mime repository we can do that but is there any other way to display the photo in wd abap.means is there any other way where we can store the photo and we can display it in wd abap at runtime.If anyone knows it then describe it in detail n the way to do it.give the description in detail.
    thanking you all in advance

    Hi,
    Pls check out this link -
    To upload the photo in WDA -
    steps to upload foto in WDA (ABAP)
    Regards
    Lekha

  • Displaying/Printing Sub-group Details for Each Parent Group

    My question is based on the example code provided under the "Creating an RTF Template" chapter of the Oracle Business Intelligence Publisher Report Designer's Guide, Release 10.1.3.4, Part Number E12187-01. I modified that example as follows:
    <?xml version="1.0" encoding="WINDOWS-1252" ?>
    - <VENDOR_REPORT> -
    - <LIST_G_VENDOR_NAME>
    - <G_VENDOR_NAME>
    <VENDOR_NAME>COMPANY A</VENDOR_NAME>
    - <LIST_G_INVOICE_NUM>
    - <G_INVOICE_NUM> --TRANS_TYPE
    <SET_OF_BOOKS_ID>124</SET_OF_BOOKS_ID>
    <GL_DATE>10-NOV-03</GL_DATE>
    <INV_TYPE>Standard</INV_TYPE>
    <INVOICE_NUM>031110</INVOICE_NUM>
    <INVOICE_DATE>10-NOV-03</INVOICE_DATE>
    <INVOICE_CURRENCY_CODE>EUR</INVOICE_CURRENCY_CODE>
    <LIST_G_LINE_ITEM>
    - <G_LINE_ITEM>
    <LINE_ITEM_NUM>01</LINE_ITEM_NUM>
    <LINE_ITEM_DESC>WIDGETS</LINE_ITEM_DESC>
    <DATE>10-NOV-03</DATE>
    <PROD_ID>882P</PROD_ID>
    <QTY>50</QTY>
    <UNIT PRICE>3.0</UNIT_PRICE>
    <TOT_AMT>150</TOT_AMT>
    </G_LINE_ITEM>
    - <G_LINE_ITEM>
    <LINE_ITEM_NUM>01</LINE_ITEM_NUM>
    <LINE_ITEM_DESC>STUFF</LINE_ITEM_DESC>
    <DATE>10-NOV-05</DATE>
    <PROD_ID>725P</PROD_ID>
    <QTY>20</QTY>
    <UNIT PRICE>5.0</UNIT_PRICE>
    <TOT_AMT>100</TOT_AMT>
    </G_LINE_ITEM>
    - <G_LINE_ITEM>
    <LINE_ITEM_NUM>01</LINE_ITEM_NUM>
    <LINE_ITEM_DESC>WIDGETS</LINE_ITEM_DESC>
    <DATE>10-DEC-05</DATE>
    <PROD_ID>882P</PROD_ID>
    <QTY>5</QTY>
    <UNIT PRICE>4.0</UNIT_PRICE>
    <TOT_AMT>20</TOT_AMT>
    </G_LINE_ITEM> </LIST_G_LINE_ITEM>
    <ENT_AMT>122</ENT_AMT>
    <ACCTD_AMT>122</ACCTD_AMT>
    <VAT_CODE>VAT22%</VAT_CODE>
    </G_INVOICE_NUM>
    <G_INVOICE_NUM> --TRANS_TYPE
    <SET_OF_BOOKS_ID>124</SET_OF_BOOKS_ID>
    <GL_DATE>10-NOV-03</GL_DATE>
    <INV_TYPE>Standard</INV_TYPE>
    <INVOICE_NUM>031110</INVOICE_NUM>
    <INVOICE_DATE>10-NOV-03</INVOICE_DATE>
    <INVOICE_CURRENCY_CODE>EUR</INVOICE_CURRENCY_CODE>
    <ENT_AMT>122</ENT_AMT>
    <ACCTD_AMT>122</ACCTD_AMT>
    <VAT_CODE>VAT22%</VAT_CODE>
    </G_INVOICE_NUM>
    </LIST_G_INVOICE_NUM>
    <ENT_SUM_VENDOR>1000.00</ENT_SUM_VENDOR>
    <ACCTD_SUM_VENDOR>1000.00</ACCTD_SUM_VENDOR>
    </G_VENDOR_NAME>
    </LIST_G_VENDOR_NAME>
    <ACCTD_SUM_REP>108763.68</ACCTD_SUM_REP>
    <ENT_SUM_REP>122039</ENT_SUM_REP>
    </VENDOR_REPORT>
    In my XML file example there are multiple invoices for each vendor as subgroups under the <G_VENDOR_NAME> group. So that multiple <G_INVOICE_NUM> subgroups maybe embedded under the <G_VENDOR_NAME> group element. I would like to create a schedule (table) displaying line item details for each vendor and invoice number. Using the simplified syntax, I'm having problems displaying the line item details for each invoice. Instead I’m only able to display a single line item for each invoice. Unfortunately my example report cannot be uploaded and "Thread" text does not seem to accurately retain blank spaces. So descriptively the report would have a line for vendor name, separate line for group number, and lne item details displaying consectively by line to the right
    COMPANY A: Vendor Number: ##
    Invoice Number LINE_ITEM_DETAILS
    LINE_ITEM_DETAILS
    LINE_ITEM_DETAILS
    Invoice Number LINE_ITEM_DETAILS
    LINE_ITEM_DETAILS
    LINE_ITEM_DETAILS
    Please ignore the data details of my example report. The values do not exactly match the XML data example above. Based on my XML example, please provide a RTF template marked with the XLS or simplified syntax approach to get my results.
    Thanks.

    Make 2 contacts with an email address each rather than 1 contact with 2 addresses.

  • Maintenance view Events for description in details

    hello i have a maintenance view with 2 screen ( one overview other details ) i want fill a label in the details screen with the description of some code ( custom table with all custom fills )
    but i don't find what event is the right , i try the event 26 , i put a break-point just for check but dont get trigger that event when i display the item in details screen
    Thanks

    thanks i add the form to the event 01 but the breakpoint is not called , i even change the maintenance view i select create modules but don't work , any idea ? maybe i am missing something
    pd: when i create the firts time the form i select create new include

  • How to push custom infotype details to Standard Log Report

    Hi Experts,
    i am using S_AHR_61016380 SAP Standard Report for Log Change Data in
    the report development. However, the standard report for logged changes
    does not capture the long term documents run for the custom infotype.
    it is only giving the logged changes for the standard SAP infotypes
    and it doesnot capture any details for the custom infotype.
    We are looking a possibility on how to push custom infotype details to S_AHR_61016380.
    Pls suggest in case you have any inputs for the same.
    Thanks & Regards,
    Kishore.

    Hello Amith,
    As u said i have created a Z program, and also i have used the following FMs.
    1. 'HR_INFOTYPE_LOG_GET_LIST'
    2. 'HR_INFOTYPE_LOG_GET_DETAIL'
    Using these FMs i am able to get log records from the standard infotypes but i am unable to fetch data from the custom infotype tables.
    Please give me any solution to read the log records from the custom infotype tables.
    Thanks,
    Kishore

  • What is line item display? Explain in detail.

    what is line item display? Explain in detail.

    hi rama,
                there are two type of data in database table.
    header data: means data will be unique, there will be single row for key fields.
    like bkpf , vbak, kna1 etc these have the unique data.
    and second one is line item data.
    LINE ITEM DATA: That have the multiple entries regarding key fields.
    like bseg, vbap etc .
    when you go for coding first you take the header data from header table because that are unique then on the reference of that unique data we pick up line item data from item table by joining those two table.
    for ex bkpf have unique documnet no belnr so on the basis of belnr we picked the line item data from bseg.
    jus take the refrence of below code that have the header and line item data from bkpf and bseg respectively.
    *& Report  ZVIJ_TEST1
    REPORT  ZVIJ_TEST1 NO STANDARD PAGE HEADING LINE-SIZE 105 LINE-COUNT 36(3).
    TABLES: BKPF,BSEG.
    DATA: BEGIN OF T_BKPF OCCURS 0,
          BUKRS LIKE BKPF-BUKRS,
          BELNR LIKE BKPF-BELNR,
          GJAHR LIKE BKPF-GJAHR,
          BLART LIKE BKPF-BLART,
          TCODE LIKE BKPF-TCODE,
        END OF T_BKPF.
    DATA: BEGIN OF T_BSEG OCCURS 0,
          BUKRS LIKE BSEG-BUKRS,
          BELNR LIKE BSEG-BELNR,
          GJAHR LIKE BSEG-GJAHR,
          BSCHL LIKE BSEG-BSCHL,
       END OF T_BSEG.
    DATA: BEGIN OF T_FINAL OCCURS 0,
          BUKRS LIKE BSEG-BUKRS,
          BELNR LIKE BSEG-BELNR,
          GJAHR LIKE BSEG-GJAHR,
          BLART LIKE BKPF-BLART,
          TCODE LIKE BKPF-TCODE,
          BSCHL LIKE BSEG-BSCHL,
        END OF T_FINAL.
    DATA: COUNT LIKE SY-TABIX.
    SELECTION-SCREEN: BEGIN OF BLOCK B1 WITH frame title TEXT-001.
    SELECTION-SCREEN: SKIP 1.
    SELECT-OPTIONS: BELNR FOR BKPF-BELNR.
    PARAMETERS: FISC_YR LIKE BKPF-GJAHR,
                CHK AS CHECKBOX.
    SELECTION-SCREEN: END OF BLOCK B1.
    START-OF-SELECTION.
    PERFORM READ.
    END-OF-SELECTION.
    PERFORM DISPLAY.
    WRITE:/5 'Page No :',14 SY-PAGNO,60 'No of Records :',76(6) COUNT.
    TOP-OF-PAGE.
    WRITE:/35 'Report for SET INDIA' COLOR 6.
    FORMAT COLOR 1 ON.
    WRITE:/5 'Date:',11 SY-DATUM,50 'Created By:',65 SY-UNAME.
    WRITE:/2 'COMPANY CODE',15 'DOCUMENT NO', 35 'FISCAL YEAR',
    50 'DOC TYPE',65 'TCODE', 75 'BSCHL'.
    FORMAT COLOR OFF.
    WRITE:/2(80) SY-ULINE.
    END-OF-PAGE.
    WRITE:/5 'Page No :',14 SY-PAGNO,60 'No of Records :',76(6) SY-TABIX.
    *&      Form  DISPLAY
          text
    -->  p1        text
    <--  p2        text
    FORM DISPLAY .
    FORMAT COLOR 5 ON.
    COUNT = 0.
    LOOP AT T_FINAL.
    WRITE:/2 T_FINAL-BUKRS,14 SY-VLINE,15 T_FINAL-BELNR,34 SY-VLINE,35 T_FINAL-GJAHR,
    49 SY-VLINE, 50 T_FINAL-BLART,64 SY-VLINE,65 T_FINAL-TCODE,74 SY-VLINE,
    75 T_FINAL-BSCHL.
    COUNT = COUNT + 1.
    ENDLOOP.
    FORMAT COLOR OFF.
    ENDFORM.                    " DISPLAY
    *&      Form  READ
          text
    -->  p1        text
    <--  p2        text
    FORM READ .
    SELECT BUKRS BELNR GJAHR BLART TCODE FROM BKPF INTO CORRESPONDING FIELDS OF
    TABLE T_BKPF WHERE
    GJAHR = FISC_YR AND
    BELNR IN BELNR.
    SELECT BUKRS BELNR GJAHR BSCHL FROM BSEG INTO CORRESPONDING FIELDS OF TABLE
    T_BSEG FOR ALL ENTRIES IN T_BKPF
    WHERE BUKRS = T_BKPF-BUKRS AND
          BELNR = T_BKPF-BELNR AND
          GJAHR = T_BKPF-GJAHR.
    SORT T_BKPF BY BELNR.
    SORT T_BSEG BY BELNR.
    LOOP AT T_BSEG.
    T_FINAL-BUKRS = T_BSEG-BUKRS.
    T_FINAL-BELNR = T_BSEG-BELNR.
      T_FINAL-GJAHR = T_BSEG-GJAHR.
      T_FINAL-BSCHL = T_BSEG-BSCHL.
      READ TABLE T_BKPF WITH KEY BUKRS = T_BSEG-BUKRS
      BELNR = T_BSEG-BELNR.
    T_FINAL-BLART = T_BKPF-BLART.
    T_FINAL-TCODE = T_BKPF-TCODE.
    APPEND T_FINAL.
    CLEAR T_FINAL.
    ENDLOOP.
    ENDFORM.                    " READ
    regards
    vijay dwivedi
    rewards if usefull to you*

  • To display the user login details in selection-screen( input screen )

    HI Experts,
    I have a requirement.
    Assume there is a report on travel details. Report access has been given to all in the organization based on authorization level.
    Before excecuting the report, in the selection-screen(input screen) itself I need to display the login user details.
    suppose user A belongs to ITS-business unit and user B-belongs to RDS-business unit and Industry group-Multi markets.
    so when User B logs into production system and try to access the report, in the selection screen, i need to display like
    user-id-- XXXX          Business Unit---RDS             and IG -
    Multi Markets 
    how to achieve this? User details will vary based on login.
    Regards,
    Praveen

    check this
    REPORT  Z_demo.
    *& Function Modules:  HR_GET_EMPLOYEE_DATA
    *&                    HR_IMAGE_EXISTS
    *&                    SCMS_DOC_URL_READ
    *&                    HR_IMAGE_RESET
    *& Class & Methods :  CL_GUI_DOCKING_CONTAINER
    *&                    CL_GUI_PICTURE->SET_POSITION
    *&                    CL_GUI_PICTURE->SET_DISPLAY_MODE
    *&                    CL_GUI_PICTURE->DISPLAY_MODE_FIT
    *&                    CL_GUI_PICTURE->LOAD_PICTURE_FROM_URL_ASYNC
    *REPORT  ZEMPLOYEE.
    TABLES: PA0001, PERSON.
    *----------------------Declaration for Image------------------------*
    DATA: DOCKING_CONT TYPE REF TO CL_GUI_DOCKING_CONTAINER, " Custom Container
          PICTURE TYPE REF TO CL_GUI_PICTURE.
    *--------------------Declaration of Internal table------------------*
    DATA: ITAB_EMPDATA LIKE TABLE OF PERSON.
    DATA: ITAB_DATA LIKE TABLE OF PERSON WITH HEADER LINE.
    DATA:  P_CONNECT_INFO LIKE TABLE OF TOAV0 WITH HEADER LINE.
    DATA:  P_DOCUMENT_TYPE LIKE TOAV0-RESERVE.
    DATA:  URL(255) TYPE C.
    DATA:  HANDLE TYPE I.
    DATA:  PPERNR TYPE PA0001-PERNR.
    *----------------------Start of Selection Screen----------------------*
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE text-099.
    SELECTION-SCREEN SKIP 2.
    SELECTION-SCREEN COMMENT 40(25) TEXT-010  .
    SELECTION-SCREEN SKIP 1.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 20(15) TEXT-002 FOR FIELD PERNR.
    PARAMETERS PERNR TYPE PA0001-PERNR.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 20(15) TEXT-008 FOR FIELD ENAME.
    PARAMETERS ENAME TYPE PA0001-ENAME.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 20(15) TEXT-003 FOR FIELD PERSG.
    PARAMETERS PERSG TYPE PA0001-PERSG.
    SELECTION-SCREEN COMMENT 45(15) TEXT-009 FOR FIELD WERKS.
    PARAMETERS WERKS TYPE PA0001-WERKS.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 20(15) TEXT-004 FOR FIELD PERSK.
    PARAMETERS PERSK TYPE PA0001-PERSK.
    SELECTION-SCREEN COMMENT 45(15) TEXT-005 FOR FIELD KOSTL.
    PARAMETERS KOSTL TYPE PA0001-KOSTL.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 20(15) TEXT-006 FOR FIELD ORGEH.
    PARAMETERS ORGEH TYPE PA0001-ORGEH.
    PARAMETERS ORGEHTXT TYPE PERSON-ORGEH_TXT .
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 20(15) TEXT-007 FOR FIELD PLANS.
    PARAMETERS PLANS TYPE PA0001-PLANS.
    PARAMETERS PLANSTXT TYPE PERSON-PLANS_TXT .
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN SKIP 2.
    SELECTION-SCREEN END OF BLOCK B1.
    *AT SELECTION-SCREEN OUTPUT.
    AT SELECTION-SCREEN OUTPUT .
      LOOP AT SCREEN.
        IF SCREEN-NAME = 'ENAME'
        OR SCREEN-NAME = 'PERSG'
        OR SCREEN-NAME = 'PERSK'
        OR SCREEN-NAME = 'KOSTL'
        OR SCREEN-NAME = 'WERKS'
        OR SCREEN-NAME = 'ORGEH'
        OR SCREEN-NAME = 'PLANS'
        OR SCREEN-NAME = 'ORGEHTXT'
        OR SCREEN-NAME = 'PLANSTXT'.
          SCREEN-INPUT = '0'.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
    LOOP AT SCREEN.
        IF SCREEN-NAME = 'ORGEHTXT'
        OR SCREEN-NAME = 'PLANSTXT'.
          SCREEN-OUTPUT = '1'.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
    PERFORM GET_PIC.
    *AT SELECTION-SCREEN .
    AT SELECTION-SCREEN .
      PPERNR = PERNR.
      CALL FUNCTION 'HR_GET_EMPLOYEE_DATA'
        EXPORTING
          PERSON_ID             = PPERNR
          SELECTION_BEGIN       = SY-DATUM
          SELECTION_END         = SY-DATUM
        IMPORTING
          PERSONAL_DATA         = ITAB_DATA
        EXCEPTIONS
          PERSON_NOT_FOUND      = 1
          NO_ACTIVE_INTEGRATION = 2
          OTHERS                = 3.
      IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      ENAME = ITAB_DATA-ENAME.
      PERSG = ITAB_DATA-PERSG.
      PERSK = ITAB_DATA-PERSK.
      ORGEH = ITAB_DATA-ORGEH.
      PLANS = ITAB_DATA-PLANS.
      KOSTL = ITAB_DATA-KOSTL.
      WERKS = ITAB_DATA-WERKS.
      ORGEHTXT = ITAB_DATA-ORGEH_TXT.
      PLANSTXT = ITAB_DATA-PLANS_TXT.
    *Function Module To check Existance of Image
      CALL FUNCTION 'HR_IMAGE_EXISTS'
        EXPORTING
          P_PERNR        = PPERNR
        IMPORTING
          P_CONNECT_INFO = P_CONNECT_INFO
        EXCEPTIONS
          OTHERS         = 2.
         P_DOCUMENT_TYPE = P_CONNECT_INFO-RESERVE.
    *Function Module To Get the URL of Image
      CALL FUNCTION 'SCMS_DOC_URL_READ'
        EXPORTING
          STOR_CAT    = SPACE
          CREP_ID     = P_CONNECT_INFO-ARCHIV_ID
          DOC_ID      = P_CONNECT_INFO-ARC_DOC_ID
          COMP_ID     = 'DATA'
          DP_URL_ONLY = 'X'
        IMPORTING
          URL         = URL
        EXCEPTIONS
          OTHERS      = 10.
      IF SY-SUBRC <> 0.
      ENDIF.
    *Method To load Image from URL
      CALL METHOD PICTURE->LOAD_PICTURE_FROM_URL_ASYNC
        EXPORTING
          URL = URL.
      IF SY-SUBRC NE 0.
      ENDIF.
      IF PPERNR NE PERNR.
    *Function Module To Reset Image
        CALL FUNCTION 'HR_IMAGE_RESET'
          EXPORTING
            HANDLE         = HANDLE
          EXCEPTIONS
            INVALID_HANDLE = 1
            OTHERS         = 2.
        IF SY-SUBRC <> 0.
        ENDIF.
      ENDIF.
    *& Form Get_Pic
    FORM GET_PIC.
      DATA: REPID LIKE SY-REPID.
      REPID = SY-REPID.
      IF PICTURE IS INITIAL.
    *Object To Create the Custom Container
        CREATE OBJECT PICTURE
          EXPORTING
            PARENT = DOCKING_CONT.
        CHECK SY-SUBRC = 0.
    *Method To Set Position of Image
        CALL METHOD PICTURE->SET_POSITION
          EXPORTING
            HEIGHT = 47
            LEFT   = 610
            TOP    = 25
            WIDTH  = 70.
    *Method To Set Display Mode Fit to Container
        CALL METHOD PICTURE->SET_DISPLAY_MODE
          EXPORTING
            DISPLAY_MODE = CL_GUI_PICTURE=>DISPLAY_MODE_FIT.
      ELSE.
    *Function Module To Reset Image
        CALL FUNCTION 'HR_IMAGE_RESET'
          EXPORTING
            HANDLE         = HANDLE
          EXCEPTIONS
            INVALID_HANDLE = 1
            OTHERS         = 2.
        IF SY-SUBRC <> 0.
        ENDIF.
      ENDIF.
    ENDFORM. "Get_pic

  • Display the Line level details in the Notification - Urgent

    Hi,
    I have developed a Approval Workflow for customized form.
    I want to display the Line level details in the Notification/Message.Please guide me to do this?
    Thanks

    You can make use of the attribute type DOC. See 'To Define a Document Attribute' in the Workflow Development Guide. Then you just include it in the body of the message the same way you do with other attributes.
    Regards,
    Alejandro.

  • Displaying last successful login details of user

    Hi,
    I want to display last successful login details (timestamp may be) on Portal homepage.
    By configuration
    Is there any configuration that we can do to display it on Masthead area may be?
    By code
    I found following two links that talk about direct access of Portal table.
    http://wiki.sdn.sap.com/wiki/display/Snippets/DirectAccesstoDatabaseTables
    http://help.sap.com/saphelp_nw04/helpdata/en/48/6aa9429b930b31e10000000a1550b0/frameset.htm
    In this case, what query should I write to get the last login details of user?
    Please help.
    Thanks and regards,
    Amey

    Hi Ameya,
    Thanks for reply.
    1. I was wondering if there is any System admin level configuration we can do to show this info?.
    Is there any such facility?
    2. Through code, this is what I did: -
    I am getting the last logon timestamp by following code (inside JSPDynpage) : -
    import java.sql.Connection;
    import java.sql.ResultSet;
    import java.sql.Statement;
    import java.sql.Timestamp;
    import javax.naming.InitialContext;
    Connection con=null;
    Statement stmt=null;
    ResultSet rs=null;
    InitialContext ctx = new InitialContext();
    DataSource ds = (DataSource)ctx.lookup("jdbc/SAP/EP_PCD");
    con = ds.getConnection();
    stmt = con.createStatement();
    String connectedUser = _request.getUser().getUniqueName();
    rs = stmt.executeQuery("select MAX(TIMESTAMPHOUR) from WCR_USERSTAT where LOGONID='"+connectedUser+"'");
    int m = 0;
    while(rs.next()){
         m++;
           Timestamp ts = new Timestamp(rs.getLong(m));
         lastLoginString = ts.toGMTString();
    I guess selecting 'MAX' value of time-stamp would return the latest logon time.

  • My call logs and SMS messages display the incorrect contact details on the BlackBerry q10

    Hello there!
    I met serious problem like in the subject. Is anybody know what is going on ?
    Best regards,
    Paweł

    Hi and Welcome to the Community!
    Here is a KB that discusses that error:
    KB34772 Call logs and SMS messages display the incorrect contact details on the BlackBerry 10 smartphone
    Unfortunately, it contains nothing useful -- except for formal recognition by BlackBerry of the issue. We would then hope that a future OS release will correct it.
    Good luck and let us know!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Problem in displaying the description of item

    Hi,
    I am working on a report of production order and i want to display the description of the Item but the problem the matnr is stored in ITPO1 AND i am displaying the values of ITPO5 which contains the difference value of qty of Item . To display the quantities i am using the table AUFM and i want to display the description of the production order Item which is stored in the ITPO1 .
    I am declaring the value of item in the ITPO5 and writing this select single query but it is not displaying the data.
    LOOP AT ITPO5.
          SELECT SINGLE MAKTG FROM MAKT INTO ITPO5-ITEMDESC WHERE MATNR = ITPO1-MATNR.
          WRITE: / ITPO5-AUFNR,ITPO5-ITEMDESC,ITPO5-I_QTY.
          TOT_QTY = TOT_QTY + ITPO5-I_QTY.
        ENDLOOP.
    Plzz provide me guidelines how to solve this problem.

    HI,
    Check this way..
    LOOP AT ITPO5.
    LOOP AT ITPO1 WHERE AUFNR = ITPO5-AUFNR.
    CALL FUNCTION 'CONVERSION_EXIT_MATN1_INPUT'
      EXPORTING
        input              = ITPO1-MATNR
    IMPORTING
       OUTPUT             = ITPO1-MATNR
    EXCEPTIONS
       LENGTH_ERROR       = 1
       OTHERS             = 2 .
    IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    SELECT SINGLE MAKTG FROM MAKT INTO ITPO5-ITEMDESC WHERE MATNR = ITPO1-MATNR.
    IF SY_SUBRC EQ 0.
    WRITE: / ITPO5-AUFNR,ITPO5-ITEMDESC,ITPO5-I_QTY.
    TOT_QTY = TOT_QTY + ITPO5-I_QTY.
    ENDIF.
    ENDLOOP.

  • How to display a description and make validations

    Hello colleagues...
    As most of you I'm coming from a Forms background and I'm triying to understand some techniques.
    But my question is If have a simple PL/SQL block to display a descripction and make some validations, How can I do the same task using Jdeveloper? for example: I have the follwing PL/SQL in and KEY-NEXT-ITEM trigger.
    DECLARE
    v_status varchar2(1):=null;
    BEGIN
    SELECT department_description, department_status
    INTO :block.department_description, v_status
    FROM departments
    where department_id = :block.department_id;
    if v_status = 'D' then
    message('The department is disable...');
    raise form_trigger_failure;
    end if;
    next_item;
    EXCEPTION
    when no_data_found then
    message('The department you typed does not exist...');
    raise form_trigger_failure;
    END;
    in this case I'm displaying the description of a department and I've validated that the department has to exists and has to be enable. both tasks in the same block.
    How can I don the same thing using Jdeveloper and ADF Business Components?
    Rafael Enrique Martinez.

    Both of these are explained in the ADF Developer Guide that you should read.
    Your view object can contain information from multiple tables (with one being the main/updateable table, and the other being read only). This is how you take part of the first issue.
    http://download.oracle.com/docs/html/B25947_01/bcvoeo003.htm#sm0176
    The validation can be assigned directly to the attribute you want to validate.
    Just add a validation to the attribute in the entity object.
    http://download.oracle.com/docs/html/B25947_01/bcentities007.htm#sm0152

  • Regarding displaying unicode

    Hello javaGurus!
    <Please Help me regarding displaying unicode>
    I am new to javaInternationalization,
    Till now i studies. Java Internationalization tutorial at http://java.sun.com/docs/books/tutorial/i18n/index.html and understand basic Structure.
    I have some problem displaying the unicode characters, such at, Arabic, and japneese.
    - How to display unicodes in applet?
    - How can we set the the Japneese, English, Arabic fonts in one application, which run on windows environment.
    - From where i can get the font s?
    Regards,
    waseem

    If you specify a String object with the unicode sequences (of the form "\u####\u####"), you can simply display it with the method setText(String) of the class javax.text.JTextComponent (or javax.JTextArea), for example. If you specify a String object with your own encoding in your source code, you can compile it with the command:
    javac -encoding <encodingName> fileName
    On Windows OS, the font ArialUnicodeMS will display almost all characters you are to show.
    You can find downloadable fonts in almost any search engine.
    - The following can be additional material for studying.
    http://java.sun.com/j2se/1.4/docs/guide/intl/fontprop.html
    http://developer.java.sun.com/developer/qow/archive/65/index.html

Maybe you are looking for

  • Trigger of Milestone for Vendor Payment

    Hi,    Is there some functionlaity available in SAP for Vendor Payment similar to Triggering of Milestone for Customer Invoices? i.e when we confirm activities milestones are triggered which will remove billing block and vendor payments can be made.

  • A problem about gcc

    I installed Solaris8 x86 on my PC successfully, including software companion CD, which was installed under /opt. Following was added in .profile : PATH=/opt/sfw/bin:$PATH Then I created two programs in a subdirectory: C code, HelloWorld.c, compiled u

  • CS5 keeps losing prefs

    I am pretty sure by now that there are some performance issues with CS5 on my system. First I thought it was random that my brush tools cursors occasionally become the hand or move tool, and I can't get the brush back most times. I also notice that w

  • PDF Slideshows losing functionality when posted online

    PLEASE HELP ME!!!! I HAVE NO PROBLEM MAKING SLIDESHOWS WITH TIFF AND EMAILING THE PDF SLIDESHOWS TO CLIENTS. BUT ONCE I POST THE SLIDESHOW ON MY WEBSITE, THE PDF SLIDESHOW STOPS SCROLLING AUTOMATICALLY AND YOU CAN NOW ONLY MANUALLY SCROLL DOWN THE PA

  • Inspoke data logic

    Hi all, I have created an Ispoke which is getting the data from an infocube and feeding the data to a flat file. The number of records transferred from infocube to Ispoke are not same. For example, infocube is getting 16 records and Ispoke is getting