Problem while working with function module RFC_READ_TABLE

Dear Experts,
                 I am facing a problem while working on the FM RFC_READ_TABLE, in which there is a tables parameter options which is of table type, to which I am passing the condition of selection.  In the debugg mode I found the select quiry in the source code of function module is not executing the condition passed in the options parameter.
My actual requirement is to fetch all the custom programs in a remote server, the code I have written is below.
TYPES :
         BEGIN OF ty_tadir,
           pgmid  TYPE pgmid,
           object TYPE  trobjtype,
           obj_name  TYPE  sobj_name,
         END OF ty_tadir.
DATA : it_tadir TYPE STANDARD TABLE OF ty_tadir,
        wa_tadir TYPE ty_tadir.
  data: stmp_dokhl  like TAB512       occurs 100000 with header line.
  data: options1    like rfc_db_opt occurs     10 with header line.
data: wa_options1 like line of options1.
  data: nametab1    like rfc_db_fld  occurs     10 with header line.
START-OF-SELECTION.
DATA : W_VALUE(5)  TYPE C,
       W_VALUE1(20) TYPE C.
W_VALUE1 =  'OBJ_NAME like'.
W_VALUE = 'z*'.
CONCATENATE 'OBJ_NAME LIKE' ' ''' W_VALUE '''' INTO OPTIONS1-TEXT.
CONCATENATE W_VALUE1 W_VALUE INTO wa_OPTIONS1-TEXT SEPARATED BY SPACE.
APPEND wa_OPTIONS1 to OPTIONS1.
CLEAR wa_OPTIONS1.
    call function 'RFC_READ_TABLE'
         destination                'zard'
         exporting
              query_table          = 'TADIR' "'ZBANK_GUARANTEE'
         tables
              options              = options1
              fields               = nametab1
              data                 = stmp_dokhl
         exceptions
              table_not_available  = 1
              table_without_data   = 2
              option_not_valid     = 3
              field_not_valid      = 4
              not_authorized       = 5
              data_buffer_exceeded = 6
              others               = 7 .
Please give me some inputs on this,
With warm regards,
Murthy.
Edited by: pr murthy on Sep 18, 2008 1:49 PM
Edited by: pr murthy on Sep 18, 2008 2:14 PM

Hi
I have tried this and with small change this is working fine.
TYPES :
BEGIN OF ty_tadir,
pgmid TYPE pgmid,
object TYPE trobjtype,
obj_name TYPE sobj_name,
END OF ty_tadir.
DATA : it_tadir TYPE STANDARD TABLE OF ty_tadir,
wa_tadir TYPE ty_tadir.
data: stmp_dokhl like TAB512 occurs 100000 with header line.
data: options1 like rfc_db_opt occurs 10 with header line.
data: wa_options1 like line of options1.
data: nametab1 like rfc_db_fld occurs 10 with header line.
START-OF-SELECTION.
DATA : W_VALUE(5) TYPE C,
W_VALUE1(20) TYPE C.
W_VALUE1 = 'OBJ_NAME LIKE ''Z%'''.
wa_options1-text = w_value1.
APPEND wa_OPTIONS1 to OPTIONS1.
CLEAR wa_OPTIONS1.
call function 'RFC_READ_TABLE'
*destination 'zard'
exporting
query_table = 'TADIR' "'ZBANK_GUARANTEE'
tables
options = options1
fields = nametab1
data = stmp_dokhl
exceptions
table_not_available = 1
table_without_data = 2
option_not_valid = 3
field_not_valid = 4
not_authorized = 5
data_buffer_exceeded = 6
others = 7 .

Similar Messages

  • Problems While Working With CLOB fields

    HI Friends,
    I am facing one big problem while working with CLOB fields. I work in crystal reports in my project and My team is works in BMC Remedy tool. As per database configuration by default the date fields are stored in numbers. There is a field named Work Log which stores the complete history information of a ticket or a call.
    While generating reports I convert the date fields from numbers into date values by using to_date function. But I am not able to change the dates mentioned in the worklog which is a CLOB field. As a result when I am generating reports text part of the work log is comming fine but the date fields are comming in numbers.
    Please refer the below example:-
    *1291012455anilkumarptesting*
    Full Name:
    PRG Name - EUC-APP PKGN1291012585anilkumarptesting
    Full Name:
    PRG Name - EUC-APP PKGN1291012631anilkumarptest
    Full Name:
    PRG Name - EUC-APP PKGN1291207510anilkumarpfd
    Full Name: Anil Kumar Pantangi
    PRG Name - Prod_Ops1291207535anilkumarpf
    Full Name: Anil Kumar Pantangi
    PRG Name - Prod_Ops
    Assignment notification disabled for this transaction1291212517kapilbasd
    Full Name: Anil Kumar Pantangi
    PRG Name - Prod_Ops
    See the first line of the worklog "1291012455anilkumarptesting", 1291012455 is referring a date value, but due to database configuration it's comming in number. All the other numbers in the above text are dates only which need's to be converted. These dates are captured in remedy tool when someone updates that ticket.
    I am not able to decide how to change this numbers into dates. As it is containing lot's of numbers i am really confused how to come with a solution.
    Can I expect a solution from you, atleast a way how to proceed resolving this problem. Should I have to write a procedure for this??
    Please help..........
    Kindly let me know if you need any more input.
    Regards,
    Arijit

    937670 wrote:
    1291012455 represents a date value,What date value does it represent? Since it's not obvious to us what date you want that converted into, it's obviously hard for us to help. For example, perhaps you want that to be Jan 29, 2010 with "12455" representing a time component in some non-obvious format. Perhaps you want that to be December 1991 at 1:24:55. Perhaps you want to convert it to a completely different date. You're going to need to tell us in words how to convert your numeric data into a date.
    My question is how can I convert all the numbers into date in the CLOB field and present it in a proper manner.Given your sample data, what do you expect the output to be? Do you expect many rows of data, one for every date in the CLOB? Do you expect a comma-separated list? Something else?
    Justin

  • Problem while working with packages?

    hi,
    I am new to java.while running the program which is using package i am getting the following error
    *Exception in thread "main" java.lang.NoClassDefFoundError: HelloServlet2 (wrongname: coreservlets/HelloServlet2)
    at java.lang.ClassLoader.defineClass1(Nativ... Method)
    at java.lang.ClassLoader.defineClass(Unknow... Source)
    at java.security.SecureClassLoader.defineCl... Source)
    at java.net.URLClassLoader.defineClass(Unkn... Source)
    at java.net.URLClassLoader.access$100(Unkno... Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivile... method)
    at java.net.URLClassLoader.findClass(Unknow... Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadCla... Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(... Source).*iam using windows xp and iam working with jdk1.5 version.plz any one help me to solv this problem.
    thanks in advance.

    This is the program iam trying to run
    package coreservlets;
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    /** Simple servlet for testing the use of packages.
    * <P>
    * Taken from Core Servlets and JavaServer Pages 2nd Edition
    * from Prentice Hall and Sun Microsystems Press,
    * http://www.coreservlets.com/.
    public class HelloServlet2 extends HttpServlet {
    public void doGet(HttpServletRequest request,
    HttpServletResponse response)
    throws ServletException, IOException {
    response.setContentType("text/html");
    PrintWriter out = response.getWriter();
    String docType =
    "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 " +
    "Transitional//EN\">\n";
    out.println(docType +
    "<HTML>\n" +
    "<HEAD><TITLE>Hello (2)</TITLE></HEAD>\n" +
    "<BODY BGCOLOR=\"#FDF5E6\">\n" +
    "<H1>Hello (2)</H1>\n" +
    "</BODY></HTML>");
    I have installed jre1.5 version.and i have specified my class name has coreservlet.HelloServlet in my web.xml.after sending the request sever giving the exception like
    javax.servlet.ServletException: Wrapper cannot find servlet class coreservlet.HelloServlet2 or a class it depends on
         org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
         org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
         org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
         org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
         org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
         java.lang.Thread.run(Unknown Source)
    iam using Tomcat 5.5 web server for my web appln.After compiling the above program the coreservlets subdirectory must be created in development directory right,but it is not doing that. plz help me.

  • Problem while creating generic function module

    Hello experts,
    The master data 0VENDOR_ATTR is extracted using function module MDEX_VENDOR_MD. I have to create a generic data source based on the function module MDEX_VENDOR_MD. My code does not identify the data source name while debugging.
    Below is the original code from MDEX_VENDOR_MD:
    Check InfoObject validity and set IO-dependent parameters
        G_TAB1_FLG =  G_TAB2_FLG =  G_TAB3_FLG =  G_TAB4_FLG = ' '.
        CASE I_CHABASNM.
          WHEN '0VENDOR'.
            G_TAB1_FLG = 'X'.
            G_TABLENAME = 'LFA1'.
          WHEN '0VEN_COMPC'.
            G_TAB2_FLG = 'X'.
            G_TABLENAME = 'LFB1'.
          WHEN '0VEN_PURORG'.
            G_TAB3_FLG = 'X'.
            G_TABLENAME = 'LFM1'.
          WHEN OTHERS.
            IF 1 = 2. MESSAGE E009(R3). ENDIF.
            LOG_WRITE 'E'                  "message type
                      'R3'                 "message class
                      '009'                "message number
                      I_CHABASNM           "message variable 1
                      ' '.                 "message variable 2
            RAISE ERROR_PASSED_TO_MESS_HANDLER.
        ENDCASE.
    When I debug 0VENDOR_ATTR, In above code, it identify the data source 0VENDOR (i.e. I_CHABASNM = 0 VENDOR)
    My code :
    CASE I_CHABASNM.
          WHEN 'ZDATA_SOURCE'.
          WHEN OTHERS.
            IF 1 = 2. MESSAGE E009(R3). ENDIF.
            LOG_WRITE 'E'                  "message type
                      'R3'                 "message class
                      '009'                "message number
                      I_CHABASNM           "message variable 1
                      ' '.                 "message variable 2
            RAISE ERROR_PASSED_TO_MESS_HANDLER.
        ENDCASE.
    I created above data source ZDATA_SOURCE in RSO2 by giving function module  ZMDEX_VENDOR_MD (copy of original function group to Z group with few modifications in ZMDEX_VENDOR_MD). Every thing is OK, but while debugging, the cursor leads to WHEN OTHERS clause in above CASE statement and the program terminated with log(i.e., the program does not identify I_CHABASNM = ZDATA_SOURCE).
    When I see 0VENDOR_ATTR in RSA3, there is no associated function module MDEX_VENDOR_MD is visible. What could be the reason?
    your suggestion is really helpful...
    Thanks in advance,
    Zak.

    Hi Zakir,
    try this........
    <CASE I_CHABASNM>----
    -<WHEN '0VENDOR'>---
    case I_Datasource
    when 'datasource name'.
    check here
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a0f46157-e1c4-2910-27aa-e3f4a9c8df33?quicklink=index&overridelayout=true
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c062a3a8-f44c-2c10-ccb8-9b88fbdcb008?quicklink=index&overridelayout=true
    hope this will help you.
    Thanks,
    Vijay.
    Edited by: vijay m on Mar 31, 2010 1:10 PM

  • Problem while importing RFC function module in XI. Please Help!

    Hi Experts,
               When I try to import RFC function module in XI I get the following error:
                 **Ready for import**
    Import started...
    YCOP_VALIDATE_GR:
      + com.sap.aii.ibrep.sbeans.upload.RemoteUploadException: connection closed without message (CM_NO_DATA_RECEIVED)
    Import failed with 1 error
    Any idea why is this error? How to resolve this?
    Thanks
    Gopal

    Hi
       The problem still persists.
       This is what I have done:
        1. My FM is RFC enabled. In the "Attribute" tab of the FM I have selected "Remote-enabled module" and "Start immed".
    2.Activated and tested the FM.
    3.Released the FM. In se37, Function Module -> Release ->Release. 
    4.Tried to import this FM in XI under "RFC". Get the same error.
    I have some questions:
    1. After releasing the FM do I have to activate it?
    2. In release there is "Internal Release" Do I have to use that?
    3.Do I have to do "Internal Release" first then "Release"?
    4.The FM i am trying to import makes a call to another FM. Both the FMs are in the same system. Both are remote enabled. The second FM updates data in custom table. the first FM which I am importing validates the data and then calls the second FM for update. Do I have to import both FMs?
    Please help me!
    Thanks
    Gopal

  • Problem while working with shuttle lists in APEX 3.2

    Hi all,
    My requirement is to populate a table whose SQL DDL is:
    CREATE TABLE "C_BIA_MOD_PROD_LINE_VER_REL"
    (     "PRODUCT_LINE_VERSION" VARCHAR2(100) NOT NULL ENABLE,
         "MODULE_CODE" VARCHAR2(100) NOT NULL ENABLE,
         CONSTRAINT "C_BIA_MOD_PROD_LINE_VER_R_PK" PRIMARY KEY ("PRODUCT_LINE_VERSION", "MODULE_CODE") ENABLE
    ALTER TABLE "C_BIA_MOD_PROD_LINE_VER_REL" ADD CONSTRAINT "C_BIA_MOD_PROD_LINE_VER_R_FK1" FOREIGN KEY ("MODULE_CODE")
         REFERENCES "C_BIA_MODULE" ("MODULE_CODE") ENABLE;
    ALTER TABLE "C_BIA_MOD_PROD_LINE_VER_REL" ADD CONSTRAINT "C_BIA_MOD_PROD_LINE_VER_R_FK2" FOREIGN KEY ("PRODUCT_LINE_VERSION")
         REFERENCES "C_PRODUCT_LINE_VERSION" ("PRODUCT_LINE_VERSION") ENABLE;
    Now in the CREATE form of C_BIA_MODULE, I have added a region and an item, of "Shuttle list type" for PRODUCT_LINE_VERSION. For the button CREATE, I have prepared the PL/SQL as:
    DECLARE
    prodlinever_selected APEX_APPLICATION_GLOBAL.VC_ARR2;
    BEGIN
         prodlinever_selected := APEX_UTIL.STRING_TO_TABLE(:P4_PRODUCT_LINE_VERSION);
         FOR i IN 1..prodlinever_selected.count
         LOOP
              INSERT INTO C_BIA_MOD_PROD_LINE_VER_REL (MODULE_CODE, PRODUCT_LINE_VERSION)
                   VALUES (:P4_MODULE_CODE, prodlinever_selected(i));
         END LOOP;
    return true;
    END;
    The question is where to use this PL/SQL? The "Conditions" column under "Edit Page Buttons" SHOULD not have this. Also, the "database action" options are not sufficient to populate by selections in a table other(C_BIA_MOD_PROD_LINE_VER_REL) than the current table page (C_BIA_MODULE) . Any other approach? Please help. Insufficient info given in user guide.
    Thanks
    -Bhavesh
    Edited by: Bhavesh Agarwal on Jul 14, 2009 12:26 AM
    Edited by: Bhavesh Agarwal on Jul 22, 2009 10:08 PM

    Thanks Varad it worked, with the debug output is:
    0.00: A C C E P T: Request="CREATE"
    0.00: Metadata: Fetch application definition and shortcuts
    0.01: NLS: wwv_flow.g_flow_language_derived_from=FLOW_PRIMARY_LANGUAGE: wwv_flow.g_browser_language=en-us
    0.02: alter session set nls_language="AMERICAN"
    0.02: alter session set nls_territory="AMERICA"
    0.02: NLS: CSV charset=WE8MSWIN1252
    0.02: ...NLS: Set Decimal separator="."
    0.02: ...NLS: Set NLS Group separator=","
    0.02: ...NLS: Set date format="DD-MON-RR"
    0.02: ...Setting session time_zone to -05:00
    0.02: Fetch session state from database
    0.03: ...Check session 3821879497713545 owner
    0.03: ...Check for session expiration:
    0.03: ...Metadata: Fetch Page, Computation, Process, and Branch
    0.03: Session: Fetch session header information
    0.03: ...Metadata: Fetch page attributes for application 19562, page 21
    0.03: ...Validate item page affinity.
    0.03: ...Validate hidden_protected items.
    0.04: ...Check authorization security schemes
    0.04: Session State: Save form items and p_arg_values
    0.04: ...Session State: Saved Item "P21_MODULE_CODE" New Value="bhavesh"
    0.04: ...Session State: Saved Item "P21_MODULE_NAME" New Value="bhavesh test"
    0.04: ...Session State: Save "P21_MODULE_DESCR" - saving same value: ""
    0.04: ...Session State: Save "P21_INSTALLED_FLAG" - saving same value: ""
    0.04: ...Session State: Save "P21_CREATED_BY" - saving same value: ""
    0.04: ...Session State: Save "P21_CREATION_DATE" - saving same value: ""
    0.04: ...Session State: Save "P21_LAST_UPDATED_BY" - saving same value: ""
    0.04: ...Session State: Save "P21_LAST_UPDATE_DATE" - saving same value: ""
    0.05: ...Session State: Save "P21_LAST_UPDATE_LOGIN" - saving same value: ""
    0.05: ...Session State: Saved Item "P21_PRODUCT_LINE_VERSION_CODE" New Value="SBL80:SBL811"
    0.05: Processing point: ON_SUBMIT_BEFORE_COMPUTATION
    0.05: Branch point: BEFORE_COMPUTATION
    0.05: Computation point: AFTER_SUBMIT
    0.05: Tabs: Perform Branching for Tab Requests
    0.05: Branch point: BEFORE_VALIDATION
    0.05: Perform validations:
    0.05: Branch point: BEFORE_PROCESSING
    0.05: Processing point: AFTER_SUBMIT
    0.05: ...Process "Process Row of C_BIA_MODULE": DML_PROCESS_ROW (AFTER_SUBMIT) #OWNER#:C_BIA_MODULE:P21_MODULE_CODE:MODULE_CODE|IUD
    0.05: ...Do not run process "reset page", process point=AFTER_SUBMIT, condition type=, when button pressed=DELETE
    0.05: ...Process "Process Shuttle of C_BIA_MODULE": PLSQL (AFTER_SUBMIT) DECLARE prodlinever_selected APEX_APPLICATION_GLOBAL.VC_ARR2; BEGIN prodlinever_selected := APEX_UTIL.STRING_TO_TABLE(:P21_PRODUCT_LINE_VERSION_CODE); wwv_flow.debug('Count=' || prodlinever_selected.count); --DELETE FROM C_BIA_MOD_PROD_LINE_VER_REL w
    0.05: Count=2
    0.05: Adding..SBL80
    0.05: Adding..SBL811
    0.05: Branch point: AFTER_PROCESSING
    0.06: ...Evaluating Branch: AFTER_PROCESSING type: "REDIRECT_URL" button: (No Button Pressed) branch: (Unconditional)
    0.06: ...Unconditional branch taken
    0.01:
    0.01: S H O W: application="19562" page="20" workspace="" request="" session="3821879497713545"
    0.01: Language derived from: FLOW_PRIMARY_LANGUAGE, current browser language: en-us
    0.02: alter session set nls_language="AMERICAN"
    0.02: alter session set nls_territory="AMERICA"
    0.02: NLS: CSV charset=WE8MSWIN1252
    0.02: ...NLS: Set Decimal separator="."
    0.02: ...NLS: Set NLS Group separator=","
    0.02: ...NLS: Set date format="DD-MON-RR"
    0.03: ...Setting session time_zone to -05:00
    0.03: NLS: Language=en-us
    0.03: Application 19562, Authentication: CUSTOM2, Page Template: 839820919892290442
    0.03: ...Session ID 3821879497713545 can be used
    0.03: ...Application session: 3821879497713545, user=BHAVESH
    0.03: ...Determine if user "BHAVESH" workspace "711335503583907939" can develop application "19562" in workspace "711335503583907939"
    0.03: ...Check for session expiration:
    0.03: Session: Fetch session header information
    0.03: ...Metadata: Fetch page attributes for application 19562, page 20
    0.03: Fetch session state from database
    0.03: Branch point: BEFORE_HEADER
    0.04: Fetch application meta data
    0.04: Computation point: BEFORE_HEADER
    0.04: Processing point: BEFORE_HEADER
    0.04: Show page template header
    0.04: Computation point: AFTER_HEADER
    0.04: Processing point: AFTER_HEADER
    0.04: Computation point: BEFORE_BOX_BODY
    0.04: Processing point: BEFORE_BOX_BODY
    0.04: Region: Report on C_BIA_MODULE
    0.04: using existing session report settings
    0.04: Computation point: BEFORE_BOX_BODY
    0.04: Processing point: BEFORE_BOX_BODY
    0.04: Region: Report on C_BIA_MODULE
    0.04: using existing session report settings
              Rows                    
    * Select Columns
    * Filter
    * Sort
    * Control Break
    * Highlight
    * Compute
    * Aggregate
    * Chart
    * Flashback
    * Save Report
    * Reset
    * Help
    * Download
         Create      
    Edit
    select
    null as apxws_row_pk,
    "MODULE_CODE",
    "MODULE_NAME",
    "MODULE_DESCR",
    "INSTALLED_FLAG",
    "LAST_UPDATED_BY",
    "LAST_UPDATE_DATE",
    count(*) over () as apxws_row_cnt
    from (
    select * from (
    select "MODULE_CODE",
    "MODULE_NAME",
    "MODULE_DESCR",
    "INSTALLED_FLAG",
    "CREATED_BY",
    "CREATION_DATE",
    "LAST_UPDATED_BY",
    "LAST_UPDATE_DATE",
    "LAST_UPDATE_LOGIN"
    from "#OWNER#"."C_BIA_MODULE"
    ) r
    ) r where rownum <= to_number(:APXWS_MAX_ROW_CNT)
    0.05: IR binding: ":APXWS_MAX_ROW_CNT"="APXWS_MAX_ROW_CNT" value="10000"
    0.06: Printing rows. Row window: 16-30. Rows found: 15
    0.06: Computation point: AFTER_BOX_BODY
    0.06: Processing point: AFTER_BOX_BODY
    0.06: Computation point: BEFORE_FOOTER
    0.06: Processing point: BEFORE_FOOTER
    0.06: Show page tempate footer
    0.06: Computation point: AFTER_FOOTER
    0.06: Processing point: AFTER_FOOTER
    0.06: Log Activity:
    0.07: Execute Count=88
    0.07: End Show:
    Can you please tell me what is wwv_flow.debug ???
    Also, now when this is done, I want to come to my second doubt i.e.
    when I click EDIT on the C_BIA_MODULE report, I would like to show my right side of shuttle being populated from the associated PRODUCT LINE VERSIONS (info present in C_BIA_MOD_PROD_LINE_VER_REL), how can I do that, I have tried writing a process for fetching the rows under Page Rendering section, but it didn't work. As C_BIA_MOD_PROD_LINE_VER_REL has two columns MODULE_CODE, PLV_CODE both Foreign keys, so combination of them is a PK here, so while creating a process, I input these two columns in primary and secondary key column values. On the right side of shuttle, it shows me the values I associated last time on this page (so have to delete this cache element also)
    Thanks Varad

  • Some Problem while working with MEDRUCK

    Dear Abapers,
    As Rich told me his previous message I copied all the function groups & function modules. Now, please tell me where in SE71 I should change the logo of IDES with my company logo and where should I change the address.
                   Also in SPRO should I have to make the changes in the Print Output fields ie. Program Name & Form Name with the new Z names & have to save them.
    Thanx,
    Deepti

    Hi,
    If you copied standard MEDRUCK form then logo is stored in window HEADER.
    Go to transaction SE71 enter your form name then press "Windows" button and choose HEADER window.
    In this window you should find command similar to:
    INCLUDE &T024E-TXKOP& OBJECT TEXT ID ADRS LANGUAGE &EKKO-SPRAS& PARAGRAPH FT
    This SAPscript command places text element on form (in this case text element represents picture).
    You can look at such a pictures in transaction SO10. Enter
    following parameters:
    Text  = *
    Text id  = ADRS
    Language = EN
    and you will see some text elements used to show logos.
    If you would like to upload your own picture you can use program RSTXLDMC.
    Krzys

  • Problem while working with Business Indicator in oracle BPM11.1.1.7

    I am working for  process analytic and BAM dash board for our application. currently i am having following problems
    I have define  business indicator of type counter, measure and dimension.I am able to see counter and dimension business indicator(BI)   Both in data association editor and  custom dash board editor  in work space. However , measure BI appears in brown color in data association editor  and i am not able to perform any mapping to it. additionally,  Measure BI  does not appear  even in work space customer editor .
    Any solution for above problem is welcome

    Hi
    I have tried this and with small change this is working fine.
    TYPES :
    BEGIN OF ty_tadir,
    pgmid TYPE pgmid,
    object TYPE trobjtype,
    obj_name TYPE sobj_name,
    END OF ty_tadir.
    DATA : it_tadir TYPE STANDARD TABLE OF ty_tadir,
    wa_tadir TYPE ty_tadir.
    data: stmp_dokhl like TAB512 occurs 100000 with header line.
    data: options1 like rfc_db_opt occurs 10 with header line.
    data: wa_options1 like line of options1.
    data: nametab1 like rfc_db_fld occurs 10 with header line.
    START-OF-SELECTION.
    DATA : W_VALUE(5) TYPE C,
    W_VALUE1(20) TYPE C.
    W_VALUE1 = 'OBJ_NAME LIKE ''Z%'''.
    wa_options1-text = w_value1.
    APPEND wa_OPTIONS1 to OPTIONS1.
    CLEAR wa_OPTIONS1.
    call function 'RFC_READ_TABLE'
    *destination 'zard'
    exporting
    query_table = 'TADIR' "'ZBANK_GUARANTEE'
    tables
    options = options1
    fields = nametab1
    data = stmp_dokhl
    exceptions
    table_not_available = 1
    table_without_data = 2
    option_not_valid = 3
    field_not_valid = 4
    not_authorized = 5
    data_buffer_exceeded = 6
    others = 7 .

  • Problem while working with JSP DYNPAGE

    Hi
    I have to make use of JDBC System in my program to connect to a Sql database.  I had written a code and its working fine with Abstract Portal Component.  Once after successful execution, I copied the same code into Page Processor Component, and here my problem started, Im unable to execute the code and getting errors like below in my Eclipse IDE:
    Portal Runtime Error
    An exception occurred while processing a request for :
    iView : N/A
    Component Name : N/A
    com/sapportals/portal/security/usermanagement/IUMPrincipal.
    Exception id: 03:45_14/12/04_0036
    See the details for the exception ID in the log file
    AND IN LOG FILE this is the EXCEPTION DETAIL.
    [email protected]58f #
    Dec 14, 2004 12:23:35 AM # SAPEngine_Applica... Fatal           Exception ID:12:23_14/12/04_0028
    com.sapportals.portal.prt.component.PortalComponentException: Error in init method
    Component : oratest2.oratest2
         at com.sapportals.portal.prt.component.PortalComponentContext.init(PortalComponentContext.java:248)
         at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.refresh(PortalComponentContextItem.java:216)
         at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.getContext(PortalComponentContextItem.java:264)
         at com.sapportals.portal.prt.component.PortalComponentRequest.getComponentContext(PortalComponentRequest.java:384)
         at com.sapportals.portal.prt.connection.PortalRequest.getRootContext(PortalRequest.java:423)
         at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:536)
         at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:232)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:532)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:415)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:151)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:373)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:250)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:321)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:299)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:698)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:223)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:146)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
         at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:140)
    Caused by: com.sapportals.portal.prt.core.broker.PortalComponentInstantiationException: Could not instantiate implementation class oratest2.oratest2 of Portal Component oratest2.oratest2 because: Could not instantiate implementation class
         at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.getInstanceInternal(PortalComponentItemFacade.java:266)
         at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.getComponentInstance(PortalComponentItemFacade.java:158)
         at com.sapportals.portal.prt.core.broker.PortalComponentItem.getComponentInstance(PortalComponentItem.java:660)
         at com.sapportals.portal.prt.component.PortalComponentContext.getComponent(PortalComponentContext.java:100)
         at com.sapportals.portal.prt.component.PortalComponentContext.init(PortalComponentContext.java:239)
         ... 26 more
    Caused by: com.sapportals.portal.prt.runtime.PortalRuntimeException: [PortalApplicationItem.__prepareClassLoaderAndDependencies]: oratest2
         at com.sapportals.portal.prt.core.broker.PortalApplicationItem.__prepareClassLoaderAndDependencies(PortalApplicationItem.java:361)
         at com.sapportals.portal.prt.core.broker.PortalApplicationItem.prepare(PortalApplicationItem.java:207)
         at com.sapportals.portal.prt.core.broker.PortalApplicationItem.getCoreLoader(PortalApplicationItem.java:276)
         at com.sapportals.portal.prt.core.broker.PortalComponentItem.getClassLoader(PortalComponentItem.java:524)
         at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.getClassLoader(PortalComponentItemFacade.java:101)
         at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.getInstanceInternal(PortalComponentItemFacade.java:225)
         ... 30 more
    Caused by: com.sapportals.portal.prt.runtime.PortalRuntimeException: [PortalApplicationItem.__prepareClassLoaderAndDependencies]: com.sap.portal.usermanagement.usermanagement
         at com.sapportals.portal.prt.core.broker.PortalApplicationItem.__prepareClassLoaderAndDependencies(PortalApplicationItem.java:361)
         at com.sapportals.portal.prt.core.broker.PortalApplicationItem.prepare(PortalApplicationItem.java:207)
         at com.sapportals.portal.prt.core.broker.PortalApplicationItem.__prepareClassLoaderAndDependencies(PortalApplicationItem.java:352)
         ... 35 more
    Caused by: com.sapportals.portal.prt.core.broker.PortalApplicationNotFoundException: Could not find portal application com.sap.portal.usermanagement.usermanagement
         at com.sapportals.portal.prt.core.broker.PortalApplicationItem.__prepareClassLoader(PortalApplicationItem.java:518)
         at com.sapportals.portal.prt.core.broker.PortalApplicationItem.__prepareClassLoaderAndDependencies(PortalApplicationItem.java:356)
         ... 37 more
    Can any one help me out?
    thanks
    raj

    Hi,
    You say:
    > e code into Page Processor Component, and here my
    > problem started, Im unable to execute the code and
    > getting errors like below in my Eclipse IDE:
    > Portal Runtime Error
    the code has to be placed in the JSPDynpage not in the PageProcessor...
    public class PEGLink extends PageProcessorComponent {
      public DynPage getPage() {
        return new DynPageOne();
       public class DynPageOne extends DynPage {
             place Your code here. E.g. in the PBO Method for testing
    Walter

  • Problem while working with Access Control List assigned to Group

    Hi,
    We have a following scenario for which Access Control List is not Working.
    We have a group "Webi_Grp" who should acess only Webi Reports (can perform all operations related to Webi).
    Following Steps are performed but still no success...
    Pl. review and provide the solutions.
    1) Create a Group "Webi_Grp"
    2) Create user "user3"
    3) Assign User to a a group (Now user3 is part of Webi_Grp)
    4) Create Access Ctrl List (ACL) "Webi_ACL"
    5) Goto Included Rights section of "Webi_ACL" & select "YES" for all Webi Operations.
    6) User Security in ACL shows
               a) Administrator -> Full Control (Inherited)
               b) Everyone -> No Access
    7) Included Right for ACL has all Webi Rights as "GRANTED", all Deski Rights "DENY", & Few of the General Rights "GRANTED"
    8) Go  to Users & Group
    9) Select "Webi_Grp"
    10) User Security
    11) Add Principal
    12) Add "User3" and its Security as "Webi_ACL"
    13) Thus User Security in "Webi Grp" shows
              a) Administrators -> Full Control
              b) "user3" -> Webi_ACL
    14) Login With "user3", but still cant create any Webi Report
    Pl. let me know any further settings are required or not.
    Regards,
    Purav

    Hi James,
    Thanks for help.
    I have given ACL to Universe & now user can create Adhoc Query.
    But while I run this query it gives following error "You Donot Have Rights to Access Data in this Universe"
    When I check the rights status in ACL we have following rights granted for "System Universe"
    Create & Edit Query Based on Universe
    Data Access
    Edit Access Restrictions
    New List of Values
    etc... all other rights in this category are granted.
    Still problem persist.
    Could you let me know where else should I check for permissions / rights for data access.
    Regards,
    Purav

  • Problem while calling RFC function module in java

    Hi all
    com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed
    Connect_PM  GWHOST=<system.ab.ydydy.yyyd.com>, GWSERV=sapgw00, ASHOST=<system.ab.ydydy.yyyd.com>, SYSNR=00
    LOCATION    CPIC (TCP/IP) on local host
    ERROR       hostname '<system.ab.ydydy.yyyd.com>' unknown
    TIME        Mon Jun 06 14:50:25 2005
    RELEASE     640
    COMPONENT   NI (network interface)
    VERSION     37
    RC          -2
    MODULE      ninti.c
    LINE        332
    DETAIL      NiPGetHostByName2: hostname '<system.ab.ydydy.yyyd.com>' not found
    SYSTEM CALL gethostbyname_r
    COUNTER     1
         at com.sap.mw.jco.rfc.MiddlewareRFC$Client.nativeConnect(Native Method)
         at com.sap.mw.jco.rfc.MiddlewareRFC$Client.connect(MiddlewareRFC.java:1098)
         at com.sap.mw.jco.JCO$Client.connect(JCO.java:2983)
         at MyProject.Bapi2.<init>(Bapi2.java:43)
         at MyProject.Bapi2.main(Bapi2.java:231)
    Pl help me
    pradeep

    Hi
    This is my code....
    Created on Jun 2, 2005
    To change the template for this generated file go to
    Window&gt;Preferences&gt;Java&gt;Code Generation&gt;Code and Comments
    package MyProject;
    @author pradeep
    To change the template for this generated type comment go to
    Window&gt;Preferences&gt;Java&gt;Code Generation&gt;Code and Comments
    import com.sap.mw.jco.*;
    public class Bapi2 extends Object {
       JCO.Client mConnection;
       JCO.Repository mRepository;
       public Bapi2() {
           try {
              // Change the logon information to your own system/user
              mConnection =
                JCO.createClient("122", // SAP client
                   "<pradeep>", // userid
                   "*****", // password
                   "EN", // language
                   "<abc11.aa.abc23.company.com>", // application server host name
                   "<00>");//system no
              mConnection.connect();
              mRepository = new JCO.Repository("HLL", mConnection);
          catch (Exception ex) {
            ex.printStackTrace();
            System.exit(1);
          JCO.Function function = null;
          JCO.Table codes = null;
            try {
               function = this.createFunction("BAPI_COMPANYCODE_GETLIST");
               if (function == null) {
                 System.out.println("BAPI_COMPANYCODE_GETLIST" +
                                         " not found in SAP.");
                 System.exit(1);
               mConnection.execute(function);
               JCO.Structure returnStructure =
                 function.getExportParameterList().getStructure("RETURN");
               if (! (returnStructure.getString("TYPE").equals("") ||
                        returnStructure.getString("TYPE").equals("S")) ) {
                 System.out.println(returnStructure.getString("MESSAGE"));
                 System.exit(1);
               codes =
                 function.getTableParameterList().getTable("COMPANYCODE_LIST");
               codes.setRow(2);
    codes.deleteRow();
    codes.deleteRow(5);
    codes.appendRow();
    codes.setValue("XXXX", "COMP_CODE");
    codes.setValue("Does not exist", "COMP_NAME");
    codes.appendRows(2);
    codes.setValue("YYYY", "COMP_CODE");
    codes.setValue("Does not exist either", "COMP_NAME");
    codes.nextRow();
    codes.setValue("ZZZZ", "COMP_CODE");
    codes.setValue("Nor does this", "COMP_NAME");
    for (int i = 0; i < codes.getNumRows(); i++) {
    codes.setRow(i);
                 System.out.println(codes.getString("COMP_CODE") + '\t' +
                                         codes.getString("COMP_NAME"));
            catch (Exception ex) {
               ex.printStackTrace();
               System.exit(1);
            try {
               codes.firstRow();
               for (int i = 0; i < codes.getNumRows(); i++, codes.nextRow()) {
                 function = this.createFunction("BAPI_COMPANYCODE_GETDETAIL");
                 if (function == null) {
                    System.out.println("BAPI_COMPANYCODE_GETDETAIL" +
                                            " not found in SAP.");
                    System.exit(1);
                 function.getImportParameterList().
                    setValue(codes.getString("COMP_CODE"), "COMPANYCODEID");
                 mConnection.execute(function);
                 JCO.Structure returnStructure =
                    function.getExportParameterList().getStructure("RETURN");
                 if (! (returnStructure.getString("TYPE").equals("") ||
                          returnStructure.getString("TYPE").equals("S") ||
                          returnStructure.getString("TYPE").equals("W")) ) {
                    System.out.println(returnStructure.getString("MESSAGE"));
                 JCO.Structure detail =
                    function.getExportParameterList().
                    getStructure("COMPANYCODE_DETAIL");
                 System.out.println(detail.getString("COMP_CODE") + '\t' +
                                         detail.getString("COUNTRY") + '\t' +
                                         detail.getString("CITY"));
           catch (Exception ex) {
              ex.printStackTrace();
              System.exit(1);
           mConnection.disconnect();
         public JCO.Function createFunction(String name) throws Exception {
           try {
              IFunctionTemplate ft =
                mRepository.getFunctionTemplate(name.toUpperCase());
              if (ft == null)
                return null;
              return ft.getFunction();
          catch (Exception ex) {
            throw new Exception("Problem retrieving JCO.Function object.");
       public static void main (String args[]) {
          Bapi2 app = new Bapi2();
    This is the error i'm getting...
    com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed
    Connect_PM  GWHOST=<abc11.aa.abc23.company.com>, GWSERV=sapgw00, ASHOST=<abc11.aa.abc23.company.com>, SYSNR=00
    LOCATION    CPIC (TCP/IP) on local host
    ERROR       hostname '<abc11.aa.abc23.company.com>' unknown
    TIME        Mon Jun 06 17:15:12 2005
    RELEASE     640
    COMPONENT   NI (network interface)
    VERSION     37
    RC          -2
    MODULE      ninti.c
    LINE        332
    DETAIL      NiPGetHostByName2: hostname
                '<abc11.aa.abc23.company.com>' not
         at com.sap.mw.jco.rfc.MiddlewareRFC$Client.nativeConnect(Native Method)
         at com.sap.mw.jco.rfc.MiddlewareRFC$Client.connect(MiddlewareRFC.java:1098)
         at com.sap.mw.jco.JCO$Client.connect(JCO.java:2983)
         at MyProject.Bapi2.<init>(Bapi2.java:45)
         at MyProject.Bapi2.main(Bapi2.java:233)
    Thx
    PRadeep

  • Problem while working with Standard KM Layoutset

    Hi All,
    We are facing a typical problem with KM layout sets.
    Few of the standard layout sets are not working
    like NewsBrowser.
    When we navigate into the folder of the iview it throughs error
    403
    The requested operation is forbidden for this resource.
    We navigate to the layout set link under
    System admin>Km adminstration>Content managment-->User Interface (here we get warning Invalid areas Settings)
    --> Setting(here we get a warning Invalid topics layout set)
    Please help us in this regards.
    Sai

    Hello Sai,
    I seriously doubt that the layout set is the reason you're getting a 403 Forbidden error, are you sure this pccMimesSelector layout set is the one being used by your iview? You can check this in the properties of the iview in the PCD.
    It's more likely the error is in fact caused by some authorisation issues with the content you are trying to view? So where is this content stored? What type of repository? If it's a CM repository then what's the persistence mode? Does the issue happen for all users, even admin users? What permissions do you have defined for the affected users on these resources? If you browse to the resources that should be displayed in this iview from Content Admin > KM Content are you able to access them without issues?  Do you have anonymous access enabled on your system?
    It would be a good idea to have a look at the default trace file when you reproduce this issue to see if there is anything relevant traced.
    It's not a good idea to go deleting layout sets, especially SAP delivered layout sets, as these could be used in various different locations and this would most likely lead to further inconsistencies.
    Regards,
    Lorcan.

  • Problem while working  with sqlserver

    hello
    i am a user of jdeveloper using swing/jclient in my application.
    i am using sqlserver with my jdeveloper. i had followed the path necessary for foreign database.
    i had made a connection with sqlserver . connection is created.
    but when i test my applicationmodule . i am able to insert the data and save it.but when i tried to delete or update any record it is throwing an error:
    (oracle.jbo.DMLException) JBO-26080: Error while selecting entity for Trial
    ----- LEVEL 1: DETAIL 0 -----
    (java.sql.SQLException) [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]FOR UPDATE cannot be specified on a READ ONLY cursor.
    details:
    oracle.jbo.DMLException: JBO-26080: Error while selecting entity for Trial
         at oracle.jbo.server.BaseSQLBuilderImpl.doEntitySelect(BaseSQLBuilderImpl.java:653)
         at oracle.jbo.server.EntityImpl.doSelect(EntityImpl.java:4480)
         at oracle.jbo.server.EntityImpl.lock(EntityImpl.java:3033)
         at oracle.jbo.server.ViewRowImpl.lockEntities(ViewRowImpl.java:1506)
         at oracle.jbo.server.ViewRowImpl.doRemove(ViewRowImpl.java:1631)
         at oracle.jbo.server.ViewRowImpl.remove(ViewRowImpl.java:1683)
         at oracle.jbo.server.QueryCollection.doRemove(QueryCollection.java:1176)
         at oracle.jbo.server.QueryCollection.remove(QueryCollection.java:1195)
         at oracle.jbo.server.ViewRowSetImpl.removeRowAt(ViewRowSetImpl.java:1423)
         at oracle.jbo.server.ViewRowSetIteratorImpl.doRemoveCurrentRow(ViewRowSetIteratorImpl.java:2044)
         at oracle.jbo.server.ViewRowSetIteratorImpl.removeCurrentRow(ViewRowSetIteratorImpl.java:2065)
         at oracle.jbo.server.ViewRowSetImpl.removeCurrentRow(ViewRowSetImpl.java:2112)
         at oracle.jbo.server.ViewObjectImpl.removeCurrentRow(ViewObjectImpl.java:5477)
         at oracle.jbo.jbotester.NavBar$rsDelete.doAction(NavBar.java:400)
         at oracle.jbo.jbotester.AbstractJboAction.actionPerformed(AbstractJboAction.java:60)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1764)
         at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1817)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:419)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)
         at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:227)
         at java.awt.Component.processMouseEvent(Component.java:5134)
         at java.awt.Component.processEvent(Component.java:4931)
         at java.awt.Container.processEvent(Container.java:1566)
         at java.awt.Component.dispatchEventImpl(Component.java:3639)
         at java.awt.Container.dispatchEventImpl(Container.java:1623)
         at java.awt.Component.dispatchEvent(Component.java:3480)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3450)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3165)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3095)
         at java.awt.Container.dispatchEventImpl(Container.java:1609)
         at java.awt.Window.dispatchEventImpl(Window.java:1590)
         at java.awt.Component.dispatchEvent(Component.java:3480)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:450)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
    ## Detail 0 ##
    java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]FOR UPDATE cannot be specified on a READ ONLY cursor.
         at com.microsoft.jdbc.base.BaseExceptions.createException(Unknown Source)
         at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)
         at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processErrorToken(Unknown Source)
         at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReplyToken(Unknown Source)
         at com.microsoft.jdbc.sqlserver.tds.TDSRPCRequest.processReplyToken(Unknown Source)
         at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReply(Unknown Source)
         at com.microsoft.jdbc.sqlserver.tds.TDSCursorRequest.openCursor(Unknown Source)
         at com.microsoft.jdbc.sqlserver.SQLServerImplStatement.execute(Unknown Source)
         at com.microsoft.jdbc.base.BaseStatement.commonExecute(Unknown Source)
         at com.microsoft.jdbc.base.BaseStatement.executeQueryInternal(Unknown Source)
         at com.microsoft.jdbc.base.BasePreparedStatement.executeQuery(Unknown Source)
         at oracle.jbo.server.BaseSQLBuilderImpl.doEntitySelect(BaseSQLBuilderImpl.java:530)
         at oracle.jbo.server.EntityImpl.doSelect(EntityImpl.java:4480)
         at oracle.jbo.server.EntityImpl.lock(EntityImpl.java:3033)
         at oracle.jbo.server.ViewRowImpl.lockEntities(ViewRowImpl.java:1506)
         at oracle.jbo.server.ViewRowImpl.doRemove(ViewRowImpl.java:1631)
         at oracle.jbo.server.ViewRowImpl.remove(ViewRowImpl.java:1683)
         at oracle.jbo.server.QueryCollection.doRemove(QueryCollection.java:1176)
         at oracle.jbo.server.QueryCollection.remove(QueryCollection.java:1195)
         at oracle.jbo.server.ViewRowSetImpl.removeRowAt(ViewRowSetImpl.java:1423)
         at oracle.jbo.server.ViewRowSetIteratorImpl.doRemoveCurrentRow(ViewRowSetIteratorImpl.java:2044)
         at oracle.jbo.server.ViewRowSetIteratorImpl.removeCurrentRow(ViewRowSetIteratorImpl.java:2065)
         at oracle.jbo.server.ViewRowSetImpl.removeCurrentRow(ViewRowSetImpl.java:2112)
         at oracle.jbo.server.ViewObjectImpl.removeCurrentRow(ViewObjectImpl.java:5477)
         at oracle.jbo.jbotester.NavBar$rsDelete.doAction(NavBar.java:400)
         at oracle.jbo.jbotester.AbstractJboAction.actionPerformed(AbstractJboAction.java:60)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1764)
         at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1817)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:419)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)
         at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:227)
         at java.awt.Component.processMouseEvent(Component.java:5134)
         at java.awt.Component.processEvent(Component.java:4931)
         at java.awt.Container.processEvent(Container.java:1566)
         at java.awt.Component.dispatchEventImpl(Component.java:3639)
         at java.awt.Container.dispatchEventImpl(Container.java:1623)
         at java.awt.Component.dispatchEvent(Component.java:3480)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3450)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3165)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3095)
         at java.awt.Container.dispatchEventImpl(Container.java:1609)
         at java.awt.Window.dispatchEventImpl(Window.java:1590)
         at java.awt.Component.dispatchEvent(Component.java:3480)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:450)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
    ----- LEVEL 1: DETAIL 0 -----
    java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]FOR UPDATE cannot be specified on a READ ONLY cursor.
         at com.microsoft.jdbc.base.BaseExceptions.createException(Unknown Source)
         at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)
         at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processErrorToken(Unknown Source)
         at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReplyToken(Unknown Source)
         at com.microsoft.jdbc.sqlserver.tds.TDSRPCRequest.processReplyToken(Unknown Source)
         at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReply(Unknown Source)
         at com.microsoft.jdbc.sqlserver.tds.TDSCursorRequest.openCursor(Unknown Source)
         at com.microsoft.jdbc.sqlserver.SQLServerImplStatement.execute(Unknown Source)
         at com.microsoft.jdbc.base.BaseStatement.commonExecute(Unknown Source)
         at com.microsoft.jdbc.base.BaseStatement.executeQueryInternal(Unknown Source)
         at com.microsoft.jdbc.base.BasePreparedStatement.executeQuery(Unknown Source)
         at oracle.jbo.server.BaseSQLBuilderImpl.doEntitySelect(BaseSQLBuilderImpl.java:530)
         at oracle.jbo.server.EntityImpl.doSelect(EntityImpl.java:4480)
         at oracle.jbo.server.EntityImpl.lock(EntityImpl.java:3033)
         at oracle.jbo.server.ViewRowImpl.lockEntities(ViewRowImpl.java:1506)
         at oracle.jbo.server.ViewRowImpl.doRemove(ViewRowImpl.java:1631)
         at oracle.jbo.server.ViewRowImpl.remove(ViewRowImpl.java:1683)
         at oracle.jbo.server.QueryCollection.doRemove(QueryCollection.java:1176)
         at oracle.jbo.server.QueryCollection.remove(QueryCollection.java:1195)
         at oracle.jbo.server.ViewRowSetImpl.removeRowAt(ViewRowSetImpl.java:1423)
         at oracle.jbo.server.ViewRowSetIteratorImpl.doRemoveCurrentRow(ViewRowSetIteratorImpl.java:2044)
         at oracle.jbo.server.ViewRowSetIteratorImpl.removeCurrentRow(ViewRowSetIteratorImpl.java:2065)
         at oracle.jbo.server.ViewRowSetImpl.removeCurrentRow(ViewRowSetImpl.java:2112)
         at oracle.jbo.server.ViewObjectImpl.removeCurrentRow(ViewObjectImpl.java:5477)
         at oracle.jbo.jbotester.NavBar$rsDelete.doAction(NavBar.java:400)
         at oracle.jbo.jbotester.AbstractJboAction.actionPerformed(AbstractJboAction.java:60)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1764)
         at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1817)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:419)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)
         at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:227)
         at java.awt.Component.processMouseEvent(Component.java:5134)
         at java.awt.Component.processEvent(Component.java:4931)
         at java.awt.Container.processEvent(Container.java:1566)
         at java.awt.Component.dispatchEventImpl(Component.java:3639)
         at java.awt.Container.dispatchEventImpl(Container.java:1623)
         at java.awt.Component.dispatchEvent(Component.java:3480)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3450)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3165)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3095)
         at java.awt.Container.dispatchEventImpl(Container.java:1609)
         at java.awt.Window.dispatchEventImpl(Window.java:1590)
         at java.awt.Component.dispatchEvent(Component.java:3480)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:450)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
    Please do help if you can.
    Thanks in Advance
    Aparna

    thanks shay
    but i had gone through all the steps. i had also set the oracle.jbo.locking mode to optimistic
    but then also i am getting the same error while updating and deleting.
    Please do help me if you ca.
    thanks
    Aparna

  • Adobe Presenter 10 does not work with PowerPoint - "Adobe Presenter has encountered an unexpected problem while working with this presentation.."

    When you click the Record button the below error appears:

    Hello,
    Could you please check if you have " Use Presenter View "option checked in PowerPoint under Slide Show menu as mentioned below. If it is checked then uncheck it and then try to record.
    Please let me know if that works,
    Regards,
    Rajeev.

  • Problem while working with Store Manager (while Creating Employee) on VISTA

    Hi
    Is anyone workin on Windows Vista (for the Store Manager)? 
    I am using Vista for the said application but the system always hangs whenever I try to create a new employee with Store Manager. Can anyone help me out with any solution so that it doesn't hang ?
    The steps I am following is as follows-
    1. Go to Store Manager GUI > Administartion > Employee Maintenance.
    2. Click on the Create new.
    3. Key in the entries.
    4. Here the p'lem comes into picture.
    5. When I try to switch over to next entry the system hangs.
    Please help me out.
    Edited by: Shantanu Sinha on Apr 10, 2008 9:58 AM

    Hi srm_2010,
    From your description, you fail to set up SQL Server AlwaysOn Availability group in Windows Server 2008 R2 cluster. The error 41105 could be caused by several factors, such as insufficient account permissions and so on.
    To resolve this issue, firstly, I recommend you check the prerequisites, restrictions, and recommendations for AlwaysOn Availability Groups according to this
    article.
    Secondly, as the error message indicates, please disable the AlwaysOn feature in SQL Configuration Manage on both nodes, restart the SQL Server service. Then enable the AlwaysOn feature and restart the SQL Service again. This time set up AlwaysOn Availability
    Groups again and please note the following things.
    1. Ensure that the AvailabilityGroup name is defined as a different one from your Windows Cluster name.
    2. Make sure that SQL Server service account has full control permission on the Window Cluster, which is described in this
    blog.
    However, if the error persists, please post the SQL Server error log for analysis. Additionally, if you encounters any errors when configuring Windows Cluster, I recommend you post the question in the Windows 
    server clustering forum at
    https://social.technet.microsoft.com/Forums/windowsserver/en-US/home?forum=winserverClustering . It is appropriate and more experts will assist you.
    Thanks,
    Lydia Zhang

Maybe you are looking for

  • Rendering in cs4 pro

    I've never rendered in adobe before. I am going to play the video on a large projector, and want the best quality that will hold up on a Windows 7 laptop. I want to render at least 3 or 4 because if one doesn't work,then I'll have a back up, so pleas

  • Codebase problem

    Both my client and server are in the same system, however, in different folders. They do not share other than Remote Interfaces. I want to test dynamic creation of stubs. However, I reciece Exceptions like Class not found exception when serializing o

  • Updating FP 10.3.x on Mac OS 10.6.7

    In the past, with versions 10.2.x and before, I had read on installation instructions that is was best to uninstal the old version of FP before installing the new one.  Is that still the same with FP 10.3.x? If you do delete the previous version, do

  • Sub-con PO - Change in BOM

    Hi All, I have created a sub-con PO and after that some changes are required in the BOM and the same are done.  How to re-explode the BOM in the same PO and what will be the impact of the same on MRP? Thanks in advance Radha Krishna Madineedi

  • Which model will I get, if I buy an unlocked iphone5 from the online apple store?

    Will I get a GSM a1428 or GSM a1429? And is there a way to get a GSM a1429?