Fetching data form infotype

Hi folks,
  i am new to ABAP HR. i want to fetch data from a infotype with some conditions. Like, to select data from PA2002 wehre pernr = pernr and begda = pdatv and endda= pdatb and subty = '0930'. Could any body help me how to fetch data by using read_infotype statement...thnks inadvance,
         Ram.

Hi Ram,
Use this FM
  CALL FUNCTION 'HR_READ_INFOTYPE'
       EXPORTING
       TCLAS                 = 'A'
         PERNR                 = ' 00000001 '
         INFTY                 = '2002'
       BEGDA                 = '18000101'
      ENDDA                 = '99991231'
       BYPASS_BUFFER         = ' '
       LEGACY_MODE           = ' '
     IMPORTING
       SUBRC                 =
       TABLES
         INFTY_TAB             = p_2002
  EXCEPTIONS
        INFTY_NOT_FOUND       = 1
        OTHERS                = 2
After this you can use loop at p_2002 for the required subty.
OTHERWISE if you are using the logical database.
PROVIDE * FROM P2002 BETWEEN PN-BEGDA AND PN-ENDDA
          WHERE P0006-SUBTY eq '9030'.
processing logic
  ENDPROVIDE.

Similar Messages

  • Fetching data from infotype

    Hi Experts,
    I have to fetch all data from infotype 0581,can you suggest me how to do this
    in sap abap-hr.
    I am not using LDB in my report.
    Thanks&Regards
    Priyaranjan

    You can use Function module "HR_READ_INFOTYPE"

  • Fetching data form database tables

    Hi all,
    i have a requirment as below:
    i have to fetch EINA-LIFNR, EINE-EKORG, MARA-MTART, EINA-IDNLF,
    EINA-MATNR(also there in MARA), MARA-LVORM, EINA-LOEKZ.
    for a given vendor LFA1-LIFNR.
    we should not use joins in this.
    is there any other way other than FOR ALL ENTRIES.
    please help me with code in any of the way, it is very urgent...
    thanks,
    Rama

    Hi Rama,
    Please use the following code for your required Query with FOR ALL ENTRIES:-
    tables: EINA, EINE , MARA, LFA1.
    TYPES: BEGIN OF GS_DATA1,
           LIFNR TYPE LFA1-LIFNR,
           END OF GS_DATA1,
           BEGIN OF GS_DATA2,
           LIFNR TYPE EINA-LIFNR,
           IDNLF TYPE EINA-IDNLF,
           MATNR TYPE EINA-MATNR,
           LOEKZ TYPE EINA-LOEKZ,
           END OF GS_DATA2,
           BEGIN OF GS_DATA3,
           LIFNR TYPE EINA-LIFNR,
           IDNLF TYPE EINA-IDNLF,
           MATNR TYPE EINA-MATNR,
           LOEKZ TYPE EINA-LOEKZ,
           EKORG TYPE EINE-EKORG,
           END OF GS_DATA3,
           BEGIN OF GS_DATA4,
           LIFNR TYPE LFA1-LIFNR,
           IDNLF TYPE EINA-IDNLF,
           LOEKZ TYPE EINA-LOEKZ,
           EKORG TYPE EINE-EKORG,
           MATNR TYPE MARA-MATNR,
           MTART TYPE MARA-MTART,
           LVORM TYPE MARA-LVORM,
           END OF GS_DATA4.
    DATA: ITAB1 TYPE STANDARD TABLE OF GS_DATA1,
          ITAB2 TYPE STANDARD TABLE OF GS_DATA2,
          ITAB3 TYPE STANDARD TABLE OF GS_DATA3,
          ITAB4 TYPE STANDARD TABLE OF GS_DATA4,
          WA1 LIKE LINE OF ITAB1,
          WA2 LIKE LINE OF ITAB2,
          WA3 LIKE LINE OF ITAB3,
          WA4 LIKE LINE OF ITAB4.
    START-OF-SELECTION.
    SELECT LIFNR FROM LFA1 INTO CORRESPONDING FIELDS OF TABLE ITAB1.
    SELECT LIFNR
            IDNLF
            MATNR
            LOEKZ
            FROM  EINA
            INTO CORRESPONDING FIELDS OF TABLE ITAB2
            FOR ALL ENTRIES IN ITAB1
            WHERE LIFNR = ITAB1-LIFNR.
    SELECT LOEKZ
           EKORG
           FROM EINE
           INTO CORRESPONDING FIELDS OF TABLE ITAB3
           FOR ALL ENTRIES IN ITAB2
           WHERE LOEKZ = ITAB2-LOEKZ.
    SORT ITAB2 BY LOEKZ.
    LOOP AT ITAB3 INTO WA3.
    READ TABLE ITAB2 INTO WA2 WITH KEY LOEKZ = WA3-LOEKZ BINARY SEARCH.
    IF SY-SUBRC = 0.
      WA3-IDNLF = WA2-IDNLF.
      WA3-MATNR = WA2-MATNR.
      WA3-LIFNR = WA2-LIFNR.
      MODIFY ITAB3 FROM WA3 TRANSPORTING IDNLF MATNR LIFNR.
    ENDIF.
    ENDLOOP.
    SELECT MATNR
           MTART
           LVORM
           FROM MARA
           INTO CORRESPONDING FIELDS OF TABLE ITAB4
           FOR ALL ENTRIES IN ITAB3
           WHERE MATNR = ITAB3-MATNR.
    SORT ITAB3 BY MATNR.
    LOOP AT ITAB4 INTO WA4.
    READ TABLE ITAB3 INTO WA3 WITH KEY LOEKZ = WA4-LOEKZ BINARY SEARCH.
    IF SY-SUBRC = 0.
      WA4-LIFNR = WA3-LIFNR.
      WA4-IDNLF = WA3-IDNLF.
      WA4-LOEKZ = WA3-LOEKZ.
      WA4-EKORG = WA4-EKORG.
      MODIFY ITAB4 FROM WA4 TRANSPORTING LIFNR IDNLF LOEKZ EKORG.
    ENDIF.
    ENDLOOP.
    Hope this will solve your problem.
    Reward points are useful.
    Regard,
    Shilpi

  • PCR to fetch data from Infotype 0015

    Hi Folks,
    I would require help to write the PCR for the following scenario
    The PCR has to  check whether there is entry in the wagetype  1LPK in Infotype 0015 and if the value is greater than Zero, then it will make the value in the Technical Wagetype /3I1 as blank.(which is passed thru the function INS88)
    Eg: In IT0015 - 1LPK = 2000 then make /3I1 as blank if not don't disturb it.
    Kindly provide inputs.
    Thanks & Regards,
    Sekar

    It will be helpfull, if i can get sample Rule , as mentioned below
    ZG11 Additional payments
            TABLEP0015 Read table fields
            VARGBINDBW Tab.field VVVVV v.ky
                NUM= ANZHL Set
                NUM?0      Comparison
                    RTE= BETRG Set
                    MULTI NRA  Multipl.amt/no/rate
                    GCY GP47   With exact w.types
                  =
                    AMT= BETRG Set
                    GCY GP47   With exact w.types

  • How to fetch data in Excel throuth oracle forms 10g on client machine

    I am using developer suite 10g forms and i want to fetch data in excel through forms 10g on client machine
    presently i m using OLE for fetching the data in excel , it is working fine but it generates the excel file on server machine and i want get the output excel on the client machine. Is there any parameter to set the destination {Server or Client} which decides the location of output file. If such is the case please let me know or please suggest what should i do. Please help me with proper solution.
    thanks
    Manoj

    If you have an "urgent" issue, I highly encourage you to contact Oracle Support. The forum probably isn't going to be your best source for "urgent" issues.
    http://www.oracle.com/us/support/oracle-support-services-359636.html
    https://support.oracle.com
    This will be especially important if you are new to any of the products as you will likely need documentation and/or product updates in order to ensure the most stable environment possible.
    There are a few publicly available documents which may help to get you started. In any case, these are just examples. They may or may not work to your liking. Further, in some cases they may not work at all. Many of the examples online are often outdated and do not function exactly as documented against other versions. Here is one:
    http://www.oracle.com/technetwork/developer-tools/forms/howto-ole-090332.html
    Additional documentation for using WebUtil is included in the Forms Builder online help. An update to the Builder Help files can be downloaded from here. Be sure to carefully review the included ReadMe before attempting to use them.
    http://docs.oracle.com/cd/B25016_08/doc/dl/web/forms_help/frmhelp_update.zip

  • How to fetch data in a grid format in a bean area in forms 6i?

    Hi,
    I need help from all the gurus and experienced persons in forms 6i. I am trying to build form which will have some text fields and a bean area which will display the records that I had entered. Basically following is the basic form structure I am trying to develop
    1. There will be a search form which will have two text fields 'Emp ID' and 'Emp Name' and two buttons 'New' and 'Find'.
    2. Let there be another form which will have a bean area which will display the following columns in it in the form of a GRID
    a. Emp ID
    b. Emp Name
    This form will also have two text fields 'Emp ID' and 'Emp Name'.
    3. When I press 'New' in the search form then the second form should open and it will be blank. I can enter data in the text fields and save the form. The grid area (bean area) should be blank.
    4. When I open the search form again and enter the 'Emp Id' I just created in the above step and click the 'Find' button then the next form should open and the 'Emp Id' and the 'Emp Name' text fields should be populated with the data I created in the step 3 and the bean area should also display the record in the form of a grid.
    I am ok with all the parts except for the bean area part. Can you help me hpw to develop the form with the bean area and fetch data when searched for and display it in the form of grid?

    But still I would like to learn about the Bean being used in the Oracle Forms. I am not familiar with Java at all. So it would be very helpful from your side if you can give me some sample on how to use bean area in forms and fetch records in that in the form of a Grid.You don't need to know anything about Java in order to implement a Java Bean in your form. You simply need to know how Oracle Forms interacts with Java Beans and the When-Custom-Event trigger used to interact with Java Beans.
    Francois Degrelle has a great web site (Oracle Forms PJCs/Java Beans) for learning how to use Java in Forms. I recommend you get started here. The biggest hurdle you will encounter is setting up your App Server or your local Forms Builder installation to use Java Beans. For some reason, Oracle has retired many of the documents on OTN that walked you through this setup. However, I can assume that you have access to My Oracle Support (MOS) since you are working with EBS 11.5.9. You should be able to find everything you need in MOS to help you set up your environment.
    Craig...

  • Fetching Data with dates

    Hi Experts,
    I am having this scenario.
    PERNR          BEGDA          ENDDA
    000001          01.01.2006     13.01.2007
    000001          14.01.2007     31.12.9999
    000002          14.01.1982     12.11.2006
    000002          13.11.2006     31.01.2007
    000002          01.02.2007     31.12.9999
    This is the scenario my requirement is like that if I will enter PERNR = 1 then it will display 14.01.2007 record. And if I will enter PERNR = 2 then it will display 13.11.2006.
    Regards,
    Rajneesh Gupta

    i don know why u r such awkward requirements.but instead of going for simple HR,u shud go for ABAP-Hr and then write ur code.use LDB PNP.
    and use Get pernr event and then move ur concerned data to ur output internal table.
    Get pernr event will fetch all the Infotype records for the concerned pernr and then u can have particular one in ur iutput table as per ur requirement.
    demo code for using LDBs -
    tables: pernr.
    infotypes: 0021.
    *eject
    *& Constants                                                           *
    constants: c_1(1)       type c               value '1' .
    data: begin of t_output occurs 0,
           num_dep(2) type n,
           pernr like pernr-pernr.
    data: end of t_output.
    data: count type i.
    *eject
    *& Initialization                                                      *
    Initialization.
    Initialize Selection-Screen values
    perform init_selction_screen.
    Start-of-selection.
    get pernr.
      clear t_output.
    Read Infotype 0021
      rp-provide-from-last p0021 space pn-begda pn-endda.
      check pnp-sw-found eq c_1.
    Gather all the required information related to the emp
      describe table p0021 lines count.
      move: pernr-pernr to t_output-pernr,
            count to t_output-num_dep.
      append t_output.
      Clear count.
    *eject
    *& End-of Selection                                                    *
    end-of-selection.
      perform print_report.
    *eject
    *&      Form  print_report
    *Description:
    FORM print_report .
    Print the report
      loop at t_output.
      skip 1.
      at sum
      write: 2 t_output-pernr,
             15 t_output-num_dep.
      endloop.
    ENDFORM.                    " print_report

  • Fetching data is very slow in workspace for planning application

    Hello Everyone,
    I am working in the web environment of a planning application and recently I have seen some issue's like Fetching data is very slow through webform's and the system will locking automatically and which kick me off from workspace when I refresh.So could you suggest me like what would be the reason's for this issue's.
    Thanks in advance

    Hi,
    Sounds like your form is very large or there are maybe a lot of dynamic calcs on the retrieval. How many rows and columns have you on the form ? Have you dense or sparse dimensions as rows or columns?
    Brian

  • Java exception: Planning Data Form Import/Export Utility: FormDefUtil.sh

    Hi,
    We have the following in our environment
    Oracle 10gAS (10.1.3.1.0)
    Shared Services (9.3.1.0.11)
    Essbase Server (9.3.1.3.01)
    Essbase Admin Services (9.3.1.0.11)
    Provider Services (9.3.1.3.00)
    Planning (9.3.1.1.10)
    Financial Reporting + Analysis UI Services (9.3.1.2)
    I got the following error while using the Planning Data Form Import/Export Utility. Does anyone have any idea?
    hypuser@server01>$PLANNING_HOME/bin/FormDefUtil.sh import TEST.xml localhost admin password SamApp
    [May 6, 2009 6:25:11 PM]: Intializing System Caches...
    [May 6, 2009 6:25:11 PM]: Loading Application Properties...
    [May 6, 2009 6:25:11 PM]: Looking for applications for INSTANCE: []
    [May 6, 2009 6:25:13 PM]: The polling interval is set =10000
    Arbor path retrieved: /home/hypuser/Hyperion/common/EssbaseRTC/9.3.1
    [May 6, 2009 6:25:14 PM]: Setting ARBORPATH=/home/hypuser/Hyperion/common/EssbaseRTC/9.3.1
    Old PATH: /home/hypuser/Hyperion/common/JRE/IBM/1.5.0/bin:/home/hypuser/Hyperion/common/JRE/IBM/1.5.0/bin:/home/hypuser/Hyperion/common/JRE/IBM/1.5.0/bin:/home/hypuser/Hyperion/common/JRE/IBM/1.5.0/bin:/home/hypuser/Hyperion/AnalyticServices/bin:/home/hypuser/Hyperion/common/JRE-64/IBM/1.5.0/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:/home/hypuser/bin:/usr/bin/X11:/sbin:.
    [May 6, 2009 6:25:14 PM]: Old PATH: /home/hypuser/Hyperion/common/JRE/IBM/1.5.0/bin:/home/hypuser/Hyperion/common/JRE/IBM/1.5.0/bin:/home/hypuser/Hyperion/common/JRE/IBM/1.5.0/bin:/home/hypuser/Hyperion/common/JRE/IBM/1.5.0/bin:/home/hypuser/Hyperion/AnalyticServices/bin:/home/hypuser/Hyperion/common/JRE-64/IBM/1.5.0/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:/home/hypuser/bin:/usr/bin/X11:/sbin:.
    java.lang.UnsupportedOperationException
    at com.hyperion.planning.olap.HspEssbaseEnv.addEssRTCtoPath(Native Method)
    at com.hyperion.planning.olap.HspEssbaseEnv.init(Unknown Source)
    at com.hyperion.planning.olap.HspEssbaseJniOlap.<clinit>(Unknown Source)
    at java.lang.J9VMInternals.initializeImpl(Native Method)
    at java.lang.J9VMInternals.initialize(J9VMInternals.java:187)
    at com.hyperion.planning.HspJSImpl.createOLAP(Unknown Source)
    at com.hyperion.planning.HspJSImpl.<init>(Unknown Source)
    at com.hyperion.planning.HspJSHomeImpl.createHspJS(Unknown Source)
    at com.hyperion.planning.HspJSHomeImpl.getHspJSByApp(Unknown Source)
    at com.hyperion.planning.HyperionPlanningBean.Login(Unknown Source)
    at com.hyperion.planning.HyperionPlanningBean.Login(Unknown Source)
    at com.hyperion.planning.utils.HspFormDefUtil.main(Unknown Source)
    Setting Arbor path to: /home/hypuser/Hyperion/common/EssbaseRTC/9.3.1
    [May 6, 2009 6:25:15 PM]: MAX_DETAIL_CACHE_SIZE = 20 MB.
    [May 6, 2009 6:25:15 PM]: bytesPerSubCache = 5654 bytes
    [May 6, 2009 6:25:15 PM]: MAX_NUM_DETAIL_CACHES = 3537
    Setting HBR Mode to: 2
    Unable to find 'HBRServer.properties' in the classpath
    HBR Configuration has not been initialized. Make sure you have logged in sucessfully and there are no exceptions in the HBR log file.
    java.lang.Exception: HBR Configuration has not been initialized. Make sure you have logged in sucessfully and there are no exceptions in the HBR log file.
    HBRServer.properties:HBR.embedded_timeout=10
    HBR Configuration has not been initialized. Make sure you have logged in sucessfully and there are no exceptions in the HBR log file.
    java.lang.ExceptionInInitializerError
    at java.lang.J9VMInternals.initialize(J9VMInternals.java:205)
    at com.hyperion.hbr.api.thin.HBR.<init>(Unknown Source)
    at com.hyperion.hbr.api.thin.HBR.<init>(Unknown Source)
    at com.hyperion.planning.db.HspFMDBImpl.initHBR(Unknown Source)
    at com.hyperion.planning.db.HspFMDBImpl.initializeDB(Unknown Source)
    at com.hyperion.planning.HspJSImpl.createDBs(Unknown Source)
    at com.hyperion.planning.HspJSImpl.<init>(Unknown Source)
    at com.hyperion.planning.HspJSHomeImpl.createHspJS(Unknown Source)
    at com.hyperion.planning.HspJSHomeImpl.getHspJSByApp(Unknown Source)
    at com.hyperion.planning.HyperionPlanningBean.Login(Unknown Source)
    at com.hyperion.planning.HyperionPlanningBean.Login(Unknown Source)
    at com.hyperion.planning.utils.HspFormDefUtil.main(Unknown Source)
    Caused by: Exception HBR Configuration has not been initialized. Make sure you have logged in sucessfully and there are no exceptions in the HBR log file.
    ClassName: java.lang.Exception
    at com.hyperion.hbr.common.ConfigurationManager.getServerConfigProps(Unknown Source)
    at com.hyperion.hbr.cache.CacheManager.<clinit>(Unknown Source)
    at java.lang.J9VMInternals.initializeImpl(Native Method)
    at java.lang.J9VMInternals.initialize(J9VMInternals.java:187)
    ... 11 more
    [May 6, 2009 6:25:15 PM]: Regeneration of Member Fields Complete
    [May 6, 2009 6:25:16 PM]: Thread main acquired connection com.hyperion.planning.olap.HspEssConnection@5f0e5f0e
    [May 6, 2009 6:25:16 PM]: Thread main releasing connection com.hyperion.planning.olap.HspEssConnection@5f0e5f0e
    [May 6, 2009 6:25:16 PM]: Thread main released connection com.hyperion.planning.olap.HspEssConnection@5f0e5f0e
    [May 6, 2009 6:25:16 PM]: Need to create an Object. pool size = 0 creatredObjs = 1
    java.lang.RuntimeException: Unable to aquire activity lease on activity 1 as the activity is currently leased by another server.
    at com.hyperion.planning.sql.actions.HspAquireActivityLeaseCustomAction.custom(Unknown Source)
    at com.hyperion.planning.sql.actions.HspAction.custom(Unknown Source)
    at com.hyperion.planning.sql.actions.HspActionSet.doActions(Unknown Source)
    at com.hyperion.planning.sql.actions.HspActionSet.doActions(Unknown Source)
    at com.hyperion.planning.HspJSImpl.aquireActivityLease(Unknown Source)
    at com.hyperion.planning.HspJSImpl.reaquireActivityLease(Unknown Source)
    at com.hyperion.planning.utils.HspTaskListAlertNotifier.reaquireTaskListActivityLease(Unknown Source)
    at com.hyperion.planning.utils.HspTaskListAlertNotifier.processTaskListAlerts(Unknown Source)
    at com.hyperion.planning.utils.HspTaskListAlertNotifier.run(Unknown Source)
    [May 6, 2009 6:25:16 PM]: Fetching roles list for user took time: Total: 42
    [May 6, 2009 6:25:16 PM]: Entering method saveUserIntoPlanning
    [May 6, 2009 6:25:16 PM]: User role is:0
    [May 6, 2009 6:25:16 PM]: Skipping unused HUB role: native://DN=cn=HP:0005,ou=HP,ou=Roles,dc=css,dc=hyperion,dc=com?ROLE
    [May 6, 2009 6:25:16 PM]: Skipping unused HUB role: native://DN=cn=HUB:1,ou=HUB,ou=Roles,dc=css,dc=hyperion,dc=com?ROLE
    [May 6, 2009 6:25:16 PM]: Skipping unused HUB role: native://DN=cn=HUB:9,ou=HUB,ou=Roles,dc=css,dc=hyperion,dc=com?ROLE
    [May 6, 2009 6:25:16 PM]: Skipping unused HUB role: native://DN=cn=HUB:3,ou=HUB,ou=Roles,dc=css,dc=hyperion,dc=com?ROLE
    [May 6, 2009 6:25:16 PM]: Skipping unused HUB role: native://DN=cn=HUB:7,ou=HUB,ou=Roles,dc=css,dc=hyperion,dc=com?ROLE
    [May 6, 2009 6:25:16 PM]: Skipping unused HUB role: native://DN=cn=HUB:14,ou=HUB,ou=Roles,dc=css,dc=hyperion,dc=com?ROLE
    [May 6, 2009 6:25:16 PM]: Skipping unused HUB role: native://DN=cn=HUB:15,ou=HUB,ou=Roles,dc=css,dc=hyperion,dc=com?ROLE
    [May 6, 2009 6:25:16 PM]: Skipping unused HUB role: native://DN=cn=HUB:10,ou=HUB,ou=Roles,dc=css,dc=hyperion,dc=com?ROLE
    [May 6, 2009 6:25:16 PM]: Skipping unused HUB role: native://DN=cn=HUB:12,ou=HUB,ou=Roles,dc=css,dc=hyperion,dc=com?ROLE
    [May 6, 2009 6:25:16 PM]: Skipping unused HUB role: native://DN=cn=HUB:13,ou=HUB,ou=Roles,dc=css,dc=hyperion,dc=com?ROLE
    [May 6, 2009 6:25:16 PM]: Skipping unused HUB role: native://DN=cn=HUB:1,ou=HUB,ou=Roles,dc=css,dc=hyperion,dc=com?ROLE
    [May 6, 2009 6:25:16 PM]: Skipping unused HUB role: native://DN=cn=HUB:9,ou=HUB,ou=Roles,dc=css,dc=hyperion,dc=com?ROLE
    [May 6, 2009 6:25:16 PM]: Skipping unused HUB role: native://DN=cn=HUB:3,ou=HUB,ou=Roles,dc=css,dc=hyperion,dc=com?ROLE
    [May 6, 2009 6:25:16 PM]: Skipping unused HUB role: native://DN=cn=HUB:7,ou=HUB,ou=Roles,dc=css,dc=hyperion,dc=com?ROLE
    [May 6, 2009 6:25:16 PM]: Skipping unused HUB role: native://DN=cn=HUB:14,ou=HUB,ou=Roles,dc=css,dc=hyperion,dc=com?ROLE
    [May 6, 2009 6:25:16 PM]: Skipping unused HUB role: native://DN=cn=HUB:15,ou=HUB,ou=Roles,dc=css,dc=hyperion,dc=com?ROLE
    [May 6, 2009 6:25:16 PM]: Skipping unused HUB role: native://DN=cn=HUB:10,ou=HUB,ou=Roles,dc=css,dc=hyperion,dc=com?ROLE
    [May 6, 2009 6:25:16 PM]: Skipping unused HUB role: native://DN=cn=HUB:12,ou=HUB,ou=Roles,dc=css,dc=hyperion,dc=com?ROLE
    [May 6, 2009 6:25:16 PM]: Skipping unused HUB role: native://DN=cn=HUB:13,ou=HUB,ou=Roles,dc=css,dc=hyperion,dc=com?ROLE
    [May 6, 2009 6:25:16 PM]: Hub Roles for user is:991
    [May 6, 2009 6:25:16 PM]: Exiting method saveUserIntoPlanning
    [May 6, 2009 6:25:16 PM]: Saved the user admin to Planning
    [May 6, 2009 6:25:16 PM]: Entering method persistUserChanges()
    [May 6, 2009 6:25:16 PM]: Exiting method persistUserChanges()
    [May 6, 2009 6:25:16 PM]: Before calling getGroupsList for user from CSS
    [May 6, 2009 6:25:16 PM]: After getGroupsList call returned from CAS with groupsList [Ljava.lang.String;@705c705c
    [May 6, 2009 6:25:16 PM]: Fetching groups list for user took time: Total: 4
    [May 6, 2009 6:25:16 PM]: Entering method persistGroupChanges()
    [May 6, 2009 6:25:16 PM]: Exiting method persistGroupChanges()
    [May 6, 2009 6:25:16 PM]: User synchronization of 1 user elapsed time: 81, Users: 72, Groups: 9.
    [May 6, 2009 6:25:16 PM]: Didnt add child Forms, couldnt find parent 1
    Add/Update form under form folder - Corporate
    [May 6, 2009 6:25:21 PM]: Propegating external event[ FROM_ID: 7a7ebc1d Class: class com.hyperion.planning.sql.HspObject Object Type: -1 Primary Key: 1454699 ]
    [May 6, 2009 6:25:21 PM]: Propegating external event[ FROM_ID: 7a7ebc1d Class: class com.hyperion.planning.sql.HspPDFPrintOptions Object Type: -1 Primary Key: 1454699 ]
    [May 6, 2009 6:25:21 PM]: Propegating external event[ FROM_ID: 7a7ebc1d Class: class com.hyperion.planning.sql.HspForm Object Type: 7 Primary Key: 1454699 ]
    [May 6, 2009 6:25:21 PM]: Propegating external event[ FROM_ID: 7a7ebc1d Class: class com.hyperion.planning.sql.HspPDFPrintOptions Object Type: -1 Primary Key: 1454699 ]
    [May 6, 2009 6:25:21 PM]: Propegating external event[ FROM_ID: 7a7ebc1d Class: class com.hyperion.planning.sql.HspAnnotation Object Type: 14 Primary Key: 1454699 ]
    [May 6, 2009 6:25:21 PM]: Propegating external event[ FROM_ID: 7a7ebc1d Class: class com.hyperion.planning.sql.HspAccessControl Object Type: 15 Primary Key: 50001,1454699 ]
    [May 6, 2009 6:25:21 PM]: Propegating external event[ FROM_ID: 7a7ebc1d Class: class com.hyperion.planning.sql.HspFormDef Object Type: -1 Primary Key: 1454699 ]
    Form imported complete.
    [May 6, 2009 6:25:21 PM]: Could not get HBR connection.

    Hi,
    When I run the Formdefutil command, forms were imported successfully. But I got the following message.
    Could not get HBR connection.
    What does it mean?
    Thanks & Regards,
    Sravan Kumar.

  • How to fetch data from DataBase using Servlet ?

    Hi all,
    Till now, i was just sending values from web page and receive the data in excel format using servlets.
    But, now, i want to fetch data from data base. I will be giving inputs in the web page(for the query)....ON click of submit button,
    Servlet should be called.
    Depending on the input, query has to be executed, and response should be sent to the user.
    How to do it?
    Code
    import java.text.*;
    import java.sql.*;
    import java.util.*;
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.io.OutputStream;
    /** Simple servlet that reads three parameters from the html
    form
    public class Fetchdata extends HttpServlet
              String query=new String();
              String uid="ashvini";
              String pwd="******";
              try
                   Connection con=null;
                   Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");     
                   String url = "jdbc:odbc:Testing";     
                   con = DriverManager.getConnection(url, uid, pwd);
                   Statement s = con.createStatement();
                   query = "select * from gowri.msllst1";
                   ResultSet rs = s.executeQuery(query);
              public void doGet(HttpServletRequest request,HttpServletResponse response)
              throws ServletException, IOException
                        response.setContentType("application/vnd.ms-excel");
                        ServletOutputStream out=response.getOutputStream();
                        out.println("<HTML>" +"<BODY BGCOLOR=\"#FDF5E6\">\n" +
                        "<H1 ALIGN=CENTER>" + title + "</H1>\n" +
                        "<table>" +" <th>ITEM Code</th>");
                        while(rs.next())
                        out.println("<tr><td>" rs.getString(1).trim()"</tr></td>");
                        }//end of while
                        out.println("</table></BODY></HTML>");
                   }//end of doGet method
         }catch(Exception e)
                        System.out.println(e);
    It is giving error message as:
    C:\Program Files\Apache Tomcat 4.0\webapps\general\srvlt>javac Fetchdata.java
    Fetchdata.java:17: illegal start of type
    try
    ^
    Fetchdata.java:48: <identifier> expected
    ^
    2 errors
    Is this format is correct? am i placing this doGet method at the right place? is my program's logic is correct?
    Please help me?
    Regards
    AShvini

    There is some mistakes in ur code.....how can try catch exists outside a function???
    make use of try catch isde ur doGet method and put
    Connection con=null;
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    String url = "jdbc:odbc:Testing";
    con = DriverManager.getConnection(url, uid, pwd);
    Statement s = con.createStatement();
    query = "select * from gowri.msllst1";
    ResultSet rs = s.executeQuery(query);
    isdie doGet method, for the time being,
    i think u get me..
    regards
    shanu

  • Hey guys how to fetch data from db table using subroutine

    hi guys,
                   I am fetching data from db table "mcha". now in the follwing code i get it in "HSDAT1_DATE."
                   now when i read out_tab with key "HSDAT1". it wont come in out_tab-value.plz tell me what is wrong whether some key condition in out_tab or any thing else.
    and what should i write in changing && in script.
    thanks in advance
    FORM DATE_MGF TABLES IN_TAB STRUCTURE ITCSY
                         OUT_TAB STRUCTURE ITCSY.
    tables :MCHA ,QALS.
      DATA : WERKS1 LIKE QALS-WERK.
      DATA : HSDAT1 LIKE MCHA-HSDAT.
      DATA : DATE(2),
             MONTH(2),
             YEAR(4).
    DATA : HSDAT1_DATE(10).
      READ TABLE IN_TAB WITH KEY 'QALS-WERK'.
      LOOP AT IN_TAB.
        IF SY-TABIX EQ 1.
          WERKS1 = IN_TAB-VALUE.
          IF WERKS1 NE SPACE.
            EXIT.
          ENDIF.
        ENDIF.
      ENDLOOP.
      SELECT SINGLE HSDAT INTO HSDAT1
                          FROM MCHA
                                    WHERE  WERKS = WERKS1.
      DATE = HSDAT1+6(2).
      MONTH = HSDAT1+4(2).
      YEAR = HSDAT1+0(4).
      CONCATENATE DATE '.' MONTH '.' YEAR INTO HSDAT1_DATE.
      READ TABLE OUT_TAB WITH KEY 'HSDAT1' .
      IF SY-SUBRC = 0.
        OUT_TAB-VALUE = HSDAT1.
        MODIFY OUT_TAB INDEX SY-TABIX.
      ENDIF.

    Hi,
    Let me understanf clearly what you want.
    initally mine out_tab is blank
    According to you, your table out_tab is blank. And you need to add out_tab-value = HSDAT1_date.
    READ TABLE OUT_TAB WITH KEY 'HSDAT1' .
      IF SY-SUBRC = 0.
        OUT_TAB-VALUE = HSDAT1.
        MODIFY OUT_TAB INDEX SY-TABIX.
      ENDIF.
    So, if your table is blank, then read statement will fail.
    Please let me know if your table out_tab in blank when you are reading the table and if this table contains any field called HSDAT.
    Basically i would like to know your internal table out_tab declaration.
    Thanks,
    Archana

  • Fetching data from LDB

    Hello Guys,
    I'm new to ABAP-HR. I have used PNPCE LDB in my program. Now I have to make the Employment status as obligatory.
    Depending on the period entered along with the Employment status, I need to select the data from infotype.
    Only I want the master data screen and none of the other options should be working. The other options available should not be working when a program is executed.
    Kindly guide me, if any link is available then kindly provide me as I was not able to get it in the forum.
    Thanks.

    Hi ,
    Use get pernr event after start-of-selection.
    Get perner will get u data based on selection screen values.
    example:
    tables: pernr.
    infotypes: 0000,0001.
    start-of-selection.
    GET PERNR.
    This event fetches all data of pernrs which are selected on the selection screen. it fecthes data from infotypes 0000, 0001,
    end-of-selection.

  • Authorization control when fetching data from PA OM tables

    Hi all,
    I want to know how to control DB level authorization using HR_READ_INFOTYPE and RP_READ_INFOTYPE. Taht is, i want to check whetehr the user who is executing a report is having read authorization for that infotype. If not, i should not fetch the data and the report should return error message?
    Instead of authorization (std, custom) object, i want to control when fetching data from PA and OM tables in HR. How to achieve the same?

    As EJP said, your query might have problem with the using clause. Post your query.
    It gives an exception when I try to run the query, and I'm trying to fetch all columns not only 'taskid'
    java.sql.SQLException: ORA-25154: column part of USING clause cannot have qualifier
    Yes, with the exact sql query he posted. It gives that exception.I guess you are trying to fetch all the columns by using the above query which i posted. No you should not fetch all the columns. Because the rs will only the three columns.
    Also, use 'as' with that query like,
    select t1.taskid as t1_taskid, t2.taskid as t2_taskid ,t3.taskid as t3_taskid from...Edited by: Ram on Aug 23, 2011 6:20 PM

  • Invalid data form - v11.1.2

    Message reads, "The data form Budget Formulation Worksheet is invalid. Check log for details."
    I've looked at a few threads that address this itopic, but none of the responses fix our issue. We're running v11.1.2.0. New app. No data loaded, yet. No user variables. Essbase has been refreshed. New data form. I've reduced every dimension to a single member (i.e., no iDescendants). Accounts in the rows, Periods in the columns, Year, Scenario, Version, Entity in the Page and a couple lof dims in POV.
    We're in a tightly contolled environment with no access to the log files. Will have the IT boy fetch us the log files, but need to give him specific files names and locations. I found the path below:
    UNIX: Oracle WebLogic Server:
    MIDDLEWARE_HOME/user_projects/epmsystem1/diagnostics/logs/starter
    Do we still request the HyS9Planning-syserr.log and HyS9Planning-sysout.log or are they only applicable to Windows?
    Any suggestions will be greatly appreciated.
    Edited by: user13525136 on Mar 22, 2011 11:37 AM

    Hi John,
    Thanks for the post. The data form started working this afternoon. I reworked the form to leaf level for every dimension just to start fresh, even though I'm 99% sure I did this yesterday. Then worked my way up the dimensions, one by one, until I was at the top of the house.
    Works like a champ. Why is it working today? I found out a coworker was loading data into the app. Up to this point the cube was empty. That must have been the key.
    Regards,
    Dave

  • Add null rows in WDDOINIT  for fetching data from dynamically added rows..

    Hi,,
    I have to fetch data from a dynamically added rows of a table.
    I have followed / gone through many forums but they ddnot mention how to add null rows in the initialization method..
    I am using WD Abap..
    Can anyone help how to bind null rows in WDDOINIT method..?
    Thanks,
    Surya

    Discussed @ SDN lot of time before. Have a look at any of below threads:-
    Dynamic table in interactive form...
    Make dynamic tables in Adobe Interactive forms
    Adding Rows dynamically upon clicking the button
    How to get values to WebDynpro ABAP from dynamic table?
    Chintan

Maybe you are looking for