How to set "lastFieldsOptional" in File Adapter

Hy,
somebody could tell me how can set the parameter "lastFieldsOptional" in FilesAdapter.  have the problem that my last two fileds in incoming files sometimes are not insert and the "endlines" character also  insert.
Thank's
Mati

Hi Mattia,
Please go thru these links for the step by step procedure to do content conversion:
/people/venkat.donela/blog/2005/06/08/how-to-send-a-flat-file-with-various-field-lengths-and-variable-substructures-to-xi-30
/people/sap.user72/blog/2005/01/06/how-to-process-csv-data-with-xi-file-adapter
/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/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file
http://help.sap.com/saphelp_erp2005/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm
While doing content conversion you have to mention the field names in header of data type: fieldNames. Hence if the key field is not present it will throw an error in adapter monitoring, FIELD NOT FOUND.
To make note mapping cannot be performed with a flat file as XI understands only XML. Hence content conversion required.
I hope the links provided will help you set the parameter "lastFieldsOptional" in the File Adapter.
Regards,
Abhy
PS: AWARD POINTS FOR HELPFUL ANSWERS.

Similar Messages

  • How to choose data in file adapter?

    How to choose data in file adapter?

    create a xml file in source folder in local source location and pick it up using file adapter in BPEL and deliver it to Target location.

  • Setting messageId in File Adapter

    Hi all,
    I am trying to set the message Id in the file adapter, does somebody know it is possible?
    I tried with DynamicConfigurationBean, but while i'm able to set other header values (like correlationId or interface name), it is not modifying the message ID at all, even when in the adapter log I see
    "property message.messageId from key (http://sap.com/xi/XI/System/File)FileName with value EBSP_20090214_090130"
    If i test reading from message.messageId I get the id generated by XI, but when I write it is not changed...
    I want to use the file name as ID, it is already an unique identifier in the sender system and it would be great to use this ID in XI too...
    I am using XI 3.0 SP19.
    any ideas?
    thanks!!

    Hi Nicholas,
         Did you place this module before the adapter module for the file adapter.
    You might want to have a look at this
    [http://help.sap.com/saphelp_nw70/helpdata/en/45/da2239feb22e98e10000000a155369/frameset.htm|http://help.sap.com/saphelp_nw70/helpdata/en/45/da2239feb22e98e10000000a155369/frameset.htm]
    Regards,
    Akshay

  • How to create Headervariable for File adapter in 11g SOA Suite?

    Hi All
    My process in reading file and I wanted to know the exact name of the File.
    In 10g, we have fileAdapterInboundHeader.wsdl and create HeaderVariable using message type used in this wsdl and can get file and directory name in this variable But in 11g we dont have any wsdl like this.
    Can anybody give me some idea how to create Headervariable for Inbound file adapter to get file name?
    Thanks
    Vibzz

    Hi,
    Look at this document : [Oracle JCA Adapter for Files/FTP|http://download.oracle.com/docs/cd/E12839_01/integration.1111/e10231/adptr_file.htm#CIAFJCCE]
    Romain.

  • How to set server log file severity

    Will some one suggest how to set the severity for messages logged by server to server log file. The admin console consists of setting "Stdout Severity Threshold" which is applicable only to standard out. I need to restrict info messages to be logged in server log file.

    Which release of WebLogic Server are you using? In WebLogic 9.0 there is an attribute on the LogMBean called LogFileSeverity which could be configured to "Warning" so it will not allow Debug and Info level messages to be written to the server log file. In the 8.1 release you would need to do this programatically using a startup class, by getting a reference to the server Logger by invoking weblogic/logging/LoggingHelper.getServerLogger() and setting the appropriate weblogic/logging/WLLevel on the weblogic/logging/FilestreamHandler that writes to the server log file.
    Hope this helps
    Sandeep

  • Setting Delay in File Adapter

    Hi All,
    I have a file to ABAP proxy asynchronous scenario.
    In the source directory i have 2 xml files. The second XML file should be picked up by the file adapter only after processing the First file by the ABAP proxy.
    I know about setting delay in Mapping. But this wont suffice my requirement.
    Appreciate your help in this
    Keerthi

    Hi,
    do'nt thing so wait modification will work...
    try it with the help of BPM
    file is in Asyn Mode.
    So 2 message will be there for 2 file, now it can be handled in BPM, that if proxy return OK acknowledgement for 1st message,
    then 2 mapping should executed.
    File1 -{BPM receive step -> transformation-> Sync Send -> if proxy respone ok , Block->then 2 transformation else leave the 2nd file message}.
    Regards
    Ashu

  • How to set "Title" as "File Name" in iPhoto 5?

    iPhoto lets you batch rename the title for your photo library of a given roll. So if you have say "Vacation" you can set title to all the photos in there as Vacation -1 , Vacation -2 etc. etc. But, this is just the title for iphoto database. The actual filename will still be as IMG_xxx.jpg (or whatever is default in your digital camera).
    Is there a way to set the Title as File name ?? I already have 1000+ photos iphoto and title is all set as my Roll Name - xx . But it will be great to have file names set as the title too.
    I think I can batch rename in Image Capture before downloading the files, but then I have to again import those in iPhoto , so its two step process and inconvenient.
    So, does anyone know how to set File name as Title ( you can only do other way around in iPhoto, I think) ? Any script available which can read iPhoto title and set the file name as Title? Thanks.
    20 iMac G5 2GHz   Mac OS X (10.4.1)   Canon S2 IS

    Hi kothrush,
    You must rename in the Finder first, before importing into iPhoto.
    You cannot do it after importing into iPhoto. Well, you can. You can share export the renamed images to the desktop. Delete the ones in iPhoto, then import the renamed ones back into iPhoto. That's a lot more steps.
    Whatever you do, you cannot rename any images in the Finder that are already in the iPhoto Library or iPhoto will lose the link to the images.
    Two Apple kbs for you to read
    Don't tamper with files in the iPhoto library folder
    About the iPhoto Library folder
    Lori

  • How to set name of file to be sent through mail

    hi ,
    i am using FM  'SO_DOCUMENT_SEND_API1'  for sending some file.
    now my question is how to set  the name of file to be sent?
    thanks

    Hi Rahul
    Check this link
    Sending E-Mail from ABAP - Version 610 and Higher - BCS Interface
    Re: How to send mail to with in SAP !!
    Regards,
    Syf
    Edited by: syfulla shaik on Dec 22, 2008 10:44 AM

  • How to set default .PDF file extension for Form Downloads

    I am trying to find a way of setting the PDF file extension when I download forms.
    I author the forms under a Plus subscription and am then downloading the forms under a basic subscription Collaborator account (diffrent person)
    If I don't include .pdf as the file type when downloading a form with a unique name as the Collaborator, it downloads without a file extension.
    Remembering to continually add the pdf file extension is a pain so I'm hoping there is away of setting this as a defaulet for my 'collaborator' account ?

    Firstly, apologies for multiple posts, I received messages saying my comment hadn't posted and also checked my history before re-submitting.
    Okay, the process is
    1. Log in as the Author account and I can rename the file without having to set the extension
    2. Log in as the Collaboartor account - same PC, browser etc and it doesn't save with a default file extension; HOWEVER, I have done this whilst also being logged in on a diffrent browser as the Author
    3 I have just tried logging out as Author and only being in as the collaborator and the form downloaded with a default PDF.
    4. I had someone else log in as the collaborator from thei PC and browser whilst I was still signed inunder my author account and again they were unable to save as PDF by default
    This has me wondering if there is anything at play when you've got multiple Users?

  • Need how to configuration on Receiver File adapter

    Hi,
    I am working on File to File scenario. I need to create a file in output directory with time stamp.
    I am also need to create File output directory.
    I used create target directory. But the file is not creating in the directory.
    Please help me on this issue.
    Thanks,
    Swathi

    Hi Swathi,
    1. To have the file with the Timestamp, use the option "Add Timestamp" in File construction mode.
    2. Check the receiver communication channel and in MONI. If the file is not created and is successful in MONI, then the message might stuck in Queue. Check the queues.
    Ensure the provide target directory path is correct.
    Check this:  /people/shabarish.vijayakumar/blog/2007/07/26/troubleshooting-the-file-adapter-last-updated-on-02-july10
    Thanks,

  • How to dump configuration of File adapter

    Hello,
    Can any body help me out for preparing configuration dump (no screenshot) of the
    respective communication channel, esp. with Sender FILE Adapter.
    Best regards,
    Jilan Bhasha

    Hi Jilan -
    For the file adapter, you can get a text dump of the configuration at the following location:
    <i><sapmnt>/<SID>/DVEBMGS<XX>/j2ee/cluster/server<X>\log\services\com.sap.aii.adapter.file.svc</i>
    <sapmnt> is usually <i>/usr/sap</i>
    Obviously, you need file system access.  If you don't have it, ask your basis team.
    You can do this for the JDBC adapter as well. 
    See Note 824236 for more details.
    Regards,
    Jin

  • How to set mp3 music file as a ringtone

    I am very surprised I cannot find any option how to set ringtone of my choice in the phone? is there really any way ?

    If you had given the model of your phone I could have given a link to your user guide.
    Here is the Windows Phone How-To
    http://www.windowsphone.com/en-us/how-to/wp8   Hours of reading pleasure.

  • Same setting for two file adapter but different output

    Hi ,
    I am having two receiver file adapter for two differrent scenario with same settings but different structure.
    I want the output of the file for both the scenario should be displayed line by line but it is working fine for one scenario.File type,file encoding and FCC are same in both the interface except the fieldsnames in FCC.
    When i check both the output file i found that the scenario which is working fine  having OA OD hexadecimal value at the end of line of each line.and the second scenario which is giving the output in single line is having only OA.
    waitng for Valueable inputs!!!
    Thanks
    Santosh

    Hi Santosh,
    Kindly elaborate your question.
    it would be helpful if you post the content conversion parameters of the erroneous file channel.
    Regards,
    Varun

  • How to set an mp3 file as ringtone on iphone4s?

    just got a new iphone 4s and wondering how to make an mp3 file as a ringtone..i have followed some steps shown on some other forums but im still stocked on default ringtones...i have successfully converted an mp3 file to m4r file and synced to my iphone but it didnt show up on my sound settings..can anybody help me find out what to do.please thanks...

    Have you had a look here
    iphone ringtone - CNET

  • How to set password in JMS adapter

    Hi All,
    I have put a JMS adpater partner link into a BPEL process, and everything seems to work fine, except that it wants to authenticate to the App Server using oc4jadmin/welcome1 and I used a different password.
    Can anyone tell me where to set the password it uses?
    I have tried putting it in the JMS Adpater's wsdl file under the jca:address section as mcf.Password, and as properties on the adapter partner link itself. Neither of these seem to work.
    Thanks for your help,
    Mark Nelson

    Mark,
    When you say "authenticating to the app server" you mean the adapter authenticating to the JMS Provider (running in the app server), correct?
    If so, the username/password are in oc4j-ra.xml, more precisely:
    %J2EE_HOME%\application-deployments\default\JmsAdapter
    (you might have to change "default").
    Look for your adapter connector-factory. It should have:
            <config-property name="username" value="oc4jadmin"/>
         <config-property name="password" value="welcome1"/>I understand that this sounds like the previous recommendation but this really should be it. Might be confusing as they are various instances of oc4j-ra.xml.
    Let us know how this works.

Maybe you are looking for

  • How to keep text formatting from a php flatplan to Indesign

    Hi forum users my question is this: My company uses a PHP flatplan to recive and store work ready for the deisgners to place in indesign, however any text formatting ie bold, italics etc when copied from the flatplan dont keep when pasted into indesi

  • Private messaging in webmatrix

    Hello, i am new to webmatrix or should i say web application in general. i have read and looked  at the tutorial to see if there is any out there online that talks and teach about sending private message between users just like the facebook website.

  • Installed Mountain Lion, still getting a notification that an update is available.

    Have already installed the Mountain Lion update, but upon initial log in I am still receiving a notification that an update is available  the version the update states is available is the version of OSX already installed on the system. Does anyone kn

  • Where 1=1

    Dear Guru, May I know what does where 1=1 means: SELECT entity, Active, Eng ,sum(case when lotstatus = 'PROCESSING' then lotquantity else 0 end) as FROM PT_WIPLIST WHERE 1=1 AND DATADATE=TO_DATE(TO_CHAR(SYSDATE,'YYYY/MM/DD')||' 15:20:00','YYYY/MM/DD

  • Selecting pixels on the outer edge of an item?

    When making a selection with either a lasso or Magic Wand, it seems to select the item, however, when I zoom in, there seems to be lots of soft pixels on the edges of the items that are not being included in my selection. What is the best way to get