Output to Different files

Hello All -
I have a scenario where the file output will be stored in a directory called OUT with filename<dateandtimestamp>.xml
Is it possible to generate the same filename<dateandtimestamp>.RDY (with zero contents) into a different directory? If so how can i achieve this?
Thanks,
Tirumal

Prateek -
In both the methods is it possible to have the same filename, reason why i am asking this question is probably both the filenames might differ in the filenames with the milliseconds different in both the files.
Lets say OrdersOut20060404-110902-855.xml
and OrdersOut20060404-110902-955.RDY, now both the filenames are differnt.
Is there a way to ignore the milliseconds part of it, in that case then both the files will be identical except for the extensions which will be XML and RDY.
Thanks,
Tirumal

Similar Messages

  • Is it possible to have 2 different output config XML files and index the data into 2 endeca apps using the same indexing component ProductCatalogSimpleIndexingAdmin

    Hi ,
    We have a catalog that defines 2 types of products (they have too many different properties), so wanted to keep them on two different MDEX engines and serve the applications requests. Here DB catalog and front end ATG application is same for both the MDEX instances.
    Is it possible to have 2 different output config XML files and index the data into 2 endeca apps using the same indexing component ProductCatalogSimpleIndexingAdmin?
    Thanks
    Dev

    Hi, also have had some problem some monthes ago - I created separete component ProductCatalogSimpleIndexingAdminSecond. After that one of my colleage gave me some advice:
    The creating separate component like ProductCatalogSimpleIndexingAdmin for the second IOC is possible way for resolving your situation. But I afraid that this way will be required creating mane duplicates for already existed components.
    In my opinion the better way is the following:
    starting from AssemblerApplicationConfiguration and ApplicationConfiguration component. It contains details for connecting between ATG and Endeca. Of course you should configure different components for different Endeca Apps.
    After that:
    Find all components that uses AssemblerApplicationConfiguration and ApplicationConfiguration. Customize these components for using one or another  *Configuration component depending on what index works. (many variants released it: the most simple global custom component with flag.)
    Then customize the existed ProductCatalogSimpleIndexingAdmin. Using one or another IOC  and setting the flag in global custom component when index started. You can add some methods into your custom ProductCatalogSimpleIndexingAdmin like:
    Execute baseline index for both IOC (one by one)
    Execute baseline for IOC 1
    Execute baseline for IOC 2.
    Note: you should be afraid about incremental (partial) index in this configuration. But resolving conflicts in incremental index should be done after full implementation these changes.
    Regards

  • Regarding Excel output of XML file

    When i am trying to open the output of XML file. I am getting the below dialogue boxes before report getting openend. Can any one help to resolve this issue.
    Dailogue box 1
    Open XML
    Please select how you would like to open this file:
    As a XML table
    As a read-onlyworkbook
    Use the XML Source task pane
    Dialogue box 2
    Microsoft office excel
    The Specified XML Source does not refer to a schema. Excel will create a schemabased on the XML source data.

    plz see
    How To View / Open Concurrent Requests With The Excel Application [ID 377424.1]
    How to Control the Name and the Application that Opens the Concurrent Request Output File on the Client? [ID 316752.1]
    How to Setup The Report Output to Different Viewer Types in Oracle Applications [ID 184375.1]
    http://sairamgoudmalla.blogspot.com/2009/04/concurrent-program-output-in-ms-excel.html

  • Report Output in Notepad File

    hi i'm using oracle ERP EBS R12
    Oracle database 10g
    i have a report . and i define the output in XML format
    when i click on view output and save in the xls file [excel] then it works
    i want the output in notepad file?
    is there any possiblity to view output in notepad file without any space between the columns?
    or
    is there any possibility to make a tab delimited text format report?

    Hi,
    Please see these docs.
    How To Export Form Or Report Data From Oracle Applications And Into Excel [ID 372353.1]
    How to Setup The Report Output to Different Viewer Types in Oracle Applications 11i [ID 184375.1]
    How to Control the Name and the Application that Opens the Concurrent Request Output File on the Client? [ID 316752.1]
    Thanks,
    Hussein

  • How to collect to different files into one message

    Hi,
    I have the following scenario:
    Two (5Mb) Files with different file structures each ->
    XI (transform and generate a single structure record) ->
    Insert a record in a DB for each new record generated
    Let suppose file1 has order headers - one order per line -and file2 has the corresponding order items - one item per line, e.g;
    File 1
    OrderNr  Description
    1        A
    2        B
    3        C
    File 2
    OrderNr   ItemNr   MaterialCode ....
    1         1        111
    1         2        222
    1         3        555
    2         1        888
    2         2        777
    3         1        111
    Imagine I want to insert a record in the database for
    each order/item like this
    OrderNr  ItemNr Description MaterialCode .....
    1        1      A           111
    1        2      A           222
    1        3      A           555
    My real scenario is a little more complicated but never mind for now.
    I need to collect the two different files with two different file structures into the same message. Although I have read about the subject I am not sure about how to do it using BPM because there isn't any field I could use to correlate file1 with file2 - I can only correlate a record of file1 with several records of file2. I simply know that the two files will be available in a specific directory once a day at 06:00AM.
    First question is:
    How can I collect the two messages originating each from a different file into only one message with two different subtypes one for each file structure?
    Because my background is ABAP I could do it with a workaround for temporarily storing the info from each file into database tables in XI and then correlate the info from the two files to generate a single message.
    Like this
    File1 -> XI -> INSERT DATA XI ZDB1 (via ABAP Proxy or RFC)
    File2 -> XI -> INSERT DATA XI ZDB2 (via ABAP Proxy or RFC)
    Them I could use an event to check when the two tables have all the data from both files. I could then combine the data from the two tables and start another integration process like this
    XI SERVER (ABAP Proxy) -> XI Integration Server -> Third-party (JDBC)
    But this way I would have to code the hole data conversion which is not a good idea from the perspective of XI (EAI/Broker).
    Maybe I sould use BPM. But how?
    Futhermore:
    Is BPM performant enough (we are talking about files with thousand of records)?
    Thanks in advance
    Diz

    Hi,
    for N:1 Multimapping you have to use BPM.
    After going through this weblog you will be quite familiar with how to collect 2 messages into one message.
    /people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm
    Steps:
    1. Create a abstract/ inbound / outbound interfaces. (in your case 3 /1/2).
    2. Perform 2:1 Multimapping.
    You can specify more than one message in either side.
    Just go to message tab in MM.
    3. Now follow the blog and you will get a output in the form of abstract interface.
    4. Define JDBC reciever Channel as usual.
    Your database will be updated.
    Just try this out.
    Regards
    Piyush

  • How to download the blocked ALV output to PDF file.

    How to download the blocked ALV output to PDF file.
    I am able to download the BLocked ALV output in PDF format,
    but the each bolck in ALV is displaying different pages of PDF.
    In my report I have 4 block in 1 page, I am able to see the output in PDF but in different page.
    How to avoid the Page-break in PDF.
    Thanks,
    Ravi Yasoda.

    hi,
    I believe that your have 4 containers on the screen with individual ALV display. in this case, there is no way to get combined PDF output to my knowledge.
    However you can use Smartform/Sapscript as output which would allow you to display ALV in blocks and also print it in one.
    Regards,
    Nirmal

  • Workflow for Sharpening Output of Different Resolutions

    I'm looking for a good workflow for sharpening images that are to be output in various resolutions.
    My current workflow works, but is a bit cumbersome.
    Most of my images are 8-12MP, and I need 2 variations of file sizes:
    1) Constrained to 1800x1800 (Slideshow use)
    2) Constrained to 680x480 (Web gallery use)
    I currently export a copy of all the images I need as JPEG-Original Size. Then I have two Automator actions that use Photoshop to Fit the image into my dimensions using the interpolation of my choice, and applying two levels of Unsharp Masking.
    This gives me a very good quality output, but with quite a bit of work.
    I've thought about using Edge Sharpen or Sharpen in Aperture, however it would be difficult (and probably just as a pain) to set the sharpen each time I output a different resolution.
    Does anybody know of a good workflow to output images from Aperture directly and have them sharpened for various intended outputs? (e.g. screen, web, print)
    I haven't done extensive printing in Aperture, but I'm assuming the same would apply to prints of various sizes of prints too.

    But is there any simple way aside from clicking on each version with the cloning stamp to apply the sharpening preset?
    1. Select one image and apply the sharpening preset.
    2. Deselect that image and select all of the other images you want to apply the sharpening adjustment to.
    3. Click on the Lift Icon in the toolbar, then click on the image (with the Lift Up Arrow) you applied the sharpening to in Step 1.
    4. Go to the Lift & Stamp HUD and uncheck all of the check boxes except Adjustments.
    5. Also, in the Lift & Stamp HUD, click on the disclosure triangle next to Adjustments to see what adjustments you lifted from the image.
    6. If you see other Adjustments besides your sharpening adjustment that you do not want to apply to your other images. click on the unwanted adjustment(s) and press the delete key. This will delete the unwanted adjustments and you will be left only with your sharpening adjustment.
    7. Now click on the button on the lower right of the Lift & Stamp HUD that says "Stamp Selected Images."
    This sounds like a lot of steps, but it is really quite simple once you've done it a few times.
    - Karen

  • Different File Types to Import - To Conver or not to convert?

    I have a project that I am dealing with which is requiring several different file types. Mainly .avi exported from VEGAS and footage ripped from a DVD.
    I have heard that it is best to use MPEG Streamclip to convert everything to a DVPro format (I am outputting in SD for broadcast) but wouldn't that just cause more compression?
    What is the best way to handle multiple file formats and the best output settings for broadcast when dealing with multiple formats? Thanks!

    The Avi's might work OK as they are, but the DVD footage has to go through MPEG streamclip. You might have to do this with the Avi's too, but not always... depends on the codec that was used to capture them in Vegas.
    Might try putting the AVI's in Compressor for the conversion if need be, as it might look a bit better in the end. But you've no choice with the files ripped from the DVD.
    Jerry

  • Spooling of a query generates different file sizes for different databases

    Please help me regarding a problem with spooling. I spooled a query output to a file from two different database. In both the databases the table structure is the same and the output produced only one row. But the file size is different for the databases. How can this problem occur? Is there any database parameter need to be checked? Both the databases are in same version 10.2.0.1.0.
    before running the spool i did a
    sql> set head off feedback off echo off verify off linesize 10000 pages 0 trims on colsep ' '
    on both the sessions.
    In one database the filesize is *1463 bytes* and on the other the filesize is *4205 bytes*.
    Please help me to find out these discrepancies.

    hi Mario,
    I think you are not getting my point. Both the files contain the same output but their sizes are different. This is due to the no of blank spaces between columns. I wanted to clarify why there is a difference between two filesize when the query output is the same.

  • Spooling of a query generates different file lengths on different databases

    Please help me regarding a problem with spooling. I spooled a query output to a file from two different database. In both the databases the table structure is the same and the output produced only one row. But the file size is different for the databases. How can this problem occur? Is there any database parameter need to be checked? Both the databases are in same version 10.2.0.1.0.
    before running the spool i did a
    sql> set head off feedback off echo off verify off linesize 10000 pages 0 trims on colsep ' '
    on both the sessions.
    In one database the filesize is *1463 bytes* and on the other the filesize is *4205 bytes*.
    Please help me to find out these discrepancies.

    No the data in the columns are exectly the same. But in the larger file i see more spaces between columns where as in the smaller one the no of spaces are less. Can anyone tell me is there any parameter which defines the character which will be replaced while spoolng when you get a column blank/null. But as i have already declared /t as a colsep i couldnot identify why there is the difference in the no of spaces between columns resulting the difference in filesizes?

  • Combing output from different cmdlet to single worksheet

    I am having 2 one liner and 2 script which provide me the required output. I am looking to export them to a single worksheet one below one
    All 4 script produces output with different number of row and columns. Is it possible to combine arrays with different layouts (columns) to a single Export-Csv or XLS?

    Hi Aravind,
    Sorry for the delay.
    To append all the output to one .csv file, please try this function, which add the "-append" switch to the cmdlet "Export-CSV":
    function Export-CSV {
    [CmdletBinding(DefaultParameterSetName='Delimiter',
    SupportsShouldProcess=$true, ConfirmImpact='Medium')]
    param(
    [Parameter(Mandatory=$true, ValueFromPipeline=$true,
    ValueFromPipelineByPropertyName=$true)]
    [System.Management.Automation.PSObject] ${InputObject},
    [Parameter(Mandatory=$true, Position=0)]
    [Alias('PSPath')]
    [System.String] ${Path},
    #region -Append (added by Dmitry Sotnikov)
    [Switch] ${Append},
    #endregion
    [Switch] ${Force},
    [Switch] ${NoClobber},
    [ValidateSet('Unicode','UTF7','UTF8','ASCII','UTF32','BigEndianUnicode','Default','OEM')]
    [System.String] ${Encoding},
    [Parameter(ParameterSetName='Delimiter', Position=1)]
    [ValidateNotNull()]
    [System.Char] ${Delimiter},
    [Parameter(ParameterSetName='UseCulture')]
    [Switch] ${UseCulture},
    [Alias('NTI')]
    [Switch] ${NoTypeInformation})
    begin
    # This variable will tell us whether we actually need to append
    # to existing file
    $AppendMode = $false
    try {
    $outBuffer = $null
    if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer))
    $PSBoundParameters['OutBuffer'] = 1
    $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand('Export-Csv',
    [System.Management.Automation.CommandTypes]::Cmdlet)
    #String variable to become the target command line
    $scriptCmdPipeline = ''
    # Add new parameter handling
    #region Dmitry: Process and remove the Append parameter if it is present
    if ($Append) {
    $PSBoundParameters.Remove('Append') | Out-Null
    if ($Path) {
    if (Test-Path $Path) {
    # Need to construct new command line
    $AppendMode = $true
    if ($Encoding.Length -eq 0) {
    # ASCII is default encoding for Export-CSV
    $Encoding = 'ASCII'
    # For Append we use ConvertTo-CSV instead of Export
    $scriptCmdPipeline += 'ConvertTo-Csv -NoTypeInformation '
    # Inherit other CSV convertion parameters
    if ( $UseCulture ) {
    $scriptCmdPipeline += ' -UseCulture '
    if ( $Delimiter ) {
    $scriptCmdPipeline += " -Delimiter '$Delimiter' "
    # Skip the first line (the one with the property names)
    $scriptCmdPipeline += ' | Foreach-Object {$start=$true}'
    $scriptCmdPipeline += '{if ($start) {$start=$false} else {$_}} '
    # Add file output
    $scriptCmdPipeline += " | Out-File -FilePath '$Path' -Encoding '$Encoding' -Append "
    if ($Force) {
    $scriptCmdPipeline += ' -Force'
    if ($NoClobber) {
    $scriptCmdPipeline += ' -NoClobber'
    $scriptCmd = {& $wrappedCmd @PSBoundParameters }
    if ( $AppendMode ) {
    # redefine command line
    $scriptCmd = $ExecutionContext.InvokeCommand.NewScriptBlock(
    $scriptCmdPipeline
    } else {
    # execute Export-CSV as we got it because
    # either -Append is missing or file does not exist
    $scriptCmd = $ExecutionContext.InvokeCommand.NewScriptBlock(
    [string]$scriptCmd
    # standard pipeline initialization
    $steppablePipeline = $scriptCmd.GetSteppablePipeline($myInvocation.CommandOrigin)
    $steppablePipeline.Begin($PSCmdlet)
    } catch {
    throw
    process
    try {
    $steppablePipeline.Process($_)
    } catch {
    throw
    end
    try {
    $steppablePipeline.End()
    } catch {
    throw
    <#
    .ForwardHelpTargetName Export-Csv
    .ForwardHelpCategory Cmdlet
    #>
    Reference from:
    Export-CSV -Append
    I hope this helps.

  • OMF CS4 issue - Seperate audio tracks output as identical files on Pro Tools import

    OMF issue - seperate audio tracks outputs as identical files
    I am having some serious trouble when trying to export an OMF from a p2 DVCPROHD 720p50 project in CS4, and importing it in Pro Tools. The project is complex with over 12 hours of HD-footage and many sequences and titles.
    When exporting an OMF from a thirty minute sequence to work with the audio in Pro Tools, all four tracks turn out identically in Pro Tools on import. However, the tracks are different in the Premiere Pro CS4 timeline.
    We have tried both encapsulated and separate audio, we have tried importing the timeline/sequence into a new premiere project and exporting an OMF from the new project with no success. However, when we started a new project and simply imported one of our p2-files, and exported an omf, it worked fine, with 4 different audio tracks in Pro Tools.
    We also tried exporting 4 different OMF-files (one for each track), while having deleted all the other tracks. This remarkably also resulted in four identical tracks in Pro Tools!
    The OMF does not exceed the 2GB limitation.
    Can anyone help us? Have a project due on Monday, and need to start working on the audio ASAP.
    FMP10SH

    The "Source Channel Mapping - Default Track Format:" is set to "Use File". We recorded with a Panasonic HPX301 camera, which has three XLR-inputs, and we used all of them. So two of the tracks are identical recordings (from one of the XLR-inputs), while the two remaining are different, so in total there are three different tracks of oudio, all mono.
    When we put a p2-file into a sequence it has four tracks of audio linked to it, with the corresponding sound. So everything seems to be in order in Premiere, but for some reason they end up being four identical tracks in Pro Tools. As mentioned we tried making a new project with the same settings as in the project we are currently working, and we imported a single p2 clip. We exported a sequence with this clip as an omf with all the same settings, and this time it worked. The four tracks were different in Pro Tools when the OMF was imported. So it seems that the complexity of our project, or some setting that we are not aware of but have been altered by a mistake has made this project impossible to export correctly as an omf.
    But if there are any solutions to this we would be deeply grateful!
    thnx

  • Java XML Digital Signature API, how to sign different files

    Hello,
    I need to sign several files: binary and/or xml (in some cases just part of xml), and to implement digitla signatures in xAdes standard. So I'm looking to use Java XML Digital signature API, but can't find any examples, that would cover issues I encountered:
    How to sign binary file?
    Just to sign some simple "aaa.png" file and have it's signature in XML. How in right way to create referece?
    (should it be something like: Reference ref = fac.newReference("aaa.png", fac.newDigestMethod(DigestMethod.SHA1, null), null, null, null); )
    And how to pass file for signing? what to add/change to this code:
    Document doc = dbf.newDocumentBuilder().parse(new FileInputStream("aaa.png"));
    DOMSignContext dsc = new DOMSignContext(keyEntry.getPrivateKey(), doc.getDocumentElement());
    (I have only found some information about needing to "dereference" or so - but no examples, how to make things work.)
    How to sing several different files?
    As I wrote before, several files needs to be signed, but in all examples, it's only one Document object (and only one file), how/where to add more files and if API will be capable to deal with such thing?
    In one of examples what I have to achive was such code:
    <Reference URI="aaa.png" xmlns="http://www.w3.org/2000/09/xmldsig#">
    <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
    <DigestValue>8rl/xzjAnE4yQQ2LTBvFTU2JH+c=</DigestValue>
    </Reference>
    If I do write code like: "fac.newReference("aaa.png", <...> );
    I'll get an error during signing: signature.sign(dsc);
    *"java.net.MalformedURLException: no protocol: aaa.png"*
    How to avoid this?
    Also, from exmaple (what to reach) above:
    <Reference URI="aaa.png" xmlns="http://www.w3.org/2000/09/xmldsig#">
    There is additional attribute "xmlns=<...>" - the question is if it is possible to add it by XMLSignatureFactory.newReference ?
    Java API adds a lot of prefixes "ds:" , like:
    <...>
    <ds:Reference URI="file:/D:/try5/SignableMetadata0.xml">
    <ds:Transforms>
    <ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" />
    </ds:Transforms>
    <...>
    Is it possible to avoid them?
    Any help on any of these questions would be very appreciated

    Hi,
    I would like to sign a specific part of a xml message [Only the contents under the <Buyer> tag]. I have also pasted the code which i used to do this. I am getting an output xml after the xml is signed, but when I validate the xml , the xml is valid even after I change the xml contents. Could you pls tell me what I am doing wrong here. I want to know whether the xpath implementation which I have done is correct.
    <?xml version="1.0" encoding="UTF-8"?>
    <PurchaseOrder>
    <Item number="130046593231">
    <Description>Video Game</Description>
    <Price>10.29</Price>
    </Item>
    *<Buyer id="8492340">*
    *<Name>My Name</Name>*
    *<Address>*
    *<Street>One Network Drive</Street>*
    *<Town>Burlington</Town>*
    *<State>MA</State>*
    *<Country>United States</Country>*
    *<PostalCode>01803</PostalCode>*
    *</Address>*
    *</Buyer>*</PurchaseOrder>
    // The code which i have used to perform the xpath transformation.
              XMLSignatureFactory fac = XMLSignatureFactory.getInstance("DOM");
         XPathFilterParameterSpec xpathFilter = new XPathFilterParameterSpec("PurchaseOrder/Buyer");
              javax.xml.crypto.dsig.Reference ref = fac.newReference
              ("", fac.newDigestMethod(DigestMethod.SHA1, null),
              Collections.singletonList
              (fac.newTransform
              (Transform.XPATH, xpathFilter)),
              null, null);
              SignedInfo si = fac.newSignedInfo
              (fac.newCanonicalizationMethod
              (CanonicalizationMethod.INCLUSIVE,
              (C14NMethodParameterSpec) null),
              fac.newSignatureMethod(SignatureMethod.DSA_SHA1, null),
    Collections.singletonList(ref));
    // Load the KeyStore and get the signing key and certificate.
         KeyStore ks = KeyStore.getInstance("JKS");
         char[] password = "changeme".toCharArray();
         ks.load(new FileInputStream("c:\\KeyStore"), password);
         KeyStore.PrivateKeyEntry keyEntry =
         (KeyStore.PrivateKeyEntry) ks.getEntry
         ("EISKeys", new KeyStore.PasswordProtection(password));
         X509Certificate cert = (X509Certificate) keyEntry.getCertificate();
         // System.out.println("X509Certificate:"+cert);
         // Create the KeyInfo containing the X509Data.
         KeyInfoFactory kif = fac.getKeyInfoFactory();
         List x509Content = new ArrayList();
         x509Content.add(cert.getSubjectX500Principal().getName());
         x509Content.add(cert);
         X509Data xd = kif.newX509Data(x509Content);
         KeyInfo ki = kif.newKeyInfo(Collections.singletonList(xd));
         // Instantiate the document to be signed.
         DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
         dbf.setNamespaceAware(true);
         Document doc = dbf.newDocumentBuilder().parse
         (new FileInputStream("C:\\Life2012\\DigSign\\ACORD_Request.xml"));
         NodeList rootChildList = doc.getDocumentElement().getChildNodes();
         Node bodyNode = null;
         for(int i=0;i<rootChildList.getLength();i++){
              if("Buyer".equalsIgnoreCase(rootChildList.item(i).getLocalName())){
                   bodyNode = rootChildList.item(i);
                   System.out.println("Body Node is obtained"+bodyNode);
                   break;
         // Create a DOMSignContext and specify the RSA PrivateKey and
         // location of the resulting XMLSignature's parent element.
         //DOMSignContext dsc = new DOMSignContext
         // (keyEntry.getPrivateKey(), doc.getDocumentElement());
              // Sign only the body node
         DOMSignContext dsc = new DOMSignContext
         (keyEntry.getPrivateKey(), bodyNode);
         // Create the XMLSignature, but don't sign it yet.
         XMLSignature signature = fac.newXMLSignature(si, ki);
         // Marshal, generate, and sign the enveloped signature.
         signature.sign(dsc);

  • Anyone know how to output an XML file from ABAP to a non sapgui location?

    I have a program that creates XML and then outputs a file via CALL METHOD cl_gui_frontend_services=>gui_download. But now I want to execute the program in background mode and therefore I need to be able to output that XML to a NON sapgui file location. Current code creates the XML to an internal table which is binary then the gui_download method converts that to output XML. .  Does anyone know how I can change the code to either a) output the XML to an internal table which can be output via, say, a TRANSFER command..or, b) output the created binary table of XML to a NON sapgui file location?
    Excerpts from current code are as follows:
    first the XML is created (to the binary file)
          Creating a ixml factory
      l_ixml = cl_ixml=>create( ).
          Creating the dom object model
      l_document = l_ixml->create_document( ).
          Fill root node with value XML
      l_element_xml  = l_document->create_simple_element(
                  name = 'XML'
                  parent = l_document ).
          Create tag 'HEADER' as child of 'XML'
      l_element_header  = l_document->create_simple_element(
                  name = 'HEADER'
                  parent = l_element_xml  ).
    header information about the file and general data about the fleet follows
      l_value = c_fleet_import.
      l_element_dummy  = l_document->create_simple_element(
                name = 'TYPE'
                value = l_value
                parent = l_element_header ).
    etc.......
    then the xml is connected to the stream factory and rendered
      Creating a stream factory
      l_streamfactory = l_ixml->create_stream_factory( ).
      Connect internal XML table to stream factory
      l_ostream = l_streamfactory->create_ostream_itable( table = l_xml_table ).
      Rendering the document
      l_renderer = l_ixml->create_renderer( ostream  = l_ostream
                                            document = l_document ).
      l_rc = l_renderer->render( ).
      Saving the XML document
      l_xml_size = l_ostream->get_num_written_raw( ).
    and then output to the file
      IF sy-subrc = 0.
        CALL METHOD cl_gui_frontend_services=>gui_download
           EXPORTING
             bin_filesize = l_xml_size
            filename     = 'g:\sapdms\BSCC-DEV\EFPAC XML Files\ALL.xml'
           filename     = '/TRICK/727/OUT/ZEFP/EFPAC.XML' "doesnt work with sap gui
             filetype     = 'BIN'
           CHANGING
             data_tab     = l_xml_table
           EXCEPTIONS
             OTHERS       = 24.
    as implied by the comments the method above will successfully output the XML file to the g:drive but will not output to /TRICK/ location, which is where I need it to go in a background mode run.
    This is a problem which has defeated all our local expertise and I would appreciate any help given... Barry Jones

    Try this code below:
    data  l_xml_table2  type table of xml_line with header line.
    W_filename - This is a Path.
      if w_filename(02) = '
        open dataset w_filename for output in binary mode.
        if sy-subrc = 0.
          l_xml_table2[] = l_xml_table[].
          loop at l_xml_table2.
            transfer l_xml_table2 to w_filename.
          endloop.
        endif.
        close dataset w_filename.
      else.
        call method cl_gui_frontend_services=>gui_download
          exporting
            bin_filesize = l_xml_size
            filename     = w_filename
            filetype     = 'BIN'
          changing
            data_tab     = l_xml_table
          exceptions
            others       = 24.
        if sy-subrc <> 0.
          message id sy-msgid type sy-msgty number sy-msgno
                     with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        endif.

  • Is there a way to save a form, once filled out, as a different file type in Reader?

    I have Acrobat, my coworkers only have Reader. Company won't purchase Acrobat for the other employees.
    I built a form for my coworkers to fill out. We need them to be able to send the filled out form to clients, but we don't want the clients to be able to edit the forms.
    I understand people with only Reader can't flatten the document, or add a password, or save it as non editable. As I understand it, even with Acrobat I can't assign a password for Reader users to be able to edit or not edit a file (PLEASE correct me if I'm wrong on that one).
    Is there any way to save the PDF form once it's been filled out (in Reader) as a different file type? Even an image? The file we send to clients doesn't have to be a PDF. Just something that most people can open.
    I tried inserting the PDF into a word document (unreadably pixelated) and tried taking a snapshot of the entire page (resolution too low). I've tried downloading one of the free PDF writers and it apparently won't work with our network security (or something along those lines). I've tried using the pdf writer for Firefox on the form once it was filled out, and that won't work either because our network firewall seems to be blocking it and that's not something they are willing to take down.
    Any advice?

    The signature WILL work! I've just looked into it more, thank you so much for pointing me in that direction.
    I get it now, it locks the form fields in place after my coworker fills them in and signs it (as the very last step).
    I wish I would have asked on here a full day ago. Would have saved a lot of headache and Googling.
    Thanks again.

Maybe you are looking for