Transform Joined Data

I am using BLS to combine 2 queries from different data sources.  Query 1 is my primary data source and Query 2 is secondary.  I am using the Joiner action to join the data between these 2 queries, but recevie "NA" for all columns retrived from Query 2 that do not match a row in Query 1. 
How can I "transform" a column in Query 2 to "0" if there is not a matching record?  I am also performing cacluations on this combined dataset and need to have "0" value for non-matching rows so that the calculation can function.
I appreciate any assistance you can provide!
Larry

Hi larry,
I guess the problem is,
4. Conditional action to check if the OQQuantity is NA then change to 0 on True side of condition, otherwise do nothing - references sequence 3
5. Calculate net production and quality production - references sequence 3
Calculate net production and quality production is added where?
Is it on the true side of your action block or false side? <b>Better add this action block in the default.</b>
After condition action block, true side will change NA to 0 and False side a blank sequence.
Add one more sequence to the same action block. This is default sequence.
<b>One more suggestion:</b> Instead of using calculation use calculated columns actions. So that you can avoid the repeater action.
Hope this helps you,
Regards,
Kishore

Similar Messages

  • Key Figures in Joined Data Source

    Hello,
    I have created some Key Figures for the Data Source "Sales Order Item". Reports based on this Data Source are working fine and also my Key Figures are displaying the right results.
    Now I want to create a Joined Data Source (Left Outer Join) with the Sales Order Item and Outbound Delivery Detail Line Items. The problem I have here is, that my own Key Figures based on Sales Order Item are not showing up in the list and I cannot select them.
    Does anyone know why? Do I have to create the same Key Figures again and again as soon as I want to join the Sales Order Item Data Source with any other Data Source?
    Thanks for any feedback.

    Key figure are not available in joining Data Sources, Characteristics of same type from different Data Source data element available in joining scenario.
    Regards
    Naveen

  • Validation on Joining date

    Dear  Team,
    I would like to put validation on Joining date with actual date of Hiring ( i.e current system date ) ; and I would like to put validation between both actual joining and Hiring date and difference between both dates should not exceed 50days. If Hiring date is exceeding 50 days errors message should be populated.
    Please let me know to handle this scenario .
    Regards,
    Vamshi

    Try using an user exit or BADI.
    Please ask your ABAPer to write a code to check your requirement and generate the messages.
    There are a lot of forums which will give u details on user exits and BADI in Pers Administration.
    I dont think there is any standard config which will cater to your requirement.
    Cheers
    AJ

  • Please HELP!!!  Issue w/ Transformation from date to dateTime type

    Hi Guys,
    I'm having a problem with converting date to dateTime. We have a webservice that contain dateTime type and the input is date type. Is there a simple way to convert/transform a date to dateTime format? Example date = "2009-09-12", need to convert to dateTime = "2009-09-12T00:00:00". Thanks for helping!!!

    For this specific situation you could also make use of the concat string funtion: concat(date, 'T00:00:00'). The result equals your dateTime format.
    Kind Regards,
    Andre

  • Attribute handling in Sun Java Directory Proxy Server join data views

    Hi all,
    I've configured a join data view and want to get rid of the duplicated attributes that show up in the search results since they are present in the primary and the secondary data view. The documentation says that this behaviour is configurable to return only the values of the primary data view but I can't find any information how to do it.
    Can anybody shed some light on this?
    Thanks and regards
    Geli

    Hi,
    If an attribute is present on both sides and if you want to consider the value(s) from one side only, use the viewable-attr or non-viewable-attr property at the data view level. You can specify which attribute(s) are /are not exposed by that data view (policy for read and write may differ).
    For more details, have a look at [http://docs.sun.com/app/docs/doc/819-0986/non-viewable-attr-5dpconf?l=ko&a=view|http://docs.sun.com/app/docs/doc/819-0986/non-viewable-attr-5dpconf?l=ko&a=view]

  • Transforming XML Data with XSLT in a servlet

    Trying to transform XML data using XSLT. The following code works fine outside of a servlet. But in a servlet it gives the following error :
    * Transformer Factory error
    javax.xml.transform.TransformerConfigurationException: javax.xml.transform.TransformerException: org.xml.sax.SAXException: Namespace not supported by SAXParser
    javax.xml.transform.TransformerConfigurationException: javax.xml.transform.TransformerException: org.xml.sax.SAXException: Namespace not supported by SAXParser
         at org.apache.xml.utils.DefaultErrorHandler.fatalError(DefaultErrorHandler.java:257)
         at org.apache.xalan.processor.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:813)
         at TransformationApp.XSLTTransformServlet.MyTransform(XSLTTransformServlet.java:79)
         at TransformationApp.XSLTTransformServlet.doGet(XSLTTransformServlet.java:39)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
         at org.apache.tomcat.core.Handler.service(Handler.java:287)
         at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
         at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:812)
         at org.apache.tomcat.core.ContextManager.service(ContextManager.java:758)
         at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
         at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
         at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
         at java.lang.Thread.run(Thread.java:484)
    Several articles hinted at setting the factory namespace attribute to TRUE. I have tried that but same results. Here is the code :
    static Document document;
    DocumentBuilderFactory factory =
    DocumentBuilderFactory.newInstance();
    //factory.setNamespaceAware(true);
    //factory.setValidating(true);
    try {
    File stylesheet = new File(argv[0]);
    File datafile = new File(argv[1]);
    DocumentBuilder builder = factory.newDocumentBuilder();
    document = builder.parse(datafile);
    // Use a Transformer for output
    TransformerFactory tFactory =
    TransformerFactory.newInstance();
    StreamSource stylesource = new StreamSource(stylesheet);
    Transformer transformer = tFactory.newTransformer(stylesource);
    DOMSource source = new DOMSource(document);
    StreamResult result = new StreamResult(System.out);
    transformer.transform(source, result);
    } catch (TransformerConfigurationException tce) {
    // Error generated by the parser
    System.out.println ("\n** Transformer Factory error");
    System.out.println(" " + tce.getMessage() );
    // Use the contained exception, if any
    Throwable x = tce;
    if (tce.getException() != null)
    x = tce.getException();
    x.printStackTrace();
    } catch (TransformerException te) {
    // Error generated by the parser
    System.out.println ("\n** Transformation error");
    System.out.println(" " + te.getMessage() );
    // Use the contained exception, if any
    Throwable x = te;
    if (te.getException() != null)
    x = te.getException();
    x.printStackTrace();
    } catch (SAXException sxe) {
    // Error generated by this application
    // (or a parser-initialization error)
    Exception x = sxe;
    if (sxe.getException() != null)
    x = sxe.getException();
    x.printStackTrace();
    } catch (ParserConfigurationException pce) {
    // Parser with specified options can't be built
    pce.printStackTrace();
    } catch (IOException ioe) {
    // I/O error
    ioe.printStackTrace();
    Any help would be greatly appreciated.

    I don't know that this is true, but i think the problem is the classpath.
    The runtime has his own parser. This parser is befor your xalan.lib in the classpath and the
    parser from the runntime don't support namespace.
    Try Tomcat 4.
    Regard Dietmar

  • How to join data from SAP BW and Oracle database from Webi?

    Hi,
    Need to  create a Web Intelligence Report connecting to multiple data sources.        
    Ø SAP-BW contains the data (All units).                                                                               
    Ø Oracle db contains the access security data (respective units                                                                    
    for the user).               
    Since Universe can only connect to a single data-source we have to create two universes connecting to SAP-BW and Oracle db respectively and then create a webi report to point the two universes to retrieve the equi-join data on the report.
    May I know which layer I can join the data? What kind of data I can join?
    Can I merge dimensions from both the data sources? What about measures?
    How I can create SQL query in Webi in order to simulate the join to the two data source?
    Appreciate any info related.
    thanks and regards
    nora

    Hi Nora,
    You can use Data Federator technology to federate multi-sources such as SAP BW and Oracle.
    Las you just have to create a universe on the Data Federator data source and the universe isee the data source as a single source whereas it is not.
    Then any clainet that consume uninverses can take advantage of this solution.
    Regards;
    Didier

  • Error when transforming object data HELP !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    Hi
    I am running on NW04s. Working on WD for ABAP Interactive forms. whenever I open the Adobe editor thru SFP or Se80,  the editor opens up and I am able to do my operations. The moement I hit back button/Save or any other action which involves coming out of the adobe editor, it throws me an Fatal error - <b>Error when transforming object data</b>. I find that in most of the threads there are similar issues which are still open. Any Help would be appreciated.
    I have installed ADLC 7.1, xACF04s.
    Murali.

    I did the same installation on another PC, and to my suprise it works fine. Looks very strange

  • Adobe Forms Error Message 'Error when transforming object data'

    Hi,
      When i tried to save(Adobe Forms) after making changes in Layout its giving an error message 'Error when transforming object data' and takes me out of the transaction. How do i solve this ? Can anyone help me out.
    Thanks and Regards,
    Franklin.

    hi
      I have the same problem , plz help me out
    thanks

  • RE: Transformation and Data transfer process.

    Hi guys,
    Please some bosy help me out by providing the differences between Transformation and Data Transfer Process.
    thanks in adwance
    omkar

    Hi Omkar,
       Trnasformations providing the mapping between Sorce fields( datasource to  data target).  only map the structures..
    <b>Transformations:</b>----
    -->Trsnsformations are used to create mappings between two BI Objects and to
    transform data from BI Source(From where) to BI Target .
    -->You can create One-One Mappings between source and target in BI
    -->In transformations Source is : DataSource, InfoSource, DataStore object,
    InfoCube, InfoObject and InfoSet
    -->Target is: InfoSource, InfoObject, DataStore object and InfoCube.
    -->Transformations replaces the transfer and update rules.It's like creating transfer
    rules and update rules.Through these rules/mappings/transformations, the
    system is going to transform data from Source to Target.
      but DTP  means.. the data loading procedure will be  done with this step..
    <b>DTP :</b>
       DTP is used to transfer data from PSA to the infoprovider.
    The data transfer process can also be used to control data distribution from a BI system into any target outside of the BI system. For this purpose, a data transfer process with an open hub destination is used as the target.
           Since Deltas are now based on request from PSA ,you can have multiple datatargets pulling data with same selection criteria from same datasource(ECC) with INITS/DELTA,not possible earlier.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/42/f98e07cc483255e10000000a1553f7/frameset.htm
    Creating DTP
    http://help.sap.com/saphelp_nw2004s/helpdata/en/42/fa50e40f501a77e10000000a422035/content.htm
    regards
    @jay

  • SQL - transform a date string

    Hello,
    I have scenario where I need to transform a date string in SQL (from "yyyy-mm-dd" to "dd/mm/yyyy"):
    E.g My table EMPTABLE looks like this
    EMPNO STARTDATE(string)
    1111 2000-11-30
    2222 1998-01-22
    I need an output of
    EMPNO STARTDATE(string)
    1111 30/11/2000
    2222 22/01/1998
    I know that we can user "to_date" and "to_char" functions to do that. The query would look like:
    SELECT EMPNO as EMPNO, to_char(to_date(STARTDATE,'yyyy-mm-dd'),'mm/yy/dddd') as STARTDATE from EMPTABLE;
    Are there any other ways to achive this? Like just using string manipulation.
    Why I'm asking with the above query if there is any data discrepancy (e.g for one record the month value is 25 by mistake), the query fails.
    Any help is appreciated.
    Thanks.
    Edited by: kIDMan on Nov 20, 2009 7:29 AM

    Hi,
    Welcome to the forum!
    A lot of folks store dates in DATE columns; then it just takes one TO_CHAR call to get them in any format, and invalid data is impossible.
    You can use SUBSTR to extact parts of the string, and || to re-assemble them in a different order.
    Starting in Oracle 10, you can also use regular expressions, like this:
    ,     REGEXP_REPLACE ( startdate
                            , '([0-9]{4})-'     ||     -- \1 = year
                                  '([0-9]{2})-'     ||     -- \2 = month
                       '([0-9]{2})'          -- \3 = day
                            , '\3/\2/\1'
                            )          AS startdate_dmyIf startdate does not contain the pattern (4 digits, hyphen, 2 digits, hyphen, 2 digits), the the expression above will return startdate unchanged.
    Edited by: Frank Kulash on Nov 20, 2009 1:11 PM

  • Transforms in Data Services.

    Hello ,
              I just start learning data services and i am getting confused with the transforms used in it.So, please help me to understand the concepts of transforms in data services and their uses also.
    Thanks.

    Hi,
    if you are new to DS you maybe want to start with the Tutorial
    http://help.sap.com/businessobject/product_guides/boexir32/en/xi32_ds_tutorial_en.pdf
    There you find also some guidance to the Transforms.
    Regards
    -Seb.

  • Joining Dates Check ..

    Hi Friends,
    I have a query related to the joining dates for an employee.The case is as follows:
    Emp.No:1 has joined on 07-May-07 and Emp.No:2 has joined on 14-May-07,but when the HR is entering the master data in SAP by mistake he enters Emp.No:2 first and system generates PERNR as 01 and for Emp.No:1 the PERNR generated is 02,which is wrong as per the joining dates.So in SAP how do we handle such cases,i.e the SAP system should gives us an error saying that Emp.No:2 has joined later than Emp.No:1.
    Suggessions required.
    Thanks & Regards,
    Krishna Prasad.

    From Business Process point of view, why it is a requirement to allot PERNR in accordance to joining dates? In a large organisation where HR processes are decentralised, it is not practically possible to enter all data in a specific time so that the system can check this condition before alloting PERNR.
    For example: Some employee are found with earlier joining dates to be entered after initial entry of Employee Data and allocation of PERNR. In that case how this logic will work even if code is changed to take care of the condition during initial entry?

  • PT functions or operations to read joining date

    Hi Time Guru,
    There is any functions or operations to read joining date whether from IT0000 or IT00041. I want to use it for comparison to further process in case the date before 15 or else do nothing.
    Your suggestion would be helpful.
    Thanks!.

    Hi,
    In Time PCR time operation HRS=YFxxxx would read date from IT0041 (check documentation in PE04 for operation HRS) and in Payroll operation NUM=F would also give you the same in payroll, but for what you need I do not think it would help, because this will give the number of days after joining date. Check the doc and you may find what you need.
    Hope it helps.
    Kind Regards,
    Edoardo

  • Create recordset join, date = todays date

    hi,
    i have been trying to create a recordset on my page which joins my clients table to insurance table which is fine.
    however i need to be able to show on my page due date = today's date.
    so in my insurance table i have a duedate column with data type DATE
    i need my recordset query to return duedate=todays date and also show if passed due date?
    can anyone help me write this query?
    many thanks

    thanks bregent, the database was helped setup viaa posts on mysql forum and by my understanding of mysql of learning over past year or so.
    i have queried using just a simple join statement.
    thanks
    Date: Mon, 22 Mar 2010 19:36:01 -0600
    From: [email protected]
    To:
    Subject: Dreamweaver Application Development create recordset join, date = todays date
    >How can i do a  query of all duedates in all tables i
    >need to query? is it seperate  recordsets?
    To query against more than one table using standard SQL you could use a UNION query. MySQL also has functionality to query against multiple tables but I don't use MySQL. But I need to ask why you are storing these due dates in more than one table? Who designed this database?
    >also  need to display the ones due the week leading up to due date?
    >so 7 days  before currendate=duedate and also once it passes that i
    >need another  recordset that displays all the ones that have passed
    >currentdate=duedate.
    This is all just simple date math. Please use the reference I gave earlier for examples or search the web for MySQL date math.
    >

Maybe you are looking for

  • Regarding - Drag and Drop operations between two outlinefields

    Hi, Has any one tried the drag and drop operations between two Outline widgets in a window.Any help appreciated. Thanks balsub

  • Error #1006: value is not a function

    I'm trying to port a big library to Alchemy. I've run into something that looks like an Alchemy bug. I have a class with a static member. There's a static function that uses it. Something like this: In foo.h:     class Foo         static Bar m_pBar;

  • OS Yosemite Slowed My MAC DOWN!

    I am new to Mac and a brand new user with Apple products.  Since I upgraded to this OS Yosemite, it slowed my computer even slower than my previous windows pc.  As a new user, I am very disappointed and of course I can't return my Mac now since its o

  • Red Information in Netbeans 6

    Hi, receive flg. information if i run a project Qoute... Trying to override old definition of task nbjavafxconnect Trying to override old definition of task nbjavafxstart Trying to override old definition of task nbjavafxreload Trying to override old

  • Sound blaster X-Fi surround 5.1

    HI, I recently bought Creative Sound Blaster X-FI surround 5. for my Inspire M4500 (4.) speakers. I am using Dell Inspiron 545 laptop with Vista 32 bit Operating system. With sound card, they gave me the Y splitter cable and i connected the front spe