BPM Combine Two Messages

I'm using PI 7.1, and I have a BPM that receives data and  makes a synchronous call to a database to insert and then return the number of rows inserted.  What I'm trying to do is get a hold of the number of rows inserted in order to add that number to the xml structure of the original message.
I am currently trying to use a transformation step that takes two messages as input (the original message and the number of rows updated) and combines them into one message.  This mapping works in the operation mapping test, but when I execute the BPM, the rows updated are not added to the target message as they were in the operation mapping test. 
I can see from looking at the transformation step in sxmb_moni that the mapping is receiving both input messages, it just doesn't seem to be executing the mapping as expected.  I was under the impression that transformation steps were meant to be used for operations like this, so I'm assuming the BPM setup or transformation step is not configured correctly.
I would appreciate any suggestions or help that anyone could offer.
Thanks!
David

abhishek salvi wrote:>
>
Are you referring to the scope of the container objects?
> In SXMB_MONI --> you will have an entry for your BPM processing --> Click on the PE link --> Graphic Workflow will open which will tell you till what step has the BPM performed.
> To Troubleshoot:
> 1) Check Graphic workflow and ensure that the mapping step is executed.
> 2) Check if there is any error in the worflow.
> 3) I feel that the Transformation step is not able to get the source message(s).
> 3) The BPM design seems to be simple and also the steps look correct.....open the BPM in IR and press F7 (check) and find if any error/ warning is reported.
> 4) If you find that everything is fine and still the BPM does not work....make some dummy change to the BPM>save> activate and again test....may be some cache issue (if it is not a configuration one)
Thank you for the suggestions.  I've examined the workflow: the mapping step has been completed, and there don't seem to be any errors.  As I mentioned to Hanish a few posts up, the two input messages are both appearing in sxmb_moni in the transformation step as expected.
Checking the BPM in the ESR returns "No semantic errors found."
I've tried making minor changes and saving/activating several times, so I don't think it could be a cache issue.
Is it possible that I need a correlation?  There is only one receiver, but the synchronous send receives a message as well.  Do the two need to be correlated before the transformation step?
Thank you!
David

Similar Messages

  • Combining two messages into one

    Hello,
    I have a mapping issue, I have a business process in which I have to combine two messages into one.
    To do so, I have defined a message mapping in which there are two source message types, and one target message type.
    When testing the message mapping in the IR, it works fine, but when I define and test an interface mapping with that same message mapping, I receive this error message:
    "Cannot produce target element /ns0:Messages/ns0Message1/MY_IDOC_TYPE/MY_SEGMENT. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd."
    What am I doing wrong ?
    How am I supposed to combine two messages into one ?
    Thanks,
    Elad.

    Hi Elad,
    Just see if you have included both you source message interfaces and one target nessage interface correctly in while doing your interface mapping.....
    The most common mistake made when we do scenarios which include combination of two source message types into one target type are:
    - we forget to include both the source message interfaces.
    - or we interchange between one of the source message interface with the target.
    Just see if either of the 2 is aplicable in your case and just activate all components as and when you create them..
    Regards,
    abhy

  • Append two message into one message in BPM

    hi,
    i have to receive two different outbound message interface in fork step. as soon as two message received
    i have to append those message to one message as below;
    A message
    1001 AAAA  BBBB CCCCC
    1002 DDDD  BBBB DDDDD
    B message
    1003 CCCC  1321 12213
    1004 DAFD  DDDD DDDDD
    1005 EDDD  DDDD DDDDD
    target message for C
    1001 AAAA  BBBB CCCCC
    1002 DDDD  BBBB DDDDD
    1003 CCCC  1321 12213
    1004 DAFD  DDDD DDDDD
    1005 EDDD  DDDD DDDDD
    and then i have to send C
    is it possible on BPM? i think not mapping issue and correlation.
    how can i append two abstract message to one abstract message?
    thanks
    venjamin

    hi all,
    BpmPatternCollectMessageToBeCollected in basis in ir is not multi-row,  this message type structure is just for individual message..
    in my case, source message type can be received multi record in row in once.
    so, what i want to say is interface mapping regarding
    appending two abs message into one inbound message for transformation.
    if it is possible, we may not need to container operation step because we already have bundled message in target abstract message. we can just send target abstract message.
    if it is not possible, how do you map to use in transformation step? and configure container operation?
    container operation should be appened from one structure message into one multi message.
    does it make sense?
    thanks
    venjamin

  • How can I combine two databases, from two computers, to have one combined database of messages?

    My old XP computer recently died and I had to build a new Windows 8.1 machine. While I was down I used a laptop as a temporary replacement. Now my new machine is running fine and receiving e-mail, but I now have two databases--one on the new machine and one on the laptop. Both are based on a recent backup, so they are lengthy--except that the new machine's database has a hole in it for the period I was on the laptop and the laptop's database also has gaps. How can I combine two databases into one that includes the messages from both machines?
    Thanks in advance,
    profsimonie

    Thanks for your reply. My profile folder did not contain any MBOX files. I found them in another folder on another drive. The Import-Export tools simply transferred each folder to the current one as a sub-folder. Then I had to use ctrl-a to select everything in the folder and move them manually to the current folder (such as inbox). Then I could use the other utility you mentioned to remove the duplicates. This had to be done, one folder at a time, to combine each folder. It worked, but I had about thirty-five folders to deal with. The whole process took most of two days to complete. I wish there was a simple way to blend everything together in one action, but I could not find an add-on that would do this.
    Frank Simonie

  • Photo Elements 12, Mac OS X 10.9.5, Trying to combine two images side by side, same height.  Get this message: "Panorama could not be created as some images could not be automatically aligned". Tried with several different images, same height each combo

    Photo Elements 12, Mac OS X 10.9.5, Trying to combine two images side by side, same height.  Get this message: "Panorama could not be created as some images could not be automatically aligned". Tried with several different images, same height each combo

    One does not "see" the images when selecting;  You just select two file names, click OK, PhotoShop does the rest, and comes back with same message.

  • How do I combine two user accounts into one account?

    When we originally set-up our iMac, I set-up two accounts for my wife and I. Since then it has been a royal pain with music and applications sharing. How do I merge the two accounts into one?

    I found an answer to this by searching on "merging two accounts" rather than "combining two accounts." BTW, it's a little mini-nightmare if you only use "combine" on both Google and Apple support. At least this post might help others avoid the same fate.
    Here's where to go to find the answer: http://discussions.apple.com/message.jspa?messageID=5629676#5629676

  • SAP XI - Combine Two files as one in File Adapter

    Experts,
    I want to combine two files as one in File adapter itself.  I am using a simple scenario of File-to-File where i am just sending the file from sender to receiver as it is , EXCEPT, i want to add one line at the end of the file .
    I was thinking of doing this in File adapter , avoiding any mapping program in Integration Repository ..
    ANY INDEA's ??
    Regards,
    Ashutosh

    Hey
    You have 3 options,first one can be to execute a OS command before message processing or use adapter modules to append the new line in the sender adapter.
    the second option(and better one) is to do this via message mapping.
    third option is to write a OS script and execute it after message processing on receiver file adapter.
    one thing you need to make sure is that since OS scripts run on XI server itself(not on FTP server) so in case you are picking file from FTP server and delivering to FTP ,then you can't use option 1 or 3,you can only use option 2
    Thanx
    Aamir

  • Combine two jsp pages into single

    hai how to combine two jsp pages in to one
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import org.apache.struts.action.ActionForm;
    import org.apache.struts.action.ActionForward;
    import org.apache.struts.action.ActionMapping;
    import org.apache.struts.action.ActionMessage;
    import org.apache.struts.action.ActionMessages;
    import com.latchiya.Constants;
    import com.latchiya.model.Staffinfo;
    import com.latchiya.service.Manager;
    import com.latchiya.webapp.form.StaffinfoForm;
    * Action class to handle CRUD on a Staffinfo object
    * @struts.action name="staffinfoForm" path="/staffinfos" scope="request"
    * validate="false" parameter="method" input="mainMenu"
    * @struts.action name="staffinfoForm" path="/editStaffinfo" scope="request"
    * validate="false" parameter="method" input="list"
    * @struts.action name="staffinfoForm" path="/saveStaffinfo" scope="request"
    * validate="true" parameter="method" input="edit"
    * @struts.action-forward name="edit" path="/WEB-INF/pages/staffinfoForm.jsp"
    * @struts.action-forward name="list" path="/WEB-INF/pages/staffinfoList.jsp"
    * @struts.action-forward name="search" path="/staffinfos.html" redirect="true"
    public final class StaffinfoAction extends BaseAction {
    public ActionForward cancel(ActionMapping mapping, ActionForm form,
    HttpServletRequest request,
    HttpServletResponse response)
    throws Exception {
    return mapping.findForward("search");
    public ActionForward delete(ActionMapping mapping, ActionForm form,
    HttpServletRequest request,
    HttpServletResponse response)
    throws Exception {
    if (log.isDebugEnabled()) {
    log.debug("Entering 'delete' method");
    ActionMessages messages = new ActionMessages();
    StaffinfoForm staffinfoForm = (StaffinfoForm) form;
    // Exceptions are caught by ActionExceptionHandler
    Manager mgr = (Manager) getBean("manager");
    Staffinfo staffinfo = (Staffinfo) convert(staffinfoForm);
    mgr.removeObject(Staffinfo.class, staffinfo.getStaffId());
    messages.add(ActionMessages.GLOBAL_MESSAGE,
    new ActionMessage("staffinfo.deleted"));
    // save messages in session, so they'll survive the redirect
    saveMessages(request.getSession(), messages);
    return mapping.findForward("search");
    public ActionForward edit(ActionMapping mapping, ActionForm form,
    HttpServletRequest request,
    HttpServletResponse response)
    throws Exception {
    if (log.isDebugEnabled()) {
    log.debug("Entering 'edit' method");
    StaffinfoForm staffinfoForm = (StaffinfoForm) form;
    // if an id is passed in, look up the user - otherwise
    // don't do anything - user is doing an add
    if (staffinfoForm.getStaffId() != null) {
    Manager mgr = (Manager) getBean("manager");
    Staffinfo staffinfo = (Staffinfo) convert(staffinfoForm);
    staffinfo = (Staffinfo) mgr.getObject(Staffinfo.class, staffinfo.getStaffId());
    staffinfoForm = (StaffinfoForm) convert(staffinfo);
    updateFormBean(mapping, request, staffinfoForm);
    return mapping.findForward("edit");
    public ActionForward save(ActionMapping mapping, ActionForm form,
    HttpServletRequest request,
    HttpServletResponse response)
    throws Exception {
    if (log.isDebugEnabled()) {
    log.debug("Entering 'save' method");
    // Extract attributes and parameters we will need
    ActionMessages messages = new ActionMessages();
    StaffinfoForm staffinfoForm = (StaffinfoForm) form;
    boolean isNew = ("".equals(staffinfoForm.getStaffId()) || staffinfoForm.getStaffId() == null);
    Manager mgr = (Manager) getBean("manager");
    Staffinfo staffinfo = (Staffinfo) convert(staffinfoForm);
    mgr.saveObject(staffinfo);
    // add success messages
    if (isNew) {
    messages.add(ActionMessages.GLOBAL_MESSAGE,
    new ActionMessage("staffinfo.added"));
    // save messages in session to survive a redirect
    saveMessages(request.getSession(), messages);
    return mapping.findForward("search");
    } else {
    messages.add(ActionMessages.GLOBAL_MESSAGE,
    new ActionMessage("staffinfo.updated"));
    saveMessages(request, messages);
    return mapping.findForward("edit");
    public ActionForward search(ActionMapping mapping, ActionForm form,
    HttpServletRequest request,
    HttpServletResponse response)
    throws Exception {
    if (log.isDebugEnabled()) {
    log.debug("Entering 'search' method");
    Manager mgr = (Manager) getBean("manager");
    request.setAttribute(Constants.STAFFINFO_LIST, mgr.getObjects(Staffinfo.class));
    return mapping.findForward("list");
    public ActionForward unspecified(ActionMapping mapping, ActionForm form,
    HttpServletRequest request,
    HttpServletResponse response)
    throws Exception {
    return search(mapping, form, request, response);
    import java.io.File;
    import java.io.FileOutputStream;
    import java.io.InputStream;
    import java.io.OutputStream;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import org.apache.struts.action.Action;
    import org.apache.struts.action.ActionForm;
    import org.apache.struts.action.ActionForward;
    import org.apache.struts.action.ActionMapping;
    import org.apache.struts.upload.FormFile;
    import com.latchiya.Constants;
    import com.latchiya.webapp.form.UploadForm;
    * This class handles the uploading of a resume (or any file) and writing it to
    * the filesystem. Eventually, it will also add support for persisting the
    * files information into the database.
    * <p>
    * <i>View Source</i>
    * </p>
    * @author Matt Raible
    * @struts.action name="uploadForm" path="/uploadFile" scope="request"
    * validate="true" input="failure"
    * @struts.action-forward name="failure" path="/WEB-INF/pages/uploadForm.jsp"
    * @struts.action-forward name="success" path="/WEB-INF/pages/uploadDisplay.jsp"
    public class UploadAction extends Action {
    public ActionForward execute(ActionMapping mapping, ActionForm form,
    HttpServletRequest request,
    HttpServletResponse response)
    throws Exception {
    // Did the user click the cancel button?
    if (isCancelled(request)) {   
    request.removeAttribute(mapping.getAttribute());
    return (mapping.findForward("mainMenu"));
    //this line is here for when the input page is upload-utf8.jsp,
    //it sets the correct character encoding for the response
    String encoding = request.getCharacterEncoding();
    if ((encoding != null) && (encoding.equalsIgnoreCase("utf-8"))) {
    response.setContentType("text/html; charset=utf-8");
    UploadForm theForm = (UploadForm) form;
    //retrieve the name
    String name = theForm.getName();
    //retrieve the file representation
    FormFile file = theForm.getFile();
    //retrieve the file name
    String fileName = file.getFileName();
    //retrieve the content type
    String contentType = file.getContentType();
    //retrieve the file size
    String size = (file.getFileSize() + " bytes");
    String data = null;
    String location = null;
    // the directory to upload to
    String uploadDir =
    servlet.getServletContext().getRealPath("/resources") + "/"
    + request.getRemoteUser() + "/";
    //write the file to the file specified
    File dirPath = new File(uploadDir);
    if (!dirPath.exists()) {
    dirPath.mkdirs();
    //retrieve the file data
    InputStream stream = file.getInputStream();
    //write the file to the file specified
    OutputStream bos = new FileOutputStream(uploadDir + fileName);
    int bytesRead = 0;
    byte[] buffer = new byte[8192];
    while ((bytesRead = stream.read(buffer, 0, 8192)) != -1) {
    bos.write(buffer, 0, bytesRead);
    bos.close();
    location = dirPath.getAbsolutePath()
    + Constants.FILE_SEP + file.getFileName();
    //close the stream
    stream.close();
    // place the data into the request for retrieval on next page
    request.setAttribute("friendlyName", name);
    request.setAttribute("fileName", fileName);
    request.setAttribute("contentType", contentType);
    request.setAttribute("size", size);
    request.setAttribute("data", data);
    request.setAttribute("location", location);
    //destroy the temporary file created
    file.destroy();
    //return a forward to display.jsp
    return mapping.findForward("success");
    ===========================================================================================
    i want to get second jsp file ie upload file to student file
    if anybody know please tell i am new to java side
    regards
    ranga

    ur not able to give solution
    insted giving comment mind ur words being in software fied
    commentting like bad words not good i warn u mind ur words

  • Combining two queries in a join

    SQL> desc messages;
    Name Null? Type
    MESSAGEID NOT NULL NUMBER
    TITLE NOT NULL VARCHAR2(50)
    AUTHOR VARCHAR2(20)
    BODY NOT NULL VARCHAR2(4000)
    BOARD NUMBER
    THREAD NOT NULL NUMBER
    DATE_CREATED NOT NULL DATE
    SQL>
    I'm trying to combine both queries outlined below. The first query
    selects the very first message created in the messages table. It does
    this by checking whether thread=0. If it is that means it started a message.
    The second query checks the number of replies to the thread above.
    The replies to the above message
    will have a thread value the same as the above messageid.
    That is how a reply is identified.
    I am trying to do both queries in one so that the output has
    the starting message first with the name
    of the person who created the new thread(author), date_created, etc....below that
    then is the
    number of replies to the message,the author of each reply and the date....
    I'm using oracle 8i so i cant use the join key word...
    any ideas would be appreciated.
    ----selects message that started thread---------------------------------
    select b.title,b.boardid,m.messageid,m.title,m.author,
    m.date_created,m.body
    from messages m, boards b where b.boardid=m.board and m.thread=0 and b.boardid='198'
    and m.messageid='241';
    Thread title Author Starting message Last post
    Austrailia noel Austrailia 04/01/2005 21:22:35
    -----selects replies to the above message-----------
    select author,date_created,body
    from messages
    where board=198 and thread=241;
    AUTHOR DATE_CREATED BODY
    noel           05-JAN-05 Oz is played on clay
    noel 05-JAN-05 Oz played on grass
    noel 05-JAN-05     Oz played on grass

    This is a duplicate post of the following thread:
    URGENT: combining two sql statements

  • Is there a way to combine two backups on separate disks created by time machine into one on a single disk?

    Is there a way to combine two backups on separate disks created by time machine into one on a single disk? One backup is a continuation of the other and was created when I rec'd a message that the 1st disk was full. I'm using a iMac (late 2010) and both external drives are WD. Thanx.

    With the timeline selected, go to File/Export/Movie and export each as a DV-AVI video.
    You can then combine those AVIs into a new project with virtually no loss of quality.

  • Two Messages via one adapter

    Hi,
    I've developped an adapter and now it's running on the j2ee engine. Currently I'm trying to process the following:
    I have defined two message interfaces for input and want to receive them with the same sender agreement. But always one of the messages works well and the other one produces an error in the integration engine because it tries to handle it if it was the other one.
    What could I have done wrong?
    Daniel

    Daniel,
      I believe you can only use one sender agreement for a message interface. Therefore, I think the best approach would be to create a general message interface. Inside message mapping or BPM parse the data as need, so that you will have 2 resulting message interfaces.
      Dmitriy

  • Dear All, today i am trying to generate a chm in Robohelp 11, by combining two topics under a single book but again and again i am facing same issue  that is "Cannot open the file: mk:@MSITStore: C:\\Users\..\Desktop\filename.chm"

    Dear All, today i am trying to generate a chm in Robohelp 11, by combining two topics under a single book but again and again i am facing same issue  that is "Cannot open the file: mk:@MSITStore: C:\\Users\..\Desktop\filename.chm"
    Amy_WongWoojinDebbieclawsonmghalpinjwarrenJochem van DietenLee Design
    Please help me in solving the same

    HI,
    Thanks for the response.
    I am really tensed for the same...
    Actually the error occurs in the following case:
    1. I am creating a Parent folder in robohelp with the name ABC..
    2. Next Under ABC i have created 2 separate folders say XYZ and EFG.
    3. Under XYZ i have created various Topics say 2 or 3.
    4. Under EFG i have created various Topics say 7 or 8.
    5. Now, i have created a TOC with name for ABC (Parent Folder.)
    6. Next i have dragged and dropped my two sub folders that i have created under ABC in Project Set up wizard that is XYZ and EFG, in order to generate the webhelp first and then the CHM file fo rthe same.
    7. Webhelp is successfully getting generated.
    8. But when i convert the Webhelp to CHM Converter, after few seconds the robohelp gets halt and it shuts up the robohelp, showing a message dialog box that the Adobe Robohelp 11 is Troubleshooting for the error, the Windows manager will get back to you..Someting like this, the .CHM file for the same gets generated on the described path, but when i click on it, it does not open and shows the error as "Cannot open file: mk:@MSITStore: C:\\Users\..\Desktop\filename.chm".
    Please  help me in sorting the above issue.
    According to me:
    I think i am Lacking in the two things:
    1. How to link all the topics with the parent folder.
    2. How to Merge the projects.
    Can you please provide me the link where i can get tutorial to create a TOC for multiple files in a same TOC and to generate a chm for them.
    Actually for single project folder i have worked successfully. But, its first time i have to create a chm with lot many sub folders in it, as like one create a book.
    Please help
    Thanks & Regards,
    dhm

  • Possible to combine two xml documents into a single query?

    In ASP, PHP, etc. if I wanted to combine two tables and
    filter by one =
    item, I would create a recordset combining the two on one
    common element =
    and have one recordset. Is that possible with xml documents
    and Spry =
    datasets?
    I have xml information sent to me 4 times a day from a
    weather service. =
    This happens automatically, but the two xml documents
    (current.xml and =
    forecast.xml) are set in stone by the service. However, if in
    my Spry =
    dataset, I could combine them so I could list the 15 cities
    in a master =
    region and have tabs for the current conditions and forecast
    which would =
    each access a separate xml document but needs to do that from
    the city =
    link on the left, that would work great.
    Can I do this as I would be able to if I had a database with
    different =
    tables?
    Thanks!
    Nancy

    Hi Kin:
    They are really static xml files that are placed in a folder
    directly by =
    the weather service. The files in question are current.xml
    and =
    forecast.xml.
    And there is not one per city .. but just one of each. the
    location =
    node in current.xml and the citycode node in forecast.xml
    contain the =
    same information.
    If I were doing this in a recordset with a database, I would
    write =
    something like SELECT whatever from current, forecast WHERE =
    current.location =3D forecast.citycode AND current.location
    =3D variable =
    (which would be what is clicked on).
    This sets up a master/detail arrangement for the first one
    that works =
    fine. Click on the city code (which I have to write something
    to say If =
    location =3D FAT, document.write "Fresno" and so on) and the
    rest of the =
    current information displays fine on the right side of the
    page. Now I =
    have to marry that to the forecast.xml file so that when
    citycode =3D =
    FAT, the five day information for Fresno shows up .. and so
    on. I was =
    planning to use Spry tabs or whatever to show the data.
    <!--
    var dsCurrent =3D new Spry.Data.XMLDataSet("current.xml", =
    "weather/current");
    //-->
    </script>
    </head>
    <body>=20
    <div class=3D"MasterDetail">
    <div spry:region=3D"dsCurrent"
    class=3D"MasterContainer">
    <div class=3D"MasterColumn" spry:repeat=3D"dsCurrent" =
    spry:setrow=3D"dsCurrent" spry:hover=3D"MasterColumnHover" =
    spry:select=3D"MasterColumnSelected">{location}</div>
    </div>
    <div spry:detailregion=3D"dsCurrent"
    class=3D"DetailContainer">
    <div class=3D"DetailColumn">{phrase}</div>
    <div class=3D"DetailColumn">{temp}</div>
    <div class=3D"DetailColumn">{temp/@units}</div>
    <div class=3D"DetailColumn">{aptemp}</div>
    <div class=3D"DetailColumn">{aptemp/@unit}</div>
    <div class=3D"DetailColumn">{wndchl}</div>
    <div class=3D"DetailColumn">{wndchl/@unit}</div>
    <div class=3D"DetailColumn">{rhumid}</div>
    <div class=3D"DetailColumn">{rhumid/@unit}</div>
    <div class=3D"DetailColumn">{wind_dir}</div>
    <div class=3D"DetailColumn">{windspeed}</div>
    <div
    class=3D"DetailColumn">{windspeed/@unit}</div>
    <div class=3D"DetailColumn">{pres}</div>
    <div class=3D"DetailColumn">{pres/@unit}</div>
    <div class=3D"DetailColumn">{vis}</div>
    <div class=3D"DetailColumn">{vis/@unit}</div>
    <div class=3D"DetailColumn">{icon}</div>
    </div>
    Arnout gave me some suggestions .. but so far, I haven't
    gotten either =
    of them to work. Also I am trying to get some ideas from spry
    Samples =
    from the Spry home page/samples area, but again .. not yet.
    Thanks,
    Nancy
    "kinblas" <[email protected]> wrote in
    message =
    news:[email protected]...
    >I don't think you need to combine them just so they can
    render in a =
    tabbed=20
    > widget. We're still missing a couple of key pieces of
    information. =
    What does=20
    > the data that is used in the master region look like?
    Are what you =
    refer to as=20
    > current.xml and forecast.xml really static files? Or are
    they =
    dynamically=20
    > generated by a server side script (php/cf/etc)? There is
    one current =
    and=20
    > forecast xml per city right?
    >=20
    > I ask these questions because you may be able to simply
    set up a =
    master detail=20
    > relationship between 3 data sets and just use those
    within a region(s) =
    that=20
    > build up the tab widget. Assuming you were getting the
    list of cities =
    from a=20
    > 3rd source, you could set up something like this:
    >=20
    >=20
    > var dsCities =3D new Spry.Data.XMLDataSet("cities.xml",
    =
    "/cities/city");
    > var dsCurrent =3D new=20
    >
    Spry.Data.XMLDataSet("current.php?location=3D{dsCities::name}",=20
    > "/weather/current");
    > var dsForecast =3D new=20
    >
    Spry.Data.XMLDataSet("forecast.php?citycode=3D{dsCities::name}",=20
    > "/weather/forecast/day");
    >=20
    >=20
    > ...
    >=20
    >=20
    > <div id=3D"TabbedPanels1" class=3D"TabbedPanels">
    > <ul class=3D"TabbedPanelsTabGroup">
    >
    Current</li>
    >
    Forecast</li>
    >
    > <div class=3D"TabbedPanelsContentGroup">
    > <div class=3D"TabbedPanelsContent"
    spry:region=3D"dsCurrent">
    > {temp}{temp/@unit}
    > </div>
    > <div class=3D"TabbedPanelsContent"
    spry:region=3D"dsForecast">
    >
    > <li spry:repeat=3D"dsForecast">{name}<br
    />High: =
    {high}{high/@unit}<br=20
    > />Low: {low}{low/@unit}</li>
    >
    > </div>
    > </div>
    > </div>
    >=20
    >=20
    >=20
    > --=3D=3D Kin =3D=3D--
    >

  • How to combine two datarows (business component data) in BI Publisher

    Hi ,
    We are using BI Publisher in Siebel Environment.
    We have data coming from two business components (like from 2 diff tables)
    a) <?for-each:ssTest1?>
    b) <?for-each:ssTest2?>
    ssTest1 and ssTest2 are the business components
    We need to combine these 2 datarows (a&b) and show the data into a single combined data row for ex like <?for-each:ssTest1ssTest2?> and show all the fields in that.
    I'm not sure how we can combine these two data rows into a single combined data row and show the data.
    Any help from any one would be apprecated.
    Thanks
    PV
    Edited by: user8633002 on Oct 21, 2010 4:05 PM

    Hi sajid
    There was nothing more description about your issue in this site and I found an issue below is mostly like yours
    http://www.codeproject.com/Questions/855487/how-to-combine-two-table-value-in-rdlc-report
    In the issue above, if you want to show the two other tables in the report, I think you could combine the tables into one datatable joining on key. The link below show an example of a DataSet Helper from Microsoft about combine DataSets. Take note of
    the related content for other DataSet Helper examples. And then you could use the datatable in your RDLC.
    # HOW TO: Implement a DataSet JOIN helper class in Visual C# .NET
    http://support.microsoft.com/kb/326080/en-us
    In an alternative way, I think you could create a view in the database which combine your tables and use it in your rdlc.
    In addition, your issue is about asp.net and you could get more support in the asp.net forum whose link as below.
    http://forums.asp.net
    Best Regards
    Edward
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. <br/> Click <a
    href="http://support.microsoft.com/common/survey.aspx?showpage=1&scid=sw%3Ben%3B3559&theme=tech"> HERE</a> to participate the survey.

  • Combine two resultset sidebyside in coulmn using mdx

    hi i am new to mdx,
    i want to combine two select statement resultset (side by side like union) using mdx query,please any body help me to solve this query
    first query:
     SELECT
    { [Last Year] }
    ON COLUMNS,
     { {[Location].[Location].&[7], [Location].[Location].&[12], [Location].[Location].&[11],
    [Location].[Location].&[19], [Location].[Location].&[17], [Location].[Location].&[16],
    [Location].[Location].&[9], [Location].[Location].&[18] },{[Location].[Location].[All]}}
    ON ROWS
    FROM [Cube1]
    WHERE ( [Measures].[Labour %] )
    here [Last Year] is a calculated set
    {STRTOMEMBER("[Date].[Month].&["+ cstr(year(now())-2) +"-11-01T00:00:00]"):
            (STRTOMEMBER("[Date].[Month].&["+ cstr(year(now())-1) +"-10-01T00:00:00]"))}
    2nd query:
    WITH MEMBER [Measures].[Budget ] AS IIF(avg([Last Year],IIF(([Measures].[Budget]>0),[Measures].[Budget],null)),
                                            avg([Last Year],IIF(([Measures].[Budget]>0),[Measures].[Budget],null)),0.00),
    MEMBER [Measures].[YTD] AS IIF(avg([Last Year], IIF(([Measures].[Labour %]>0),[Measures].[Labour %],null))<>null,
                                  avg([Last Year], IIF(([Measures].[Labour %]>0),[Measures].[Labour %],null)),0.00),
    FORMAT_STRING = "Standard",
    BACK_COLOR = CASE WHEN [YTD] = 0  THEN /*White*/16777215 /*White*/  
    WHEN [YTD] <= [Measures].[Budget ] THEN 65408
         WHEN [YTD]<= [Measures].[Budget ] +5 THEN 65535
         WHEN [YTD]> [Measures].[Budget ] +5 THEN 255
    END,
    VISIBLE = 1
    SELECT
    {  [Measures].[YTD], [Measures].[Budget ] }
    ON COLUMNS,
    { { [Location].[Location].&[7], [Location].[Location].&[12], [Location].[Location].&[11], [Location].[Location].&[19], [Location].[Location].&[17], [Location].[Location].&[16], [Location].[Location].&[9], [Location].[Location].&[18]
    },{[Location].[Location].[All]} }
    ON ROWS
    FROM [Cube1]
    here   ==> [Measures].[YTD], [Measures].[Budget ] are calculated member
    i want result like in
    coulmns===> ytd,budget,nov,dec,jan,feb.,,,,,,,,,,out
    rows ====> are only locations and total(average of all locations)
    please guide me to get solution like mdx query

    Hi Vsp,
    According to your description, you want to create a calculated member to combine two members, and then set it as Default member, right?
    In SQL Server Analysis Services, we can use the script below to create a calculated members.
    create member currentcube.[Date].[Day of Week].[weekend]
    as
    {[Date].[Day of Week].&[6],[Date].[Day of Week].&[7]
    Every attribute in a dimension in Microsoft SQL Server Analysis Services has a default member, which you can specify by using the
    DefaultMember property for an attribute. This setting is used to evaluate expressions if an attribute is not included in a query. Please refer to the link below to see the detail information about specify a default member.
    http://technet.microsoft.com/en-us/library/ms174822(v=sql.105).aspx
    Regards,
    Charlie Liao
    TechNet Community Support

Maybe you are looking for

  • SCCM 2012 SP1 errors when downloading updates

    Currently using SCCM 2012 SP1 with CU2 and I am having some update download issue with Automatic Deployment Rules. The Environment is:   Server 2008 R2   SCCM 2012 SP1 CU2 (Upgraded from SCCM 2012 CU2) I created an Automatic Deployment Rule for Adobe

  • Won't reconize ipod

    I finally got the whole iTunes/Quicktime thing resolved, and now this is the message I am getting when I plug in my ipod to the computer "The softwear required for communicating with iPod is not installed correctly please reinstall iTunes to install

  • IMovie Hangs After Full Quality Sharing Is Complete

    Hi, Why does this happen? I did a Full Quality Share on a 2-1/2 hour multi-clip movie (using Share Selected Clips Only). The export progress dialog hung after the export was clearly finished. I eventually had to Force Quit iMovie. The exported movie

  • How to upload using  upload button and want to process it....

    Hi, I need a program to upload a file [Excel file] using upload button and want to process the excel sheet and store the data in database. I know that we can upload using Html - file type. but I dont know how to retrieve that uploaded file to process

  • Stock Item Group problem

    I came accross a problem as follows: 1. An Item Group called "SAMPLES" is set to Default Valuation Method to FIFO 2 A Stock Item called Hand Cream Sample is set to GROUP = Samples 3. I expected the Hand Cream Sample item to show FIFO under the Stock