Parameters to FM FLTP_CHAR_CONVERSION_FROM_SI

Dear all,
I want to use this Fm FLTP_CHAR_CONVERSION_FROM_SI  but i m unable to pass the required paarmetres .
My Unit IS KWH .
value  3.5561772000000000E+13
Please help me  as soon as possible .
Thanks and regards,
Sonal.

Hi Sonal,
apply coding as shown below.
DATA : L_UNITC LIKE RIMR0-UNITC value 'KWH',
       l_IODEC LIKE RIMR0-IODEC VALUE '4',
       l_IOEXP like RIMR0-IOEXP VALUE '0',
       l_READG like IMRG-READG VALUE '3.5561772000000000E+13',
       l_READGI like IMRG-READGI VALUE 'X',
       l_SYMBOL TYPE C VALUE '_',
       l_TOTAC like RIMR0-TOTAC.
  CALL FUNCTION 'FLTP_CHAR_CONVERSION_FROM_SI'
       EXPORTING
            CHAR_UNIT        = l_UNITC
            UNIT_IS_OPTIONAL = 'X'
            DECIMALS         = l_IODEC
            EXPONENT         = l_IOEXP
            FLTP_VALUE_SI    = l_READG
            INDICATOR_VALUE  = l_READGI
            MASC_SYMBOL      = l_SYMBOL
       IMPORTING
            CHAR_VALUE       = l_TOTAC.
  WRITE l_TOTAC.
It will result in value '9878270.0000'.
Regards,
Maharshi

Similar Messages

  • FLTP_CHAR_CONVERSION_FROM_SI  "Parameters" issue

    Hi ,
    I am trying to use this
    function Module   "FLTP_CHAR_CONVERSION_FROM_SI" to convert Float to Char.
    The parameters i am using are
    CHAR_UNIT = KM
    DECIMALS  = 15
    Exponent  = 0
    FLTP_VALUE_SI = 1.222222222222222E+06
    Indicator VALUE = X
    When I execute it , its giving me error message .
    "please use number field for Input Value". If any one can tell me what I am using wrong. I really appreciate the time and full marks would be rewarded.
    Thanks,
    Mili-

    Hi,
    your input variable has to have some numeric type. Check this small example which works for me:
      DATA: l_string(20) TYPE c,
            l_float TYPE f VALUE '1.222222222222222E+06'.
      CALL FUNCTION 'FLTP_CHAR_CONVERSION_FROM_SI'
        EXPORTING
         char_unit              = 'KM'
         fltp_value_si          = l_float
         indicator_value        = 'X'
       IMPORTING
         char_value             = l_string
       EXCEPTIONS
         no_unit_given          = 1
         unit_not_found         = 2
         OTHERS                 = 3.

  • Fltp_char_conversion_from_si

    Hi ,
    I have requirement in which i have to convert this 1.7625600000000000E+08 to char using FM fltp_char_conversion_from_si, but no unit is given.
    Please help me out .
    Thanks in advance.

    Hello,
    Use following function module for FLTP to CHAR conversion:
    Test for function group      MCP2
    Function module              MC_FLTP_CHAR
    Upper/lower case
      Import parameters               Value
      FC_A_FLD                        1.7625600000000000E+08
      FC_FIX
      FC_IVA                          X
      FC_NK                           0
      FC_SUPPRESS_PMZ
      Export parameters               Value
      FC_R_FLD                         176256000
    Thanks,
    Amol Lohade

  • Retriving only hidden parameters from request.getParameter

    Hi,
    I want to retrive only the hidden parameters from previous JSP page into current JSP page. The problem here is that my hidden parameters in privious page are dynamically generated (parameter names are decided based on values retrived from the database) and I cannot retrive them using "request.getParameter(<parametername>)"
    Can I find the parameter type (i.e. text box, text area, checkbox, radio or hidden) from the request.getParameter() or request.getParameterNames() methods? or is there any other way to find it.
    Thanks in advance for any help

    You can use the getParameterNames() or getParameterMap() methods from javax.servlet.ServletRequest to get all the parameters in the request. Even if they're dynamically generated, and you don't know the names in advance, these methods will ferret them out.
    getParameterMap() returns name String, values String [] pairs, so you'll have to work with String arrays to get the input out. It's got to be that way to accomodate checkboxes and other HTML form elements that can send more than one value for a given name.
    I prefer getParameterMap, because I don't like using Enumerations as much. - MOD

  • [Interface] - Passing variety parameters/input to PL/SQL report

    Hi,
    I've the PL/SQL report which can allow passing in the parameter, i use '&'.
    the report is given to the end user who do not have the IDE for PL/SQL. the machanism of the report is generated into the spool file and import into excel format.
    now i am wondering how to create a tool using SQL or PL/SQL to allow the end user to choose the parameter(s) dynamically and passing into the PL/SQL to generate the report based on the input selected.
    the parameters like below:
    package code :
    week no :
    year :
    department :
    all the above parameters, the data would be selected from the existing lookup table. the user is allow to select more than 1 input for specified parameter for instance i want to spool report for week 1 until week 5.
    pls advise any solution on this topic. thanks

    hi scoot,
    thank for reply.
    yep, i'm using sql*plus and also sql navigator 4.0 .
    the user don't have the software to interact. i'm thinking of build an simple interface using VB and passing in the parameter then initiate the sql*plus to run the program in background mode.
    but if you have any other solution which not need to use other software to wirte such program , pls let me know immediately. thank

  • Report should prompt me for parameters, please help.

    Hi All,
    I am using Crystal version 10, So is there any way I can get the behaviour of my parameters as dynamic parameter? I have this requirement because when I am deploying the Report on BO server, and try to open the report from InfoView, it is not prompting me for parameters, rather it is giving me the copy which we had scheduled earlier. To get the fresh data with different parameters, we again need to schedule the report.
    What I want is simple, Whenever user clicks on the report link in infoview, I should be promted for the parameters my report is using.
    Please help..
    Thanks
    -Azhar

    Hi
    It would prompt whenever it's refreshed.
    You can refer to Business View manager guide from [here|http://help.sap.com/businessobject/product_guides/boexir2/en/xir2_bv_admin_en.pdf ] for detailed information.
    Hope this helps!!
    Regards
    Sourashree

  • How to avoid the parameters accepting screen generated by crystal report

    Hi ,
    I designed one rpt file which will take one parameter and trying to run that file from java servlets. But I am getting one problem. I am passing parameters from jsp and setting those to the crystal report but, instade of generating the report, it is generating one jsp page which is having text feild , after enter the parameter value onece I submit this page then only I am getting required output.
    anybody please help me in this. Below I am placing my code.     
                   ReportClientDocument reportClientDocument = new ReportClientDocument();
                   CrystalReportViewer viewer = new CrystalReportViewer();
                   ServletContext cxt = req.getSession().getServletContext();
                   String fileName = "C:/Documents and Settings/Administrator/Desktop/lib-so/ix_sample2.rpt";
                   try
                        String realPath = fileName;
                        reportClientDocument.open(realPath, 0);
                        viewer.refresh();
                        viewer.setReportSource(reportClientDocument.getReportSource());
                   catch(Exception e)
                        System.out.println("inside catch block...");
                        e.printStackTrace();
                   IReportSource reportSource = reportClientDocument.getReportSource();
                   Fields oFields = new Fields();  
                   ParameterField portfolio = new ParameterField();
                   portfolio.setName("Portfolio");
                    Values oValues = new Values();
                      ParameterFieldDiscreteValue oParameterFieldDiscreteValue = new ParameterFieldDiscreteValue();
                       oParameterFieldDiscreteValue.setValue(new Integer(16));
                       oValues.add(oParameterFieldDiscreteValue);
                       portfolio.setCurrentValues(oValues);
                       portfolio.setReportName(fileName);
                       oFields.add(portfolio);
                          viewer.setOwnPage(false);
                               viewer.setParameterFields(fi);
                       try {
                             viewer.processHttpRequest(req, res, cxt, res.getWriter());
                             viewer.dispose();
                       catch (ReportSDKExceptionBase e) {
                             e.printStackTrace();
    thanks,
    Mallikarjun
    Edited by: mallikarjuna.ch1 on May 17, 2009 9:58 AM

    Thanks a lot for worthful suggetion Neeraj.
    I got resolved my problem. I have one more issue, please give a clarification about that.
    my doublt is,
    For parameterized rpt file running purpose I need to set the database details . every jar file is placed in application lib only. And my CRConfig.xml file also placed bellow.
                  <?xml version="1.0" encoding="utf-8"?><CrystalReportEngine-configuration>
        <timeout>1</timeout>
        <ExternalFunctionLibraryClassNames>
              <classname> </classname>
              <classname> </classname>
        </ExternalFunctionLibraryClassNames>
    <keycode>B6W60-01CS200-00GCPT0-0JY1</keycode>
    <Javaserver-configuration>
    <DataDriverCommon>
         <JavaDir>D:\inventex\crystal_report\Business Objects\j2sdk1.4.2_08\bin</JavaDir>
        <Classpath>$</Classpath>
         <IORFileLocation>$</IORFileLocation>
         <JavaServerTimeout>1800</JavaServerTimeout>
         <JavaServerStartupTimeout>30</JavaServerStartupTimeout>
         <JVMMaxHeap>64000000</JVMMaxHeap>
         <JVMMinHeap>32000000</JVMMinHeap>
         <NumberOfThreads>100</NumberOfThreads>
    </DataDriverCommon>
    <JDBC>
         <CacheRowSetSize>100</CacheRowSetSize>
         <JDBCURL>jdbc:sqlserver://10.0.0.65:1433;DatabaseName=reportmanager</JDBCURL>
         <JDBCClassName>com.microsoft.sqlserver.jdbc.SQLServerDriver</JDBCClassName>
         <JDBCUserName>malli</JDBCUserName>
         <JNDIURL></JNDIURL>
         <JNDIConnectionFactory></JNDIConnectionFactory>
         <JNDIInitContext>/</JNDIInitContext>
         <JNDIUserName>weblogic</JNDIUserName>
         <GenericJDBCDriver>
              <Default>
                   <ServerType>UNKNOWN</ServerType>
                   <QuoteIdentifierOnOff>ON</QuoteIdentifierOnOff>
                   <StoredProcType>Standard</StoredProcType>
                   <LogonStyle>Standard</LogonStyle>
              </Default>
              <Sybase>
                   <ServerType>SYBASE</ServerType>
                   <QuoteIdentifierOnOff>OFF</QuoteIdentifierOnOff>
                   <DriverClassName>com.sybase.jdbc2.jdbc.SybDriver</DriverClassName>
                   <StoredProcType>Standard</StoredProcType>
                   <LogonStyle>MySQL</LogonStyle>
              </Sybase>
         </GenericJDBCDriver>
    </JDBC>
    <XML>
         <CacheRowSetSize>100</CacheRowSetSize>
         <PreReadNBytes>4096</PreReadNBytes>
         <XMLLocalURL></XMLLocalURL>
         <SchemaLocalURL></SchemaLocalURL>
         <XMLHttpURL></XMLHttpURL>
         <SchemaHttpURL></SchemaHttpURL>
    </XML>
    <JavaBeans>
        <CacheRowSetSize>100</CacheRowSetSize>
         <JavaBeansClassPath></JavaBeansClassPath>
    </JavaBeans>
    </Javaserver-configuration>
    </CrystalReportEngine-configuration>
    still it is showing "Error finding JNDI name (sql server) " error. I am solving this problem setting these paramers through program.

  • SSRS with DAX - parameters multivalue vs total element

    Hi all,
    I'm using SSRS on top of a SSAS tabular model to create intuitive dashboards for management department.
    One thing I'm struggling with is the lack of a "total" on parameters. What I'm doing is, based on the fact table, I create the datasets that will feed each parameter, so it only has the dimension members available on the fact table. That is fine
    performance wise, you only have 1 element and it renders very quickly.
    For a management perspective at a higher level it is important to view the totals to have the big picture of the information. In my project we are in a University, so I have the parameters Year, school (there are several schools in the university campus)
    and the course (computer sciences, math, statistics, etc).
    At first glance, if I'm a course coordinador I want to pick my course and have a global view, and I'm achiveing that, but imagine now, that I am the school coordinator, or the university coordenator.
    I want to see the aggregate values by all courses or by all schools.
    In my view I have 2 ways to do this and I come from a tradition cubes background:
    1 - I would use the all element the cubes hierarchy have on each attribute
    2 - I would use multivalue parameters with StrToSet (worse performance)
    Using DAX what is your approach?
    Best regards

    Hi AsifMehmood,
    Per my understanding you have create an SSRS report with SharePoint list, now you don’t know to create the distinct parameters by using CAML query,  right?
    For the CAML language doesn’t have any reserved word (or tag) to set this particular filter to remove duplicate results, but we can use the custom code to do this function. I have tested on my local environment and we can do that by create one hidden parameter(Param1)
    to get all the values from the fields which will  add the filter and then create another parameter(Param2) to get the distinct values based on the Param1, we use the custom code to do the deduplication.
    Step by Steps information in below thread for your reference to create the parameters and the custom code:
    "How to get distinct values of sharepoint column using SSRS"
    Other similar thread for your reference:
    https://audministrator.wordpress.com/2014/02/17/sharepoint-list-add-distinct-parameter-value/
    If your problem still exists, please feel free to ask and also try to provide us more details information.
    Regards
    Vicky Liu

  • Error while creating a BO Universe (using IDT) on top of SAP HANA Calculation View with Input Parameters

    Hi All..
          We are trying to create a Universe (using IDT-Version4.0) on top of the HANA Calculation view. The Calculation view has 4 input parameters, So
    in Universe side we have created the respective prompts. For the creation of derived table we have used the following code
    SELECT *
    FROM "_SYS_BIC"."<schema_name>.<CV_Calculation_View_test>"
    'PLACEHOLDER'=('$$IP_A$$','@Prompt(A)'),
    'PLACEHOLDER'=('$$IP_B$$','@Prompt(B)'),
    'PLACEHOLDER'=('$$IP_C$$','@Prompt(C)'),
    'PLACEHOLDER'=('$$IP_D$$','@Prompt(D)')
    While validating the above code we are getting an error.
    I have attached the snapshot of that error for your reference. Please find the attachment and help me in resolving it.
    Thanks in advance.

    Hello George,
    I don't have any personalization set on the info space. Also I am using mapped Account in BI to connect to HANA. The confusing part is that it is able to validate the infospace with the input parameters and index it. However query does not return any results. I even tried running the same query which explorer sends to HANA in the SQL editor and there too the same results,the query does not return anything. The model does return data when I do a data preview and if accessed from other tools like AAO.
    Also when I use SSO connection to HANA, indexing of the infospace fails. Where can I see the error log?
    Thanks,

  • Using a variable not in the Export,Import, table Parameters in USER EXIT

    Hi all,
       During the Invoice Creation, I need to add an entry in the VBFS table, so that it will be displayed in the system log.  In the FM 'RV_INVOICE_CREATE', the structure corresponding to it is XVBFS.  There is a user-exit   CALL CUSTOMER-FUNCTION '002', in this FM 'RV_INVOICE_CREATE'.  But the import, export or Table Parameters does not have XVBFS.
      How can I use XVBFS inside the User exit?..
    Please help.
    Regards,
    Asha

    Hi,
    I dont know whether this will help u...
    write this in user exit...to access variables/tables of main program..
    FIELD-SYMBOLS: <komv>.
    ASSIGN ('(SAPLMEPO)TKOMV[]') TO <komv>.
    where.. SAPLMEPO is the main program...and TKOMV[] is a internal table in SAPLMEPO.
    regards
    Sukriti....

  • Error while Driving a view using parameters from other view

    Hi,
    I have created a report with streamlist and Barchart view.Driving option is used in streamlist to drive the barchart. The driving works well untill i dont use any filters in the Streamlist.Once i use parameters in streamlist , the driving works only for the default values set.When Second set of values are chosed for the parameter,the values are displayed correctly , but once they are selected for driving,the current values are replaced by the results of the default parameter settings.
    I have already done the tutorials for driving and it worked well untill i use filters in the main view,from where the driving is done.
    I would really appreciate if someone could give a solution for this problem.
    Regards,
    Lathika

    Hi,
    Login as i.e. sys as sysdba. Standard password is change_on_install.
    Or you can login in using user that has CREATE VIEW WITH ADMIN OPTION and then grant CREATE VIEW privilege to user to want.
    Peter D.

  • Hard drive i/o error, spinning beachballs. PASSES Smart test, but fails two specific parameters:

    I'm on a Macbook from early 2007.
    First off, I'm fully aware that my HD is probably on its last legs and I have two gigantic TB external HDs on which there are multiple images of the entire drive, so data loss is not currently a problem for me. I've also just finished college assignments for the summer so I can afford to mess around with this a bit before taking the plunge and replacing it.
    What intrigues me is this. The machine has been extremely slow for a long time. Recently I disabled swapping and the speed rocketed, presumably due to the HD being utilized less during usage. Now the downside to disabling swapping is that when Safari Web Content gets out of control as it always eventually does, you can have a full on system hang which requires a forced shutdown through the power button. So it's very possible that the issues I'm currently experiencing are to do with the machine being improperly shut down one too many times and somehow damaging the drive itself.
    But anyway, this is the interesting aspect. Using TTP I ran a SMART test on the internal HD from one of the bootable partitions on one of the external ones, and to my astonishment, it actually PASSES the smart test. The only two parameters which fail are the following:
    Raw Read Error Rate
    Write Error Count
    An image of the SMART test results is attached:
    Now to give you an example of the kind of issues I'm having, in order to take that screenshot I used "Grab". When searching for Grab in spotlight it gave me results from the internal HD and from all the various backup drives I have attached. I opened the internal copy and one from a backup partition on another drive (neither of which currently booted from). The one from the backup bounced and opened. The one from internal bounced about 15 times, the spotlight bar hung with a spinning beacball, and I ended up force quitting because I got sick of waiting for it. That's the major symptom of the issue I'm having.
    Now here's the reason I'm posting. As I say I know this drive is about to go so there's no need to lecture me about that, I can't replace it immediately but plan to in the very near future when I have a chance. My question is this. Those two specific failed SMART results, what exactly would cause them in terms of HD problems? Bearing in mind that it passes every single other SMART parameter, am I looking at unmapped bad blocks, a physical problem with the head, a loose wire, a bad motor, or what? I'm just wondering specifically what might be wrong with the drive, out of pure curiosity more so than anything else. The fact that most parameters pass suggests to me that it's one very specific malfunction as opposed to the drive generally imploding.
    A surface scan from TTP crashed, but not before giving me about 30 "Used block is not a file" messages.
    Finally, to temporarily use this drive, what's the procedure? If it's unmapped bad blocks, to I erase and install, or do I go into the whole "zero all data, then reformat" option? I have a backup image taken last night from the external drive which I can restore to the internal any time I want, and as I say with so many backups and so few deadlines ahead of me I don't mind messing around a bit and experimenting.
    So if it IS a bad block issue, what does one do to force it to map them?

    Had a feeling. As I say it's already fully backed up and ATM I'm running the machine off a partition on the external. But as I say, I'm curious as to what's actually wrong with it - what type of damage / failure would cause those specific smart parameters to fail but not the rest? The motor, the head, the disk surface, what?

  • Reporting Services web service complex xml type report parameters

    Hi,
    I have the following xml type parameter in my request query that I use in reporting services.
    <Parameter Name="accountDetails" Type="XML" xmlns:d4p1="thevalue" xmlns:i="thevalue">
    <DefaultValue>
    <d4p1:AccountDetailDto>
    <d4p1:AccountNumber>12345</d4p1:AccountNumber>
    <d4p1:AccountType>Sales</d4p1:AccountType>
    </d4p1:AccountDetailDto>
    </DefaultValue>
    I want to know how I can assign values to the accountDetails parameter from report parameters, I've tried to call it from the dataset parameter properties but it doesn't return any values. I created Parameters!accountDetails.Value on the dataset parameters
    properties and assigned it the following value: it only returns empty columns
    ="<AccountDetailDto><AccountNumber>"& Parameters!AccountNumber.Value &"</AccountNumber><AccountType>"& Parameters!AccountType.Value &"</AccountType></AccountDetailDto>"
    You're help will be highly appreciated as I've been trying to solve this for a while now

    Hi Alisa,
    Perhaps I should explain my problem clearly...
    This is my query request that I send to the webservice:
    <Query>
    <Method Name="GetPerAccountAssetAllocation" Namespace="http://tempuri.org/">
    <Parameters>
    <Parameter Name="accountDetails" Type="XML" xmlns:d4p1="thevalue" xmlns:i="thevalue">
    <DefaultValue>
    <d4p1:AccountDetailDto>
    <d4p1:AccountNumber>12345</d4p1:AccountNumber>
    <d4p1:AccountType>JSE</d4p1:AccountType>
    </d4p1:AccountDetailDto>
    </DefaultValue>
    </Parameter>
    </Parameters>
    </Method>
    <SoapAction>http://tempuri.org/IPortfolioManagementService/GetPerAccountAssetAllocation</SoapAction>
    <ElementPath IgnoreNamespaces="true">*</ElementPath>
    </Query>
    It works well when I run it just like this, that is without specifying any parameters in the report data dialogue window or on the dataset parameters properties, it returns the values and columns correctly.
    So my problem is, I need to find out how(xml parameter syntax, steps e.t.c)
    I can do to allow users to specify the accountDetails parameter, its quite tricky for me coz its an xml type parameter, Im not sure if I should just specify the AccountNumber and
    ReportType parameters separately:
    I've tried the following without any success:
    1. Under the dataset properties:  I tried not to specify a default value for the accountDetails parameter on the xml query, then I added a parameter called "accountDetails" under the dataset parameters properties, then under parameter
    value I added the following xml value :
    <d4p1:AccountDetailDto>
    <d4p1:AccountNumber>Parameters!AccountNumber.Value</d4p1:AccountNumber>
    <d4p1:AccountType>Parameters!AccountType.Value</d4p1:AccountType>
    </d4p1:AccountDetailDto> 
    (I also added the AccountNumber and AccountType parameters under the report data dialogue window)
    This returns empty columns, is there something I'm missing, or am I doing this incorrectly?

  • Reporting Services: XML Data Source and Parameters

    I’ve created an XML service (asmx) in ASP.Net that I want to use as a data source for an SQL Reporting Services report. The report and service work just fine if I use a Method from the service that does not have parameters. However, if I use a Method that
    needs a parameter, the query/report fails. My investigation makes it seem that the parameter is not getting passed to the Method at all. (The parameter is a DateTime and it always ends up uninitialized and the WebMethod throws an exception.)
    I’ve exhausted all my TechNet resources and Googled this excessively. It would seem that I am doing this correctly, based on all the examples I’ve seen, but I still can’t get it to work.
    I've done a lot of different permutations, but this is where I’m at right now.
    (Note: I've changed the Web Method's parameter to be a String instead of a DateTime. I did this as part of my trial-and-error process. Once I get this figured I'll return it to a DateTime.)
    I'm trying to include everything here that will help you help me (see attached image). I had to obfuscate a few things (not sure if that is necessary).
    See attached image:
    Created Shared Data Source in SQL Report Services
    Create Report Parameter (matching Web Method parameter)
    Created a data set in Report Builder (with Query, and parameter - matching Web Method parameter)
    Query in Data Source
    <Query>
    <Method Name="GetDueDateAging" Namespace="http://zzz.com/vvv">
    <Parameters>
    <Parameter Name="cutoffDate">
    <DefaultValue></DefaultValue>
    </Parameter>
    </Parameters>
    </Method>
    <SoapAction>http://zzz.com/vvv/GetDueDateAging</SoapAction>
    <ElementPath IgnoreNamespaces="true">*</ElementPath>
    </Query>
    This is where I needed the most help, and I don't totally understand it. But again, the parameter-less Method worked. I've tried adding different things in the <DefaultValue> tag (like @cuttoffDate and constant values), with no success.
    WebMethod Code
    [WebMethod]
    public List<AgingInvoice> GetDueDateAging(string cutoffDate)
    DateTime cd = DateTime.MinValue;
    if (!DateTime.TryParse(cutoffDate, out cd))
    cd = DateTime.Now;
    Shared.DueDateAging aging = new Shared.DueDateAging();
    return aging.GetDueDateAging(cd, Settings.Default.ConnectionString);
    I've looked at every online resource that I could find, but I'm striking out right now. Any help or hints would be greatly appreciated.
    Thanks.
    Derrick

    Hi Derrick,
    In your case, please refer to the following method to troubleshooting this problem:
    We can use Fiddler2 to monitor the HTTP post, and check whether the parameter is being sent. The Fiddler tool can helps us debug web applications by capturing network traffic between the Internet and test computers. If the parameter is being sent, please
    debug the web service to ensure the method has values return.
    Regards,
    Alisa Tang
    Alisa Tang
    TechNet Community Support

  • Bi Publisher Enterprise 11.11 Parameters.

    I am building a report and i have couple of parameters. the user will enter the values for the parameter in a text field. now, i want to make that text field optional. how can i do that? i do not want to set a default value, i want it load blank but i want it to be optional.
    thanks for your help.

    AlexAnd wrote:
    2 Srini VEERAVALLI      
    where col1=:p1 and (col2 is not null or col2=:p2)may be
    where col1=:p1 or col2=:p2will be more simple?
    or may be i understood incorrectly your idea
    2 YeisonSoto      
    >
    I am building a report and i have couple of parameters. the user will enter the values for the parameter in a text field. now, i want to make that text field optional. how can i do that? i do not want to set a default value, i want it load blank but i want it to be optional.
    >
    as idea
    if your reports have one parameter per report but for different column
    then you can use this one parameters and create other for indicate report
    say you have rep1 with par1 and rep2 with par2
    so you create one parameter(p1) for par1/par2 and second parameter(p2) for rep1/rep2
    and in data model use
    where ((:p2 = 'rep1' and column1 = :p1 ) or (:p2='rep2' and column2 = :p1))so before execute you must know for which report use parameters condition
    for ebs second parameter no need because you can check this condition by request_id
    what I did was this:
    WHERE REPLACE(REPLACE(TRIM("ABTAX"), '-', ''), '.', '') like *:identification*
    OR (REGEXP_LIKE(TRIM(ABALPH),TRIM(UPPER(*:Name*)))
    AND REGEXP_LIKE(TRIM(ABALPH),TRIM(UPPER(*:LastName*)))
    OR( REGEXP_LIKE(TRIM(ABALPH),TRIM(LOWER(*:Name*)))
    AND REGEXP_LIKE(TRIM(ABALPH),TRIM(LOWER(*:LastName*)))
    Now I can filter the results of the records for identification or the name of a person
    but when I filter by the name I have both data (Name and LastName)
    that have not been solved, I wonder if I can display a message that says "There should be no empty fields"

Maybe you are looking for

  • Java graphics app prob regarding painting........ app does NOT use applets

    Hi , I basically want to write a java graphics game application ......At this point in time all I want to do is add a green rectangle to the content pane.......I can do this but I want to stick with OO concepts so I have various classes......the thin

  • Where do I go on iCloud to view my photos and videos?

    Where do I go on iCloud to view my photos and videos? I have my iCloud account open but there is no shortcut for the camera roll?

  • 2 concurrent VPN connections

    ISP: Comast Broadband LinkSys Wireless Router: SRX200 (WRT54GX2) PCs: 2 Dell laptops, D410 & D600 PC Connections: Each laptop works wired or wirelessly to access Internet Problem statement: When my wife an dI both work from home, we can only maintain

  • SQL 2012 Report Builder + UAG

    Quick description of setup:  I have 4 total SharePoint servers, 2WFE's, 2APP's, and a SQL Cluster.  I am using SQL 2012, + I have installed the reporting services add-in for SQL 2012 and have gone through the entire setup.  Everything works, KCD, sto

  • Import Folder Names

    How can I import folders from iPhoto and keep the folder names?