PDF loading issue

Hello Everyone,
Issue:
PDF not loading on first click but loads properly on refreshing the same page.
Scenario:
I am creating a PDF using PDF action blocks and calling the PDF on click of a button.
On click of button, I am calling the following url format in window.open command:
"http://"+location.host+"//XMII/Runner?Transaction=<TransactionPath>&<Param1Name>="+<Param1Value>+"&<Param2Name>="+<Param2Value>+"&OutputParameter=<PDFOutParam>&Content-Type=application/pdf&isBinary=true"
Pls provide some solution.
Regards,
Minakshi

Hi Minakshi,
It could be possible that a JavaScript error is occurring just before window.open method. In IE or chrome, you could press F12 (developer tool) and check in console if that's the case.
You can also use the "Network" tab in the developer tool to see is the url is even being called or not.
Try running the url in the browser directly, see if gives you the expected results.
Lastly you could try replacing window.open() with window.location.href = "your url" and see if it helps.
"http://"+location.host+"//XMII/Runner?Transaction=<TransactionPath>&<Param1Name>="+<Param1Value>+"&<Param2Name>="+<Param2Value>+"&OutputParameter=<PDFOutParam>&Content-Type=application/pdf&isBinary=true"
Since you are calling the trasnaction in the same MII server,  you do not have to use http://serverName.. Just give the URL starting from "/XMII/Runner?Transaction=.........." and it should work.
Regards
Tufale Ashai

Similar Messages

  • Regarding blackberry browser PDF loading issue?

    Hi All,
    I have uploaded a PDF file on server and in blackberry browser m providng the URL for that particular PDF. I  have used BlackberrySessionFactory and ServiceRecordHelper class which are provided by RIM.
    The problem is sometimes browser doesn't take much time to downlaod PDF.
    and in some cases browser takes much time to download.
    I am not able to figure it out what exactly the problem is.
    Is it because of network speed or is there some other issue??
    Would be of great help if somebody can send a reply.
    Thanks.

    Hi sumit,
    I am facing the same issue. Are you trying to view the pdf in the browser of the simulator or the actual device? For me, the browser does not render the pdf at all in the simulator. Apparently I need to have BES to view the pdf on the simulator browser. Here's the post that says so:
    http://supportforums.blackberry.com/t5/Web-Development/Viewing-PDF-through-simulator/m-p/25503#M81
    If you can view the pdf on the browser of the Simulator without the BES, then I need to ask a few questions.
    Much Obliged.

  • BW sales load issue

    I have a problem with this.  The jobs in the screen snapshot below are running too long - 2LIS_11_VAITM, 2LIS_11_V_ITM, and 2LIS_13_VDITM.  They use to run for just a couple of minutes.  The job configuration is; when the first job finishes a delay of 10 minutes will be incurred then the second job will run, then another 10 minute delay before the third job runs.  After these 3 jobs are complete an activation job needs to run.  This activation job began to fail because the first 3 jobs were not finished.  For now, the activation job has been moved but we need to understand why these are running longer and fix it.  We may be experiencing a problem with database performance in PDF but I would not think it would take that much longer. 
    This is the BW sales load issue
    The info-package group is schedule @ 00:05 am and it contains 3 info-packages: VAITM, V_ITM and VDITM with 10 minutes execution gap.
    The first VAITM started 00:05:46 and ended it up in BW at 00:09:02.
    Then we have 10 minutes delayed between jobs.
    V_ITM started 00:20:12 and for some reason it finished at 01:00:51. We can see communication between PDF and BWP took much longer than normal.
    Then we have 10 minutes delayed between jobs
    At 01:00:25 the activation job started and failed. It requires the info-packages to be in GREEN status but V_ITM finished @ 01:00:51.
    It probably failed because V_ITM still had YELLOW status at the moment.
    VDITM started 01:12:02 and finally finished it load at 02:09:16. A big communication delayed between system.
    See below an example of the load on the 01/14/2007. It looks normal communication between systems
    Could you please give solution for this.
    Thanks
    Vasu.

    Hi,
    For every job you define and at the same time, you can also define the priority
    levels to each job, since, during your job execution might be your job queue is
    full with some other background processings, so try setting up the priority levels
    of the job.
    cheers,
    Pattan.

  • SAP Mobile Sales 2.0 delta load issue for Sales Orders

    Hello,
    we have used Mobile Sales 2.0 with a Windows app for a while now. Our current issue is that sales reps won't see any historical sales order data on their devices.
    Background
    Due customer requirements, we need to make small changes to customer master data attributes and reload all customers from ERP to CRM. Then we ran delta loads (MAS_PARTNER followed by all other objects) to DOE, in which virtually all 5000+ customer accounts were compared. The delta load ran for about 3 days (some performance bottleneck we haven't located yet).
    During the delta load, data on devices was inconsistent. Accounts were missing and all transaction data disappeared. After the delta loads, all accounts and contacts are OK, save for a few. Data from activities (appointments, tasks) have reappeared, as they should. Only sales orders won't reappear. The sales orders exist in the backend and belong to active accounts and sales reps.
    Settings and troubleshooting so far
    We don't have any limitations for sales orders in CRM Sales Mobile configuration.
    We've run delta loads for all objects in transaction SDOE_LOAD.
    MAS_CUSTOMIZATION etc seem fine.
    We've re-run initial load for sales orders from CRM.
    In the test system, we've even reinitialized the whole CDS database on DOE and on the devices, then re-ran the loads.
    Checked steps suggested in discussion
    SAP CRM 2.0 initial load issue
    Historical sales orders (those created before the master data reload) exist in the backend, but don't show up on the device.
    If I change one of those historical sales orders in the backend, it gets sent to the device.
    If I create a new sales order in the backend or on the device, it is saved and replicated just fine.
    To sum it up, it seems DOE is unable to identify the sales orders relevant for replication.

    First Doubt i got clarify by my self as we can go with Unwired Runtime option .
    But i still have doubt in :
    2. How can i Modifying the Main Menu for iOS.
    i am able to customize the same for windows using files SybaseCRM.Configuration.xml file.
    Same how can i do for iphone/ipad.

  • Report loading Issue

    Hello all,
    I am using Oracle 6i  for  report and oracle10g for the database.I have created a matrix report in oracle Report but which report taking so much time  to show the output it almost taking more than 10 minutes,at the same time that query executed within 1 minute in toad which used in matrix report.
    kindly guide me how to solve the loading issue.

    I did not used any formula column in my report,all the values are taking from query.
    But I used different types of format trigger in my report for the coloring purpose.Does it make any problem?

  • Data Load Issue "Request is in obsolete version of DataSource"

    Hello,
    I am getting a very strange data load issue in production, I am able to load the data upto PSA, but when I am running the DTP to load the data into 0EMPLOYEE ( Master data Object) getting bellow msg
    Request REQU_1IGEUD6M8EZH8V65JTENZGQHD not extracted; request is in obsolete version of DataSource
    The request REQU_1IGEUD6M8EZH8V65JTENZGQHD was loaded into the PSA table when the DataSource had a different structure to the current one. Incompatible changes have been made to the DataSource since then and the request cannot be extracted with the DTP anymore.
    I have taken the follwoing action
    1. Replicated the data source
    2. Deleted all request from PSA
    2. Activated the data source using (RSDS_DATASOURCE_ACTIVATE_ALL)
    3. Re transported the datasource , transformation, DTP
    Still getting the same issue
    If you have any idea please reply asap.
    Samit

    Hi
    Generate your datasource in R/3 then replicate and activate the transfer rules.
    Regards,
    Chandu.

  • PDF access issue with OHS WebGate

    Hi all,
    The architecture has OAM, OID, Documentum server. OID is used as user store for OAM. Documentum application is deployed in WebLOgic server. There is a OHS server front ending the WebLOgic server where we installed the webgate. We are protecting the Documentum URL through OHS host name in OAM Policy domain and everything is working fine so far. While downloading a pdf document in Documentum server application, it is processing as 33% and hangs over for 5 mins and finally displays an error given below.
    invokeMethod() failed while calling: onReturnFromProgress
    Operation failed : com.documentum.ucf.common.transport.TransportException: Client failed to handshake with server within 250 seconds.
    After closing this window, press the Refresh or Reload button on your browser to continue
    I have seen couple of metalink notes about this pdf webgate issue and tried several options for webgate params CachePragmaHeader and CacheControlHeader.
    Tried the following combinations:
    CachePragmaHeader           private
    CacheControlHeader private
    CachePragmaHeader           novalue
    CacheControlHeader novalue
    CachePragmaHeader           public
    CacheControlHeader public
    CachePragmaHeader           novalue
    CacheControlHeader private
    CachePragmaHeader           novalue
    CacheControlHeader public
    Like this I have tried almost 9 combinations but no luck. Also tried disabling the IP validation. There are no errors in webgate or access server logs
    Please let me know if you have any clue on this.
    -Mahendra.

    We're seeing an issue that looks almost identical to this but using Windows 2008/IIS7.x and WebGate v10.1.4.3. The PDF will begin download then it looks like a connection resets. We've tried it using PDF's ranging in size from <1mb to over >16mb. The results are consistent. On IIS turning off "http keep alive" allows the downloads to proceed (and probably diminishes performance to some degree).
    While the workaround we found allows PDFs to download I'd really be interested in seeing what's causing this.

  • Secure HTTP FDF - PDF loads blank IE7 window

    I've tried googling this a 100 ways and found nothing much.
    Using IE7 and Reader 8
    When a client clicks a link [a href='https://website.com/getinfo.asp#FDF' target='_blank'], the ASP page creates and displays a FDF file with /F (http://website.com/mypdf.pdf)
    Problem is the client browser opens a blank browser page and Reader gives an error '.... this file could not be found'
    If the link is changed to open in the same page then PDF loads correctly. Unfortunately business rules require that the PDF is loaded in a new window.
    If 'Do not save encrypted pages to disk' is un-checked in IE then the PDF loads correctly in both new and same window. But again business rules require that the option is checked.
    So how do I get the FDF (https) to load the PDF (http) in a new window in IE7 and Reader 8????
    Any suggestions would be helpful

    Well.. I solved this with workaround.
    When a user clicks the link the user is now redirected to a blank page which opens in a new window. After 100ms the page redirects to the FDF generating page. The FDF is generated and calls the PDF.
    Strangely the redirect page had to be timed because an ASP or HTTP redirection wouldn't work. I had to use a JavaScript times redirection. I don't know what difference it made but it works now!!
    Hope this helps some other soul..

  • 10.6.7 - general pdf creation issues?

    I wondered whether anyone else had run into this issue after updating to 10.6.7 when using pdfs created by Preview - perhaps related to the pdf/font issue.
    If it is generally happening, then the 10.6.7 pdf-font issue has an even larger
    impact than previously described:
    1. Open a pdf document in Preview
    2. Select a region and save to clipboard
    3. Save as a new pdf file
    4. Then try importing it as a "Picture" into any of the new Office 2011 apps: Word, PPT, etc.
    This crashes my office 2011 apps (latest version, 14.02) But NOT any earlier version of Office (2008. etc.), which may not do as much pdf checking.
    Before the 10.6.7 upgrade (ie, 10.6.6), this never happened with Office 2011.
    Acrobat complains when opening the Preview-created pdfs about 'missing fonts', so I suspect some sort of pdf creation issue.
    Any fixes (besides the previously suggested one of downgrading to 10.6.6)
    If it's a real bug (not just local to my system), then it's a more far-reaching one than previously described.

    rcberwick wrote:
    So, 3 different Apple tech support people say they know this problem affects
    "multiple applications, including any that deal with pdf files" but that "no fix is
    currently in the works"
    That is wrong because it only involves OpenType Postscript fonts.
    The only solution offered so far is to "downgrade by doing Archive & Install" and
    then re-applying each Combo Upgrade, starting with 10.6.3 up to 10.6.6.
    You wouldn't have to do that either. That is the point of a Combo update. You only need to apply the one you want. It includes all of the previous updates.

  • Index.php loading issue

    I finished and uploaded a new site in .php.
    I  have a graphics loading issue only with IE.
    The js  accordion with images will not reload after returning to the home page.
    Anyone out thier that can shed some light on this?
    http://carpetcleaningsantabarbarapro.com/index.php
    Thank you in advance
    Crissymarie

    Ken might be on to something.  The current release of jQuery is 1.7.2 which is compatible with jQuery Cycle.
    For the latest core library, you can link to jQuery's CDN like so:
              <script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js"></script>
    You have some improperly nested <h3> tags around your lists on lines 170 and 191.  To keep your code error free, simply delete the heading tags.
    Finally, as a courtesy to your site visitors, consider adding a cookie so people don't have to watch the Flash Spokesperson every time they go to your home page.   The link below shows how:
    http://alt-web.com/DEMOS/cookie-test-show-hide-flash-intro.shtml
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/

  • TileList data load issue

    I am having an issue where the data that drives a tilelist
    works correctly when the tile list is not loaded on the first page
    of the application. When it is put on a second page in a viewstack
    then the tilelist displays correctly when you navigate to it. When
    the tilelist is placed in the first page of the application I get
    the correct number of items to display in the tilelist but the
    information the item renderer is supposed to display, ie a picture,
    caption and title, does not. The strange thing is that a Tree
    populates correctly given the same situation. Here is the sequence
    of events:
    // get tree is that data for the tree and get groups is the
    data for the tilelist
    creationComplete="get_tree.send();get_groups.send();"
    <mx:HTTPService showBusyCursor="true" id="get_groups"
    url="[some xml doc]" resultFormat="e4x"/>
    <mx:XMLListCollection id="myXMlist"
    source="{get_groups.lastResult.groups}"/>
    <mx:HTTPService showBusyCursor="true" id="get_tree"
    url="[some xml doc]" resultFormat="e4x" />
    <mx:XMLListCollection id="myTreeXMlist"
    source="{get_tree.lastResult.groups}"/>
    And then the data provider of the tilelist and tree are set
    accordingly. I tried putting moving the data calls from the
    creation complete to the initialize event thinking that it would
    hit earlier in the process and be done by the time the final
    completion came about but that didn't help either. I guess I'm just
    at a loss as to why the tree works fine no matter where I put it
    but the TileList does not. It's almost like the tree and the
    tilelist will sit and wait for the data but the item renderer in
    the tilelist will not wait. Which would explain why clicking on the
    tile list still produces the correct sequence of events but the
    visual component of the tilelist is just not working right. Anyone
    have any ideas?

    Ok, so if ASO value is wrong, then its a data load issue and no point messing around with the BSO app. You are loading two transactions to the exact same intersection. Make sure your data load is set to aggregate values and not overwrite.

  • BI Load issue in the transformation/DTP after SP 17

    Hello,
    After SP 17 applied in our BI system, we are having load issue in one particular transformation/DTP.
    See below the errors:
    u2022 Messages for 101 data records saved; request is red acc. to
    configuration
    u2022 Thee is no active nametab in the system, although an active ABAP/4
    Dictionary object was expected. Reactivate the ABAP/4 Dictionary object.
    Also I have activated the DSO, transformation and DTP. Also I went to SE14 and try to adjust my DSO, SE11 and activate the table but still having the issue.
    Can someone advise me on how to resolve this issue?
    Thanks a lot.
    Cesar

    Hi,
    Do the following: In BI, run transaction SE38 >> RSDG_CUBE_ACTIVATE to recreate the Metadata information
    for the Info-provider.
    Then execute another program via SE38: RSDD_RSTMPLWIDTP_GEN_ALL
    See Note 1161940 and 1152453 for more details.
    Regards,

  • Does resteasy API have class loader issues when using via OSGi

    Does resteasy API have class loader issues when using via OSGi

    Hi Scott,
    THis isnt an answer to ur Question, but could u tell me which jar files are needed for the packages:
    com.sap.portal.pcm.system.ISystems
    com.sap.portal.pcm.system.ISystem
    and under which path I coul dfind them.
    Thnx
    Regards
    Meesum.

  • Crystal JRC PDF Export Issue

    We are experiencing a PDF export issue with Crystal JRC version 12.2.202.  The PDF report shows 1 of 3 pages but ONLY the first page is generated.  When this occurs, ALL other users that are exporting to PDF experience the same issue with any multiple page report.  I can't find any errors in the log that would indicate what the problem is.  To resolve the issue, I have to recycle the WebLogic application server that hosts  the JRC, which would indicate something gets "locked" in memory and gets cleared when the app server is bounced.
    Any ideas on how to resolve this ?

    Hi Ted,
    Thanks for the response!
    Though, the mentioned Sun JVM Bug explains the root-cause, the Bug status also state that it is not fixed yet.
    Also, we are reluctant to change the JVM Option to -Xint due to unknown impacts on JVM optimizations.
    Is there a patch released for CrystalReports to deal with this behavior? We are using CRJ runtime 11.5.7.620 and seeking for a patch on this version.
    Thanks.

  • Demantra Data Load Issue

    I am new to Demantra. Have installed a stand alone Demantra system in our server. In order to load data, I created a new model, defined item and location levels, then clicked on 'Build Model'. The data is loaded into 3 custom tables created by me. After creating the model, I cannot login to 'Collaborator Workbench', it gives message 'There are system errors. Please contact your System Administrator'. Can anyone please tell me what I am doing wrong and how to resolve the issue.
    Thanks

    Ok, so if ASO value is wrong, then its a data load issue and no point messing around with the BSO app. You are loading two transactions to the exact same intersection. Make sure your data load is set to aggregate values and not overwrite.

Maybe you are looking for