Date format when getting a PDF document with RESTful changes

Hi all,
I have a simple document with a date concatenation (as a string) for DateFrom - DateTo (for example "1/4/2015 - 30/4/2015")
When I am in WebI I can see it in this format, even if I export it to PDF or Excel.
However when I open it using BO BI 4.1 SDK RESTful in PDF or Excel, the date changes to "American format" like this : "4/1/2015 - 4/30/2015"
Is there a way to avoid this, either as an option/parameter in the RESTful call or in the configuration of the BI server?
Thanks

Hello Enrique,
Are you using the same user in Webi vs REST? I ask because the locale used is the PVL (prefered viewing locale) one.
You can override the locale using a http header : X-SAP-PVL. But, you have to be very careful because you have to set the same header value in subsequent RESTful calls.
Indeed, internally, we handle one document instance for each used locale.
Regards,
Anthony

Similar Messages

  • When editing a PDF document with fillable forms, I get an unhandled exception error when scrolling past the first page

    The first error is "An unhandled Win32 exception occurred in Acrobat.exe [4644]"
    A debug window comes up after this and I open Visual Studio (not my area of expertise), and a couple more messages come up that may be helpful.
    Unhandled exception at 0x625628db in Acrobat.exe: 0xC0000005: Access violation reading location 0x00000044.
    Then
    [Frames below may be incorrect and/or missing, no symbols loaded for AcroForm.api]
    This is on Windows 7, running Acrobat Pro version 9.5.5
    No new updates are available either.
    Any ideas where to start? This happens with a couple of documents, but not all that are being edited.

    I am also getting the same error for fill-able PDFs. Were you able to find an answer/solution for this problem?
    I am using Acrobat X Pro on Windows 7
    Any help would be appreciated..

  • Problem with data format when getting from a database

    I'm trying to get a date from the database but the problem is that it also return the time. I have tried to change the format of the date when retrived from my database but it still returns the time.
    Any solutions?
    String theDBDate = rset.getString("date_of_call");
    SimpleDateFormat formatterdate = new SimpleDateFormat ("EEE, MMM d, ''yy");
    String date = formatterdate.format(theDBDate);
    theCalls.setDateofCall(date);// callin my Call Class to store the date which is a string

    Hi could any help me? I have this problem for the last few day. I gave up on it for a while but today I'm trying to get to the botton of this problem.
    I connecting to an oracle database but it return back the date & time but I want only the date.
    Here my code.
    Locale currentLocale= new Locale("en","GB");
    Date today = new Date();
    DateFormat formatter = DateFormat.getDateInstance(DateFormat.DATE_FIELD,currentLocale);
    String theSQL = (" Select * From Call ") ;
    Statement stmt;
    stmt = conn.createStatement();
    ArrayList CallsList = new ArrayList();
    ResultSet rset;
    rset = stmt.executeQuery(theSQL);
    while(rset.next() == true)
    Call theCalls = new Call();
    theCalls.setCallNo(rset.getInt("call_no"));
    theCalls.setUsername(rset.getString("username"));
    theCalls.setCompID(rset.getString("comp_id"));
    theCalls.setTimeofCall(rset.getString("time_of_call"));
    Date todaydate = rset.getDate("date_of_call");
    Timestamp theDBDate = rset.getTimestamp("date_of_call");
    SimpleDateFormat formatterdate = new SimpleDateFormat ("EEE, MMM d, ''yy");
    String date = formatterdate.format(theDBDate);
    theCalls.setDateofCall(date);
    theCalls.setPriorty(rset.getString("priorty"));
    theCalls.setProbCat(rset.getString("problem_cat"));
    theCalls.setProbDesc(rset.getString("problem_desc"));
    theCalls.setCloseDate(rset.getString("close_date"));
    theCalls.setProbSol(rset.getString("problem_sol"));
    theCalls.setStatus(rset.getString("status"));
    theCalls.setAssign(rset.getString("assign"));
    CallsList.add(theCalls);
    conn.close();
    return CallsList;

  • CFChart images broken when creating a PDF document with SSL

    I have a report that I create with Coldfusion, that includes a number of CFChart objects.  I recently installed a new SSL certificate, and now all the charts show up as broken links.   It shows up fine if I try and display this as HTML. On the chance it was something weird about my (lengthly) report, I created the following sample code that I saved in a file called foo.cfm:
    <cfset sDir = "C:/">
    <cfset filename = "foo123.pdf">
    <cfdocument format="pdf" filename="#filename#" overwrite="yes" marginleft=".7" margintop=".3" backgroundvisible="yes">
    TEST 12345
    <br>
    <br>
    <div style="height:500px;float:right; margin-left:10px; margin-top:10px; margin-right:10px; margin-bottom:10px;">
        <cfchart
            format="png"
            chartwidth="400"
            chartheight="360"
            showborder="no"
            databackgroundcolor="##ffffff" 
            fontbold="yes"
            sortxaxis="no"
            yoffset=".1"
            scaleto="100"
            showmarkers="no"
            show3d="no"
            fontsize="11"
              >
        <cfchartseries type="bar" datalabelstyle="none" seriescolor="##00CC99" paintstyle="shade">
        <cfchartdata item="B" value="40">
        <cfchartdata item="A" value="50">
        <cfchartdata item="E" value="80">
        <cfchartdata item="S" value="30">
        </cfchartseries>
        </cfchart>
    </div>
    </cfdocument>
    <cfoutput>
    <a href="#filename#" target="_blank">Foo</a>
    </cfoutput>
    If I go to the URL https://www.mywebsite.com/foo.cfm, the foo.pdf file shows a broken link.  If instead I go to http://www.mywebsite.com/foo.cfm the image of the chart shows up just fine. 
    The weird thing is that I have an older server running CF9.0.0.  On this server it works just fine.  On another server with 9.0.1, it breaks.  Same with 9.0.2, and CF 10. 
    I read something about needing to install the cert in a keystore, and I did this but it changed nothing.  The image is still broken in the pdf. 
    Any help would be greatly appreciated.  We have been able to work around the issue by posting the image in a non-secure location, but this seems like a hack, not a proper solution.

    Hi Anit, thanks for the feedback.  I did try this on a different server, using the instructions here:
    http://helpx.adobe.com/coldfusion/kb/import-certificates-certificate-stores-coldfusion.htm l
    and then restarted ColdFusion, but it didn't seem to fix the issue.  How would I check that the certificate has been correctly imported?  Also, how can I define what URL Coldfusion uses to get the images it creates with CFChart?   Though it seems to me this should "just work" by default, if I've followed the steps correctly, and I should have to edit any config files.

  • How do I solve font changes when downloading a PDF document?

    When downloading some PDF documents, the font changes.  I have tried several troubleshooting solutions, but my issue was not solved.  What can I do to prevent this from happening or if it does, to remedy the problem?

    Yes, Ajlan, thank you. I solved the issue by opening PDF documents of unwanted fonts with another PDF document reader.  When I open my files folder, there is an option (drop down box) at the top that allows for me to choose from either Adobe Reader or PDF Vista.  It may have been there all along; I just didn't notice it until I recently had this issue.
    Take care :-)
    Angela

  • How do I get a PDF document put into an attachment form that I can drag to an e-mail.  Usually I get an icon showing an spiral note book which then becomes an attachment when I drag it to the e-mail, but occasionally it stays in PDF and prints out on the

    How do I get a PDF document put into an attachment form that I can drag to an e-mail.  Usually I get an icon showing an spiral note book which then becomes an attachment when I drag it to the e-mail, but occasionally it stays in PDF and prints out on the e-mail.  What have I done differently?

    Thanks again for the detailed instructions Srini!
    And I really hate to be a pest . . . but . . .
    Using your example and not modifying it, I get the e-mail form filled out correctly and the pdf attached, however, I'm not prompted to sign it.
    Any more clues?

  • I can't open any pdf documents with Adobe Reader XI...get an error that "Adobe has stopped working" then it closes.  Any suggestions?

    I can't open any pdf documents with Adobe Reader XI...get an error that "Adobe has stopped working" then it closes.  Is this an Adobe issue, Microsoft issue, or security issue? 

    Thank you!  That seemed to do the trick.  Don't think I'd ever have figured that one out!!
           From: pwillener <[email protected]>
    To: Sharon Atkins <[email protected]>
    Sent: Monday, February 16, 2015 9:47 PM
    Subject:  I can't open any pdf documents with Adobe Reader XI...get an error that "Adobe has stopped working" then it closes.  Any suggestions?
    I can't open any pdf documents with Adobe Reader XI...get an error that "Adobe has stopped working" then it closes.  Any suggestions?
    created by pwillener in Adobe Reader - View the full discussionSince you mention Microsoft, I assume that you are on Windows. Can you open Reader by itself?  If so, try disabling Protected Mode Edit . If the reply above answers your question, please take a moment to mark this answer as correct by visiting: https://forums.adobe.com/message/7201334#7201334 and clicking ‘Correct’ below the answer Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: Please note that the Adobe Forums do not accept email attachments. If you want to embed an image in your message please visit the thread in the forum and click the camera icon: https://forums.adobe.com/message/7201334#7201334 To unsubscribe from this thread, please visit the message page at , click "Following" at the top right, & "Stop Following"  Start a new discussion in Adobe Reader by email or at Adobe Community For more information about maintaining your forum email notifications please go to https://forums.adobe.com/thread/1516624.

  • PDF document with text with a β character, when uploaded changes to a !

    PDF document with a beta character, when uploaded it changes to a !  How do I correct?

    Uploaded via https://app.applyyourself.com/AYUploadDocumentation/document_97063027.pdf?AYID=995F9F8-B28 8-41DC-9DAA-70DD6A0258D&a=97063027.
    I do not think I am not viewing it thru Adobe Reader.
    This is the printed copy:
    A NOVEL GSK-3! OVER-EXPRESSING MOUSE MODELOF
    PARKINSON’S DISEASE
    1Megan Winter, 2Jonathan Wills, & 2Anita Sidhu
    1Department of Biology, Georgetown University; 2Department of Biochemistry and Molecular and Cell Biology,
    Georgetown University School of Medicine

  • Hello, the "sign" feature does not show when i open a pdf document with reader (MAC)

    Hello, the "sign" feature does not show when i open a pdf document with reader (MAC)

    Hi mentane,
    Thank you for posting on the Adobe forums, what is the version of Adobe Reader you are working with.
    Open Adobe Reader>Adobe Reader>about Adobe Reader.
    Thanks,
    Vikrantt Singh

  • Problem in printing pdf document with java code

    Hi All
    I want to print a pdf document with java code i have used PDFRenderer.jar to compile my code.
    Code:
    File f = new File("C:/Documents and Settings/123/Desktop/1241422767.pdf");
    FileInputStream fis = new FileInputStream(f);
    FileChannel fc = fis.getChannel();
    ByteBuffer bb = fc.map(FileChannel.MapMode.READ_ONLY, 0, fc.size());
    PDFFile pdfFile = new PDFFile(bb); // Create PDF Print Page
    PDFPrintPage pages = new PDFPrintPage(pdfFile);
    // Create Print Job
    PrinterJob pjob = PrinterJob.getPrinterJob();
    PageFormat pf = PrinterJob.getPrinterJob().defaultPage();
    pjob.setJobName(f.getName());
    Book book = new Book();
    book.append(pages, pf, pdfFile.getNumPages());
    pjob.setPageable(book);
    // System.out.println(pjob.getPrintService());
    // Send print job to default printer
    pjob.print();
    but when i am running my program i am getting error
    Exception in thread "main" java.awt.print.PrinterException: Invalid name of PrintService.
    Please anybody, knows the solution for this error?
    Thanks In Advance
    Indira

    It seems that either there is no default printer setup or you have too many printers or no printer setup at all. Try running the following code. It should print the list of available print services.
    import java.awt.print.*;
    import javax.print.*;
    public class PrintServiceNames{
         public static void main(String args[]) throws Exception {
              PrintService[] printServices = PrinterJob.lookupPrintServices();
              int i;
              for (i = 0; i < printServices.length; i++) {
                   System.out.println("P: " + printServices);
    }From the list pick one of the print service names and set it explicitly like "printerJob.setPrintService(printServices);" and then try running the program.

  • How do I maintain column formatting when converting from PDF to Excel?

    How do I maintain column formatting when converting from PDF to Excel? All info is no longer on the lines or in the columns they started out being in? Any help would be appreciated.

    Sara,
    Perhaps I am expecting too much from Adobe ExportPDF. The reason I subscribed to this service, for which I pay a yearly fee, was that I need a way to  convert scanned and digital documents to Word &/or Excel. I read the link you included but to be candid the more I tried to understand what was written the more confused I got. The process should not be this difficult. Currently I am using a NEAT scanner to create PDF documents of whatever I scan. After I changed the OCR setting on Adobe ExportPDF the output was much better but not to the point it was usable as it was. Information that appears to be lines and columns are sometimes not recognizing two columns and just putting them together in one. Obviously not usable. The other thing it does is bunch numbers that appear in a column that are just a bunch of numbers that I have no way of fixing. 
    Please let me speak to someone who can help me. Right now I not getting anything of value in my paid subscription.

  • How to creat pdf documents with printing restrictions in Aperture

    Hi,
    I wondered if it is possible to create a pdf document made up of 9-12 image per page contact sheets, to send to clients that restricts the client to open and view only i.e no printing allowed.
    Photoshop allows this, however i would like to create /correct versions in aperture and then create a pdf [with the above printing restrictions applied, simply to save time.
    the way i work in photoshop is to export approx a 500 to 1000 jpegs [ per client] in aperture to a folder which I then open with Bridge- create the contact sheets and then create the pdf document with printing restrictions applied.
    is there any way for me to make this simpler, especially just using Aperture?

    just been reading about terminal on another thread.... Spinning beach ball,,[page 2 of Aperture discussions].Apparently there is a command line explained there that can help speed up Aperture. I tried it but Had a problem when trying to type in my Password... It would not let me type anything....So I canceled the proceedure. [ knowing my luck I would cause some irrepairable damage to the machine].
    Think I need to do a lot of reading up to get up to scratch with folk using this discussion Board!!!
    With regards to the pdfauxinfo- is it complicated to get running, or does it run straiaght away in automator?

  • Adobe Acrobat 9 Pro do not open when printing a pdf document. Can anyone help?

    Adobe Acrobat 9 Pro do not open when printing a pdf document, instead I open it with Adobe Reader X to be able to print.
    Can anyone help?

    Hi Edna,
    It sounds like Adobe Reader X is your default PDF file handler. Launch Adobe Reader X.  Choose Edit > Preferences > General.  Click the 'Select Default PDF Handler' button at the bottom and choose Acrobat 9 from the drop-down menu.  Click Apply, then OK.
    Restart your computer.  Acrobat 9 should now be your default PDF file handler again.
    -David

  • Sending a PDF document with email from ITS.

    Hi all,
    I'm working on the following scenario:
    I've a sapscript form which is being converted to PDF and then being dispatched to logged in user's email id. All this is happening in a report.
    Now, when I call this report from ITS, the email with PDF is not sent.
    I'm using following chain to do this task.
    1. Call a RFC function (FM1) module from ITS.
    2. Call another function module (FM2) from this function module starting a new task.
    3. From this second function module, I submit my aforesaid report with this code.
    SUBMIT ZV_SCRP_DOWN_PDF
      WITH s_vbeln   =  contract
      WITH p_parvw   =  p_parvw
      with user      =  user
      and return.
    4. Commit work in first function module(FM1).
    The problem is that this chain does not run when I call it from my ITS application whereas the same chain runs smoothly from sap, i.e I call the first function module and the email with pdf is sent to my email id. What am I missing here. Pl. help.
    Thanks in advance.
    Vishwas.

    Hello,
    The parameters that can be used in the URL when opening a PDF document are
    described in the document :
    Open Parameters for PDF
    http://partners.adobe.com/public/developer/en/acrobat/PDFOpenParameters.pdf
    Regards

  • When opening a pdf document in Adobe Reader the font of the original document is changed....It becomes a mix of the original font and a new different font. How can i fix this

    When opening a pdf document in Adobe Reader the font of the original document is changed....It becomes a mix of the original font and a new different font. How can i fix this

    This issue occurs with most of the PDFs that I open up. I am using the latest version of adobe reader on my windows based machine and it is a general PDF. I saw a similar post online stating that if you look at the fonts used in the document and it doesn't say (Embedded) next to it, then Adobe Reader will try to pull the font(s) from your computer and if it doesn't find that font then it will replace it which makes it look funny.

Maybe you are looking for

  • Would a 347 MB file be slow? Auto save and auto type turn off?

    I am doing an art inventory and add jpegs of the art. I don't resize them they range from 750k to 3MB. I guess if it is slowing the program down i should? It currently is 267 rows by about 18 columns. Thanks in advance. Oh can I turn off auto save an

  • How to invoke Matlab from Java

    Hi, I want to pass some data generated from Java class to Matlab, then invoke Matlab from Java to run the computation program (file written in Matlab, myfile.m). I know Matlab can use classes generated from Java, how to drive Matlab from Java? I appr

  • Can't see folders on desktop

    I restored a backup and computer tells me I can't see files on desktop even after I verify disk permissions How do I fix this?

  • Password protect email

    Can some one please tell me why Apple has not sent out an update so we have the ability to password protect our email accounts all at once or choose which ones we want to protect. I know people have been asking this question for quite a while, Is thi

  • Using Imovie 06 files in Imovie 8

    Hello, I did an imovie file with Imovie06 but it is impossible to load it in I movie 08. It is as Imovie08 does not see it and is therefore unable to load it. Is there a way to have it visible from I movie 08? And otherthing my I movie weight 23Go, c