How To Split Parameter Values

Hello,
I have the following code which generates a lot of values stored in Parameter Values. How do I split this to see the individual values. Is it an array?
Nevica
Attachments:
Capture.JPG ‏25 KB

Hi nevica,
The data type which is produced from this function is called a Cluster. Clusters are essentially a data type which allows the concatenation of multiple entries of data, quite like an array; however they allow entries of different data types rather than just one.
For example, the error terminals you have wired together contain a special type of Cluster called an Error Cluster. Error Clusters contain three different data types:
Status -  a Boolean which indicates if an error has occurred.
Code - a Numeric data type which contains a number which represents the specific error that occured.
Source - a String data type which indicates where in your VI the error occured.
These different data types are bundled together because they all logically represent different aspects of an Error.
In your VI, the parameter that is returned is of type cluster. If you right click on the cluster indicator and navigate to Create » Cluster, Class and Variant » Unbundle you will create a small node which can be used to view the individual contents of a cluster separately. You can stretch out the Unbundle function to view more entries of the parameter set. To place these items once you've manipulated back into their original cluster, use the Bundle function.
Best regards,
Alex Thomas, University of Manchester School of EEE LabVIEW Ambassador (CLAD)

Similar Messages

  • How to get parameter value from report in event of value-request?

    Hi everyone,
    The customer want to use particular F4 help on report, but some input value before press enter key are not used in event of "at selection-screen on value-request for xxx", How to get parameter value in this event?
    many thanks!
    Jack

    You probably want to look at function module DYNP_VALUES_READ to allow you to read the values of the other screen fields during the F4 event... below is a simple demo of this - when you press F4 the value from the p_field is read and returned in the p_desc field.
    Jonathan
    report zlocal_jc_sdn_f4_value_read.
    parameters:
      p_field(10)           type c obligatory,  "field with F4
      p_desc(40)            type c lower case.
    at selection-screen output.
      perform lock_p_desc_field.
    at selection-screen on value-request for p_field.
      perform f4_field.
    *&      Form  f4_field
    form f4_field.
    *" Quick demo custom pick list...
      data:
        l_desc             like p_desc,
        l_dyname           like d020s-prog,
        l_dynumb           like d020s-dnum,
        ls_dynpfields      like dynpread,
        lt_dynpfields      like dynpread occurs 10.
      l_dynumb = sy-dynnr.
      l_dyname = sy-repid.
    *" Read screen value of P_FIELD
      ls_dynpfields-fieldname  = 'P_FIELD'.
      append ls_dynpfields to lt_dynpfields.
      call function 'DYNP_VALUES_READ'
        exporting
          dyname     = l_dyname
          dynumb     = l_dynumb
        tables
          dynpfields = lt_dynpfields
        exceptions
          others     = 1.
      check sy-subrc is initial.
    *" See what user typed in P_FIELD:
      read table lt_dynpfields into ls_dynpfields
        with key fieldname = 'P_FIELD'.
    *" normally you would then build your own search list
    *" based on value of P_FIELD and call F4IF_INT_TABLE_VALUE_REQUEST
    *" but this is just a demo of writing back to the screen...
    *" so just put the value from p_field into P_DESC plus some text...
      concatenate 'This is a description for' ls_dynpfields-fieldvalue
        into l_desc separated by space.
    *" Pop a variable value back into screen
      clear: ls_dynpfields.
      ls_dynpfields-fieldname  = 'P_DESC'.
      ls_dynpfields-fieldvalue = l_desc.
      append ls_dynpfields to lt_dynpfields.
      call function 'DYNP_VALUES_UPDATE'
        exporting
          dyname     = l_dyname
          dynumb     = l_dynumb
        tables
          dynpfields = lt_dynpfields
        exceptions
          others     = 0.
    endform.                                                    "f4_field
    *&      Form  lock_p_desc_field
    form lock_p_desc_field.
    *" Make P_DESC into a display field
      loop at screen.
        if screen-name = 'P_DESC'.
          screen-input = '0'.
          modify screen.
          exit.
        endif.
      endloop.
    endform.                    "lock_p_desc_field

  • How to make Parameter value look a certain way

    Hi
    I am having a bit of an issue where I have created a Number Parameter (Dynamic - based off OPCH.WPANO).
    Under Select expert  > Record I selected OPCH.WPANO Equal to {?WPA Number}, so my formula looks as follows:
    {OPCH.U_WPANO} = {?WPA Number}
    But I am only wanting the correct input value to show on the Parameter selection (example 201010 not 201,010 from SBO)
    But no success, does anyone have any ideas on how to create the values in the Parameter selection to look how you want them, I have is a Field called WPA Number within SBO and the UDF is a numeric field, if I record a value as 201010 the Parameter in CR shows it as 201,010.
    I am aware that this could be down to my Decimal Place settings under General Settings > Display Tab; is there anyway to manipulate this data so it can be viewed differently when selecting the relevant record in Parameter (when running the report).
    I am on SBO 2007A SP01 and the Crystal Reports 2008 Version is 12.1.3.1028
    Any ideas?
    Regards
    Kurt Walters
    Edited by: Kurt Walters on Nov 11, 2010 9:17 AM
    Edited by: Kurt Walters on Nov 11, 2010 10:04 AM

    Hi Kurt,
    I am afraid that this parameter format is depending on Thousands Sep. setting under general settings > Display Tab. If you take away the coma, you can get pure number.
    However, all you numbers dislayed on any forms will be changed too.
    Thanks,
    Gordon

  • Mapping Issue: How to split the value  of Lineitem

    Hi  All,
    I have issue in Mapping .XML-> BAPI Scenario
    1 line item  has the  one 50% Cost Centre , another 50% Cost centre data
    2 line item has only      100% WBS elemnt
    WBS elemnt mapping :
    If A |EQUALS (Text) | WBS_ELEMNT   |If without else|  B(WBS value)  |REmoveContexs| SplitByValue|   WBS_ELEMNT(BAPI field)
    But this supress second line item : WBS_ELEMNT data and uploads into1.Item .Hence PO is not getting created in SAP.
    Could you please giv me a logic to actaually split the value into 2 seperate so that respective data of each line item  are split properly .
    Thank you ,
    Vara

    Hi I think you need an udf for this:
    int total = Integer.parseInt(value[0]);
    result.addValue(Integer.toString(a/2));
    result.addValue(Integer.toString(a/2));
    and after it you can add a splitbyvalue

  • How to omit parameter values from exceptions thrown by the JDBC driver

    Is there a way to get the Oracle JDBC driver to omit the parameter values from the message when it throws an exception?
    We have an application that persists credit cards and when an exception is thrown by the driver, it's including the credit card number in the error message, which ultimately gets logged by the application. There are too many layers and locations, including OpenJPA, Spring, and our own application, where we'd have to massage the error data to remove that card number.
    For example, we get the following exception:
    Caused by: org.apache.renamed.openjpa.lib.jdbc.ReportingSQLException: ORA-20104: Permission denied
    ORA-06512: at "PROTEGRITY.PTY", line 57
    ORA-06512: at "PROTEGRITY.PTY", line 383
    ORA-06512: at "SUBSDSYS.TORDERPAYMENT_UPD", line 16
    ORA-04088: error during execution of trigger 'SUBSDSYS.TORDERPAYMENT_UPD'
    {prepstmnt 6603044
    UPDATE PAYMENT
         SET CARD_HOLDER_NAME = ?, CARD_TYPE = ?, EXPIRY_MONTH = ?, EXPIRY_YEAR = ?, GATEWAY = ?
         WHERE UIDPK = ?
    [params=(String) Test Test, (String) VISA, (String) 03, (String) 2012, (String) CREDITCARD, (long) 106901]} [code=20104, state=72000]
    at org.apache.renamed.openjpa.lib.jdbc.LoggingConnectionDecorator.wrap(LoggingConnectionDecorator.java:192)
    at org.apache.renamed.openjpa.lib.jdbc.LoggingConnectionDecorator.access$800(LoggingConnectionDecorator.java:57)
    The actual content of the message appears to come from the JDBC driver, not OpenJPA.
    This particular example doesn't show the card number, but only exposed that possibility as a risk.
    BTW: before you ask, for PCI compliance we're using a database layer service to encrypt the card numbers before they're stored in the table.
    Thanks much.

    [email protected] wrote:
    The actual content of the message appears to come from the JDBC driver, not OpenJPA.Wrong. This is a dump of parameters used to execute a query - and it comes from some upper layer, not the JDBC driver.
    I would start looking at the source code starting here:
    org.apache.renamed.openjpa.lib.jdbc.LoggingConnectionDecorator.wrap(LoggingConnectionDecorator.java:192)

  • How to find Parameter values of a non-default listener using LSNRCTL

    Hi,
    I have a non-default listener with name like "lsnr_abcd" in non-default port.
    I am on 10.2.0.4 database version. If I want to find out parameter values (like displaymode,dynamic_registration,etc)
    for a non-default listener, which command should I use?
    I know that for default listener, we can do the following
    1) Execute lsnctl
    2) show dynamic_registration
    What should I execute if I want to get this details for a listener "lsnr_abcd"
    Thank You
    Sarayu

    After setting your current listener to non default listener like this
    lsnrctl> SET CURRENT_LISTENER lsnr_abcd
    You can execute the further commands without your listener name
    lsnrctl>set DISPLAYMODE
    Edited by: vreddy on Jul 19, 2012 6:53 AM
    Edited by: vreddy on Jul 19, 2012 6:54 AM

  • How to pass parameter values to a report befor schedule it?

    I tried to use Business Objects web service to schedule a report. But I failed to pass in any parameter values. The report was able to run successfully. But check all history from Infoview, all parameter are with NULL value. Does anybody encounter the same problem and has good resolution for this? Many thanks.
    Here's my code:
    // Logon Crystal Report Server
    LogonCrystalServer();
    // Find Report
    GetOptions oGetOptions = new GetOptions();
    oGetOptions.IncludeSecurity = false;
    ResponseHolder rh = _bipService.Get("cuid://<" + reportCuid + ">@SI_SCHEDULEINFO, SI_PROCESSINFO", oGetOptions);
    InfoObjects oInfoObjects = rh.InfoObjects;
    if (oInfoObjects == null || oInfoObjects.InfoObject == null) return;
    // Set Scheduling Info
    CrystalReport oReport = (CrystalReport)oInfoObjects.InfoObject[0];
    oReport.Name = oInfoObjects.InfoObject[0].Name;
    SchedulingInfo oSchedulingInfo = oReport.SchedulingInfo;
    oSchedulingInfo.RightNow = true;
    oSchedulingInfo.ScheduleType = (ScheduleTypeEnum.ONCE);
    oReport.SchedulingInfo = oSchedulingInfo; 
    // Set Format Info.
    ReportProcessingInfo procInfo = oReport.PluginProcessingInterface;
    CrystalReportFormatOptions repFormat = new CrystalReportFormatOptions();
    repFormat.Format = ReportFormatEnum.EXCEL;
    repFormat.FormatSpecified = true;
    repFormat.UseExportOptionsInReport = true;
    repFormat.UseExportOptionsInReportSpecified = true;
    procInfo.ReportFormatOptions = repFormat;
    // Get Report Parameters and Set their values
    // I don't know if the step has any problem. I copied from wssdk sample.
    ReportParameter[] repParams = procInfo.ReportParameters;           
    for (int i = 0; i < repParams.Length; i++)
        CurrentValues oCurrentValues = new CurrentValues();
        BusinessObjects.DSWS.BIPlatform.Desktop.PromptValue[] oPromptValue = new BusinessObjects.DSWS.BIPlatform.Desktop.PromptValue[1];
        oPromptValue[0] = new BusinessObjects.DSWS.BIPlatform.Desktop.PromptValue();
        oPromptValue[0].Data = "Test";
        oCurrentValues.CurrentValue = oPromptValue;
        repParams<i>.CurrentValues = oCurrentValues;
    procInfo.ReportParameters = repParams;       
    oReport.PluginProcessingInterface = procInfo;
    // Schedule run the report   
    InfoObjects infoObjects = _bipService.Schedule(oInfoObjects);
    //Get new instance id
    string instanceCuid = infoObjects.InfoObject[0].NewJobID;
    Edited by: Shao Zelian on Jan 19, 2010 11:51 AM

    Can you clarify your scenario? Which is the case you're talking about?
    1) You want to pass a parameter from OmniPortlet to a PL/SQL procedure.
    2) You want to pass a parameter from a PL/SQL procedure to OmniPortlet.
    In both cases the most obvious way of doing it is through request (URL) parameters.
    Render a link in your portlet (either in OmniPortlet or using PL/SQL) that invokes a portal page, containing the other portlet.
    Both OmniPortlet and PL/SQL allow you to wire and access page parameters.
    Take a look at the Using Parameter and Events section of the Portal User's Guide and the Parameters and Events section of the Portal Developer's Guide.
    Hope this helps,
    Peter

  • How to pass parameter value as "where [fieldname] = [fieldvalue]" in sql query under query type in SSRS report?

    I am having trouble with passing dynamic string to sql query for executing SSRS reports.
    I am using oracle database and I want to pass where clause parameter as "where LAND_NR = 6" to my select query.
    For example: I want to execute Select * from employee :p_where.
    where p_where parameter holds value "where LAND_NR = 6"
    So it will treat as "Select * from employee where LAND_NR = 6" statement which will give me the list of records to display in my reports.
    But it's not taking correct sql command throwing an error as "SQLcommand not properly ended."
    How can I achieve this?

    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

  • How to pass parameter values to a customer exit web item (WAD)

    Hi gurus,
    I have a wad with a data provider and a filter panel filtering that dp by using a variable. There is also a customer exit which saves the values of that variable into a z table.
    How can I pass the values of the filter panel to the customer exit web item?
    Thanks in advance,
    Rob

    Can you clarify your scenario? Which is the case you're talking about?
    1) You want to pass a parameter from OmniPortlet to a PL/SQL procedure.
    2) You want to pass a parameter from a PL/SQL procedure to OmniPortlet.
    In both cases the most obvious way of doing it is through request (URL) parameters.
    Render a link in your portlet (either in OmniPortlet or using PL/SQL) that invokes a portal page, containing the other portlet.
    Both OmniPortlet and PL/SQL allow you to wire and access page parameters.
    Take a look at the Using Parameter and Events section of the Portal User's Guide and the Parameters and Events section of the Portal Developer's Guide.
    Hope this helps,
    Peter

  • How to split the value of a custom XMP field

    I have a custom XMP field called Ranking. This field contains a pipe delimited string. When I display the value of this string in a custom panel, it shows up as one long string.
    Right now I am using this to display the string...
    static_text(xmp_namespace: xap_ns_xap, xmp_path: 'Ranking', horizontal: align_fill, vertical: align_fill);
    How can I split the string at the pipe so that instead of displaying this...
    "Ranked good by user1|Ranked really good by user2|Ranked bad by user3"
    it will display like this...
    "Ranked good by user1
    Ranked really good by user2
    Ranked bad by user3"
    Can anyone help?

    You need to get the Node and node value of the selected column like this.
    METHOD on_double_click.
        DATA: lr_nodes TYPE REF TO cl_salv_nodes,
              lr_node  TYPE REF TO cl_salv_node,
              lr_val   TYPE REF TO  cl_salv_item,
              lr_data  TYPE REF TO data.
        FIELD-SYMBOLS: <lv_val> TYPE ANY.
        lr_nodes = gr_tree->get_nodes( ).           " All nodes
        lr_node = lr_nodes->get_node( node_key ).   " selected node
        IF columnname IS NOT INITIAL.
          lr_val =  lr_node->get_item( columnname ).   " Object for selected column
          lr_data = lr_val->get_value( ).              " value of selected column
          ASSIGN lr_data->* TO <lv_val>.
        ENDIF.
      ENDMETHOD.                    "on_double_click
    Regards,
    Naimesh Patel

  • How to Get Parameter Values from the URL ?

    Hi,
    I have built a calendar called cal_test. I am calling this calendar with this URL:
    http://.../pls/.../xyz.cal_test.show?p_arg_names=p_sc_id&p_arg_values=2&p_arg_names=_start_date&p_arg_values=FEB-2002
    In the 'Additional PL/SQL Code' tab of cal_test, I need to call a procedure which requires me to pass in as parameters the values of p_sc_id and startdate embedded in the URL named above. How can I retrieve these 2 values from the URL ? Any advice will be appreicated !
    Dorothy

    Hi Daniel
    The following thread might help;
    if not, you could try posting the question in Application Server » Web Dynpro Java
    Thanks
    Kenny

  • 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 insert parameter value into multiple columns and rows

    Hi All,
    I have one procedure insert_tab and I am passing
    100~101~102:103~104~105:106~107~108 as a parameter to that procedure. I wanted to insert each numeric value into one column. The output of the table should contain
    Table:
    Col1 Col2 Col3
    100 101 102
    103 104 105
    106 107 108
    Awaiting for your reply..

    That's not more clear for me...
    Anyway, if you really want a procedure for that, try :
    SQL> create table tblstr (col1 number,col2 number,col3 number);
    Table created.
    SQL>
    SQL> create or replace procedure insert_fct (p_string IN varchar2)
      2  as
      3  v_string     varchar2(4000):=p_string||':';
      4  v_substring  varchar2(4000);
      5 
      6  begin
      7      while instr(v_string,':') > 0 loop
      8            v_substring := substr(v_string,1,instr(v_string,':')-1)||'~';
      9            insert into tblstr(col1,col2,col3)
    10            values (substr(v_substring,1,instr(v_substring,'~',1,1)-1),
    11                    substr(v_substring,instr(v_substring,'~',1,1)+1,instr(v_substring,'~',1,2)-instr(v_substring,'~',1,1)-1),
    12                    substr(v_substring,instr(v_substring,'~',1,2)+1,instr(v_substring,'~',1,3)-instr(v_substring,'~',1,2)-1));
    13            v_string:=substr(v_string,instr(v_string,':')+1);
    14      end loop;
    15  end;
    16  /
    Procedure created.
    SQL>
    SQL> show err
    No errors.
    SQL>
    SQL> select * from tblstr;
    no rows selected
    SQL> exec insert_fct('100~101~102:103~104~105:106~107~108')
    PL/SQL procedure successfully completed.
    SQL> select * from tblstr;
          COL1       COL2       COL3
           100        101        102
           103        104        105
           106        107        108
    SQL> exec insert_fct('109~~')
    PL/SQL procedure successfully completed.
    SQL> exec insert_fct('~110~')
    PL/SQL procedure successfully completed.
    SQL> exec insert_fct('~~111')
    PL/SQL procedure successfully completed.
    SQL> select * from tblstr;
          COL1       COL2       COL3
           100        101        102
           103        104        105
           106        107        108
           109
                      110
                                 111
    6 rows selected.
    SQL> Nicolas.

  • How to Split parameter in OSB(Proxy Service) ?

    Hi,
    i'm Newby in OSB.
    I get the WSDL from the target system, and the response from the wsdl that is lines with a separator / delimiter "|".
    Examples: getLOANKep.wsdl at invoke in SOAP UI and Business Services in OSB with the result:
    1|andri|19021985|jakarta|500000|aktif
    My question is, how do I break the line above in the "Proxy Service" to:
    <RefNo> 1 </ RefNo>
    <Full name> andri </ Full Name>
    <Date of birth> 19021985 </ Date of birth>
    <place of birth> jakarta </ place of birth>
    <loan limit> 500 000 </ loan limit>
    <status> aktif</ status>
    I need your help ASAP:)
    Regards,
    Leo regar

    Hi Prabu and Pierluigi,
    Does MFL is only required when you want to transform the XML into non-xml and non-xml to xml. ?
    Because, my question is , from a business service I get the results or response from the wsdl , So it's not a flat file but the XML result.
    1|andri|19021985|jakarta|500000|aktif --> Response from business Service on Test Console In OSB.(XML)
    So, how do I split from XML (business service) to XML (proxy service)? so the result as xml below:
    <RefNo> 1 </ RefNo>
    <Full name> andri </ Full Name>
    <Date of birth> 19021985 </ Date of birth>
    <place of birth> jakarta </ place of birth>
    <loan limit> 500 000 </ loan limit>
    <status> aktif</ status>
    Need your help :)
    Thank and Regard,
    Leo
    Edited by: user13144072 on May 9, 2011 2:46 AM

  • How to pass parameter value to third party application - silver light

    Hi Experts,
    I have requirement where i have to pass 3 parameter - namely Position key, Job , Job stag
    The application is third party application - build in Microsoft silver light
    Now from my application i have to pass 3 parameter to this application (URL)
    Can any one suggest me how can i proceed to do this
    Thanks in advance,
    Regards
    Farooq

    Hi
    Check this Link
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d05953ea-2608-2d10-968a-b44e8315049c?QuickLink=index&overridelayout=true
    Thanks and Regards
    Suresh

Maybe you are looking for

  • Not able to close project:

    While closing a level 1 WBS,  we are getting error message "Incoming order value not settled in full" However for this project, All WBS below level-1 are closed and for level 1 WBS, no operative indicator is selected. Not billing/ Planning or account

  • Reading & writing to file using ArrayList String incorrectly (2)

    I have been able to store two strings (M44110|T33010, M92603|T10350) using ArrayList<String>, which represent the result of some patient tests. Nevertheless, the order of these results have been stored correctly. E.g. currently stored in file Snomed-

  • Can I add a second e-mail address to my iCloud account?

    I already have an iCloud account with one email account.  Can I add a new email account?

  • Transfer iTunes on External Hard Drive to new computer?

    To save hard drive space on my laptop I have my iTunes collection (about 50 gig) on an external hard drive. When I try to move it to another laptop, the new laptop does not "see" the collection on the hard drive, even though I have pointed it to the

  • My iMessage for some reason will not let me activate my phone number.

    I have had an iPhone 5 for almost a year now, and had not had any problems with it until about a month ago, when it suddenly stopped letting me send iMessages from my phone number. I have tried everything from turning iMessage on and off, to resettin