RFC - Soap(Webservice_1, webservice_2) multiple recevers with synchronous

Hi Experts,
My scenario is RFC <-> Soap(Webservice_1, webservice_2) multiple recevers with synchronouse
I get campus_code field from RFC, when campus_code is 25 i need to call webservice_1 , when the campus_code is 35 i need to call webservice_2 as synchronouse call.
Can you please tell me how to implement step by step in recever determination.
Thanks
Dhanush.
Edited by: Dhanush on Jun 16, 2008 5:03 PM

Hi Dhanush,
    Did you try to give a condition in the XPATH Condition editor of the receiver determination section?
1) Click on the Condition editor button in the receiver determinatuion section.
2) YOu will get a pop up screen.
3) On the left hand side of the expression, give the XPATH for the CODE_ID (YOu can use the serach help button to chose your source field.
4) Chose the relation operator as '='.
5) On the righ hand side of the expression, GIve the constant value 35.
Press OK.
Chose the corresponding party and service for your weservice1.
Do the same in next line for webservice2.
After that, you have to define separate Interface determination and receiver agreement for webservoce1 and webservice2 scenarios.
Regards,
Ravi

Similar Messages

  • ERROR During call of SOAP with a SOAP- RFC- SOAP Synchronous scenario

    Hello Experts,
    I've recently created a SOAP->RFC->SOAP synchronous scenario but every time I'm invoking the SOAP via XMLSpy then i will hang and send a timeout error. Also a log in XI was generated as shown below.
    I hope you could help me on this one.
    Runtime Errors         DBIF_RSQL_SQL_ERROR
    Exception              CX_SY_OPEN_SQL_DB
    Date and Time          28.09.2010 09:31:23
    Short text
         SQL error in the database when accessing a table.
    What happened?
         The database system detected a deadlock and avoided it by rolling back
         your transaction.
    What can you do?
         If possible (and necessary), repeat the last database transaction in the
          hope that locking the object will not result in another deadlock.
         Note which actions and input led to the error.
         For further help in handling the problem, contact your SAP administrator
         You can use the ABAP dump analysis transaction ST22 to view and manage
         termination messages, in particular for long term reference.
         Note which actions and input led to the error.
         For further help in handling the problem, contact your SAP administrator
         You can use the ABAP dump analysis transaction ST22 to view and manage
         termination messages, in particular for long term reference.
    Error analysis
         An exception occurred that is explained in detail below.
         The exception, which is assigned to class 'CX_SY_OPEN_SQL_DB', was not caught
          in
         procedure "DELETE_LUW_PACKET" "(FORM)", nor was it propagated by a RAISING
          clause.
         Since the caller of the procedure could not have anticipated that the
         exception would occur, the current program is terminated.
         The reason for the exception is:
         The database system recognized that your last operation on the database
         would have led to a deadlock.
         Therefore, your transaction was rolled back
         to avoid this.
         ORACLE always terminates any transaction that would result in deadlock.
         The other transactions involved in this potential deadlock
         are not affected by the termination.
    Regards,
    Alfred

    Normally such an error comes when the DB of SAP PI is full.
    Contact your BASIS or ADMIN team and ask them to free the DB space.
    Regards,
    Abhishek.

  • Correlation used with synchronous steps in BPM

    Hello,
    we have a problem with a correlation.
    A receiver step synchronous activates a correlation.
    The step is completed by receiving a response.
    The receiver step connects via sRFC to an R/3 system to trigger there an IDOC.
    Next step of the BPM is to receive the IDOC from the R/3 system (async).
    This system uses the correlation (time stamp field from RFC).
    But: This doesn not work.
    We only had success when using an asynchronous RFC.
    Does anybody have experience with such issues?
    What is possibly wrong with our correlation ?
    (Corr. is local within a block where both steps are included, RFC and IDOC step)
    regards
    Dirk

    Here is a little twist to the correlation issue...
    I had the following problem. I have a very simple Sync/Async bridge, including a sync. reveiver (sr) at the beginning, as closing S/A bridge sender (ss) at the end, and a async. sender (as) and an async. receiver (ar) in the middle. My messages have an orderId that I use for my correlation.
    The first receiver (sr) activates the correclation (using the orderId in the request message).
    I then attempted to "use correlation" in my async. receiver (ar) step. The correlation shows up in the drop down options in the properties window of the step, but my selection would not "stick" (it would show it and revert to the red question mark).
    After checking my correlation and unsuccessfully trying a few permutations of where to "activate" the correlation, I tried this:
    I temporarily turned my synchronous steps into asynchronous steps (sr and ss). Then I selected my correlation in the async. receive step and it "stuck". After my selection was accepted in the "use correlation" property of the async. receiver step, I turned my first and last step (sr and ss) back in to synchronous steps and had the desired result.
    ... and it worked! I guess it is just a little bug in the tool (which may not be an issue in later releases?!)
    Marc
    (FYI, I am using XI 3.0 SP 16)

  • HTTP(s) - RFC - HTTP(s) scenario is not working synchronous.

    Dears,
    I have the following scenario.
    our PI system will receive an XML over HTTP(s) from outside company.
    and then our system will send a confirmation to that company.
    I already configured it with synchronous outbound Interface.
    Now, I can post xml to PI URL . and it reached  RFC but no response.
    I checked the SAP XI runtime workbench - adapter logs and i found :
    RfcAdapter received a asynchronous message. Trying to send tRFC for YISU_SAPI_BCONRQ with TID XI051MbW017j2emZuP2jN5nm.
    RfcAdapter received a asynchronous message. Trying to send tRFC for J2EE_GUEST with TID XI051MbW017j2emZuP2jN5nm.
    My interface is synchronous but in the logs showed asynchronous!!!!
    What is the problem????
    Thanks and Regards,

    http://****:50000/sap/xi/adapter_plain?namespace=urn%3ASALE_P&interface=SI_SALE_OB&service=CC_SALE&party=&agency=&scheme=&QOS=EO&sap-user=***&sap-password=***&sap-client=240&sap-language=EN
    just remove the QOS itself. By default it is BE
    http://***:50000/sap/xi/adapter_plain?namespace=urn%3ASALE_P&interface=SI_SALE_OB&service=CC_SALE&party=&agency=&scheme=&sap-user=*&sap-password=**&sap-client=240&sap-language=EN
    refer;
    http://help.sap.com/saphelp_nw04/helpdata/en/43/64db4daf9f30b4e10000000a11466f/frameset.htm

  • Soap request- XI- RFC- RFC- soap response

    Hi,
    I want to implement a scenario like this.
    A third party system use the soap adapter to call the ECC RFC via XI.
    AND I want to write the RFC response into another RFC.
    After that i want to send back another Rfc response result to soap client (third party system).
    So the scenario looks like this
    soap request->XI->RFC->RFC->soap response
    I want to use BPM,but have not too much experience.appreciate your help.
    Regards

    Hi,
    You would need a Synch Asynch Bridge in this case.
    Steps in BPM.
    1. Receive --> Receives SOAP request message --> Select Opens Synch Asynch Bridge
    2. Transfrom --> Map SOAP request to RFC 1's request Message
    3. Send Synchronous --> Make the Synch Call to the RFC and get the Response back.
    4. Transform --> Map RFC 1's response  to RFC 2's Request
    5. Send Synchronous --> Make the Synch Call to RFC 2 and get the RFC response back
    6. Trasnsform -->Map RFC 2's response to SOAP response.
    7. Send --> Select Closes Synch Asycnh Bridge and Send SOAP response back.
    For synch asynch bridge , take a look at this too,
    http://help.sap.com/saphelp_nw04/helpdata/en/83/d2a84028c9e469e10000000a1550b0/content.htm
    Regards,
    Bhavesh

  • RFC-SOAP (B2B)

    Hi....All,
    1) I am doing RFC-SOAP Scenario (B2B), we r getting the response from target(soap) system to XI, from XI we want to send the response to sap system inbox.. how we will send the response from xi to sap inbox.
    pls suggest me..its very urgent?
    2) for RFC-SOAP Scenario WSDL File required or not, pls suggest me...
    if anybody is having the ex scenario pls send it to me that is very great help for me..
    ****for helpful answers i will assign the points*****
    regards,
    Pasi.

    >
    > 2) for RFC-SOAP Scenario WSDL File required or not, pls suggest me...
    To create the message/data structure in IR , which you want to send it  to target system, there are two ways
    1) Manually create it
    OR
    2) Import WSDL file through External Definitions, it will automatically created.
    For communicating( in ID) no WSDLis required only URL is required to communicate with Web Services which is mentioned in WSDL file or you can ask it from client directly.
    Regards,
    Piyush

  • Rfc-soap

    Hiu2026All,
    I am trying to do RFC-SOAP scenario with out using WSDL file, is it possible or not ?
    Or I want to change the scenario.
    if posible how i will procedd pls suggest me
    thanks in advance,
    Jain.

    Hi JAIN,
         If you don't have the WSDL( containing both request and response structures), You must be having the individual request and reponse XSDs right which should be imported in your external definitions.. You can procede with them.You don't need to change the scenario.
    In the following blog you can see this and the usage of XML spy too.
    /people/shabarish.vijayakumar/blog/2006/03/23/rfc--xi--webservice--a-complete-walkthrough-part-1
    /people/shabarish.vijayakumar/blog/2006/03/28/rfc--xi--webservice--a-complete-walkthrough-part-2
    Thanks,
    Vijaya.

  • Multiple interactions with client

    Is it possible to have multiple interactions with the client?
    I have a BPEL process that calls a web service and then replies to the user what is sent back. This is then used by the user to invoke another web service through the business process.
    In other words: the client initiates the process, the process uses this to invoke a service. The reply is sent to the user. The user then sends another message to the process which uses this to invoke another service. The result of the service invocation is sent to the user by the process.
    This seems really simple but I am having trouble achieving this and all examples seem to be one invocation by the client and then one/many replies. If anyone knows if/how this can be achieved it would be greatly appreciated.
    thanks,
    Clive

    yes, its pretty much possible to call the same BPEL instance again and again. This is called Asynchronous call back, and is possible with WS-Addressing or you can use the BPEL Correlation set to achieve this functionality.
    Here is a step by step tutorial on how to achieve this,
    http://technology.amis.nl/blog/2813/use-bpel-correlation-sets-for-repeated-synchronous-access-to-long-running-bpel-processes
    Hope this will resolve your problem...
    -Abhi

  • How do I use edge commons composition loader to load multiple compositions with a next and back button?

    I am working on an interactive book and have set up each page as a separate composition in edge.
    I am using  the edge commons JS library to load multiple compositions into a main composition.
    You can see how this works here: Edge Commons - Extension Library for Edge Animate and Edge Reflow | EdgeDocks.com
    The way the edge commons tutorial is set up requires a button for each composition i want to load. I am interested in loading multiple compositions with a "next" and "back" button, and a "swipe left, "swipe right" gesture on the content symbol that each composition is loaded into. I also need the swipe features on the content symbol not to interfere with the interactive elements on the loaded composition.
    Please suggest a solution that will work without adding additional scripts beyond edge commons and jquery.

    Sort of. I'm using this code inside an action for a button symbol. But it doesn't work perfectly. Trying to debug it.
    Let me know if you have any luck.
    //Check to see if pageCounter already exists
    if (typeof EC.pageCounter === 'undefined') {
      // it doesn't exist so initialize it to first page
        EC.pageCounter = 2;
    //check if the page is only 1 digit -- patch for single digit
    if (EC.pageCounter < 9) {
       // it is, so we need to pad a 0 on the front.
      EC.pageCounterString = "0" + EC.pageCounter;
      //e.g.  01 ...09,11,12,13....115,222352,,....
    else {
      EC.pageCounterString = EC.pageCounter;
    EC.loadComposition(EC.pageCounterString + "/publish/web/" + EC.pageCounterString + ".html", sym.$("container"));
    EC.pageCounter = EC.pageCounter + 1;
    //TODO for back  -1

  • There are multiple users with the same display name

    Hi,
    We have a user and when she get an item assigned to her she sees the following alert:
    "There are multiple users with the same display name USERNAME and at least one of them does not have read permissions to some of the files"
    Now I looked in the database and when I run the following query with the username:
     SELECT     
         [ProviderDisplayName]  
        ,[DisplayName]  
        ,[HasDisplayName]  
        ,[Domain]  
        ,[AccountName]  
        ,[UniqueUserId]  
        ,[LastSync]  
      FROM [Tfs_Configuration].[dbo].[tbl_Identity] where displayname like '%USERNAME%'  
    Then I get 2 same usernames back, How can I get rid of one of them ? When I access TFS trough the portal I only find 1 occurence of this user.
    We use VS2013 and TFS2013 update 4
    Best regards

    Hi DSW,  
    Thanks for your post.
    In your query result, please check if these two users have the same Account Name. if they are two different Account Name in result, it indicate there’s two users have the same display name in your AD, please check that two users’ information in
    your AD. We suggest change one user’s display name in AD.  
    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.
    Click
    HERE to participate the survey.

  • Using multiple desktops with a 4 finger swipe on a Mac Book Pro running Lion- is there a way that I can allow Safari open on several but not all??  Looks like I can set it for one but not others.  All, one, or nothing

    Using multiple desktops with a 4 finger swipe on a Mac Book Pro running Lion- is there a way that I can allow Safari open on several but not all??  Looks like I can set it for one but not others.  All, one, or nothing

    Hey Eric,
    Thanks for taking the time. Unfortunately no that does not solve it. Same as swipe it will get me there and it will show separate programs spaced out. The issue I am having is that all my open word files are bunched up in a pile on top of each other. I can see the edges of each one but I want them to be separated from each other enough that I can visually identify what file is what.
    Again, thanks for trying, it is appreciated.

  • Bridge CS4 won't output to pdf multiple images with same filename

    Hiya...my googling efforts have thus far failed!
    I've got CS4, and in Bridge, I created a New Smart Collection to find all filenames in a folder containing "." or ".jpg" - which in turn searched through all the subfolders like what you used to be able to do in Photoshop CS3.  Very simple stuff, but all the images are jpg's, but in multiple folders (I don't want to move them out of the folders, as the files came from an external source, and there are heaps of folders, and I don't want to pdf each subfolder seperately as it will take forever).
    The problem is that some of the files have the same filenames (again I'd prefer not to rename, as it happens a lot on this project, and they are all over the place).  So whilst Bridge will show the thumbnail images correctly in the content tabbed screen in my New Smart Collection, but once I've done the Output to PDF thing, for example, instead of showing both different images it has pdf only the first image but repeated it twice.  And this happens multiple times throughout the pdf, the more times the same filename is used, the more times the first image gets repeated.
    I know that it is messy to have multiple similar filenames, but why can't bridge just place the image anyway?  It allocated a space for it on the pdf and does show it in bridge, it just doesn't seem to survive the transfer to pdf well.
    The only other thing that I have done is use the below link (which was posted on another adobe forum thread) to create a custom pdf output template (nothing too fancy, just number of rows / columns, size, font etc).  But I've tried using the standard bridge templates and it does the same thing.
    http://www.proficiografik.com/2009/08/03/save-custom-pdf-output-template-in-adobe-bridge-c s4.html
    Any help would be appreciated...even if to tell me that I am being unreasonable!
    UPDATE 16/11/09
    Just to let you know that I seem to have resolved the bug inadvertently with one of the Adobe updates. The below is the link for the AdobeOutputModule-2.1-mul-AdobeUpdate.zip which was released on 2/19/2009 - which allows for headers & footers to be placed in the Ouput pdf. I finally installed it today, and everything seems to be working fine now (i.e. I can pdf multiple images with the same filenames and the pdf will actually show each different image rather than repeating only 1 of the images).
    Must have been a fix installed in the contact sheet templates that get installed with the update - not sure why the original version was corrupted, but I've left that with the Adobe guys (I submitted a bug report - and they were able to replicate the problem but hadn't fixed it as yet).
    http://www.adobe.com/support/downloads/detail.jsp?ftpID=4228
    Message was edited by: djtun71 (16/11/09)

    When I click import from disc I am asked to choose a disc and then I get this message:
    The following photos will not be imported because they are already present in the catalog. To see these photos in the catalog select 'Show in Library' (the import will be canceled).
    This is followed by a long list of images. If I click 'Show in Library' I can see all the images with the same filename. And then they start to automatically write over those images with images from the disc. However they keep the same metadata and keywords from the previous images. If I click on Import and deselect the "don't reimport suspected duplicates" box, it imports only the images that don't share filenames and none of the images that do.
    Is there a way of setting the "Don't reimport suspected duplicates" box in preferences?

  • Multiple Issues with Adobe Creative Cloud app.

    I'm having multiple issues with the Adobe Creative Cloud app.
    1. Neither Photoshop CC nor Prelude CC get past the 47% mark when installing. They constantly give me "Installation Failed" messages. When I click on "Learn More", I'm told that:
    "Installation Failed
    Errors during Installation.(7)
    More Information"
    So naturally, I click on More Information to get the following thrown at me (none of which I understand):
    Exit Code: 7 Please see specific errors below for troubleshooting. For example,  ERROR:   -------------------------------------- Summary --------------------------------------  - 0 fatal error(s), 2 error(s)    ERROR: 12/01/13 13:16:06:425 | [INFO] |  | OOBE | DE |  |  |  | 6076 | ---------- CustomHook_Helperx64 ---- Start ----------  12/01/13 13:16:06:426 | [ERROR] |  | OOBE | DE |  |  |  | 6076 | Cannot load function name 'CSInstallerCustomHookProc' from library C:\Program Files (x86)\Common Files\Adobe\Installers\uninstall\{5F816B76-62F3-41C9-B651-27F49F25F50B}.data. Error 0    ERROR: System check returned with error : -4  -------------------------------------------------------------------------------------
    2. I installed Lightroom 5, then uninstalled it. When I went back to re-install it, the Adobe Creative Cloud app wouldn't let me. It states that my Lightroom 5 is "Up to date" and is in my "Your Apps" section, not in the "Find New Apps" section. I've double checked my Programs and Features in Control Panel, and it's not there. I cleaned my registry, and it's still there. I deleted the "opm.db" file in my OOBE folder, and restarted CC - still nothing.
    I've got to say, guys. I'm not very happy with the amount of time I've spent just trying to install programs on my PC. While the plan is for this to be intuitive at some point, it's not very functional at the moment. Any help you can provide me would be amazing - if you can provide it sooner than later, I'd be over the moon.
    Thanks.

    I fixed it. I fixed it on my own. My journey took over a week (forty hours of back and forths, trial and error, and service!!) and included multiple calls, multiple online chats, unanswered forum posts, Twitter conversations with the Adobe Customer Service team, remote access sessions with Adobe technical teams, and finally this series of emails. In the end, I had to figure it out myself. I'm not happy - not with the time it took, and not with the level service I received based on the urgency that I made clear.
    For anyone else that had this issue (or similar), here is what I did to fix it. This may seem excessive, but that's because I didn't know what else to do. Some of these steps may be redundant, or not required... but I wouldn't know because once I saw that it was working, I just kept going.
    Anyway, here is the solution I came upon (I'm running Windows 7 64-bit):
    1) I uninstalled every single Adobe product (including Flash Player, Acrobat Player, Air, and Digital Editions).
    2) I ran the Cleaner Tool (which is not very good) and came across errors in trying to delete certain folders.
    3) I restarted my computer in Safe Mode, and logged into Windows 7 under my Administrator account.
    4) I manually went into every folder that contained the words "Adobe" and deleted everything. This includes my Program Data folder, my Program Files folders (both x86 and 64-bit), my AppData folders, my Roaming folders, my Temp folders - ANYTHING and EVERYTHING that contained any trace of Adobe, I deleted.
    5) I ran Microsoft Disk Cleanup and Piriform CCleaner to clean my registry and temp files.
    6) I restarted my computer using the normal boot process and logged into Windows as Administrator.
    7) I downloaded the Adobe Creative Cloud installer.
    8) I restarted my computer again, and logged into Windows as Administrator.
    9) I ran the Creative Cloud installer, and installed Premiere Pro.
    10) I restarted my computer again, and logged into Windows as Administrator.
    11) I ran the Creative Cloud installer, and installed Photoshop.
    12) I restarted my computer again, and logged into Windows as Administrator.
    13, 14, 15...) I ran the Creative Cloud installer and installed whatever programs I needed, then I IMMEDIATELY restarted my computer before installing anything else.
    Hope this helps. Good luck!

  • Upload multiple files WITH correct pairs of form fields into Database

    In my form page, I would like to allow 3 files upload and 3 corresponding text fields, so that the filename and text description can be saved in database table in correct pair. Like this:
    INSERT INTO table1 (filename,desc) VALUES('photo1.jpg','happy day');
    INSERT INTO table1 (filename,desc) VALUES('photo2.jpg','fire camp');
    INSERT INTO table1 (filename,desc) VALUES('photo3.jpg','christmas night');
    However, using the commons fileupload, http://commons.apache.org/fileupload/, I don't know how to reconstruct my codes so that I can acheieve this result.
    if(item.isFormField()){
    }else{
    }I seems to be restricted from this structure.
    The jsp form page
    <input type="text" name="description1" value="" />
    <input type="file" name="sourcefile" value="" />
    <input type="text" name="description2" value="" />
    <input type="file" name="sourcefile" value="" />The Servlet file
    package Upload;
    import sql.*;
    import user.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.util.Map;
    import java.util.HashMap;
    import java.util.Date;
    import java.util.List;
    import java.util.Iterator;
    import java.io.File;
    import java.io.PrintWriter;
    import java.io.IOException;
    import java.text.SimpleDateFormat;
    import org.apache.commons.fileupload.servlet.ServletFileUpload;
    import org.apache.commons.fileupload.disk.DiskFileItemFactory;
    import org.apache.commons.fileupload.*;
    public class UploadFile extends HttpServlet {
    private String fs;
    private String category = null;
    private String realpath = null;
    public String imagepath = null;
    public PrintWriter out;
    private Map<String, String> formfield = new HashMap<String, String>();
      //Initialize global variables
      public void init(ServletConfig config, ServletContext context) throws ServletException {
        super.init(config);
      //Process the HTTP Post request
      public void doPost(HttpServletRequest request,HttpServletResponse response) throws ServletException, IOException {
        request.setCharacterEncoding("utf-8");
        response.setCharacterEncoding("utf-8");
        response.setContentType("text/html");
        PrintWriter out = response.getWriter();
        Thumbnail thumb = new Thumbnail();
        fs = System.getProperty("file.separator");
        this.SetImagePath();
         boolean isMultipart = ServletFileUpload.isMultipartContent(request);
         if(!isMultipart){
          out.print("not multiple part.");
         }else{
             FileItemFactory factory = new DiskFileItemFactory();
             ServletFileUpload upload = new ServletFileUpload(factory);
             List items = null;
             try{
                items = upload.parseRequest(request);
             } catch (FileUploadException e) {
                e.printStackTrace();
             Iterator itr = items.iterator();
             while (itr.hasNext()) {
               FileItem item = (FileItem) itr.next();
               if(item.isFormField()){
                  String formvalue = new String(item.getString().getBytes("ISO-8859-1"), "utf-8");
                  formfield.put(item.getFieldName(),formvalue);
                  out.println("Normal Form Field, ParaName:" + item.getFieldName() + ", ParaValue: " + formvalue + "<br/>");
               }else{
                 String itemName = item.getName();
                 String filename = GetTodayDate() + "-" + itemName;
                 try{
                   new File(this.imagepath + formfield.get("category")).mkdirs();
                   new File(this.imagepath + formfield.get("category")+fs+"thumbnails").mkdirs();
                   //Save the file to the destination path
                   File savedFile = new File(this.imagepath + formfield.get("category") + fs + filename);
                   item.write(savedFile);
                   thumb.Process(this.imagepath + formfield.get("category") +fs+ filename,this.imagepath + formfield.get("category") +fs+ "thumbnails" +fs+ filename, 25, 100);
                   DBConnection db = new DBConnection();
                   String sql = "SELECT id from category where name = '"+formfield.get("category")+"'";
                   db.SelectQuery(sql);
                    while(db.rs.next()){
                      int cat_id = db.rs.getInt("id");
                      sql = "INSERT INTO file (cat_id,filename,description) VALUES ("+cat_id+",'"+filename+"','"+formfield.get("description")+"')";
                      out.println(sql);
                      db.RunQuery(sql);
                 } catch (Exception e){
                    e.printStackTrace();
            HttpSession session = request.getSession();
            UserData k = (UserData)session.getAttribute("userdata");
            k.setMessage("File Upload successfully");
            response.sendRedirect("./Upload.jsp");
      //Get today date, it is a test, actually the current date can be retrieved from SQL
      public String GetTodayDate(){
        SimpleDateFormat format = new SimpleDateFormat("yyyyMMdd");
        String today = format.format(new Date());
        return today;
      //Set the current RealPath which the file calls for this file
      public void SetRealPath(){
        this.realpath = getServletConfig().getServletContext().getRealPath("/");
      public void SetImagePath(){
        this.SetRealPath();
        this.imagepath = this.realpath + "images" +fs;
    }Can anyone give me some code suggestion? Thx.

    When one hits the submit button - I then get a 404 page error.What is the apaches(?) error log saying? Mostly you get very useful information when looking into the error log!
    In any case you may look at how you are Uploading Multiple Files with mod_plsql.

  • BO xi 3.1 u2013 schedule a template for multiple reports with different column

    Hi,
    I need to migrate the existing reports from SQL Server Reporting Services to BO, and the column order in the report is very important to the clients since clients have existing code to ingest these reports into their database. Now I want to schedule a single template with different parameters for all reports in BO, or create a single template with lot of parameters for all reports. My question is how I might use one template to create multiple reports with different column orders in the reports?
    For example, client A has the following column order in their report: firstName, LastName, DateBirth, SSN. Client B has the following column order in their report: SSN, DateBirth, LastName, FirstName. Can I use one template to create these multiple reports?
    Thanks!

    Hi,
    The only approach I can think of is to create a template report which uses variables
    For each column you would need to variable
    v_columnAName and v_columnAValue
    v_columnAName would have a if statement in it
    =if([client]="clientA" or [client]="clientC";NameOf([firstName]);if([client]="clientB";NameOf([SSN]);NameOf([lastName]));
    v_columnA would have a if statement in it
    =if([client]="clientA" or [client]="clientC";[firstName];if([client]="clientB";[SSN],[lastName]));
    This would only work when you had a small set of clients.
    This might be more managable if it was done in the universe
    Regards
    Alan

Maybe you are looking for

  • Dead screen on iMac -- worth reparing?

    A friend gave our family an iMac 2.16 core 2 duo (model A1207). "Everything works fine, except the screen has (apparently) died." Is this worth paying to fix? Fair assumption that the computer has otherwise been well taken care of.

  • Master data from transaction data

    Hi All, I am getting data from R/3. I am also getting data from another web based application which takes its basic master data from R/3. Now from the transaction data from the web based application(coming to BW as flat file), I am getting a field Ma

  • Error when running Simple Sample Apps

    Hi, I have deployed "simple sample apps" to NW CE71 EHP1 and was following the configuration document. And when i run the application I get following  error: Error in Connectiont :Could not retrieve metadata Can somebody advise how to fix the issue?

  • User tracking acquisition

    Hello, every time i try to start the User Tracking on the campus manager page i get this error : Construction of XML data required for UT is in progress.Please try after some time i waited 2 days.. and i still get the same error any ideas ? Thanks

  • I'm having trouble displaying an applet correctly on a consistant basis

    I have a webpage that displays two applets. I wanted only one to be visible at a time so I set one to be hidden and one to be visible. Then i made a link with a javascript function attached that would switch the visibility of the applets. The problem