Using Additional parameters in file receiver

Hello all,
I'm trying to use additional parameters the following way:
In my receiver adapter:
File Name Scheme : %var%.txt
Additional Parameters:  
%var%     |   myvalue
Checked "Set Adapter Specific Message Attributes" and "FileName" in both sender and receiver adapters.
XI doen't pay attention to my variable and outputs the file name as is (exactly as the original name).
Can anyone please help me solve the problem?
Thanks in advance

Hi,
since you are using both variable substitution & Set Adapter Specific Message Attributes, the second one has highest preference. So only Adapter Specific Message Attribute works in this case.
So use either Variable Substitution (or) Set Adapter Specific Message Attributes according to your scenario requirement.
- Gujjeti.

Similar Messages

  • Overriding SPMetal Defaults by Using a Parameters XML File

    hi everybody,
    I have a datatable
    Employee below :
    FullName Single line of text
    Age
    Number
    After use SPMetal to generate entities, i have
    EmployeeItem below:
    FullName string
    Age
    double?
    I want Age is Integer so i use "Overriding SPMetal Defaults by Using a Parameters XML File" :
    <?xml version="1.0" encoding="utf-8"?>
    <Web AccessModifier="Public" xmlns="http://schemas.microsoft.com/SharePoint/2009/spmetal">
    <List Name="Employee" Type="Employee">
    <ContentType Name="Employee" Class="Employee">
    <Column Name="FullName" />
    <Column Name="Age" Type="Integer" />
    <ExcludeOtherColumns/>
    </ContentType>
    </List>
    <ExcludeOtherLists />
    </Web>
    When generate it have error "There is an error in XML doc" at :
    <Column Name="Age" --error here-- Type="Integer" />
    Would you like help me?

    Hi,
    I came across the same error when testing your code in my environment.
    Anyway, if we convert the Number field to Integer, there will be a risk of damaging our data due to the conversion accuracy.
    So if you want to use the Integer type of data, a workaround is that you can convert the double type of data to Integer type programmatically after retrieving the data you want.
    Best regards
    Patrick Liang
    TechNet Community Support

  • HT5878 how to check the detail of font being used for reading the file received by an email

    I received word file as an attachment with email on my iphone. I want to check the detail on font being used for reading the word file received as attachment in an email.
    Thanks

    You don't need to copy the cert out of your configuration. OpenSSL has an "s_client" subcommand which can open an SSL connection and verify the cert for you. It even knows how to do STARTTLS. Something like this ought to do it:
    openssl s_client -starttls smtp -CAfile /path/to/ca/file -connect your.ironport:25
    The /path/to/ca/file is necessary to provide openssl with a cache of root CA certs. You could use -CApath instead of -CAfile if you have a hashed directory of root CA certs instead of a single file containing them all.
    You can also point this at your partner's SMTP server as well.

  • How to use additional parameters in SM49

    Hi,
    I wrote a CMD file witch copies a file from one directory to another, the source and destention are both parameteres,
    how do I sent the 2 parameters using SM49?
    the command file looks like this:
    copy %1% %2%
    The system is windows
    Thanks,
    Naama.

    Right click on the References node in the project navigator and select: Add New Library Reference. In the subsequent dialog, specify the path to the jar file you wish to include. This library will be automatically added to the application classpath at design time and deployed with the application when you run the project.

  • HTTP to File Scenario using URL parameters.

    Hi,
    I am working on a HTTP to file scenario where POST method is hirring the XI server with authentication parameters.
    CAD application is trying to hot our XI server using POST Method and the application does not have ability to send XML payload to XI server directly.
    So we are simply receiving parameters in plain text in inbound payload.
    I need to convert this payload to XML format and am tring to work this out using dynamic configuration.
    But It is throwing parser error.
    BaseRuntimeException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: XMLParser: No data allowed here: (hex) 73, 75, 62(:main:, row:1, col:3) at com.sap.aii.mappingtool.tf3.rt.xparser.MTSaxHandler.run(MTSaxHandler.java:157) at com.sap.aii.mappingtool.tf3.rt.xparser.XParser.run(XParser.java:73) at java.lang.Thread.run(Thread.java:770)
    Here I have to use HTTP sender adapter.
    Please suggest how can I acheive this.??
    Regards,
    Sachi

    Hi Mark and Maciej,
    The Inbpound payload we are reciving is of the kind:
    sap-user=<UserID>&sap-password=<Pwd>&Param1=Sachi&submit=submit
    As in HTML we ar using hidden parameters to given authentication details and submmit button to hit XI serrver.
    Can you please help me to out how can I add prolog and epilog.
    How can I change my payload to XML format.
    Regards,
    Sachi

  • File Receiver using FCC

    Hi All,
    I want to generate a file with structure like below:
    "100","Field1","Field2","Field3"
    "200","Field41","Field51","Field61"
    "200","Field42","Field52","Field62"
    Here 100 n 200 are row identifiers. My data type for receiver side is as follows:
    <Data_Type>
        <Header>(0,1 ocurence)
             <100>
             <Field1>
             <Field2>
             <Field3>
         <Item>( 1 to unbound ocurence)
              <200>
              <Field4>
              <Field5>
              <Field6>
    I am getting error "Channel has not been correctly initialized and cannot process messages" in communication channel monitoring because Receiver Communication channel is not configured correctly.
    Can Anybody please tell me what should be parameters in FCC in Content Conversion?
    Thanks,
    Atul

    Hi,
    Please find here with you fcc parameters as per the given links
    File Content Conversion for Unequal Number of Columns
    /people/jeyakumar.muthu2/blog/2005/11/29/file-content-conversion-for-unequal-number-of-columns - FCC
    File to R/3 via ABAP Proxy
    /people/prateek.shah/blog/2005/06/14/file-to-r3-via-abap-proxy - FCC
    Content Conversion (Pattern/Random content in input file)
    /people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file - FCC
    /people/harrison.holland5/blog/2006/12/20/xi-configuration-for-mdm-integration--sample-scenario - FCC - MDM
    XI in the role of a FTP
    /people/shabarish.vijayakumar/blog/2006/04/03/xi-in-the-role-of-a-ftp - FCC
    File content conversion sites
    /people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
    /people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2
    /people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
    /people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file
    /people/shabarish.vijayakumar/blog/2005/08/17/nab-the-tab-file-adapter
    /people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
    /people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2
    /people/venkat.donela/blog/2005/06/08/how-to-send-a-flat-file-with-various-field-lengths-and-variable-substructures-to-xi-30
    /people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file
    /people/shabarish.vijayakumar/blog/2005/08/17/nab-the-tab-file-adapter
    /people/jeyakumar.muthu2/blog/2005/11/29/file-content-conversion-for-unequal-number-of-columns
    /people/shabarish.vijayakumar/blog/2006/02/27/content-conversion-the-key-field-problem
    /people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter
    /people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
    http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
    Thanks
    Swarup

  • Whats the use of 'Maximum Councurrency' in File Receiver adapter?

    Hi All,
            Whats the use of 'Maximum Councurrency' in File Receiver adapter?
    Xier

    Hello,
    Refer the  below thread and check it out my reply . I gave for JDBC adapter, but the concept is same for File/JDBC.
    Re: JDBC Adapter - One Connection prior to SP20
    Best regards,
    raj.

  • 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?

  • Use of Additional Parameters in JDBC Sender Adapter

    Hi -
    Can anybd tell me the Use of "Name, Value" Entries while setting the Additional Parameters in the Sender JDBC Adapter...
    And if is Same for All adapaters...what is the need of Setting Name-value pair in these Adapters?

    Hello Jeet,
    Go through the following link..
    http://help.sap.com/saphelp_nw2004s/helpdata/en/7e/5df96381ec72468a00815dd80f8b63/content.htm
    http://help.sap.com/saphelp_nw70/helpdata/en/22/b4d13b633f7748b4d34f3191529946/frameset.htm
    Regards,
    Sumit

  • Use of Additional Parameters in JMS Adapter

    Hi Frnds,
    Can any one explain the use of Additional Parameters  in JMS Adapter.
    Regards,
    Raj

    HI,
    To make additional settings or replace the default settings, enter the parameters and values in the table.
    those are JMSMessageClass and JMS.Message.method.setStringProperty.
    For more details.
    http://help.sap.com/saphelp_nw04/helpdata/EN/10/b1b4c8575a6e47954ad63438d303e4/content.htm
    Thanks.

  • Customization of "Positive Pay file with additional parameters"  template

    Hi,
    We've a requirement to customize the eText template of the Positive Pay file with additional parameters report. The setup is done , now the program is picking up the new format. Since the payments involves multilines hierarchy, we are unable to print the data in the hierarchical format. Our requirement is to print a Header with information like BankAccountNumber,Total Amount in Dollars , Total number of lines. And Detail segment with all the infomation like BankNumber, BankAccount Number, Amount, Print 'V' if the check is voided etc. please let me know how to achieve this format in eText.
    Thanks
    Elan

    Did you introduce a new LEVEL for the detail info?
    Refer user guide on the syntax of usage.

  • Use Temporary File (File Receiver)

    Hi All,
    I have a file format in the file receiver which has a special charecter(#0) that represents the end of the file. but i wanna append more than one message to the same file. if i do so, the content would be added after the end of the file charecter (#0) there by my system which processes these files ignores the content. i think i hav to do something using the option 'Use Temporary File'. but i din't find ample info about it on help.sap.com. Can any one plz throw some light on this?
    Thnx in Advance
    Anil Kumar Veepuri

    Hi Anil,
    The functionality of temporary file is that, the receiver file adapter first collects the data of the file into a temporary file before putting it on the server.
    This is generally use so that ur target system does not read the file when u are writing it on the server.
    Try using File construction mode Append.
    Hope this helps.
    Regards
    Vijaya

  • 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

  • Recently got a new computer and installed itunes from external drive - all music shows up in the library, however when i click on a song i receive this message "the song could not be used because the original file could not be found".  What do i do?

    I recently got a new computer and installed itunes from which had been saved onto an external drive - all music shows up in the library, however when I click on a song I receive this message "the song "abc" could not be used because the original file could not be found".  What can I do?

    I was given the option to locate the file where the song is held. If so select "locate" and direct it to the folder / file where the song is and open it. itunes then will give you the option to use this process to update all of your library. OK that as this will do it automatically instead of doing them one by one. I hope this helps.
    Martin

  • I keep getting an error code while trying to import a cd to my itunes: Error occurred while converting the file. The disc you are attempting to use is full. removing files and emptying the recycle bin will free up additional space.  What does this mean?

    I keep getting this error code while trying to import a cd to my itunes: "Error occurred while converting the file. The disc you are attempting to use is full. removing files and emptying the recycle bin will free up additional space."  What does this mean?

    Well it probably means exactly what it says... How much free space is there on your hard drive where the iTunes Media folder resides? I believe there is also an obscure bug that can occur when software doesn't read the true value of the free space properly, and the workaround is, perversely, to duplicate some content so that with less actual free space the software in question perceives it as more. I've no idea if iTunes is affected by such a bug.
    tt2

Maybe you are looking for