Unassigned values replacement

Hi,
I have 2 fields in report,   sale1 and sale 2
now while running report, it brings back data in for sale1 = "NA" (not assigned)
i understand it will bring not assigned values as thats how it is in SAP BI and that is how it got loaded from ECC
User wants that for
" all sale1 = NA values
                  replace all sale 2 values."
Question: HOW TO DO THIS
1, can i use replacement path that can do this
2. can i use any SAP exit that can do this.
e.g.
sale1 sale2 
NA      12       hence sale1 = 12
NA      22       hence sale1 = 22
NA      32       hence sale1 = 32
NA      13       hence sale1 = 13
is this possible to be done......

I do not believe there is a way of defining a selection or formula to achieve this. I would create a workbook with an IF formula in Excel

Similar Messages

  • Unassigned Values in PS reports

    Hi ,
    We have not assigned few Cost elements in transaction code OPI2 , mainly COGS and SFGs consumption Cost elements. So they are coming in the unassigned value category. But when we run the hierarchical report S_ALR_87013532 - Plan/Actual/Variance, we found it is considering unassigned values also.
    Our requirement is how can we exclude the unassigned value category from the hierarchical report S_ALR_87013532 for proper disclosure.
    Regards
    Ashish

    Hi,
      The customer master data and country master data should have relation defined properly.
    for example, you have a customer cust1 and the country master data should have some relation to display country for that customer. Do to this you will be getting unassigen values in report.
    So a combination in transaction data should exist.
    Hope this helps you.......

  • How to get rid of unassigned values in the report

    hai to all,
    here is the issue,
       while running a report(sales per country), iam getting the data,after that when i drill down on <u><b>sales document number</b></u> iam getting some unassigned data, with Sales document number as #, and some value in the keyfigure.what is the reason behind this?
    Here is another issue that i want to find all the sales documents which have the value # in the report?, is it possible?    the same case with <u><b>Customer country</b></u>, on the same report.
    pl anyone help me
    br
    venkat/shyam

    Hi Shyam.
    Regarding the first issue: Well, you've loaded some data records into your cube where the "Sales Doc Field" is empty.  Did you load through PSA? The best way to scan your PSA (I believe) is to find the underlying table and have a look at it via SE16. In this way you don't have to  scan through every data single package. This can be done via "display data flow" from your cube and switch on technical names. There you have it. (It's called /BIC/B00...etcetc you might have to add i few zeroes though when you enter it into SE16). Get request ID from "Infocube Managment". In SE16 seelction screen use F2 to set the "sales Doc No." field even to blank.
    Second issue is a bit easier: in your query (or a working copy of your query) restrict on "Sales Doc No" or "Customer Coutry" to only include value "#". In the same way you can remove the unassigned values be excluding value "#".
    Hope this works for you.
    Chears, Jørn

  • How to remove unassigned(#) value in bex report in 04s

    Any help on hiding/ removing unassigned(#) value in bex report in 04s , the query is created on an infoset( left outer join).

    you can exclude # in your restriction...
    assign points if it helps

  • XML / XSLT :: String value replace

    Hello,
    I have XML configuration files that's look like this :
    <dynamical.configuration.notwork.AdapterConfiguration>
      <name>adapter demo</name>
      <tool__version>1.0</tool__version>
      <module>cadence</module>
      <basedir>fun</basedir>
      <output__dir>outputdir/</output__dir>
      <output__temp__dir>dir/%name%/</output__temp__dir>
    </dynamical.configuration.notwork.AdapterConfiguration>I would like replace %name% variable by the key "name" previously defined. I know that's I can use XSLT file for processing this files, but I don't know how ?
    I try to write something like that
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <xsl:template match="/">
      <html>
      <body>
        <h2>Adapter parameter</h2>
        <table border="1">
          <tr bgcolor="#9acd32">
            <th>Module</th>
            <th>Name</th>
          </tr>
          <xsl:for-each select="dynamical.configuration.notwork.AdapterConfiguration">
            <tr>
              <td><xsl:value-of select="name"/></td>
              <td><xsl:value-of select="module"/></td>
              <xsl:if test="contain(@module,'%')">
                   <xsl:value-of select="."/>
              </xsl:if>
            </tr>
          </xsl:for-each>
        </table>
      </body>
      </html>
         </xsl:template>
    </xsl:stylesheet>My ant script :
    <project name="xslt test" default="default">
         <target name="default">
              <xslt style="basic_template.xslt" in="test-input-adapterconf.xml" out="new-adapterconf.xml" />
         </target>
    </project>Thanks in advance..
    I have already waste a lot of time..
    notice : these xml files are generated by XStream library.
    I get information about XSLT (http://nwalsh.com/docs/tutorials/xsl/xsl/slides.html#xsl-variable)

    phpvik wrote:
    Yes, you right...
    %name% have to be replaced, then
    <output__temp__dir>dir/%name%/</output__temp__dir>
    become <output__temp__dir>dir/adapter demo/</output__temp__dir>
    because <name>adapter demo</name> is well defined.Try this XSLT:
    <?xml version="1.0"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <xsl:output method="xml" encoding="UTF-8" indent="yes" />
        <xsl:template match="/">
          <xsl:for-each select="dynamical.configuration.notwork.AdapterConfiguration">
            <dynamical.configuration.notwork.AdapterConfiguration>
            <xsl:variable name="name" select="name"/>
            <name>
              <xsl:value-of select="$name"/>
            </name>
            <tool__version>
              <xsl:value-of select="tool__version"/>
            </tool__version>
            <module>
              <xsl:value-of select="module"/>
            </module>
            <basedir>
              <xsl:value-of select="basedir"/>
            </basedir>
            <output__dir>
              <xsl:value-of select="output__dir"/>
            </output__dir>
            <output__temp__dir>
              dir/<xsl:value-of select="$name"/>/
            </output__temp__dir>
          </dynamical.configuration.notwork.AdapterConfiguration>
        </xsl:for-each>
      </xsl:template>
    </xsl:stylesheet>Thanks,
    Tejas

  • Filter unassigned values in report output

    Hi Friends,
    I have a requirement as explained below.
    There is a variable for Document Number with Select Options in the selection screen.
    There are some documents which come as unassigned in BW, When I execute the query leaving this document no field blank it picks up all the blank document nos also and displays them as # unassigned.
    I had tried by excluding # in the variable default value and also by Do NOt Include in selection in the query Designer, but it goes for a toss if the user changes in the Selection screen or removes the filter value in the Query Output.
    Is there any way we can achieve following:
    1. Even if user leaves this Variable as Blank, the report should filter out the # values.
    2. If in case user enters # over there, report should not bring any output.
    Objective is to hide the # Document Nos and user should not have any option to change in the query output.
    can it be done by doing something in Variable exit or is there any other way.
    would appreciate your help.
    Regards
    Deepak

    Hi Siggi,
    I tried that stuff, but that gives user a flexibity to change the value at the time of entering the parameters or by removing the filter in the query output.
    Hi Klaus,
    We are not Implementing any authorization model, everything is open to all the users. So this option also gets ruled out..
    BW Gurus .. any other ideas  on this..
    Regards
    Deepak

  • Multiple values replacement path

    Hi All,
    I Have given multiple single values  for business area in selection screen,
    can i replace wich are enter in selection screen,
    i created text with replacement path variable on business area but it replacing only one value
    Any one please suggest me.
    Rgrds,
    smita

    Hi
    Any one Plz give me suggesion
    how can i replace multiple values in column

  • Webi - Unassigned Values (#) from BW

    Created universe with BW query and developing a Webi report , all the data coming through fine.
    1. i wan't to remove # in the WBS values and replace it as blank or "-"
    2. Costcentre values : Example : 1000/810 . i want to remove 1000 in all values.
    I could find the formula toolbar trying write a formula and it is not working properly ..proabably i am not defining it correctly, can some one help with formulas for above.
    In view Structure in Webi Report :
    CostCentre : [L01 Cost Center Medium Name] and   WBS : =[L01 WBS Element Medium Name] - Remove #
    Regards

    Hi,
    Use below formula in the column.
    =substr([L01 Cost Center Medium Name];1;5) to remove 1000 from the values.
    If # is coming in the values then use if else.
    Like =if(L01 WBS Element Medium Name)=# then "-" else L01 WBS Element Medium Name
    Thanks,
    Amit

  • Re: vector values replaced upon row insertion into table

    This "newrow" array... I assume you create it once and reuse it every time you call the addrow method? If you do that, every entry in your vector refers to the same array. That makes all the entries look identical.

    hi..
    me too having same type of XML data to be inserted into oracle table
    i've to write procedure for this
    can u help me plz.....

  • Master data Issue  ---   materials have unassigned or # values ...!!

    Hello Experts,
    I am facing an issue that the Customer Data is missing in a BEx Report.
    Data Flow is   2LIS_13_VDITM  --> DSO1 --> Merging DSO -->  Cube --> Multiprovider --> Bex Report.
    Exact issue is Customers in the Bex Report  has unassigned to Sales Office, Sales Group, Sales District.
    The only reason a customer should show up under u201Cunassignedu201D or u201C#u201D is if itu2019s improperly set up in the system.
    customers are assigned with two values. one which has data and the other which has unassigned value.
    I wanted to know, how do i check if the matierials are valid to have unassigned Values ?
    Checked the Merging DSO and saw that there are actually values assigned values for the affected matierials.
    After that checked the Cube data values are displayed except the Master Data values.
    I guess..its completely related to Master data. I would like to know how can i resolve this issue.
    Please reply me if you face this kind of master data issue in your expeiriance.
    Thanks,
    SN.

    Hi,
    Are Sales Office, Sales Group, Sales District are attributes of Customer?
    In case they are, then the customers will be unassigned to Sales Office, Sales Group, Sales District in case the data for these attributes is loaded to the customer attributes.
    and also check if the customer characteristic is properly assigned in the multiprovider.
    Check if it helps.
    Regards,
    Joe

  • SharePoint Calc Column - How to Find and Replace ANY & ALL Values with Something Else

    Haven't found a solution on this even though it seems like it should be cut and dry.
    I have a column containing characters "-" (e.g., XXX123-123-fjhrh-sdafsdfsd). I want to find every "-" and replace it with "@". Seems easy but so far haven't found a solution. My calc column always seems to stop at the first
    occurence of "-" and only replace that one. Seems every forumula wants you to tell SharePoint where to start (position). You can't simply tell SharePoint, Find this "-" ALL OCCURENCES and replace with this "@" ALL OCCURENCES.
    I don't have the option of saying start at this position because my data is not the same in every cell/field (e.g., number of characters).
    Closest I've gotten is this:
    =REPLACE([IN THIS COLUMN],FIND("-",[IN THIS COLUMN]),LEN("-","@")
    RESULTS:
    XXX@123-XXX-123

    Hi JJSHAREP,
    The formula only works when there are only three "-" in the column value, and the formula will fail if there are more than or less than three "-" in the column value.
    I recommend to use Jquery code to replace the characters in the column called IN THIS COLUMN in the UI:
    <script src="http://code.jquery.com/jquery-1.10.2.min.js" type="text/javascript"></script>
    <script type="text/javascript">
    $(function () {
    var Index=0;
    $(".ms-listviewtable tr th").each(function(i){
    if($(this).find("div").attr("name")=="IN_x0020_THIS_x0020_COLUMN"){
    Index=i;
    $(".ms-listviewtable tr").each(function(i){
    if(i>0){
    var value=$(this).find("td").eq(Index).text();
    var value1=value.replace(/\-/g, '@');
    $(this).find("td").eq(titleIndex).text(value1);
    </script>
    Best regards.
    Thanks
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Replacing the old value with new value on the website

    Hi ,
    I have two input fields CLIN # and PR#.When i enter the text,for the first it is working fine,second time when i enter it is replacing the value which i enter with the first one.I should not replace the old value.
    ex:
    Example when i enter test5 for the first time
    CLIN # :Test 5
    Next when i enter Test6 ,this value replaces the first one
    CLIN#: Test6
    CLIN#:Test6(there is no test5)
    I am doing for my istore application.Any ideas

    As the user that created the anonymous block ruun:
    select count(*) from general_acct_mast_table;
    and
    select tbaadm.count(*) from general_acct_mast_table;I strongly suspect that they are actually two different tables, and the tbaadm version is substantially larger that the non-qualified one.
    In any case I would not be doing this as a row-by-row procedure. I would create two lookup tables like:
    create table masked_general as
    select acid, foracid, round(dbms_random.value(81000000,85000000)) masked
    from (select distinct acid, foracid
          from general_acct_mast_table
          where acct_ownership not in ('O'));
    create table masked_stmnt as
    select * from masked_general;
    alter table masked_general add constraint masked_general_pk
       primary key (acid);
    alter table masked_stmnt add constraint masked_stmnt_pk
       primary key (foracid);Then do the updates as:
    update (select g.foracid, g.acid, gm.masked
            from general_acct_mast_table g
               join masked_general gm
                  on g.acid = gm.acid)
    set foracid = masked;
    update (select s.foracid, sm.masked
            from mini_stmnt_details_table s
               join masked_stmnt sm
                  on s.foracid = sm.acid)
    set foracid = masked;Note that this assumes that both acid and foracid are individually unique in general_acct_mast_table, which seems to be implied by your procedure, and that you want to be able to roll the whole thing back if there are problems (that is, you do not want to commit between the update of general_acct_mast_table and mini_stmnt_details_table).
    I would also probably a a verification step after creating the first masked table to ensire that you did get unique vluaes back fo the masked column.
    John

  • Replace several values in a column

    I would like to use the replace function for one column to replace each value with another one. Function Replace does it for one value: Replace({FromWeek},"48","CW48" does work.
    What is the correct statement to define a row of'replace'-statements for this column.
    Replace({FromWeek},"48","CW48" AND Replace({FromWeek},"49","CW49" etc. leads to error messages. Does anyone have an idea?
    Thanks, Martin

    Hi Martin,
    you can do it like that
    Replace(Replace({FromWeek}, "48", "CW48"), "49", "CW49")
    But if you really want to put CW in front of each week
    "CW" + {FromWeek}
    is easier
    Regrads
    Thorsten

  • How To Capture A Column Value In A Report And Store It In A Variable?

    Portal Version: 3.0.6.6.5
    RDBMS Versjion: 8.1.7.0.0
    OS/Vers. Where Portal is Installed:: SunOS 5.8
    I have a Portal report where I added a checkbox for each row of data that is being displayed. The user can select checkbox for as many rows as he/she wants. The user can then click a button, which iteratively passes the value of a column as a parameter to a procedure.
    I am using the Portal field that ends with a ".FIELD#>" For example, if my report is based on the following SQL statement:
    SELECT EMP_UNID FROM EMPLOYEES WHERE STATUS = 'E'
    Then the field I am using to capture the value is <#EMP_UNID.FIELD#>
    So the <INPUT> looks like:
    <TD>
    <INPUT TYPE="checkbox" NAME="checkboxSelect" value="<#EMP_UNID.FIELD#>">
    </TD>
    And the Javascript code looks like:
    htp.p('<SCRIPT LANGUAGE="JavaScript1.1">');
    htp.p('<!--');
    htp.p('function runAccept() {');
    htp.p('for (var i=0; i<20; i++)');
    htp.p('if (document.formSelect.checkboxSelect.checked == true)');
    htp.p('{');
    htp.p('myRegExp = /"/gi;');
    htp.p('parameter = document.formSelect.checkboxSelect[i].value.replace(myRegExp, "z");');
    htp.p('parameter = parameter.substring(parameter,parameter.indexOf(">")+1,parameter.lastIndexOf("<")-1)');
    htp.p('alert(parameter);');
    -- htp.p('CallableStatement cstmt = null;');
    -- htp.p('cstmt = conn.prepareCall("{call --runAcceptRecord(parameter)}")');
    -- htp.p('cstmt.execute ();');
    htp.p('}');
    htp.p('}');
    htp.p('//-->');
    htp.p('</SCRIPT>');
    The problem, however, is that Portal stores not only the actual value in <#EMP_UNID.FIELD#>, but also some HTML tags, most of which can be removed via the Display Options page. There are some tags that cannot be removed in this fashion, because Portal does not allow nulls in those. So we are stuck with an HTML tag (i.e. <FONT SIZE>) that is stuffed in that variable along with the value. The problem is further complicated by the existence of double quotes within that tag that undesirably terminates the VALUE assignment.
    So for instance, what you might get from Portal is this:
    <TD><INPUT TYPE="checkbox" NAME="checkboxSelect" value="<FONT SIZE="+0">219</FONT>"> </TD><TD ALIGN="RIGHT"><FONT SIZE="+0">219</FONT></TD>
    <TD ALIGN="LEFT"><FONT SIZE="+0">E</FONT></TD>
    It is in the value="<FONT SIZE="+0">219</FONT>" part of the code where the extra double quote is terminating the Javascript code. I have tried escape() and replace() to remove the extra double quotes, but have not got it to work. The problem is happening too early at this point, and what I have tried is after the fact.
    Obviously, the problem is that I shouldn't be using <#EMP_UNID.FIELD#> since the intent of this is to add html tags for display purposes. That is done by Portal, and I thus have no control over it unless I take drastic means and modify Portal's innerworkings, which I don't care to do.
    My question therefore is, what other variable can I use in Reports to capture just the value? I am hoping that there is a variable in Reports like the ones for Forms which has a prefix of A_. Or is there another method for doing this?
    Thanks in advance
    Fred

    I found htf.formcheckbox function which was what I needed. With that, my javascript code was cut down to just a few lines. Didn't need to strip away the html tags. This function will just return the value.
    Refer to:
    http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=116534.1 for specific example of this function.
    http://technet.oracle.com/doc/appsrvr4082/guides/plsql_r.pdf for a reference list of all htp's.

  • Null values not displaying in the LOV on the parameter form.

    My report works perfect while in Oracle Reports 10g, however when I move it to our menu (Oracle Forms 10g) it does not display the null in the LOV on the parameter form.
    This report allows the the user to select by inspector or district or everyone for certain dates.
    Ex: I have 4 parameter fields. The user must enter the start & end dates and either the Inspector or the district or leave the inspector or district null to run for everyone.
    The district LOV is :
    select dnr_section_code, description from dnr_section_code where dnr_section_code in ('29', '38','52')
    UNION
    select null, 'All' from dual
    order by 2 asc ;
    The inspector LOV is:
    select null , 'All' from dual
    UNION
    select person_seq, first_name||' '||last_name inspector from vw_eng_inspectors
    order by 2 asc
    In my Data Model query I use the :
    My select
    from tables
    where clause
    +
    ----by inspector
    and (prod_fac_inspections.person_seq_inspector =
    nvl(:inspector,prod_fac_inspections.person_seq_inspector))
    ---by district
    and
    (d.dnr_section_code = nvl(:district,d.dnr_section_code)
    and d.person_seq = prod_fac_inspections.person_seq_inspector)
    Again, it works perfect in Reports! It eliminates having 3 reports on the menu. This one report gives the user the option of selecting dynamic parameters.
    Also, I got so frustrated, that I went a different route of using a default where.
    I am stuck with the error of ORA:00933 SQL command not ended properly
    1=1
    I set the initial value to 1=1 and it does not like it.
    I am stuck!
    DB = Oracle Database 10g Enterprise Edition Release 10.2.0.2.0

    Hi Krishna,
    I'm not sure I understand the probelm.
    A progress bar control only displays numeric values. When do you mean by "unassigned values"? What would you expect to be presented?
    Best regards,
    Udi

Maybe you are looking for