How to pass a value of the radiogroup to another page item

Hi, I have a report with one column as a radiogroup. I have a process that execute the next code when I press a button:
begin
for i in 1..htmldb_application.g_f01.count
loop
update mesa_entrada set retomada = sysdate where id = htmldb_application.g_f01(i);
end loop;
end;
I want to set the value of the item in another page with the value of the selected radiogroup, How i have to do?
any suggestion will be welcome!
Thanks!

I have the same problem.
On the new page the global variable HTMLDB_ITEM.G_F01 has 0 values.
I created a process like this in the new page:
:P300_FILENAME := HTMLDB_APPLICATION.G_F01.count;
FOR I IN 1..HTMLDB_APPLICATION.G_F01.COUNT
LOOP
:P300_TEST := HTMLDB_APPLICATION.G_F01(I);
END LOOP;
and P300_FILENAME gets 0 and P300_TEST is empty. Any sugestions?

Similar Messages

  • Is it possible to pass  a value from the list to another page..

    Hi everyone,
    I created a (list region) on a page and there is a FORM on the same page.I am trying to pass a value from that page to another page when the user selects one of the list entries.I tried with SET THESE ITEM.. WITH THESE VALUES in the list entries like
    SET THESE ITEMS--P13_TESTING_ID
    WITH THESE VALUES --&P10_ID.
    but its not working for me.I want to pass that value only when the user hits that list entry.Is it possible to do.
    Thanku
    phani

    Assuming P10_ID is an item on the FORM, I think , the form would have to be posted (submitted) for the item's vaue to be available in session state.

  • How to pass a value to the export parameter for a method (public instance)?

    Hello,
      I am trying ABAP OO newly. How to pass a value to the export parameter for a method (public instance) called in a report? This *export parameter has a reference type of structure.
    Thanks in advance,
    Ranjini

    Hi,
    "class definition
    class lcl... definition.
      public section.
        method m1 imporitng par type ref to data.  "now you can pass any reference to the method, but this way you have to maintain this reference dynamically inside the method (you can't be sure what that reference is really "pointing" at)
    endclass.
    "in program
    data: r_lcl type ref to lcl...
    create object r_lcl.
    call method r_lcl
      exporting
         par    =  "pass any reference variable here
    Regards
    Marcin

  • How to pass a value from the report to a form ( BIT OF URGENT ).

    Hi,
    I had created a "Form on a Table with Report" on the report I had remove the edit link and set one of the column feilds that functionality. Now I want to know how to pass that value that is clicked ( having hyper link ) on to the form where it runs a SQL query and then displays the reuslts on the form.
    Illustrating with an example.
    I am having these following columns on the report ( these are the results for the join statement )
    JOBNUM JOBNAME DEPTNUMBER SAL EMPNO LNAME FNAME
    In the above JOBNUM is having Hyper link as I removed the edit image.
    Now this is area I am having problem. When the user clicked on the JOBNUM then on form it should display 20 other columns( pulled from 5 other tables ) which are related to that particualr JOBNUM.
    Anybody give me a solution in which area I have to include my SQL statement and how to pass that selected value to that SQL statement.
    Cheers,
    Krishna

    Hi Ron,
    I am doing exaclty what you have suggested me but no luck. I started changing the DEMO_CUSTOMERS application to my requirements.The report is working fine and on the report I have created a page attribute to the Hyper linked column and linked that to the page 2 and assign that attribute with #JOBNUM#.
    I am able to pass that value on to form when I click on the JOBNUM. But the problem is I am not able to pass that value into the SQL query so that my query pulls 20+ columns on to the Form ( which is second page ).
    Small clarification... On the form region it is said FORM NAME and type is HTML is that is the way the APEX was designed or does it need to say region type as FORM.
    Thanks for your help in advance.
    Cheers,
    Krishna.

  • How to Pass Parameter/Value to the second page????

    Hi,
    I am trying to display same popup window when I click on ADD,UPDATE and VIEW buttons. I don’t have any problem in displaying the popup when I click on ADD and UPDATE button but with VIEW button I wanted to display the popup at read only mode. In order to do that I have created a bean with session scope and set a ‘SetActionListener‘on VIEW button and set ‘from’ property to true and ‘to’ property to "#{IndividualSummaryDetails.readOnlyAddress}". I could not pass the value of readOnlyAddress to the popup. How can I pass the value of readOnlyAddress to the popup?
    This value becomes true when I click on view button. If I pass that value to the popup then I can set the read only property of the fields on the popup with that value. So that the fields become read only.
    Here is my View button
    <af:commandButton text="#{CoreProperties['Global.commandButton.View']}"
    windowHeight="450" windowWidth="600"
    useWindow="true"
    action="dialog:FromIndividualSummaryDetailsToAddress"
    id="justView">
    <af:setActionListener from="#{true}"
    to="#{IndividualSummaryDetails.readOnlyAddress}"/>
    Here is my Bean
    public class IndividualSummaryDetails {
    private Boolean readOnlyAddress;
    public IndividualSummaryDetails() {
    readOnlyAddress = true;
    public Boolean isReadOnlyAddress() {
    return readOnlyAddress;
    public void setReadOnlyAddress(Boolean readOnlyAddress) {
    this.readOnlyAddress = readOnlyAddress;
    This value becomes true when I click on view button. If I pass that value to the popup then I can set the read only property of the fields on the popup with that value. So that the fields become read only.
    Message was edited by:
    V.Piraba

    We need to use portlet events for sending parameters across different pages.
    Following documents can give you insight on this :
    1. http://portalstudio.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/PDK/ARTICLES/PRIMER.PORTLET.PARAMETERS.EVENTS.HTML
    2. http://portalstudio.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/PDK/ARTICLES/DESIGNING.PAGES.USING.PDKJAVA.SAMPLE.EVENT.WEB.PROVIDER.HTML
    -AMJAD.

  • How to pass input value to the IN parameter in a function

    Hi ,
    I'm new to pl/sql programming.
    The below function is used inside a package and the package is invoked in visual studio.
    The function uses 2 input parameters.
    Out of which 'in_report_parameter_id' value comes thru job processor service 's job request.
    The second IN paramter values are hard coded in the function.
    I'm not able to understand this.
    If the values are hard coded , how to make sure that only the hard coded values are the right ones?
    Please anyone could explain to me?
    I really dont have good idea about how to pass INPUT parameter to the functions or procedure
    Is there any nice document which could give me good understanding about what are the ways or types we could pass values to the input parameter in subprograms?
    thanks in advance.
    CREATE OR REPLACE FUNCTION get_class_text_str
         in_report_parameter_id IN NUMBER,
         in_which                IN VARCHAR2 DEFAULT 'SELECT'
    RETURN VARCHAR2
    IS
             end_text            VARCHAR2 (50)   := '';
             my_class_text_str  VARCHAR2(10000) := '';
             my_class_value_str VARCHAR2(10000) := '';
         CURSOR class_text(c_1_text VARCHAR2, c_2_text VARCHAR2) IS
         SELECT c_1_text || report_parameters.report_parameter_value
                               || c_2_text
                               || report_parameters.report_parameter_value
                               || '" '
          FROM report_parameters
         WHERE report_parameters.report_parameter_id     = 3690
           AND report_parameters.report_parameter_group  = 'CLASS'
           AND report_parameters.report_parameter_name   = 'CLASS'
    GROUP BY report_parameters.report_parameter_value
    ORDER BY CAST(report_parameters.report_parameter_value AS NUMBER);
    BEGIN
         IF (in_which = 'SUM') THEN     
              OPEN class_text ( 'SUM(NVL("Class ', '", 0)) "Class ' );
         ELSIF (in_which = 'PERC')THEN
              OPEN class_text ( 'ROUND((("Class ', '" / "Total") * 100), 2) "Class ' );
              end_text := ', DECODE("Total", -1, 0, 100) "Total" ';
         ELSE
              OPEN class_text ( 'SUM(DECODE(bin_id, ', ', bin_value, 0)) "Class ' );
         END IF;
         LOOP
              FETCH class_text INTO my_class_value_str;
              EXIT WHEN class_text%NOTFOUND;
              my_class_text_str := my_class_text_str || ', ' || my_class_value_str;
         END LOOP;
         CLOSE class_text;
         my_class_text_str := my_class_text_str || end_text;
         RETURN my_class_text_str;
    END get_class_text_str;
    /Edited by: user10641405 on Nov 19, 2009 8:16 AM
    Edited by: user10641405 on Nov 19, 2009 8:30 AM

    This is not a design I would use, but should work if coded properly. I would probably build a reference cursor query as text and use one open fetch and close.
    You have 2 input parameters, in_report_parameter_id and in_which. I could not find where in_report_parameter_id was used in the program, but the value passed in for in_which is being used in IF logic to decide how to open the cursor. After the cursor is open rows are being fetched and eventually the cursor is closed.
    The values in_which are compared to are hard-coded. It is the programmer's job to make sure the values listed are the right values and the actions taken are also correct. Your program is assuming that if the first 2 values are not encountered the third one listed is the one you want.
    To pass input values to a procedure you merely provide the values as a literal or variable in the call, something like
    whatever := get_class_text_str(1,'SELECT');

  • How to print a value at the top of each page in the detail section of a rpt

    Thanks for helping, I will try to get right to the point.
    I have RTF template. Very simplistic template. I have the Group at the top (there is only 1 per XML file) and several DETAIL lines with like 10 columns.
    The first displayed field is "ACCOUNT_NUMBER". The user wished that if the ACCOUNT NUMBER for line 2 was the same as line 1, that it be suppressed, for example:
    Acct No other other other other
    1234 XX XX XX XX
    YY YY YY YY
    This was not a problem, I was able to accomplish it with the following code:
    <?if:position()=1 or ACCOUNT_NUMBER!=preceding::ACCOUNT_NUMBER[1]?><?ACCOUNT_NUMBER?><?end if?>
    But what happens is that IF THE FIRST line on a page has the same ACCOUNT_NUMBER as the last line on the previous page, the ACCOUNT NUMBER is not displayed.
    What I would like is for the ACCOUNT NUMBER to be displayed anytime we are at the first record on a page, AND anytime it is different from the previous record's value.
    I do not know how many lines per page are possible, because there are other line breaks which exist which put a space between lines when values change too. So I cannot just count how many total lines and divide it by lines per page.
    My thought was that there must be a way I could store a variable called LAST_PAGE, and at the end of each record, copy the current page number to that variable. Then in my ACCOUNT_NUMBER code, I could check if current page is NOT equal to last page along with my other conditions.
    1. Is this the best way to do this? If so, please help, I am new to BI and am having trouble figuring out where to put variables and stuff like that.
    2. If not, how can I do this?
    3. If your recommendation is going to be to group my items by Account Number, I may not have time to redo the report that way. I will happily supply the rtf and xml if that will help you help me.
    Regards:
    Michael Coughlin

    Here ya go. Obviously you can duplicate the G_DETAILS blocks to get enough for 2 pages. I have the data pre-sorted before the output is generated because I had trouble getting the RTF to work if I didn't, just so you know.
    <?xml version="1.0" encoding="UTF-8" ?>
    <!-- Generated by Oracle Reports version 6.0.8.28.0 -->
    <XXDIPICK_RPT>
    <LIST_G_HEADERS>
    <G_HEADERS>
    <SHIP_FROM_ORG_CODE>202</SHIP_FROM_ORG_CODE>
    <LINE_STATUS>Picked</LINE_STATUS>
    <LIST_G_DETAILS>
    <G_DETAILS>
    <SHIP_FROM_ORG_CODE1>202</SHIP_FROM_ORG_CODE1>
    <ACCOUNT_NUMBER>1000</ACCOUNT_NUMBER>
    <DELIVERY_NUMBER>8062</DELIVERY_NUMBER>
    <ORDER_NUMBER>103049</ORDER_NUMBER>
    <CUST_NAME>DIAMOND INNOVATIONS INT SALES - NEWCO</CUST_NAME>
    <DELIVERY_DETAIL_ID>12474</DELIVERY_DETAIL_ID>
    <LINE_NO>1.1</LINE_NO>
    <ITEM_NO>4087401</ITEM_NO>
    <ITEM_DESCRIPTION>HPD M SD-CTO-0 Pot</ITEM_DESCRIPTION>
    <OPEN_FLAG>Y</OPEN_FLAG>
    <CANCELLED_FLAG>N</CANCELLED_FLAG>
    <BOOKED_FLAG>Y</BOOKED_FLAG>
    <ORDERED_QUANTITY>1</ORDERED_QUANTITY>
    <ORDER_QUANTITY_UOM>EA</ORDER_QUANTITY_UOM>
    <SHIPPED_QUANTITY></SHIPPED_QUANTITY>
    <SCHEDULE_SHIP_DATE>2011-01-31T23:59:00+00:00</SCHEDULE_SHIP_DATE>
    <NAME>INTERNAL ORDER - US</NAME>
    <CUST_ACCOUNT_ID>16404</CUST_ACCOUNT_ID>
    <HEADER_ID>6446</HEADER_ID>
    <LINE_ID>7926</LINE_ID>
    <ORG_ID>84</ORG_ID>
    <SHIP_TO_ORG_ID>16050</SHIP_TO_ORG_ID>
    <INVOICE_TO_ORG_ID>16052</INVOICE_TO_ORG_ID>
    <SHIP_SET_ID></SHIP_SET_ID>
    <INVENTORY_ITEM_ID>63927</INVENTORY_ITEM_ID>
    </G_DETAILS>
    <G_DETAILS>
    <SHIP_FROM_ORG_CODE1>202</SHIP_FROM_ORG_CODE1>
    <ACCOUNT_NUMBER>1000</ACCOUNT_NUMBER>
    <DELIVERY_NUMBER>8062</DELIVERY_NUMBER>
    <ORDER_NUMBER>103049</ORDER_NUMBER>
    <CUST_NAME>DIAMOND INNOVATIONS INT SALES - NEWCO</CUST_NAME>
    <DELIVERY_DETAIL_ID>12475</DELIVERY_DETAIL_ID>
    <LINE_NO>2.1</LINE_NO>
    <ITEM_NO>3732307</ITEM_NO>
    <ITEM_DESCRIPTION>NV MBS 2325 Bushing Asm</ITEM_DESCRIPTION>
    <OPEN_FLAG>Y</OPEN_FLAG>
    <CANCELLED_FLAG>N</CANCELLED_FLAG>
    <BOOKED_FLAG>Y</BOOKED_FLAG>
    <ORDERED_QUANTITY>1</ORDERED_QUANTITY>
    <ORDER_QUANTITY_UOM>EA</ORDER_QUANTITY_UOM>
    <SHIPPED_QUANTITY></SHIPPED_QUANTITY>
    <SCHEDULE_SHIP_DATE>2011-01-31T23:59:00+00:00</SCHEDULE_SHIP_DATE>
    <NAME>INTERNAL ORDER - US</NAME>
    <CUST_ACCOUNT_ID>16404</CUST_ACCOUNT_ID>
    <HEADER_ID>6446</HEADER_ID>
    <LINE_ID>7927</LINE_ID>
    <ORG_ID>84</ORG_ID>
    <SHIP_TO_ORG_ID>16050</SHIP_TO_ORG_ID>
    <INVOICE_TO_ORG_ID>16052</INVOICE_TO_ORG_ID>
    <SHIP_SET_ID></SHIP_SET_ID>
    <INVENTORY_ITEM_ID>67865</INVENTORY_ITEM_ID>
    </G_DETAILS>
    <G_DETAILS>
    <SHIP_FROM_ORG_CODE1>202</SHIP_FROM_ORG_CODE1>
    <ACCOUNT_NUMBER>46711</ACCOUNT_NUMBER>
    <DELIVERY_NUMBER></DELIVERY_NUMBER>
    <ORDER_NUMBER>102980</ORDER_NUMBER>
    <CUST_NAME>VAREL EUROPE</CUST_NAME>
    <DELIVERY_DETAIL_ID>12356</DELIVERY_DETAIL_ID>
    <LINE_NO>1.1</LINE_NO>
    <ITEM_NO>11004002</ITEM_NO>
    <ITEM_DESCRIPTION>TYPE I 100/120 MISC</ITEM_DESCRIPTION>
    <OPEN_FLAG>Y</OPEN_FLAG>
    <CANCELLED_FLAG>N</CANCELLED_FLAG>
    <BOOKED_FLAG>Y</BOOKED_FLAG>
    <ORDERED_QUANTITY>75</ORDERED_QUANTITY>
    <ORDER_QUANTITY_UOM>CT</ORDER_QUANTITY_UOM>
    <SHIPPED_QUANTITY></SHIPPED_QUANTITY>
    <SCHEDULE_SHIP_DATE>2011-01-27T23:59:00+00:00</SCHEDULE_SHIP_DATE>
    <NAME>STANDARD ORDER - IRE</NAME>
    <CUST_ACCOUNT_ID>5004</CUST_ACCOUNT_ID>
    <HEADER_ID>6234</HEADER_ID>
    <LINE_ID>7312</LINE_ID>
    <ORG_ID>85</ORG_ID>
    <SHIP_TO_ORG_ID>18929</SHIP_TO_ORG_ID>
    <INVOICE_TO_ORG_ID>4995</INVOICE_TO_ORG_ID>
    <SHIP_SET_ID></SHIP_SET_ID>
    <INVENTORY_ITEM_ID>42032</INVENTORY_ITEM_ID>
    </G_DETAILS>
    <G_DETAILS>
    <SHIP_FROM_ORG_CODE1>202</SHIP_FROM_ORG_CODE1>
    <ACCOUNT_NUMBER>76127</ACCOUNT_NUMBER>
    <DELIVERY_NUMBER>7608</DELIVERY_NUMBER>
    <ORDER_NUMBER>102981</ORDER_NUMBER>
    <CUST_NAME>LION ENGINEERING SERVICES LTD</CUST_NAME>
    <DELIVERY_DETAIL_ID>12357</DELIVERY_DETAIL_ID>
    <LINE_NO>1.1</LINE_NO>
    <ITEM_NO>11004002</ITEM_NO>
    <ITEM_DESCRIPTION>TYPE I 100/120 MISC</ITEM_DESCRIPTION>
    <OPEN_FLAG>Y</OPEN_FLAG>
    <CANCELLED_FLAG>N</CANCELLED_FLAG>
    <BOOKED_FLAG>Y</BOOKED_FLAG>
    <ORDERED_QUANTITY>200</ORDERED_QUANTITY>
    <ORDER_QUANTITY_UOM>CT</ORDER_QUANTITY_UOM>
    <SHIPPED_QUANTITY></SHIPPED_QUANTITY>
    <SCHEDULE_SHIP_DATE>2011-01-27T23:59:00+00:00</SCHEDULE_SHIP_DATE>
    <NAME>STANDARD ORDER - IRE</NAME>
    <CUST_ACCOUNT_ID>5614</CUST_ACCOUNT_ID>
    <HEADER_ID>6235</HEADER_ID>
    <LINE_ID>7318</LINE_ID>
    <ORG_ID>85</ORG_ID>
    <SHIP_TO_ORG_ID>18429</SHIP_TO_ORG_ID>
    <INVOICE_TO_ORG_ID>5605</INVOICE_TO_ORG_ID>
    <SHIP_SET_ID></SHIP_SET_ID>
    <INVENTORY_ITEM_ID>42032</INVENTORY_ITEM_ID>
    </G_DETAILS>
    </LIST_G_DETAILS>
    </G_HEADERS>
    </LIST_G_HEADERS>
    </XXDIPICK_RPT>

  • How to pass a value from one component to another component in webdynpro

    I have created component which consists of alv display and in the alv table  I have created pernr has link and when I click that pernr the second webdypro component opens which I have created . now in the second component I want that pernr value. based on that I want to fetch some data.

    See i have this code for example which calls the browser with concatenated URL:
    CONSTANTS: l_c_url_part1 TYPE string VALUE '?sap-system-login-basic_auth=X&sap-client=',
                         l_c_url_part2 TYPE string VALUE '&sap-language=EN',
                         l_c_url_part3 TYPE string VALUE '&PARAMETER1=',
                         l_c_url_part4 TYPE string VALUE '&PARAMETER2='.
    CALL METHOD cl_wd_utilities=>construct_wd_url
                   EXPORTING
                     application_name = 'ZTEST'
                   IMPORTING
                     out_absolute_url = l_v_url.
                 CONCATENATE l_v_url  l_c_url_part1
                             sy-mandt l_c_url_part2 l_c_url_part3 'VALUE1' l_c_url_part4 'VALUE2' INTO l_v_url.
                 CALL FUNCTION 'CALL_BROWSER'
                     EXPORTING
                       url                           = l_v_url1
                       new_window             = 'X'
                     EXCEPTIONS
                       frontend_not_supported = 1
                       frontend_error         = 2
                       prog_not_found         = 3
                       no_batch               = 4
                       unspecified_error      = 5
                       OTHERS                 = 6.
                   IF sy-subrc <> 0.
                     MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                             WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
                   ENDIF.

  • Passing  null values to the attributes of a CAF operation

    Hi,
    In CAF I am trying to fetch data through Web Service. For this I need to pass null value for the attributes of the operation.If I set the value to null it gives me missing parameter as the error.
    Can anyone tell me how to pass null values to the attributes of a CAF operation?

    Hi Xavier,
    Declare the two variables of type if_wd_contex_node for e.g. lv_node and if_wd_context_element for e.g. lv_element. Now in the first one lets say lv_node get the refrence of dynamically created node like:
    lv_node = wd_context->get_child_node('<node name>').
    Then get the refrence of element like:
    lv_element = lv_node->get_element( ). (You can also pass index as parameter check the method API)
    then just set the value of attribute you want like:
    lv_element->set_attribute( exporting name = '<attribute name>' value = '<your value>').
    Regards,
    Neha

  • How can I pass a value to the command prompt?

    I was wondering how can I pass a value to the command prompt with Windows and Linux? I'm more interested in Linux's system than Windows though. Is there a way to return info from the command prompt?

    Here is a snippet from http://mindprod.com/jglossexec.html that explains how in detail.
    Runtime.getRuntime().exec("myprog.exe") will spawn an external process that runs in parallel with the Java execution. In Windows 95/98/ME/NT/2000/XP, you must use an explicit *.exe or *.com extension on the parameter. It is also best to fully qualify those names so that the system executable search path is irrelevant, and so you don't pick up some stray program off the path with the same name.
    To run a *.BAT, *.CMD, *.html *.BTM or URL you must invoke the command processor with these as a parameter. These extensions are not first class executables in Windows. They are input data for the command processor. You must also invoke the command processor when you want to use the < > | piping options, Here's how, presuming you are not interested in looking at the output:
    Runtime.getRuntime( ).exec ("command.com /E:1900 /C MyBat.bat" );
    Runtime.getRuntime( ).exec ("cmd.exe /E:1900 /C MyCmd.cmd" );
    Runtime.getRuntime( ).exec ("C:\\4DOS601\\4DOS.COM /E:1900 /C MyBtm.btm" );
    Runtime.getRuntime( ).exec ("D:\\4NT301\\4NT.EXE /E:1900 /C MyBtm.btm" );
    There are also overloaded forms of exec(),
    Runtime.getRuntime( ).exec ("command.com /E:1900 /C MyBat.bat", null);
    Runtime.getRuntime( ).exec ("command.com /E:1900 /C MyBat.bat", null, "C:\\SomeDirectory");
    The second argument can be a String [], and can be used to set environment variables. In the second case, "C:\\SomeDirectory" specifies a directory for the process to start in. If, for instance, your process saves files to disk, then this form allows you to specify which directory they will be saved in.
    Windows and NT will let you feed a URL string to the command processor and it will find a browser, launch the browser, and render the page, e.g.
    Runtime.getRuntime( ).exec ("command.com http://mindprod.com/projects.html" );
    Another lower level approach that does not require extension associations to be quite as well set up is:
    Runtime.getRuntime( ).exec ("rundll32 url.dll,FileProtocolHandler http://mindprod.com/projects.html" );
    Note that a URL is not the same thing as a file name. You can point your browser at a local file with something like this: file://localhost/E:/mindprod/jgloss.html or file:///E|/mindprod/jgloss.html.
    Composing just the right platform-specific command to launch browser and feed it a URL to display can be frustrating. You can use the BrowserLauncher package to do that for you.
    Note that
    rundll32.exe url.dll,FileProtocolHandler file:///E|/mindprod/jgloss.html
    won't work on the command line because | is reserved as the piping operator, though it will work as an exec parameter passed directly to the rundll32.exe executable.
    With explicit extensions and appropriately set up associations in Windows 95/98/ME/NT/2000/XP you can often bypass the command processor and invoke the file directly, even *.bat.
    Similarly, for Unix/Linux you must spawn the program that can process the script, e.g. bash. However, you can run scripts directly with exec if you do two things:
    Start the script with #!bash or whatever the interpreter's name is.
    Mark the script file itself with the executable attribute.
    Alternatively start the script interpreter, e.g.
    Runtime.getRuntime( ).exec (new String[]{"/bin/sh", "-c", "echo $SHELL"}";

  • How to pass multiple values from workbook to planning function ?

    Hi,
    I have created Planning function in Modeler and it has one parameter(Variable represents = Multiple single values).
    When executing the planning function by create planning seq. in the web template : I see value of variable store data like ...
        A.) input one value -> V1
        B.) input three values -> V1;V2;V3
    This function execute completely in web.
    However, I want to use the planning function in workbook(Excel).
    The value of variable can't input V1;V2;V3... I don't know how to pass multiple values from workbook to parameter(Multiple single values type) in planning function ?
    thank you.

    Hi,
    Please see the attached how to document (page no 16).
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f0881371-78a1-2910-f0b8-af3e184929be">how to</a>
    Hope this was helpful
    thanks

  • How to pass a value to a bind variable in a query report in oracle apex

    Hi Guys,
    I have requirement to send weekly reports via email to some users. The users should receive their own records in the report. The user details is stored in a table. What I am planning to do is to create a report query in oracle apex to generate the report and then run a function/procedure via a scheduler to email the report to respective users. Now my query is ............. is it possible to pass a value (user name) to the report query to pull records of only that user? I know we can have bind variables in the report query but I have no idea how to pass a value for bind variables from a function/procedure.
    Can anyone help me on this issue or suggest a better approach?
    Thanks,
    San

    You need to use dynamic sql
    But please keep in mind that since you're using Oracle you may be better off posting this in some Oracle forums
    This forum is specifically for SQL Server
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Passing multiple values to the QUERY BDOC parameter?

    hi All,
    Below is my Query BDOC Anchor Before Query Execute even handler... I'm trying to pass multiple values to the         bq.Z_PartnerFunction query parameter... i.e. 
    PARTNER_FCT in( '00000012','ZDIVMGR','ZAREADR')
    is it possible without creating new Query Bdoc ?
    ====================================
    Private Sub aempchoicewinTCWSearchTAnchor_beforeQueryExecute(ByRef bq As BusinessQuery, ByRef cancel As Boolean)
    If Not bq Is Nothing Then
            If sWcDummy = "Yes" Then
                    bq.WcDummy = sWcDummy
            End If
            bq.Z_PartnerFunction = "00000012"
            If ctrlZ_Territory.Value <> "" Then
                 bq.PRNB_TerrID = "*" & ctrlZ_Territory.Value
            End If
    End If
    End Sub
    ================================
    Thanks in advance
    Hetal

    Hi,
    it looks that you already enhanced the query BDoc because you have a new query parameter bq.Z_PartnerFunction, right?
    To which BDoc parameter is this BQ parameter mapped? And how looks the related where clause?
    For a single filter normally a "=" operator is used. Therefore your example with "in" won't work.
    If these three partner functions are fixed then you might hardcoded them directly in the where clause (supposed the BDoc is not used somewhere else where you don't want to have this filter).
    Or you might add 3 new BDoc parameters, add 3 new where clauses using a disjunction for them (and using an embracing bracket). In this case always all these 3 BQ parameters need to be filled (or all stay empty) to avoid a SQL syntax error.
    Regards,
    Wolfhard

  • Passing different values to the same servlet

    Hi,
    Is there a way to pass different values to the same servlet?
    Background:
    I have a database that I query to acquire a list of customers, then I show each customer as a link, that when clicked will show details of that customer. (The customer table is dynamic so I can't create a new page for each customer)
    When using JSP what I do is
    //Do query database
    while (rst.next())
         String cust = rst.getString ("cust");
            out.write("<a href = \"cust2.jsp?cust=" + cust + " \" >" + cust + "</a> ");
    }Then on the cust2.jsp. I will use
    String str = request.getParameter ("cust");to acquire the customer to get details of.
    Is there a way to do the same using servlets?
    I could swap to JSP when creating this particular part of the project but it won't look good and it would help me learn a few things when there is another way.

    I want to know if there is a way to pass a variable from a webpage link like in my JSP example using servlets.
    Here is what I wanted to do:
    I have a webpage that contains customer names and each name has a link to the same servlet (let's say the link is famia/servb). I want servb to show detailed information about the customer my visitor clicked in the webpage.
    The logic I was thinking is to pass a variable to this servlet, then I can use that variable to know which customer should I query in my database. So that I can show the details to my users.
    Here lies my problem, I don't know how I can pass this variable, or even know which customer my visitor clicked. I can't use a new servlet for each client since the customer is in a database and if my customer base grows then I would need to create a lot more web page that does the same thing.
    The JSP example I gave is how I will be coding it if I am using JSP, but now I am using servlets. So I was wodnering if there is a way to do this using servlet. Or should I stay with using JSP for this particular logic and just call servb after the JSP page acquired the variable.
    I'm trying not to use "<original URL> + ? + <variable> = <value>" (eg: http://www.famia.net/customer?cust=famia) as the means for passing the variable. (or in the example as a means of passing variable cust with value famia)

  • How to Pass Click Value to DB using Java

    How to Pass Click Value to DB using Java and display tat
    clicked value row data in flex
    i have created connection with Sql Server using java and drew
    pie chart from values fetched from XML file created by Java
    wat i need is when i click pie chart region (widget) i should
    display a alert by giving value of particular widget name and Value
    from Database and display in Flex Alert

    Use AddResource to add Javascript in your BackingBean Code and pass the value to your javascript code.
    JSCookMenu and other dynamic adding of javascript to a JSF-JSP page is done using AddResource....

Maybe you are looking for

  • Reformating external hard drive for use with new MacBook Pro

    I'm trying to figure out how to use an existing external hard drive (formatted for a Powermac G4) with my new MacBook Pro. I understand that the file formats are different and that I need to erase the hard drive and reformat it with a GUID partition,

  • Email Issues

    Hello Guys, We are a client of PunkLogic, and are having a few issue's with our emails of late. I think it has something to do with the quantity of emails sent from our @logansnursery.com.au email domain. Certain users are getting blocked to certain

  • Mail quit working in Snow Leopard 3 days ago on both of my iMacs. I can't find a solution.

    Greetings: 3 days ago my mac MAIL quit working. I get an (repeated popup) error message indicating that my password is invalid. Is thjere a solution to this issue? Thanks!

  • Authorisations etc.....

    Got my first Mac in 2003/4 an iBook G4. Put all my music on an external drive. 2 years later went to boot and nothing!.... Apple store said the motherboard was screwed and it was going to cost like 75% of the cost of a new iBook to replace. I got a 1

  • Sizing of WebLogic Cluster Servers

    I have an application that needs to be implemented in BEA WebLogic 5.1 ( JSP, Servlet, EJB) and deployed on Solaris 8 talking to Oracle 8.0/Solaris (in clustered environment). I am in the process of sizing the application. Following are some of the b