Spool to PDF. Approach is Spool- app server then app server to local pdf

Hello Experts,
My requirement is: I want to create PDF file from spool number. As my program works in background and FM WS_DOWNLOAD/GUI_DOWNLOAD wonu2019t work in batch mode, I am trying to find its alternative.
I am tiring to upload the internal table PDF[] return by FM CONVERT_OTFSPOOLJOB_2_PDF to application server. But while writing file in text mode, program dumps as it wont support all characters. Hence I am tiring to write in binary mode. Main problem occurs when I download the file from application server, I want to save that file in PDF format on local machine.
I am able to download file from app server to local m/c but that pdf file does not open and says conversion problem. I am sure there must be some steps which I am missing. Might be there is some Fm which convert bin to Text/ASCII.
Can anyone help me this?
-Shweta

If you can avoid using the spool and instead use OTF, this may be easier. Sorry if this doesn't apply.
I tried going from SAPScript to OTF and writing the lines of the PDF table in binary mode but that didn't work for me for some reason.
data: lv_pdf_file type xstring,
         lv_size type i,
         lt_pdf_lines type STANDARD TABLE OF tline.
* pt_otf is passed from the CLOSE_FORM FM
CALL FUNCTION 'CONVERT_OTF'
    EXPORTING
      FORMAT                      = 'PDF'
    IMPORTING
      BIN_FILESIZE                = lv_size
      BIN_FILE                    = lv_pdf_file
     TABLES
       otf                         = pt_otf
       lines                       = lt_pdf_lines
    EXCEPTIONS
      ERR_MAX_LINEWIDTH           = 1
      ERR_FORMAT                  = 2
      ERR_CONV_NOT_POSSIBLE       = 3
      ERR_BAD_OTF                 = 4
      OTHERS                      = 5
open dataset lv_file for output in binary mode.
transfer lv_pdf_file to lv_file.
close dataset lv_file.

Similar Messages

  • Access sharepoint store free apps in onpremise/local sharepoint 2013 server

    Hi Team,
    I need to Access share point store  free apps in onpremise/local sharepoint 2013 server
    I have installed Active directory and created users.In the same machine i have enabled Hyper V and installed sharepoint 2013 complete.So in my case how can i use SharePoint store apps in my Farm.I have refer lots of blogs .I dont Know where i have been Mistaken.
    Doubts in these Sections
    1.We need to buy domain are Not.Else if he have domain name (WWW.test.com) shall we use this.
    2.In Dns  creating primary zone ,Why we need to do that?
    3.Is there app can access in SP foundation
    Help need Urgently
    Thanks In advance
    Regards
    Hafeesu

    Hi Hafeesu,
    you need to setup your environment to allow apps, follow this link
    http://technet.microsoft.com/en-us/library/fp161236(v=office.15).aspx
    Kind Regards,
    John Naguib
    Technical Consultant/Architect
    MCITP, MCPD, MCTS, MCT, TOGAF 9 Foundation
    Please remember to mark your question as answered if this solves your problem

  • Design Patterns, best approach for this app

    Hi all,
    i am starting with design patterns, and i would like to hear your opinion on what would be the best approach for this app. 
    this is basically an app for data monitoring, analysis and logging (voltage, temperature & vibration)
    i am using 3 devices for N channels (NI 9211A, NI 9215A, NI PXI 4472) all running at different rates. asynchronous.
    and signals are being processed and monitored for logging at a rate specified by the user and in realtime also. 
    individual devices can be initialized or stopped at any time
    basically i'm using 5 loops.
    *1.- GUI: Stop App, Reload Plot Names  (Event handling)
    *2.- Chart & Log:  Monitors Data and Start/Stop log data at a specified time in the GUI (State Machine)
    *3.- Temperature DAQ monitoring @ 3 S/s  (State Machine)   NI 9211A
    *4.- Voltage DAQ monitoring and scaling @ 1K kS/s (State Machine) NI 9215A
    *5.- Vibration DAQ monitoring and Analysis @ 25.6 kS/s (State Machine) NI PXI 4472
    i have attached the files for review, thanks in advance for taking the time.
    Attachments:
    V-T-G Monitor_Logger.llb ‏355 KB

    mundo wrote:
    thanks Will for your response,
    so, basically i could apply a producer/consummer architecture for just the Vibration analysis loop? or all data being collected by the Monitor/Logger loop?
    is it ok having individual loops for every DAQ device as is shown?
    thanks.
    You could use the producer/consumer architecture to split the areas where you are doing both the data collection and teh analysis in the same state machine. If one of these processes is not time critical or the data rate is slow enough you could leave it in a single state machine. I admit that I didn't look through your code but based purely on the descriptions above I would imagine that you could change the three collection state machines to use a producer/consumer architecture. I would leave your UI processing in its own loop as well as the logging process. If this logging is time critical you may want to split that as well.
    Mark Yedinak
    "Does anyone know where the love of God goes when the waves turn the minutes to hours?"
    Wreck of the Edmund Fitzgerald - Gordon Lightfoot

  • DNS: Client can't connect because .local domain isn't in DNS. How can I connect over the WAN to server.domain.local?

    So my 2012 server is set up on the LAN with a .local domain name. 
    Remote Desktop Services are set up and remoteapp stuff works fine on the LAN.
    I've set up port forwarding so I can connect to the server over the WAN too, but remoteapp stuff is a bit different. I can connect to the server by specifying the correct IP address. Giving a Web browser the address
    https://serverIPAddress/RDWeb
    lets me get the login screen and see the range of apps for me to run. I select one, the connectoid is downloaded correctly (in Chrome) and I click on the downloaded connectoid. 
    Unfortunately, rather than pursuing the sensible IP-address approach that I started with, the connectoid has been given the server's name on the LAN:  server.domain.local. Clearly, the client machine tries to look this up but DNS hasn't heard of
    it because it's a .local address. 
    I cannot be the only one to have come across this apparent oversight on Microsoft's part. Any ideas as to how this can sensibly be overcome? Obviously, I could put the IP address translation into every client's hosts file (and I've done this and shown it
    works) but I've got too many clients to mess about like this. Anybody know 'the Microsoft way' to fix this?
    Thank you for checking this out -- I am confident the details of the problem are completely specified in this query but, if I'm wrong, please ask.
    Many thanks again,
    Biffo

    Hi,
    I would like to suggest you to follow the checklist.
    Checklist: Make RemoteApp Programs Available from the Internet
    http://technet.microsoft.com/en-us/library/cc772415.aspx
    Thanks.
    Jeremy Wu
    TechNet Community Support

  • Message 'server.storage.local'.

    When the Imac startup, I get the message "There was a problem with the connection to the server 'server.storage.local'." but everything works.

    There are many possible causes for this issue, and it may be hard to resolve. Please take each of the following steps that you haven't already tried. Back up all data before making any changes.
    Step 1
    If you get the warning as soon as you log in, it's probably caused by one of your login items or by software that otherwise loads at startup or login. Ask if you need help identifying it. A known offender is "AdobeResourceSynchronizer," which is a component of some Adobe products. See also this discussion.
    Step 2
    If there's an icon representing the server in the sidebar of a Finder window, hold down the command key and drag it out.
    Step 3
    In the Finder, press the key combination command-K or select
    Go ▹ Go to Server...
    from the menu bar. In the upper right corner of the window that opens is a Recent Servers popup menu represented by a clock icon. From that menu, select
    Clear Recent Servers…
    and confirm. Test.
    Step 4
    Open the Print & Scan pane in System Preferences and delete any network devices you no longer use.
    Step 5
    Triple-click anywhere in the line below on this page to select it, then copy the text to the Clipboard by pressing  command-C:
    ~/Library/PDF Services
    In the Finder, select
    Go ▹ Go to Folder...
    from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return. A folder may open. If it does, move the contents to the Desktop, or to a new folder on the Desktop. Log out and log back in. Test. If there's no change, put the items you moved back where they were and continue.
    Step 6
    Open the folder
    ~/Library/Preferences
    as in Step 5 and move the file named "loginwindow.plist" items in that folder to the Trash, if it exists (it may not.)
    Log out and back in again, and test.
    Step 7
    Other possible causes are references in the iPhoto, iTunes, or iMovie library pointing to the server, and bookmarks in the Preview application.
    Try rebuilding the iPhoto library.
    Step 8
    Triple-click the line below to select it:
    /System/Library/CoreServices/Directory Utility.app
    Rght-click or control-click the highlighted text and select
    Services ▹ Open
    from the contextual menu.* The application Directory Utility will open.
    In the Directory Utility window, select the Directory Editor tool in the toolbar. Select Mounts from the Viewing menu in the toolbar, and /Local/Default from the node menu, if not already selected. On the right is a list of names and values. By default, the list is empty. If it's not empty, post a screenshot of the window and stop here.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard (command-C). Open a TextEdit window and paste into it (command-V). Select the line you just pasted and continue as above.
    Step 9
    Open the following file as you did in the last step:
    /etc/auto_master
    It will open in a TextEdit window. The contents should be exactly this:
    # Automounter master map
    +auto_master          # Use directory service
    /net               -hosts          -nobrowse,hidefromfinder,nosuid
    /home               auto_home     -nobrowse,hidefromfinder
    /Network/Servers     -fstab
    /-               -static
    If there are any other lines in the window, post them. Otherwise, close the window.

  • OSX 10.8 server Set VPN server in Local net, How to restrict the Local some IP connect to the VPN server?(noob,so need clearly)

    the tittle is my question. I am noob , so I hope i can make my question clear. Now i 'd like to tell you more about my question:
    My aim is to set a VPN server in Local lan, then ppl can connect to the VPN server, But I dont wanna all of the Local lan IP cant connet to it. So I neet to set a rule to restrick some local Ip to connect failure, just like banning so IP in a rule.such as: just like the "192.168.4.3~192.168.4.20 ; 192.168.7.3~192.168.7.20 " IPs can connect . the IPs which outside the rules can not do.
    my step is following:
    1) install server app
    2)and then i set a VPN server , finally the VPN server can be connected successfully by local lan computer(PC or Mac)
    3)But i found no restrict IP founction in Server app panel.
    4)then i down load workgroup manager, and found nothing there about such a founction about IP restriction.
    so can you tell me how to aproach my aim?
    Please tell me in a clear detail,I am noob
    thank you

    Won't the password restrict everyone from connecting unless they know the password?
    I have never worked with a VPN server, so I can't really add any suggestions. Below are links to Apple support articles, but I'm not sure they will help you:
    VPN - Set up Connection
    VPN - Advanced Setup 
    VPN - Connect
    VPN - Connect Automatically

  • How to mimic Deski document from BOXI server to local machine, pass parameter, execute and save in a mutiple report format then store in a network drive.

    Post Author: usaitconsultant
    CA Forum: JAVA
    To Guru's, Would you know if there's a way to mimic Deski document from BOXI server to local machine, pass parameter, execute and save in a mutiple report format then store in a local drive or network drive? Most examples and tutorials in BO XI R2 I've seen are scheduling while drilling report is for web intelligence only.  Please let me know your ideas. I would really appreciate your help. Thanks. 

    Give Chronosync a go - have been using for over a year and it works great; if you like Syncback you'll like this app.

  • Is there a way to send info from cloud deployed app to a local app?

    Hi
    I have an application deployed to cloud service and through a iframe loaded in another local application.
    I there a way to send info form the deployed cloud app to the local app?

    Thanks for the reply.
    I created one webservice and deployed to cloud server. From browser am able to run the url and able to get the result.
    https://...oraclecloudapps.com/CloudAppTest-ViewController-context-root/jersey/webServiceBean/text
    The same url when am trying to access from a java code main
        Client c = Client.create();
        WebResource resource =
        c.resource("https://...oraclecloudapps.com/CloudAppTest-ViewController-context-root/jersey/webServiceBean/text");
        String response = resource.get(String.class);
      System.out.println("response"+response);
    getting Exception in thread "main" com.sun.jersey.api.client.UniformInterfaceException: GET https://...oraclecloudapps.com/CloudAppTest-ViewController-context-root/jersey/webServiceBean/text returned a response status of 302
    at com.sun.jersey.api.client.WebResource.handle(WebResource.java:607)
    at com.sun.jersey.api.client.WebResource.get(WebResource.java:187)
    at view.client.main(client.java:26)
    Process exited with exit code 1.
    Can please suggest on this.
    Thanks
    Jeeth

  • I'm trying to insall Adobe Photoshop CS3 on a new ASUS ASM11BB001O computer equipped with 64-bit Windows 7.  I use a "bundle" approach, first loading Photoshop 6, then upgrading with CS upgrade and then CS3 upgrade.  The installation goes smoothly until I

    I'm trying to install Adobe Photoshop CS3 on a new ASUS ASM11BB001O computer equipped with 64-bit Windows 7.  I use a "bundle" approach, first loading Photoshop 6, then upgrading with CS upgrade and then CS3 upgrade.  The installation goes smoothly until I add PS CS, and then it balks at the "accept" Adobe conditions screen.  I have two other (Gateway) computers with Windows 7, 64-bit, on both of which the PS-6, CS-CS3 pathway worked fine.  Any thoughts on how to get this working?  Thanks

    If your goal is to install and activate CS5 there is no need to install anything preceding it.  You will only need to have the serial number from the preceding version that you upgrade from (CS3 I guess).

  • Remote Desktop "Bypass RD gateway server for local addresses" no longer working in Windows 8

    Hi,
    After installing windows 8, it seems like the "Bypass RD gateway server for local addresses" is no longer working.
    In Windows 7, when the option is checked, I could have the server name set always and the client will automatically detect whether to use the RD gateway or not. For example, from my house, if I am connecting to a computer at my work, which requires
    the RD gateway, it will automatically pops up the dialog for authentication method. However, if I connect to a computer in my home network, it will just automatically connects without asking authentication for the RD gateway.
    However, after installing windows 8, this does not seem to work as expected anymore. The option is checked but the Windows Security dialog pops up in both situations and so i have to either save the rdp file locally and pin it to the taskbar or switch between
    disabling and enabling the RD gateway whenever I need to connect to different machines.
    Is this a regression in Windows 8? Is anyone else experiencing the same issue?
    Thanks

    Another way to resolve this issue for me, beside of configuring RDP to connect directly to server also on unmanaged network, will be to turn the "wifi" subnet in a managed network, as the "wired" subnet is.
    The differences between thoses to subnets, dynamically assigned by the same DHCP server, are:
    The "wifi" is in a private IP range, the "wired" is in a public IP range
    There's an ACL on the "wifi" subnet, not on the "wired"
    The next step is to compare frames send/received when on the two networks. Something will likely tell for the network to be managed.
    Beside, I'm still searching informations about NLA, which is responsible for setting a nework as managed or not.
    Here are some clues:
    http://blogs.technet.com/b/networking/archive/2010/09/08/network-location-awareness-nla-and-how-it-relates-to-windows-firewall-profiles.aspx
    http://social.technet.microsoft.com/Forums/windows/en-US/49ea0a6b-9c03-407d-8e26-24a92849a282/network-location-awareness-signature?forum=w7itpronetworking
    If anybody has official MS informations about NLA (A for Awareness and not Authentication), please share!

  • How to copy a file from application server to local system

    Guys,
    Need to copy a file from application server to local system.Is there an FM for the same.
    Tried searching for it but couldn't find anything useful.
    Code snippets will be highly appreciated.
    Warm Regards,
    P.
    Moderator message: very frequently asked and answered question, obviously you did not search thoroughly, all points removed.
    Edited by: Thomas Zloch on Dec 3, 2010 4:48 PM

    hi,
    You can use the transactions CG3Y or through program u can do like this..
    DATA: BEGIN OF IT_FILE OCCURS 0,
                    LINE TYPE STRING,
               END OF IT_FILE.
    OPEN DATASET <file_name>  FOR INPUT IN TEXT MODE ENCODING DEFAULT.
            IF SY-SUBRC IS INITIAL.
              DO.
                READ DATASET<file_name> INTO IT_FILE-LINE.
                IF SY-SUBRC = 0.
                  APPEND IT_FILE.
                  CLEAR IT_FILE.
                ELSE.
                  EXIT.
                ENDIF.
              ENDDO.
            ENDIF.
    CLOSE DATASET <file_name>.
    Download it to local system using  FM - GUI_DOWNLOAD

  • DataSocket Server will not start when the Launch DS Server if Local URL.VI is bundled into a LabVIEW application.

    I want to run a LabVIEW application on several machines remotely that do not have LabVIEW installed (licensing issues). Hence I have built a LabVIEW executable with the RunTime Engine to install on all of these remote machines.
    The VI has a bi-directional link, using Datasockets, to a machine with DAQ and Image acquisition functions. It primarily receives data items, but also the capability to change data items so it needs to run the "Launch DS Server if Local URL.VI" in order to publish data to the DataSocket server.
    When I run the pre-built VI on a machine that has LabVIEW Developers Edition installed, everything works fine - ie.
    the DataSocket server starts on the remote machine. However when I build the *.exe application and run it on a machine with and without LabVIEW Developers Edition installed the VI successfully subscribes to the DAQ and Image Acquisiton machine, but it does not start its own connection to the Data Socket server, and hence does not publish the data that the DAQ machine needs to suscribe to. IT seems that the Launch DS Server if Local URL.VI is bypassed? I have fiddled around with the Build settings but to no avail.
    In short, how do I get the DataSocket Server to run in a LabVIEW executable? Is it indeed possible? Any advice would be welcomed.
    When distributing a Labview Application (*.exe) with Data Socket Server Publish functionality, the DataSocket server does not start and hence no data can be sent by the Remote PC to the Server. The VI successfully retrieves data from the DS Server. I have used the "Launch DS Server if Local URL.vi" in the ditributed application but for some r
    eason this VI is not executed when I run the executable. How can you force the DataSocket Server to run with executable LabVIEW applications?

    Ryan,
    How to add Datasocket Server Control.vi?
    Source Files only show Project Files.
    So, I added Datasocket Server Control.vi file to the project first.
    Then I added it to Always Included < Source Files < Application Properties (Build Executable).
    Last, I built the Executable, but it didn't work.
    Can you help me.
    Thank you.
    Pedro Raposo

  • Uploading File to server from local machine

    how to Upload the File to server from local machine.
    Using java applet, how to upload the file to secure server.
    I dont know how to proceed the steps for uploading
    Reply me ASAP.......

    Hi Ozkantr,
    The osql utility is installed by SQL Server. You need to make sure the utility is installed on your colleague machine.
    To run SSIS package outside the BIDS, only the DTExec utility which is a client tool is not enough, the server components for Integration Services Service (SSIS runtime) is also required. To install SSIS runtime and DTExec utility, we must install the Integration
    Services shared feature from the SQL Server install media. So, you need to install SSIS service on the machine where the SSIS packages jobs run.
    References:
    http://www.bigator.com/2012/03/11/ways-to-execute-ssis-package/
    http://www.codeproject.com/Articles/219494/SSIS-Overview-Part-I
    Regards,
    +1
    You need to install Integration Services, which installs the necessary bytes on your computer and the SSIS service as well. The service can be disabled though, you don't need it to run packages.
    I wrote a blog post about it some time ago:
    When is DTEXEC installed?
    ps: osql is deprecated. Better start using sqlcmd.
    MCSE SQL Server 2012 - Please mark posts as answered where appropriate.

  • App Store not localized correctly. Tab titles in english using an italian Apple ID

    Hi,
    a few days ago I changed my Store settings  (Settings->Store) in iPhone 4S to use an US english Apple ID for a while. When I switch back to my Italian Apple ID store leaderboards settings turns back correctly but App Store app localization on my iPhone is still in english. I try to switch back again, syncronize, log out and so on but the app is still localized in english. What can I do in order to get my App Store app localization in italian? Thank you!

    http://support.apple.com/kb/ht2534

  • Firefox 30.0 will not open profiles on my server, only local ones. (Ubuntu 14.04 LTS)

    I get the dreaded "Profile in use" error any time I try to open a profile that's stored on my network attached file server (it works fine for locally stored profiles).
    I get this only under Ubuntu 14.04. I'm also running FF 30.0 under Windows (including in a VMWare virtual Windows machine under Ubuntu) and it works fine.
    It's creating a .parentlock file each time, then claiming the profile is in use, then leaving the .parentlock file upon closing the message box. Deleting the .parentlock file by hand doesn't fix it: it creates it again the next time I try to run and again claims the profile is open. This happens for every user and every NAS profile on my system. But again, only under Ubuntu 14.04, not under Windows, and only for profiles on my server, not locally.

    This is mote likely a problem with (write) permissions of files in the Firefox profile folder.
    In Firefox 13+ the parent.lock (Windows) or .parentlock (Linux, Mac) file is no longer removed in order to detect startup failures (crashes) and offer to start in Safe mode.

Maybe you are looking for

  • Headphone jack replacement price

    I recently bought a 3rd generation iPod classic and the headphone jack is broken, how much would it cost to get that replaced?

  • Getting Fault String in Web Service response

    Hi, I developed a Web Service and deployed it on Glassfish Server. When I am trying to call web service some times I am getting following error <faultstring>String index out of range: 0</faultstring>What is the meaning of this ? How to solve this ? R

  • Not saving spot color to process

    I have Acrobat 8.1.2 on Mac In Ink Manager I convert spot color to process. I save and close the file. I reopen the file Spot colors are not converted I appreciate any suggestions. Faro

  • Why some messages are not processing

    Hi All, I have scene in AQ table some of the messages are in PROCESSED status and some of the messages in UNDELIVERABLE status. This is the data in the AQ table for undelivarable messages. MSG_STATE          RETRY_COUNT    EXPIRATION_REASON UNDELIVER

  • Livetype version 1.2.1 upto date?

    Hi Just upgraded my FCE to HD express. The bundles version of Livetype is 1.2.1 and I cannot see any further updates available, is my version upto date ? Lietypecentral requirements for add on are version 2 ?? I also am sure that in the apple store t