How to call BSP based iview using Parameters

Hi,
   i developed one BSP application which takes 2 input parameters 1. Document No 2. Item No.
   I created a iView based on this BSP Application. I would like to call this iView by hardcoding input parameters.
   Input: Document No, Item and Submit button. output displays some text based on input. which is working fine, No issues.
Now, i developed a iViews using these BSP application. If i call iViews, again no Issues. Which works great, we need to enter input manally.
I would like to call my iViews with document no = '0004000000' , Item No = '000001' and Submit = 'SET'.  Which directly should display the data for above document item.
that means iView URL + Document = '0000400000' & Item = '000001' & submit = 'SET'.
how to call Parametrized iViews???
I'm talking about Application Parameters in documentation (http://help.sap.com/saphelp_nw04/Helpdata/EN/88/266a3e54a2e946e10000000a114084/content.htm).
ApplicationParameter
You can enter parameter values for certain screen fields for displaying a SAP transaction here.
This field is optional.
The parameter values are specified with the following syntax:
<Screen_field1>=<Parameter1>
&<Screen_field2>=<Parameter2>
&<...>=<...>,...
Thanks,
Ben.
Edited by: Nagesh Ganisetti on Jan 29, 2009 9:18 AM

I want to pass values dynamically? How to pass values dynamically using URL???
assume my BSP URL wiht parameters:
http://nwd2bw1.corp.analog.com:8001/sap(bD1lbiZjPTAwMQ==)/bc/bsp/sap/zzsdpra123/start.htm?gv_doc=0040013811&gv_item=000001  WORKING GREAT!!!
Developed an iView using ZZPRA123 BSP application in portal without APPLICATION PARAMETERS.
http://nwd2bw1.corp.analog.com:50100/irj/servlet/prt/portal/prtmode/preview/prtroot/pcd!3aportalcontent!2fcom.analog.analog!2fcom.analog.SD_BI_REPORTS!2fcom.analog.SD_iviews!2fcom.analog.z_quote_text?sap-config-mode=true&_gv_doc%3d0040013811&gv_item%3d000001 NOT WORKING.
Simple BSP application: ON INITIALIZATION Method
event handler for data retrieval
data: gv_name type thead-tdname.
data: lt_line1 type standard table of tline,
      lt_line2 type standard table of tline,
      lt_line3 type standard table of tline,
      lt_line4 type standard table of tline.
data: l_rfcwa type rfcdest.
data: event type ref to cl_htmlb_event,
      url type string,
      parameter type string,
      url_page type ref to if_bsp_page.
l_rfcwa = 'PRD_CLI002'.
if gv_doc is initial.
CALL METHOD request->get_form_field
  EXPORTING
    name               = 'gv_doc'
   formfield_encoding = 0
  receiving
    value              = gv_doc.
  endif.
  concatenate gv_doc gv_item into gv_name.
  call function 'ZBI_STNDARD_TEXT'
    destination l_rfcwa
    exporting
      name   = gv_name
    tables
      lines1 = lt_line1
      lines2 = lt_line2
      lines3 = lt_line3
      lines4 = lt_line4.
  gt_line1[] = lt_line1[]. "Internal Header Text
  gt_line2[] = lt_line2[].
  gt_line3[] = lt_line3[].
  gt_line4[] = lt_line4[].
Layout:
<%@page language="abap" %>
<%@extension name="htmlb" prefix="htmlb" %>
<htmlb:content design="design2003" >
  <htmlb:page title="Quote Texts " >
    <htmlb:form>
      <htmlb:inputField id            = "gv_sid"
                        value         = "<%= gv_doc %>"
                        visible       = "FALSE"
                        submitOnEnter = "TRUE" />
      <htmlb:inputField
                        id            = "gv_itm"
                        value         = "<%= gv_item %>"
                        visible       = "FALSE"
                        submitOnEnter = "TRUE" />
      <htmlb:textView text      = "Quote Texts for <%= gv_doc %> "
                      design    = "HEADER1"
                      layout    = "BLOCK"
                      textColor = "dark blue" />
      <%   if gt_line1 is INITIAL.       %>
      <htmlb:textView text   = "No Internal Header Text Found"
                      design = "HEADER2" />
      <% else. %>
      <htmlb:textView text   = "Internal Header Text"
                      design = "HEADER2" />
      <%   loop at gt_line1 into gs_line.    %>
      <htmlb:textView id     = "textEdit"
                      layout = "BLOCK"
                      text   = "<%= gs_line-tdline %>" />
      <%   endloop.       %>
      <%   ENDIF.       %>
<%--* External Header text      --%>
      <%   if gt_line2 is INITIAL.       %>
      <htmlb:textView text   = "No External Header Text Found"
                      layout = "BLOCK"
                      design = "HEADER2" />
      <%   else.       %>
      <htmlb:textView text   = "External Header Text"
                      layout = "BLOCK"
                      design = "HEADER2" />
      <%   clear gs_line.       %>
      <%   loop at gt_line2 into gs_line.       %>
      <htmlb:textView id     = "textEdit"
                      layout = "BLOCK"
                      text   = "<%= gs_line-tdline %>" />
      <%   endloop.       %>
      <%   ENDIF.       %>
<%Internal Item text%>
      <%   if gt_line3 is INITIAL.       %>
      <htmlb:textView text   = "No Internal Item Text Found"
                      layout = "BLOCK"
                      design = "HEADER2" />
      <%   else.       %>
      <htmlb:textView text   = "Internal Item Text"
                      layout = "BLOCK"
                      design = "HEADER2" />
      <%   clear gs_line.       %>
      <%   loop at gt_line3 into gs_line.       %>
      <htmlb:textView id     = "textEdit"
                      layout = "BLOCK"
                      text   = "<%= gs_line-tdline %>" />
      <%   endloop.       %>
      <%   ENDIF.       %>
<%External Item text%>
      <%   if gt_line4 is INITIAL.       %>
      <htmlb:textView text   = "No External Item Text Found"
                      layout = "BLOCK"
                      design = "HEADER2" />
      <%   else.       %>
      <htmlb:textView text   = "External Item Text"
                      layout = "BLOCK"
                      design = "HEADER2" />
      <%   clear gs_line.       %>
      <%   loop at gt_line4 into gs_line.       %>
      <htmlb:textView id     = "textEdit"
                      layout = "BLOCK"
                      text   = "<%= gs_line-tdline %>" />
      <%   endloop.       %>
      <%   ENDIF.       %>
    </htmlb:form>
  </htmlb:page>
</htmlb:content>
Please guide me to call iview using dynamic parameters.
Thanks,
Ben.
Edited by: Nagesh Ganisetti on Feb 2, 2009 8:47 AM
Edited by: Nagesh Ganisetti on Feb 2, 2009 8:48 AM
Edited by: Nagesh Ganisetti on Feb 2, 2009 8:49 AM

Similar Messages

  • How to call a AM method with parameters from Managed Bean?

    Hi Everyone,
    I have a situation where I need to call AM method (setDefaultSubInv) from Managed bean, under Value change Listner method. Here is what I am doing, I have added AM method on to the page bindings, then in bean calling this
    Class[] paramTypes = { };
    Object[] params = { } ;
    invokeEL("#{bindings.setDefaultSubInv.execute}", paramTypes, params);
    This works and able to call this method if there are no parameters. Say I have to pass a parameter to AM method setDefaultSubInv(String a), i tried calling this from the bean but throws an error
    String aVal = "test";
    Class[] paramTypes = {String.class };
    Object[] params = {aVal } ;
    invokeEL("#{bindings.setDefaultSubInv.execute}", paramTypes, params);
    I am not sure this is the right way to call the method with parameters. Can anyone tell how to call a AM method with parameters from Manage bean
    Thanks,
    San.

    Simply do the following
    1- Make your Method in Client Interface.
    2- Add it to Page Def.
    3- Customize your Script Like the below one to Achieve your goal.
    BindingContainer bindings = getBindings();
    OperationBinding operationBinding = bindings.getOperationBinding("GetUserRoles");
    operationBinding.getParamsMap().put("username", "oracle");
    operationBinding.getParamsMap().put("role", "F1211");
    operationBinding.getParamsMap().put("Connection", "JDBC");
    Object result = operationBinding.execute();
    if (!operationBinding.getErrors().isEmpty()) {
    return null;
    return null;
    i hope it help you
    thanks

  • How to call smartform FM after using SSF_FUNCTION_MODULE_NAME?

    Hi Experts,
    How to call smartform FM after using SSF_FUNCTION_MODULE_NAME?
    I mean, in driver program i called SSF_FUNCTION_MODULE_NAME to get the related FM  for my smart form. after that How do I call it(smartform fm) . I tried to call by pressing PATTERN button in Report. but it is showing FM is not exist error.
    Call function SSF_FUNCTION_MODULE_NAME
    Export
    formname = 'zsmartform'
    import
    fm_name = function_name.
    function_name is stored the corresponding smartform fm. then How do i call it to process my smartform?
    thanks in advance.

    hi,
    Chk this sample.
    DATA: p_output_options TYPE ssfcompop, "occurs 0 with header line
    p_control_parameters TYPE ssfctrlop. "occurs 0 with header line
    p_output_options-TDCOPIES = 3. "number of copies.
    p_output_options-tddest = 'LP01'. "def
    p_control_parameters-no_dialog = 'X'. "no dilog box
    p_control_parameters-preview = 'X'. "no preview
    DATA : v_form_name TYPE rs38l_fnam.
    *---- Function to get the function module name of the    ----
    *---- specified Smart form.                              ----
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
    EXPORTING
    formname = 'GIVE YOUR SMART FORM NAME'   
    * VARIANT = ' '
    * DIRECT_CALL = ' '
    IMPORTING
    fm_name = v_form_name
    EXCEPTIONS
    no_form = 1
    no_function_module = 2
    OTHERS = 3 .
    *---- Function Module to call the Smart Form          ----
    *step 1 - go to ur smart form
    *step2 - take environment
    *step3-take function module name
    *copy that unique number.
    *step4 -come back to ur driver program.
    *step5 - place ur cursur here. take patter,.give that unique number.
    *at that time u will get the below code.
    *step6 - rename that unique number with 'v_form_name' in the code generated by pattern.
    CALL FUNCTION v_form_name
    EXPORTING
    * ARCHIVE_INDEX =
    * ARCHIVE_PARAMETERS =
    control_parameters = p_control_parameters
    * MAIL_APPL_OBJ =
    * MAIL_RECIPIENT =
    * MAIL_SENDER =
    output_options = p_output_options
    user_settings = ' '
    * ARCHIVE_INDEX_TAB =
    * IMPORTING
    * DOCUMENT_OUTPUT_INFO =
    * JOB_OUTPUT_INFO =
    * JOB_OUTPUT_OPTIONS =
    EXCEPTIONS
    formatting_error = 1
    internal_error = 2
    send_error = 3
    user_canceled = 4
    OTHERS = 5
    IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    for any clarifiaction pls revert.
    regards,
    Reshma

  • How to call a stored procedure using its package name in Oracle

    hi
    we're doing a JDBC scenario where we call a stored procedure(a.prc) using its package name(b)The stored procedure has In /Out/IN-OUT parameter.
    i have got 2 queries:
    1- How to call the stored procedure using it's package.
    2- How to capture the In/Out parameter in the response.

    hi Prateek
    thanks for the reply.
    However when i tried mapping it to Package.procedure, communication channel throws the error saying that Package.proceudre needs to be declared.
    As i said , the procedure has IN-OUT parameter too.In oracle we need to write a block if we want to read the IN-OUT parameter.
    How to get the IN-OUT parameter in XI?

  • How to call a schema name using substitution name?

    Hi All,
    How to call a schema name using substitution menthod in odi?
    I was trying but I got the following error..
    ODI-1227: Task XXX(Procedure) fails on the source ORACLE connection YYY.
    Caused By: java.sql.SQLException: Missing IN or OUT parameter at index:: 1
    Here xxx procedurename.
    yyy-schemaname
    Please do the needful..
    Thanking you in Advance.
    Regards,
    PP

      1  declare
      2  sql_string varchar2(2000);
      3  begin
      4  sql_string := 'select ' || func_name || ' into a from dual ';
      5  execute immediate sql_string;
      6* end;
    SQL> /
    sql_string := 'select ' || func_name || ' into a from dual ';
    ERROR at line 4:
    ORA-06550: line 4, column 28:
    PLS-00201: identifier 'FUNC_NAME' must be declared
    ORA-06550: line 4, column 1:
    PL/SQL: Statement ignored
      1  declare
      2  sql_string varchar2(2000);
      3  func_name varchar2(30);
      4  begin
      5  func_name := 'some_func';
      6  sql_string := 'select ' || func_name || ' into a from dual ';
      7  execute immediate sql_string;
      8* end;
    SQL> /
    declare
    ERROR at line 1:
    ORA-00904: "SOME_FUNC": invalid identifier
    ORA-06512: at line 7
    SQL> desc some_func;
    ERROR:
    ORA-04043: object some_func does not exist
      1  create or replace function test_func
      2       return number
      3       is
      4       begin
      5          return 0;
      6*      end;
    SQL> /
    Function created.
      1  declare
      2  sql_string varchar2(2000);
      3  func_name varchar2(30);
      4  begin
      5  func_name := 'test_func';
      6  sql_string := 'select ' || func_name || ' into a from dual ';
      7  execute immediate sql_string;
      8* end;
    SQL> /
    declare
    ERROR at line 1:
    ORA-00905: missing keyword
    ORA-06512: at line 7
    SQL> Set serveroutput on
      1   declare
      2   sql_string varchar2(2000);
      3   func_name varchar2(30);
      4   return_value number;
      5   begin
      6   func_name := 'test_func';
      7   sql_string := 'select ' || func_name || ' from dual ';
      8   execute immediate sql_string into return_value;
      9   dbms_output.put_line(return_value);
    10* end;
    SQL> /
    0
    PL/SQL procedure successfully completed.Hope that helps.
    Regards
    Raj

  • How to call a ODI Job using Command line?

    Hello All,
    Please help me on this..
    How to call an ODI Job using Command line?
    Thanks
    Ravikiran

    Generate a scenario of your package. Then go to <ODI_HOME>/oracledi/agent/bin in command prompt and invoke startscen command .
    startcmd.sh OdiStartScen -SCEN_NAME=scn_load_data -SCEN_VERSION=001 -CONTEXT=GLOBAL -AGENT_CODE=odiSchedAgent001
    Bhabani
    http://dwteam.in

  • How to Call Custom BPEL Process using JSP

    Hi All,
    I m not able to find out the way " How to deploy Custom BPEL process using JSP." Suppose I m Designing my custom BPEL process , and I want to call process through JSP.
    In order to call the BPEL process using JSP I may get the Reference from Oracle guide, But it is for Existing Example like Hello world, Order Booking.
    But I am facing the problem in order to call the Custom BPEL process.
    In case of Oracle Example it looks Simple but How to call Custom BPEL process using JSP.
    Please help me.
    Thanks&Regards
    Devesh Mishra

    hi
    The BPEL Developer guide give the way to Locate the service.can you please specify where you are getting the problem.
    Thanks,
    Sivakumar

  • ***How to call BSP App when custom button event fired from toolbar group***

    Dear PCUI Experts,
       I have created one custom button for the transaction CRMD_BUS2000116.
    And my urgnet requirement is , I need to call BSP application which is used to   take data from custom fields and stores into BP table.
    How to call the BSP App. when i clicks on the button.
    Please help me..
    I will reward with great points.
    Regards,
    Stella.

    Hi Purushothaman,
                                 I have created a button in CRRM_ACCOUNT application.
    Now i want to call  a custom bsp application by clicking on that button.I have followed step given in this blog
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1646. [original link is broken] [original link is broken] [original link is broken] [original link is broken]
    But the event is not triggered.Do I have to create an iview for my bsp application?
    How to do that?Plz help.
    Regards,
    Ruby.

  • How to call Subroutines,Standard Text  & using Internal Table in SmartForm

    Hi all,
    need help in the following areas.Its very urgent!
    1.How to CAll Subroutines in Smart Forms
    2.How to CAll Standard Text in Smart Forms
    Situation:
    We have an Internal Table T_SALES with all the data which am going to display in the smartform,How to retrive data from an internal table in Smart forms
    Any Help in this direction would be highly appreciated.
    Regards
    Ramu

    Hi,
      When you are using quantity or currency fields, you have to mentiong the reference fileds in a tab called CURRENCY/QUANTITY FILEDS in the GLOBAL DATA node.
    Specifying a Currency or Quantity Reference
    Use
    In the ABAP Dictionary, you can assign a currency or quantity field to a table field. In the output of these fields, the system can then insert the relevant currency or unit:
    ·        If the value field is in the same table as the corresponding currency or quantity field, the system recognizes the reference automatically, and formats the value field according to the currency or unit in the assigned field.
    ·        If the value field is in a different table from the currency or quantity field, the system cannot recognize this reference automatically.
    In the second case, you must indicate this reference to the system in the form, to ensure that the value field is formatted correctly.
    Procedure
    You want to assign a currency or quantity field in one table (for example, CURTAB) to a value field in another table (for example, VALTAB).
           1.      Create the reference to the currency field by entering the following values:
    -         Field Name: VALTAB-VALUE, if this is the value field of VALTAB that you want to display.
    -         Reference Field: CURTAB-CURRENCY, which is the currency field of CURTAB.
           2.      Under Data Type, specify whether the data type is a currency or quantity.
    Result
    In the output of the PDF-based print form, the system formats the value field VALTAB-VALUE according to the assigned value in the currency or quantity field of the global variable CURTAB-CURRENCY.
    Thanks and Regards,
    Bharat Kumar Reddy.V
    Message was Added by: Bharat Reddy V
    Message was Added by: Bharat Reddy V

  • How to call "compensation profile" iView in ECM from Web Dynpro for ABAP

    Hi Experts,
    I developed a compensation planning iView using web dynpro for ABAP using floor plan manager in ECM. I need to call the iView "compensation profile" but I don't know how to pass parameter to it, how to trigger it from my application. Is there anyone used to do this before?
    Thanks!
    - Anthony -

    I have to develop my own iView to replicate Java iView.

  • How to call bsp application in workflow and process it...

    The requirement is ...
    HR as (admin) -- in standard workflow selects apprasiee for 360 degree apprasial process(bsp application developed by me)..
    aprasiee selects 10 employees and sends to HR
    HR checks the employees list and their relationships
                            if
                      HR satisfies and clicks ok .. email will go to all 10 employees selected by apprasiee with a link
                  of 360 degree application developed in bsp..
                      else
               HR says to reselect the employees to apprasiee.
    when apprasier completes the form and submits both HR and appraisee gets a note that particular
    employee as filled your application..
    for this process ... there r standard ones and i have to creare new ones ..
    tell me which standard workflows  i can use for this and which one to and also how to create a new one...
    i hope i can use HR and apprasiee selected by HR can be used as standard ones, which i want to copy and create a new one.

    Hi,
    If you want to use a BSP in your workflow, this can fairly easy be done by incorporating your BSP as a webactivity in your own flow or into an existing one. Things to consider when creating webactivitysteps in your workflow are:
    - Making settings in WF_HANDCUST.
    - Make settings in SICF: here you have to activate the WSHANDLER (pad /default_host/sap/bc/webflow/wshandler) and your own BSP which is somewhere under pad /default_host/sap/bc/bsp/&name_of_your_bsp&
    - Make settings in WF_EXTSRV: here you can make settings between the import and export parameters of your BSP and the (future) parameters in your workflowtask. When all these settings are made correctly, you can generate a WF-task with the corresponding button in this transaction (a wizzard will be started). The connection between the task and your BSP will be stored in table SWLWPTSSID.
    Try if you can figure it out with these transactions. Good luck!
    Kind regards,
    Joost van Poppel

  • How to call a dll with special parameters in Labview?

    Hi,
    I have a dll file (compiled in C++) and I would like to call the individual functions from this dll file.
    I do not know however, how I must correctly define the initial parameters in LabView.
    That is the function, which I would like to call:
    DWORD OpenDiagDriver ( char* port,
    LPCSTR path,
    CANObjects CANObj[],
    WORD BitTiming = 0x4167);
    CANObjects CANObj[] is a pointer to array with CAN configuration data
    typedef struct
    DWORD Ident;
    BYTE Config;
    }CANObjects;
    CANObj[0].Ident= 0x18DA0000;
    CANObj[0].Config= 0x8C;
    CANObj[1].Ident= 0x18DA0000;
    CANObj[1].Config= 0x84;
    WORD BitTiming= 0x4167;
    I made a vi, but it doesn’t work.
    Attachments:
    example.vi ‏29 KB

    Hard to say without the full C source. Are you building the DLL according to the CIN rules (see Using External Code in LabVIEW)? Mapping clusters to C code in DLLs is not a simply process and we generally recommend to create wrappers. However, since your structures are fairly straightforward, you could use the "Adapt to Type" as you are trying to do.
    I recommend checking out the mentioned manual and also the examples in \examples\dll\data passing\Call Native Code.llb and the associated C files.
    Brian Tyler
    http://detritus.blogs.com/lycangeek

  • How to call specific view of used component

    Hi All,
    I have the following problem:
    I have component 1 which have two views: 1A and 1B. They are included in one window. Default view is 1A.
      Navigation between view 1A and 1B it made with buttons and plugs ("go to 1A", "go to 1B").
    I have main component 2 which uses component 1 (used component). Component 2 has view 2A and 2B. I have button "Z" in view 2A which calls method of component 1 and navigates to view 2B (where used component 1 is embedded).
    First time I press button I navigate to view 1A, its correct. Then I navigate to view 1B (within used component 1).
    when I go back (in main component 2) and press button "Z" again, the used component 1 is open with view 1B, not 1A (which is default). That is, used component 1 remember which view the navigation stayed on.
    I nee to always see view 1A first when I navigate with button "Z" (open used component).
    How I can do that?

    hi ,
    u must be using component usage ..
    in ur component2 , place the view 1B of ur used component in separate window
    pls refer this thread as well :
    How to call a Particular View from a View of Current Component
    regards,
    amit

  • How to call stored procedure with multiple parameters in an HTML expression

    Hi, Guys:
    Can you show me an example to call stored procedure with multiple parameters in an HTML expression? I need to rewrite a procedure to display multiple pictures of one person stored in database by clicking button.
    The orginal HTML expression is :
    <img src="#OWNER#.dl_sor_image?p_offender_id=#OFFENDER_ID#" width="75" height="75">which calls a procedure as:
    procedure dl_sor_image (p_offender_id IN NUMBER)now I rewrite it as:
    PROCEDURE Sor_Display_Current_Image(p_n_Offender_id IN NUMBER, p_n_image_Count in number)could anyone tell me the format for the html expression to pass multiple parameters?
    Thanks a lot.
    Sam

    Hi:
    Thanks for your help! Your question is what I am trying hard now. Current procedure can only display one picture per person, however, I am supposed to write a new procedure which displays multiple pictures for one person. When user click a button on report, APEX should call this procedure and returns next picture of the same person. The table is SOR_image. However, I rewrite the HTML expression as follows to test to display the second image.
    <img src="#OWNER#.Sor_Display_Current_Image?p_n_Offender_id=#OFFENDER_ID#&p_n_image_Count=2" width="75" height="75"> The procedure code is complied OK as follows:
    create or replace
    PROCEDURE Sor_Display_Current_Image(p_n_Offender_id IN NUMBER, p_n_image_Count in number) AS
        v_mime_type VARCHAR2(48);
        v_length NUMBER;
        v_name VARCHAR2(2000);
        v_image BLOB;
        v_counter number:=0;
        cursor cur_All_Images_of_Offender is
          SELECT 'IMAGE/JPEG' mime_type, dbms_lob.getlength(image) as image_length, image
          FROM sor_image
          WHERE offender_id = p_n_Offender_id;
        rec_Image_of_Offender cur_All_Images_of_Offender%ROWTYPE;
    BEGIN
        open cur_All_Images_of_Offender;
        loop
          fetch cur_All_Images_of_Offender into rec_Image_of_Offender;
          v_counter:=v_counter+1;
          if (v_counter=p_n_image_Count) then
            owa_util.mime_header(nvl(rec_Image_of_Offender.mime_type, 'application/octet'), FALSE);
            htp.p('Content-length: '||rec_Image_of_Offender.image_length);
            owa_util.http_header_close;
            wpg_docload.download_file (rec_Image_of_Offender.image);
          end if;
          exit when ((cur_All_Images_of_Offender%NOTFOUND) or (v_counter>=p_n_image_Count));
        end loop;
        close cur_All_Images_of_Offender;
    END Sor_Display_Current_Image; The procedure just open a cursor to fetch the images belong to the same person, and use wpg_docload.download_file function to display the image specified. But it never works. It is strange because even I use exactly same code as before but change procedure name, Oracle APEX cannot display an image. Is this due to anything such as make file configuration in APEX?
    Thanks
    Sam

  • Need an Example for How to call a Stored Procedure using DBAdapter

    Hi
    I am trying to invoke a stored procedure in Oracle Database using DB Adapter. I have successfully invoked and when i try to run it i got the following error.
    oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: Client received SOAP Fault from server : Exception occured when binding was invoked.
    Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'ExecuteScript' failed due to:
    Stored procedure invocation error.
    Error while trying to prepare and execute the RESONANCEDEMO.SP_QUERY API.
    An error occurred while preparing and executing the RESONANCEDEMO.SP_QUERY API. Cause: java.sql.SQLSyntaxErrorException: ORA-00917: missing comma
    ORA-06512: at "RESONANCEDEMO.SP_QUERY", line 7
    ORA-06512: at line 1
    Check to ensure that the API is defined in the database and that the parameters match the signature of the API.
    This exception is considered not retriable, likely due to a modelling mistake.
    To classify it as retriable instead add property nonRetriableErrorCodes with value "-917" to your deployment descriptor (i.e. weblogic-ra.xml).
    To auto retry a retriable fault set these composite.xml properties for this invoke: jca.retry.interval, jca.retry.count, and jca.retry.backoff.
    All properties are integers.
    I am trying to have a Out Parameter in my Procedure. Please provide me an example on how to invoke a Stored Procedure using Out Paramter using DB Adapter.

    Hi,
    It looks more like an Oracle error and not within the DbAdapter.
    Try to test first your procedure from PL/SQL or other developer you are using.
    Arik

Maybe you are looking for

  • Fresh Install: Gnome Shell segfault and bgrt invalid status (Nvidia)

    Hi everyone! I have Arch freshly installed, and after some modprobing last night I was finally able to get the Arch repository Nvidia drivers working. That being said, I am still getting a "bgrt invalid status" message on boot up (and, for what it is

  • Select List (query based LOV) in a wizard created report form

    I have created an updatable report form with 3 columns: app_id user_id group_id Each app_id has multiple group_id's associated with it, and I want to show the group_id field as a Select List (query based LOV) that contains the groups associated with

  • Bank gurarantee and letter of credit

    Hi experts, how we can update the the bank gurarantee and letter of credit in SAP systems, Is i need any additional configuration ? regards, Sanju MS

  • Purchasing Groups

    Hi All I need to run a report showing purchasing groups and the respective purchasing oganisation they belong to. 1. Is there such a report 2. if no report then on which table can this information be found 3. what tables can I join in SAP Query to ge

  • PowerShell processing of large CSV very slow - Is there a better way?

    Using Powershell I am working through a foreach loop. One of the steps inside the loop is to find a match in a csv file -   import-csv ".\RateCard.csv" | where-object{$($Item.'From Number') -match "^\+?($($_.Destination))\w*$"} The foreach loop is pr