Passing values through command range

Hi All,
I am passing the values for costelement through command range in my workbook.
User will give the value of the costelement and I am accessing the value in my planning function.
But, is there a way wherin I can run the same  planning function taking all the values of the costelement in my infoprovider(not a single value and not multiple values for a costelemet which the user would select)? In such a case, what value can the user select in the command range for the costelement so that my planning function takes all the values in my infoprovider?
Any help is highly appreciated.
Regards,
Srinivas Kamireddy.

Hi Deepti,
I have tried with the selection-options optional variable but it didn't work. I am able to pass a single value as in my earlier case where I was using a single value optional variable.
But, when I pass a blank value, I am getting an error mesaage 'You have to enter variable values before you execute'.
Any ideas?
Regards,
Srinivas Kamireddy.

Similar Messages

  • Pass value through URL without setting local page item

    Folks,
    I have a table where I have created a dummy column with a hyperlink on it to go to another page in the application which runs a report passing through columns on the table
    As I am doing this several times (for different pages in my application) - Is there a way of passing a variable through a URL to a report without setting a local variable
    i.e.
    Click Here
    Here I am assigning a local variable on Page 25 which is hidden called P25_TEST1
    What I would like to do is pass the value straight to page 25 (which runs the report) without the need to create hidden items on the report pages all the while
    Thanks
    Gareth

    You have a plain HTML page that loads with a url with something like ?field=value
    And you want "value" to show on your page, correct?
    <html>
    <body>
    <script>
    var qsParm = new Array();
    function qs() {
    var query = window.location.search.substring(1);
    var parms = query.split('&');
    for (var i=0; i<parms.length; i++) {
       var pos = parms<i>.indexOf('=');
       if (pos > 0) {
          var key = parms<i>.substring(0,pos);
          var val = parms<i>.substring(pos+1);
          qsParm[key] = val;
    qsParm['field'] = null;
    qs();
    if (qsParm['field'])
         document.write('You selected ' + qsParm['field'] );
    </script> 
    </body>
    </html>
    Call that as test.html?field=Hello
    Here's a nice link that explains it in detail: http://www.eggheadcafe.com/articles/20020107.asp

  • Passing values through RFC

    Hi All,
    I have a requirement where we need to connect to a different system using RFC and pass data.
    I have data in the table . The requirement is using RFC, i have to write a code, so that i can send all the possible values of a field in the table to the remote system. I have 5 fields in my table in SAP. First i need to pass all the possible values of field1 to the remote system and based on the input in their system, i need to pass all possible values for field2 to remote system and again based on field1 and field2 i need to pass all possible values for field3 to remote system.
    Pls let me know how to do coding for this.
    Thanks,
    Raju

    Raj,
    We need to pass the possible values from our custom table to the remote system, so that the user can see all the possible values for the fields. Similar to the F4 option.
    And based on field1 input in the form by the user, we need to get corresponding values for field2 of all possible values and pass it to the remote system.
    If your user is filling the forms in the non-SAP system itself, means you are just providing the data to that system for the actual user action there. So, either you can send the whole data everytime and let non-sap system handle the logic which you need for the possible values for each selection. Better if you are able to store all data in the remote system itself to avoid large data communication everytime and just sync the 2 systems whenever something changes in SAP.
    Otherwise, if you want to control it from SAP itself, then you need 2 way communication.....once user fills 1st field in FORM, remote system sends that to SAP and then you send the 2nd field valid values to remote system again using same/different RFC and so on. But, I doubt that will be efficient for the user filling the form.
    Regards,
    Diwakar

  • Pass values through windows

    I have the next problem:
    I have a text box named "City" , and next to it I have a button, which open a new window where the user can search for a specific city. For expample, when the search window opens, the user can input %new%, and then the same page load new york, new yersey, etc, so the user pick one, and accept.
    So the city that the user chose, have to be passed somehow to the first page. How can I do this, pass the value to the first page? that is how can I pass the city "new york" for example, from the search window to the first window?
    Thanks a lot.

    You have two options:
    1) use javascript to set a form field (recommended)
    2) use the session
    a popup window has the same session as the opener. As for javascript, you can use something like:
    window.opener.formname.fieldname.value = document.formname.city.value;to set the field 'fieldname' in the parent page.

  • Can we pass value through "EXPORT" in background scheduled report

    hi experts
          my query is can we pass some field using 'EXPORT' statement while scheduling a report to run in background using statement
    submit 'ZXYX' via job jo_name number jo_num and return.
    i am using 'IMPORT" statement in 'ZXYZ'

    EXPORT, as I recall, is limited to your user context.   Check shared objects (which still may not work, although you can propagate to servers) and INDX-like tables.  Research use of INDX-like tables for how data is passed into and out of these tables (import/export).

  • Passing values through javascript

    hI gurus,
    I have a javascript function
    I open a new jspdynpage component in this window and pass a parametre along with it
    name = "xyz", name keeps changing ,Its
    function x(name)
    window.open("irj/servlet/portal/prtroot/Appname.Componentname?param = name")
    now when I do request.getparametre("param"), I get name , wherin I need xyz ...
    how can I achieve this

    Hi,
    that shoud be a problem with the parenthesis, try this:
    window.open("irj/servlet/portal/prtroot/Appname.Componentname?param="+name)
    Romano

  • How to pass value to select-option parameter using SET PARAMETER Command

    Hi,
        Am passing values to selection-screen fields in report RV13A004 ( used in VK11, VK12 and VK13). using below statement but material number is select-option in this report. am able to pass  MATERIAL FROM using SET PARAMETER ID, can i know how to pass values MATERIAL TO range in select-options fields using SET PARAMETER Command ??
    Passing values to parameter id
    set parameter id 'VKS' field kschl.
    set parameter id 'VKO' field vkorg.
    set parameter id 'VTW' field vtweg.
    set parameter id 'KDA' field erdat.
    set parameter id 'MAT' field matnr_from.
    Change condition price.
    call transaction 'VK12' and skip first screen.
    Thanks in advance.
    Regards,
    Balamurugan.

    Hi,
    instead of using set parameters and dden call transaction use this..........
    submit RV13A004  WITH SELECTION-TABLE rspar
    Effect
    If you specify this addition, parameters and selection criteria on the selection screen are supplied from an internal table rspar. You must specify an internal table with the row type RSPARAMS for rspar. The structured data type RSPARAMS is defined in the ABAP Dictionary and has the following components, all of which are data type CHAR:
    SELNAME (length 8),
    KIND (length 1),
    SIGN (length 1),
    OPTION (length 2),
    LOW (length 45),
    HIGH (length 45).
    To supply parameters and selection criteria for the selection screen with specific values, the lines in the internal table rspar must contain the following values:
    SELNAME must contain the name of a parameter or selection criterion for the selection screen in block capitals
    KIND must contain the type of selection screen component (P for parameters, S for selection criteria)
    SIGN, OPTION, LOW, and HIGH must contain the values specified for the selection table columns that have the same names as the selection criteria; in the case of parameters, the value must be specified in LOW and all other components are ignored.
    If the name of a selection criterion is repeated in rspar, this defines a selection table containing several lines and passes it on to the selection criterion. If parameter names occur several times, the last value is passed on to the parameter.
    The contents of the parameters or selection tables for the current program can be entered in the table by the function module RS_REFRESH_FROM_SELECTOPTIONS.
    Notes
    In contrast to selection tables, the data types of the components LOW and HIGH in table rspar are always of type CHAR and are converted to the type of the parameter or selection criterion during transfer, if necessary.
    When entering values, you must ensure that these are entered in the internal format of the ABAP values, and not in the output format of the screen display.
    Cheers
    Will.

  • Pass Diadem Parameters through command line

    Hi,
    I am trying to run DIAdem through command line. I have no problem with this but can I pass a variable through the same.
    I would like to pass T1 with some value through command line. Can anyone please help me how can I do this.
    Expecting your earliest reply.
    Thanks,
    Priya

    Hi Priya,
    I am not quite sure what you're trying to do. So are you running a DIAdem SCRIPT from the command line? Is your variable defined within your application? How is the variable initialized when you run the script from within DIAdem. Is it a user Input? Also how exactly are your running the script from the command line?
    I hope to hear from you soon and I will post as soon as I get some info from you side. Thank you for your patience.
    SijinK
    National Instruments

  • How to pass attribute values through variables in JSP  Custom TagLib

    Hi,
    Can anybody help me how to pass values through varuables in the jsp custom tag.
    i am using JSP custom tag. I am unable to pass attribute values through variables.
    <invitation:invdetails invid="<%=invid%>"/> The value is passing as <%=invid%> ,not value of the invid.
    But i am getting throuh the fllowing
    <invitation:invdetails invid='1' />
    Please anybody suggest me how to pass value by using the variable.

    Hi,
    It sounds like you need to set the <rtexprvalue> tag to true in the TLD for your tag. If you do this the tag will read in the value you are trying to pass to it.
    dapanther...

  • Passing value from JSP to JApplet

    Hello,
    I am stuck up with a problem, can anyone please tell me how do i pass a value from a JSP page
    to a JApplet,
    and the parameter passed through JSP should be displaed in the JTextArea.
    It would be kindful if any of you could help.
    Thanks
    Sanam

    hello,
    thanks for reply.
    I know how to pass parameters from html,
    I want to pass values from jsp page,
    and i dono how to do it, may be we cann pass values through url connection but i dono how.
    if anone knows plz help me in solving this.
    i hvae posted my applet code.
    import javax.swing.*;
    import javax.swing.event.*;
    import javax.swing.JToolBar;
    import javax.swing.JButton;
    import javax.swing.ImageIcon;
    import javax.swing.JFrame;
    import javax.swing.JTextArea;
    import javax.swing.JScrollPane;
    import javax.swing.JPanel;
    import java.awt.*;
    import java.awt.event.*;
    import java.io.*;
    import java.net.*;
    import java.sql.*;
    <applet code = "DocApplet" width = 500 height =5000>
    </applet>
    public class DocApplet extends JApplet
         private JPanel jp;
         private Container cp;
         private JTextArea jt;
         private JToolBar tb;     
         private JScrollPane sp;
         private String annotation;
         private String url;
         private Connection con;
         private Statement stmt;
         public void init()
              jp = new JPanel();
              cp = getContentPane();
              jt = new JTextArea();
              tb = new JToolBar();
              sp = new JScrollPane(jt);
              repaint();
         public void start()
              jp.setLayout(new BorderLayout());
              jp.add(tb, BorderLayout.NORTH);
              jp.add(sp, BorderLayout.CENTER);
              jt.setBackground(Color.BLACK);
              jt.setForeground(Color.WHITE);
              setContentPane(jp);
              addButtons(tb);
              repaint();
         public void run()
              repaint();
         public void paint()
         private void addButtons(JToolBar tb)
              JButton button = null;
              button = new JButton("Save");
              button.addActionListener(new ActionListener()
                   public void actionPerformed(ActionEvent e)
              tb.add(button);
    }

  • Pass values to other forms

    Hi Guys!
    My Problem is to pass values through call forms to another form. There are two ways I had done it before. First:global variables.
    Second library spec with variables in in, then call forms share library data and the calles form uses the same library. The second way is descriped by Oracle Corp., too.
    Do you know another, better way, or do I have to make one of this better? What's the best way? Thank you very much

    You can build and pass a parameter list. Look at the help for CALL_FORM for details (I think you'll see an example there of how to use it).

  • Passing value via cookies to the ITS

    Hi mighty experts,
    I would like to known if any of you knowns if it is possible to pass values through cookie on the ITS?
    If possible, how can it be done ?
    Thanks in advanced!
    /Jesper

    Hi Christopher,
    The problem is that I need to pass the value of the cookie to the back-end. The way that I see it, the solutions You propose will require that I first read the value of the cookie with JavaScript, assigns the value to a form input and submits the page again. In essence I need to render the page twice in order to pass the value.
    What I was looking/hoping for, was a way/FM to read the value of the cookie from the back-end (the ABAP program behind the Internet Service).
    Br.
    Jesper

  • How to Pass values between one webdynpro application to another

    Hi ,
        I know How to Pass Values Between the Application by URL But For My Requirement NO need The Pass in URL Rather Than That Please any one TEll me How to GEt VAlues BEtween the application......
    Thanks
    ANANTH.

    If you dont want to pass values through URL, then you must have to use component Usage with interface node.
    Or you can try like this,
    by appending field value to url,
    Data w_url type string,
    w_value type string.
    get the url of calling aplication
    call method cl_Wd_utilities->construct_wd_url
    exporting application name = name of second application( to which u want to pass parameter )
    importing out_absolute_url = w_url.
    ***Make the value type compatible that has to passed with url.
    w_string = lv_pernr
    ***Now attach the parameter and its value with url that have to passed to 2nd application
    call method cl_http_Server=>append_field_url
    exporting name = 'pernr'
    value = ' w_value'
    changing url = w_url.
    then popup window for 2nd application with above url
    lo_window = lo_window_manager->create_external_application ( url = w_url ).
    lo_window -> open( ).
    ***now in wddoinit of 2nd application
    data lv_param type string
    lv_param = wdr_task=>client_window->get_parameter( ' pernr ').
    Now you can use lv_param in 2nd application.
    Regards
    srinivas

  • Is there now a system call to send pass-through commands to ATA devices?

    I want to send pass-through ATA commands to SATA/ATA devices on intel-based solaris. From the beginning the USCSICMD ioctl has worked just fine on SCSI/SAS/FC targets on intel & sparc-based solaris, but the mechanism to send pass-through commands to ATA devices has always been undocumented, closed, unavailable, whatever.
    Is there now a way to do this w/o writing a custom device driver? Does anybody have an example chunk of code that does something simple like send the ATA IDENTIFY command to a disk drive? I know I can use SATL to encapsulate commands to SATA disks using certain SAS controllers, but I really need a way that will work with devices that are plugged into a standard SATA port on a motherboard.
    Thanks

    Hi Dhalek,
    Just tried out a small example and it works ok in SQL Dev 4
    drop table t1;
    create table t1 (col1 int);
    insert into t1 values (1);
    insert into t1 values (2);
    insert into t1 values (3);
    select * from t1;
    /*sqldev:stmt*/BEGIN;
    DELETE FROM t1;
    SELECT * FROM t1;
    /*sqldev:stmt*/ROLLBACK;
    SELECT * FROM t1;
    ---- RESULT ----
    table T1 dropped.
    table T1 created.
    1 rows inserted.
    1 rows inserted.
    1 rows inserted.
    col1      
    1         
    2         
    3         
    /*sqldev:stmt*/BEGIN
    3 rows deleted.
    col1      
    /*sqldev:stmt*/ROLLBACK
    col1      
    1         
    2         
    3        
    Regards,
    Dermot
    SQL Developer Team

  • To coerce passed values, use the In Range and Coerce function.

    -" Device Number for Card 1 uses data range coercion, which now only applies to data entry; values will not be coerced when passed to subVIs. To coerce passed values, use the In Range and Coerce function."
    Hi,
    I had program runnning fine in labview version 5.0, Recently i updated to labview version 6.0, but when i opened file i will see many warnings like above.
    I saved the file as 6.0, all the warnings are gone and program compiles as well but i am not sure saving as 6.0 eliminate those problems like..."value will not be coereced when passed to subvis"

    It means that some of your controls use coercion to alter data if it is not within a range. In LV 5.0 this worked for either typing the data into the control or passing it through the connector as a sub-vi. In 6.0 the data won't be coerced if it has been passed through the connector as a sub-vi, only if it is entered on the front panel. If your sub-vis relied on this coercion to operate properly then you will need to add the "In Range and Coerce" function to your block diagram to manipulate these values. If the coercion wasn't important then disregard the warning.
    Hope this helps
    Brian

Maybe you are looking for

  • Java(TM) Plug-in 1.4.2_03 under Mandrake/Linux and Mozilla

    I'm having problems getting applets to load/run using Mandrake/Linux 9.2 and Mozilla 1.6. Apparently the classes are failing to load. about:plugins in Mozilla shows that it has the Java plugin loaded, but when I try to test it using one of the sample

  • If i upgrade to iphone5 everything will stay on my 4s right?

    Im trying to upgrade my iphone 4s to an iphone 5 but i want to make sure that any and all data that is already on my iphone 4s will stay there...is that plausible?

  • How to save Face detection in original files?

    Hi after recognized all faces, it is possible to save all these info in every original file? But I don't want to save these info to use with other applications... I want only that if I erase a photo from a library, but after I re-import it in Apertur

  • Is the BlueAnt V1 compatible with the iPhone 4?

    I'm trying to pair my BlueAnt V1 to my iphone 4. I've tried to do a search to see if this bluetooth is compatible with the 4, but I can't find anything saying it's not. However, my phone isn't detecting the headset. Can anyone help? Thank you!

  • Conference Room Scheduler

    I get an error when I try to edit an event that was created.  Error failed to set valus of the VTC Site ID colume on the DVsgSIteField. field type control.  see details in log..... correlation ID if21-4e8d-3713-4afc-99c2-ebcfd467e513 Any suggestions