Creating pdg using File Receiver

Hi,
I have to create a pdf as output using the File adapter.
Please help.
Regards,
Vignesh

hi,
there is also a nice way to create it using an adapter module (with free apache libraries)
XI: Generate PDF file out of file adapter
very simple, FREE and works
Regards,
Michal Krawczyk

Similar Messages

  • Encrypt Data using File Receiver Adapter

    Dear All,
    How to encrypt file content using file receiver adapter?
    Any suggestions would be of great help.
    Thanks and Regards
    Bhasker

    Hi,
    U can also develop custom adapter module code. For more reference plz have a look:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0ac06cf-6ee2-2c10-df98-e17430ca5949?quicklink=index&overridelayout=true
    Re: Encyprtion in XI.
    Thanks
    Amit

  • Using file receiver adapter with a different user

    Hello.
    I have a simple question (at least I think it is)
    Can I use a file receiver adapter (where the transport protocol is NFS - not FTP)
    so that a different user will access the directory (not the usual SAPServiceSID)?
    I don't see any place for using username and password, and using the FTP protocol is not possible
    because of security reasons.
    Any help Appreciated.

    Hello.
    Thanks for the quick answers.
    I'm sorry for not being clear enough before.
    I have a microsoft network share on a different server then the PI.
    When I use the path:
    server\share
    I manage to successfully put a file via the file receiver adapter, with NFS as the transport protocol.
    However in order to do this, the owner of the share had to give credentials to the user: SAPServiceSID of my PI system
    which is an active directory user.
    The owner wants me to use a local user instead.
    Can this be done with a local user?

  • How to create and use file share in linux

    Hi,
    I just started trying out Azure, I have 2 linux ubuntu instances. I would like to create a File share to use as a type of NAS and mount it on both of the instances.
    How can I go about doing that? Is there a tutorial?
    thanks
    Ricardo

    Hi,
    We can use Azure File services to do this, for more information, please have a look at this article:
    http://blogs.msdn.com/b/windowsazurestorage/archive/2014/05/12/introducing-microsoft-azure-file-service.aspx. The Azure File service exposes file shares using the standard SMB 2.1 protocol. Applications running in Azure can now easily share files between
    VMs using standard and familiar file system APIs like ReadFile and WriteFile.
    Best Regards,
    Jambor
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Writing to 2 different directory using file receiver channel

    I have a scenario where i am picking multiple files from one server and writing it on another. While writing the files, i want to write them to different folders using one communication channels based on the filename. is it possible? if yes how?

    You have to go for dynamic configuration UDF in the mapping.
    Refer to the below document
    http://wiki.scn.sap.com/wiki/display/XI/Dynamic+file+name+and+directory+in+Receiver+File+Adapter+-+summary+of+possibilities
    Also http://****************/Tips/XI/ASMA/Index.htm
    You just need to add filters/fix value lookup and pass it to UDF to determine the target directory
    Message was edited by: Hareesh Gampa

  • Is the PSD created from Multi-page PDF to PSD different from one created using File- Open?

    My printer is telling me that a PSD created using the Automate->Multi-page PDF to PSD is different from one created by using File->Open. Does anyone know if this is true? If so, why?

    CMD I on the .ai file
    Change open with to AICS6
    Click Change All

  • File receiver - Get file size

    Hi all,
    In my scenario, the message mapping is such that the target message may or may not have child nodes created depending on certain conditions. I am using file receiver channel to write this target message as xml file on another server.
    The issue I am facing is - suppose child nodes are not created, the target message has only root node, and nothing else. i.e. it is empty.
    But still the file gets written on destination, because file adapter doesn't seem to have intelligence to look into the payload. So I have to manually delete such 'almost-empty' files.
    Although PI 7.0 has feature of ignoring empty files, the file I am talking of is really not of 0 kb size, as it contains namespace and root node tag. It has very small size of 1 kb, this is fixed and thus the file is easily distinguished from other larger files which contain child nodes. File size is a parameter that can be certainly used as a key here, but don't know how.
    Does anyone have any idea on -
    1) How to check file size before file receiver adapter writes it,
    2) How to prevent such file from getting written, or
    3) run a script which can detect the file size and delete them periodically / or every time file receiver writes files ?
    Regards,
    - Shankar.

    Hi,
    We have an option of empty file handling in receiver file adapter..
    <i>      Select the Handling of Empty Messages:       Write Empty File
    An empty file (length 0 bytes) is put in the target directory.
           Ignore No file is put in the target directory.</i>
    But your case namespace and root node only are available you said.
    In this type of situations ..
    We can handle in the following way..
    If target side root node having the recordset node
    root
      recordset 0..unbound
         child1 0.1
         child2   0.1
    Then create a UDF
    map from left side one node -
    exists --- UDF ---to right side root node
    In UDF
    //handle business logic and
    ....ResultList.SUPPRESS.
    if your target side does not have any recordset type of structure then..
    In messages tab change the occurrences of msg to 0..unbound and use the above UDF.
    Regards
    Chilla..

  • File receiver : blank line at end of file

    Dear friends,
    we are using file receiver with file content conversion , tp : FTP
    The file has a flat structure & fixed length (no delimiters) :
    reordset parameters used- fieldFixedLengths
    each record is in a different line, but at the end of the records a blank line is inserted.
    (no endSeparator is used.)
    Can you pls advise hot to get rid of this extra blank line

    Hi Datta,
    I am not sure but you can try with follwing parameters...
    NameA.fixedLengthTooShortHandling Specify how you want the system to respond when column widths in the actual document exceed those defined in NameA.fieldFixedLengths. The following values are permitted: 
    ·        Error
    Error means that processing of the document is terminated.
    ·        Cut
    Cut means that a value is shortened to the maximum permitted length.
    ·        Ignore
    Ignore means that the system applies the value completely, regardless of it being too long. Subsequent columns are moved correspondingly.
    U can use ignore in your case.
    For more info. plz check
    http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/frameset.htm
    Regards
    Sachin

  • I am using Adobe Acrobat 9 Standard version in Windows 8.1 and when I try to create a .pdf file, I receive the following error message "Acrobat could not open "file name.log" because it is either not a supported file type or because the file has been dama

    I am using Adobe Acrobat 9 Standard version in Windows 8.1 and when I try to create a .pdf file, I receive the following error message "Acrobat could not open "file name.log" because it is either not a supported file type or because the file has been damaged.  To create a PDF document, go to the source application then print the document to .pdf"  I am going to the source application and printing the document to .pdf yet it's saving the file as a .log file.  After reinstalling the software, I initially didn't encounter this problem but on my second and third attempts to convert files to .pdf format, this error message reappeared.  How do I resolve this problem?

    I have a similar problem which i did not have before...and it exists only in some powerpoint files which i want to print as a pdf file...and i get the same message as above.
    the log says the bellow details...what's the problem and how can i resolve it? thanks.
    %%[ ProductName: Distiller ]%%
    %%[Page: 1]%%
    %%[Page: 2]%%
    Cambria not found, using Courier.
    %%[ Error: invalidfont; OffendingCommand: show ]%%
    Stack:
      %%[ Flushing: rest of job (to end-of-file) will be ignored ]%%

  • How to create an Excel file from XML in the Receiver File Adapter Comm Ch

    How do I create an Excel file from XML in the Receiver File Adapter Communication Channel? I have my mapping done and I am outputting the file as a comma delimited csv file. However, the target can only process an Excel file (.xls). How can I generate an Excel in XI?
    I saw this blog, but I don't know how to create a XSLT transformation.
    /people/michal.krawczyk2/blog/2005/12/10/xi-generating-excel-files-without-the-java-nor-the-conversion-agent-not-possible
    Any help would be appreciated. Thanks.

    Here are the steps I took to create an XSLT transformation in XI 3.0:
    1. I created my source and target XSDs using XMLSpy.
    2. I created the XSLT mapping from source to target in XMLSpy (referencing the souce XSD schema).
    3. I created another XSLT mapping to format the target into Excel XML.
    4. Import the source and target XSDs in the IR's External Definitions
    5. Zip each XSLT mapping (.xls) and import it into the IR's Imported Archives
    6. Reference the XSL mappings in the Interface Mapping

  • Receiving multiple files with dual extension using file adapter

    Hi,
    The scenario where I am implementing requires multiple files of different names to be picked(ABC.txt) and dropped at destination(ABC.txt.pgp) up by my File Sender and Receiver adapters.  Any idea on about how the configuration for receiving multiple files with dual extension for receiver adapter is to be done?
    Note:- currently, The scenario is working fine without dual extension. i.e Its picking all files which starts with ABC and creating at destination as it is. even I configured as ABC.txt.pgp, but its not creating the second extension.
    Thanks in Advance
    Manmadha

    Hi,
    Try to concatenate '.pgp ' to the source file name to create the target file name for the receiver file adapter, by accessing the Adapter Specific Attributes using Java user defined function. This might work.
    Reference links:
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/43/03612cdecc6e76e10000000a422035/frameset.htm">SAP Help - Accessing Adapter Specific Attributes</a>
    <a href="/people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14 - XI: The same filename from a sender to a receiver file adapter - SP14</a>
    Regards,
    S.Santhosh Kumar

  • Receiver adopter using File Content  Conversion

    Guys,
    I am using File Content Conversion at receiver end.
    <b>maintained record structure:</b> Table1,Table2,Table4,Table5,Table6,Table7,Table8,Table9
    and maintained parameters below menction for each table.
    fieldFixedLengths
    fieldNames
    fixedLengthTooShortHandling
    I want to create target file fixed length and the order which maintained in source file.(EXPECTED FORMAT).
    But receiver File Content Conversion creating file in below menction format(FILE COMING FORMAT) which i don't want. Can any one help me what are the parameters do I need to maintain, to create the file same order which is like source file.
    <b>SOURCE FILE</b>
    100ABCDEF     0430000960603201321
    2  000000000040008000802
    400100160200002000015E59332  000000000010424400
    50000000640672060320ABCDEF     043000096
    600100100220887000311003510300958527437215    BAMBERGER POLYMERS
    400100160100002000015E59347  000000000000008250
    700100206430530603200010022088700
    80010030643053060320000100220887009
    400100160100002000015E59347  000000000000008260
    9000010
    <?xml version="1.0" encoding="utf-8"?>
    <ns:CSAA_Bankdet_src xmlns:ns="urn:cs.www.abcdefinc.com/CSAA_ODSFTP_ECC_Bank_Details">
         <Table1>
              <RecordType>1</RecordType>
              <PriorityCode>00</PriorityCode>
              <Destination>abcdef</Destination>
              <BankOrginNo>043000096</BankOrginNo>
              <CreationDate>060320</CreationDate>
              <CretionTime>1321</CretionTime>
              <Spaces></Spaces>
         </Table1>
         <Table2>
              <RecordType>2</RecordType>
              <Destination>00000000</Destination>
              <BankOrginNo>0040008000</BankOrginNo>
         </Table2>
         <Table4>
              <RecordType>4</RecordType>
              <BatchNumber>001</BatchNumber>
              <ItemNumber>001</ItemNumber>
              <RecordOverflow>6</RecordOverflow>
              <SequenceNumber>020</SequenceNumber>
              <OverflowCode>0</OverflowCode>
              <CustomerNumber>002000015E</CustomerNumber>
              <InvoiceNumber>59332  0</InvoiceNumber>
              <DiscountAmount>00000000</DiscountAmount>
              <GrossAmount>010424400</GrossAmount>
         </Table4>
         <Table5>
              <RecordType>5</RecordType>
              <BatchNumber>000</BatchNumber>
              <ItemNumber>000</ItemNumber>
              <LockboxNumber>0640672</LockboxNumber>
              <DepositDate>060320</DepositDate>
              <Destination>abcdef</Destination>
              <BankOrigin>043000096</BankOrigin>
              <Spaces></Spaces>
         </Table5>
         <Table6>
              <RecordType>6</RecordType>
              <BatchNumber>001</BatchNumber>
              <ItemNumber>001</ItemNumber>
              <RemittanceAmount>0022088700</RemittanceAmount>
              <MICRTransitRouting>031100351</MICRTransitRouting>
              <MICRAccountNumber>03009585274372</MICRAccountNumber>
              <MICRCheckSerialNumber>15    BAMB</MICRCheckSerialNumber>
              <CustomerName>ERGER POLYMERS</CustomerName>
         </Table6>
         <Table4>
              <RecordType>4</RecordType>
              <BatchNumber>001</BatchNumber>
              <ItemNumber>001</ItemNumber>
              <RecordOverflow>6</RecordOverflow>
              <SequenceNumber>010</SequenceNumber>
              <OverflowCode>0</OverflowCode>
              <CustomerNumber>002000015E</CustomerNumber>
              <InvoiceNumber>59347  0</InvoiceNumber>
              <DiscountAmount>00000000</DiscountAmount>
              <GrossAmount>000008250</GrossAmount>
         </Table4>
         <Table7>
              <RecordType>7</RecordType>
              <BatchNumber>001</BatchNumber>
              <ItemNumber>002</ItemNumber>
              <LockboxNumber>0643053</LockboxNumber>
              <DepositDate>060320</DepositDate>
              <NoofDetailRecords>001</NoofDetailRecords>
              <BatchDollarAmount>0022088700</BatchDollarAmount>
              <Spaces></Spaces>
         </Table7>
         <Table8>
              <RecordType>8</RecordType>
              <BatchNumber>001</BatchNumber>
              <ItemNumber>003</ItemNumber>
              <LockboxNumber>0643053</LockboxNumber>
              <DepositDate>060320</DepositDate>
              <NoofDetailRecords>0001</NoofDetailRecords>
              <RemittanceDollarAmount>0022088700</RemittanceDollarAmount>
              <LastRecordIndicator>9</LastRecordIndicator>
              <Spaces></Spaces>
         </Table8>
         <Table4>
              <RecordType>4</RecordType>
              <BatchNumber>001</BatchNumber>
              <ItemNumber>001</ItemNumber>
              <RecordOverflow>6</RecordOverflow>
              <SequenceNumber>010</SequenceNumber>
              <OverflowCode>0</OverflowCode>
              <CustomerNumber>002000015E</CustomerNumber>
              <InvoiceNumber>59347  0</InvoiceNumber>
              <DiscountAmount>00000000</DiscountAmount>
              <GrossAmount>000008260</GrossAmount>
         </Table4>
         <Table9>
              <RecordType>9</RecordType>
              <TotalRecords>000010</TotalRecords>
              <Spaces></Spaces>
         </Table9>
    </ns:CSAA_Bankdet_src>
    <b>FILE COMING FORMAT</b>
    100ABCDEF    043000096 0603201321                                              
    200000000
    40010016020059332  0        00000000  010424400
    40010016010059347  0        00000000  000008250
    40010016010059347  0        00000000  000008260
    50000000640672060320ABCDEF    043000096                                        
    600100100220887000311003510300958527437215    BAMBERGER POLYMERS                    
    700100206430530603200010022088700                                              
    80010030643053060320000100220887009          
    9000010
    <b>EXPECTED FORMAT</b>
    100ABCDEF    043000096 0603201321                                              
    200000000
    40010016020059332  0        00000000  010424400 
    50000000640672060320ABCDEF    043000096                                        
    600100100220887000311003510300958527437215    BAMBERGER POLYMERS                    
    40010016010059347  0        00000000  000008250
    700100206430530603200010022088700                                              
    80010030643053060320000100220887009          
    40010016010059347  0        00000000  000008260
    9000010   
    Thanks
    M

    Hi,
    Try to handle this with the context in the mapping.
    I think your mapped xml will look like this-
    <i>100ABCDEF 043000096 0603201321
    200000000
    40010016020059332 0 00000000 010424400
    40010016010059347 0 00000000 000008250
    40010016010059347 0 00000000 000008260
    50000000640672060320ABCDEF 043000096
    600100100220887000311003510300958527437215 BAMBERGER POLYMERS
    700100206430530603200010022088700
    80010030643053060320000100220887009
    9000010</i>
    SO this is because of context problem. All similar nodes are grouped in the Message Mapping.
    1) For this you can try with Context Handling - i.e using RemoveContext,SPlity value functions etc in the message mapping.
    2) Another way use XSLT mapping here. In this case it will be easier, because you just need to read the input xml as it is and produce the same.
    3) One more thing, your input xml looks as if is the output xml. Is it required to have mapping here? If there is no transformation required, then you can do without any mapping, and you will get the required output as it is ..
    Regards,
    Moorthy
    Message was edited by: Krishna Moorthy P

  • File receiver: Create empty file named "start.txt" at end of process

    Hello,
    When my file adapter finish the generation of file at the receiver server I want to create another empty file at the same directory named "start.txt". The use of that file if for a scheduled task of OS that only starts a process if start.txt file have been created (the process delete that file).
    How can I do that? I've tried with OS command after precessing but that's for the XI OS not the receiver system SO...
    Then I've seen that I can use ftp command but there isn't ftp command to create a file... only to transfer files.

    You can achive this using script.Write a script/bat to creat a file using ftp connection as well in the script and place in xi machine. Using OS command to call the script before the process ends.
    Unix OS
    Glimpse at OS Command: Yet Another Scenario
    Microsoft OS
    The specified item was not found.
    Regards
    Prabhakar

  • Can External Definition be used or Receiver File content conversion (CSV)?

    Hi Experts,
    I'm a newbie to SAP PI and I started working on file to File(FCC) scenario in which I am provided with the receiver structure as an External definition. The structure is like
    Name
    Place
    Designation
    Salary
    hike
    Can I use the same structure (External Definition) for the receiver file content conversion or do I need to create another specific structure?
    Can I convert the target CSV file to UTF-8 encoding?
    Please help.
    Regards,
    Taro

    Hi,
    Can the above specified structure be used for receiver FCC? Does this work? Can this be converted to UTF-8?
    If it can be used, how do we specify the parameters for FCC then as there's no root element?
    Regards,
    Taro

  • Got compilation error about 'create instance activity' using file adapter

    Hi,
    I am creating a very simple bpel process using file adapter. in my 'Receive' activity, I selected 'create instance' , as the tutorial says.
    I got this compilation error during deploying.
    'Error(31): [Error ORABPEL-10051]: multiple create instance activity [Description]: in line 31 of "D:\OraBPELPM_1\integration\jdev\jdev\mywork\BPELPractices\FileAdapterTest2\FileAdapterTest2.bpel", Conflicting createInstacne="yes". Instance is already created by another activity. [Potential fix]: Remove createInstance="yes" attribute from this activity. '
    Several people had the same problem in my team. I wonder if this is a common issue. how to fix it?
    Thanks,
    Kate

    You must be having another receive/pick activity within the same process that has "createInstance" set to yes.
    Thats why its complaining.

Maybe you are looking for

  • Why does iTunes keep reseting my library?

    This is the second time this has happened: everything will be working fine (as fine as iTunes 7 can) and then I'll wake up one morning and BAM! - all the songs and delightfully crafted smart playlists will be gone, replaced by no songs and the defaul

  • How can i clean up my MacBook Air?

    I have a 64 Gb laptop. It keeps telling me i am running out of space. It got so bad i couldnt open more then 3 applications at a time, and then i couldn't open ITunes. That's bad. I checked my usage and here it is: Audio- 9.7 mb movies- 0 kb photos-

  • Re: BI Load Data

    Hi Guys, Is ther anyother way to get data into BI other than table maintenance view. Currently the user enters data in table maintenance view in ECC and then we load data into BI. Apart from this anyother way to do it? Regards, Anand

  • Addition in Report

    Dear Friends, I want to add all results values into using formula, Eg: Rp1      A      B     C    D M1      10        20      30     M2      12        13      14 M3      20        40      10 Result  32       73       54    159 Explanation for above f

  • WebHelp: opening a topic with search results highlighted

    Hello! I am using an external search engine to index a large documentation set, including some WebHelp output. I would like for the returned results to open matching WebHelp topics with the matching search terms highlighted. Is there a supported URL