File Content Conversion some fields are missing

Hello Friends,
I am trying to convert a fixed length flat file to XML.
Here are my parameters
CompanyCodeRecord.fieldNames = field1,field2,....field50
CompanyCodeRecord.fieldFixedLengths = 1,4,15,20...,50 (for all 50 fields)
CompanyCodeRecord.processFieldNames = fromConfiguration
CompanyCodeRecord.lastFieldsOptional = YES
CompanyCodeRecord.endSeparator = nl
If I do not use lastFieldsOptional=YES then the adapter is throwing an exception Error: <b>Conversion of complete file content to XML format failed around position 0 with java.lang.Exception: ERROR converting document line no. 1 according to structure 'CompanyCodeRecord':java.lang.Exception: Consistency error: field(s) missing - specify 'lastFieldsOptional' parameter to allow this
last retry interval started 19:31:08 2005-07-11</b>
If I use lastFieldsOptional=YES then the message does not contain last 8 columns (That means each record is containing only 42 columns).
Please help.
Thanks
SKM

Hi SKM
Go through this blog on sending fixed length flat file
<b>/people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter
and
>><i>lastFieldsOptional=YES then the message does not contain last 8 columns</i>
<b>lastFieldOptioanl parameter specifies whether the last fields can be omitted (YES) or not (NO) in a CSV structure. If you do not make a specification, the default value is NO</b>.
So i think u should use <b>NO</b> in this parameter.
Hope it helps.
Regards
Arpit Seth

Similar Messages

  • Some fields are missing in Current Task - Designer Workflow Approval Task Process

    Hi All,
           I am using approval task process activity in designer workflow. When i go to the single task behaviour page, some fields are missing under Current Task Source.
    Some missing fields are :
    1. Assigned To
    2.External participants
    3. Form Urn
    I am trying to get the above fields but not available. What could be the issue?
    Puli Bala

    Hi Puli,
    I think your task list is corrupted, could you please try to associate your workflow to another task list in SharePoint Designer > Click Workflows on left navigation > Click to open your workflow > Under Settings section, select another task
    list and test.
    Thanks & Regards,
    Emir
    Emir Liu
    TechNet Community Support

  • Unbale to get complete output as some field are missing in z t-code.

    Respected Guru's,
    i am tring to get output from a customized t-code.
    While executing the report in background,  i mention customized format as the exsisting format does not match.
    But i  am the unbale to get complete output as some field are missing.
    Please help me, i have tried change the no of rows and coloums, but no effect.
    Regards,
    Daya

    Hi,
    Please try with printer settings and used different printer formats.
    Actully this problem because of printers configration which is used for backgound reports.
    Regards,
    Ravi

  • File Content Conversion - Key Field Value

    Hi Experts,
    I am using File to Idoc scenario for my mapping. In the receiver Communication channel, I am using File Content Conversion. My scenario is as follows :
    I have a recordset with Header and Line items with Key Field Indicator as 'H' and 'L'. In some cases, the value for this Key Field is coming in as something other than 'H' and 'L'. I need to throw an exception when this Key Field is not 'H' or 'L'.
    In the 'Content Conversion' tab, my attributes are as:
    Header_Structure.keyFieldValue = 'H' and Line_Structure.keyFieldValue = 'L'. Is there any more attributes that I need to add ?
    Please advise. Thanks a lot.
    Regards,
    Freddy.

    >>multiple key field values in FCC configuration i.e Line_Structure.keyFieldValue = H or L
    AFAIK it is not possible but lets wait for other experts to comment on this...
    >>Can keyFieldInStructure (add, ignore) parameter help me in this case ?
    No. this parameter is only used when you want to include key filed in ur XML structure(add) or not (ignore)...
    Chk this:
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm

  • File Content Conversion ( avoid fields in conversion)

    Hi all
                        An IDoc to File scenario , I am doing file content conversion in receiver File adapter.
    my message type for file  2 HEADER each having its own substructure
    Like    1header
                       fieldA               
              2header
                       fieldC
                       fieldD
    I want the "<b>1header and its 1 subelement not be converted in file content conversion"  </b>   
    because  its used for dynamic file name configuration, so i do'nt want it to be written on file.
    Regards
    Ashutosh.r

    Rawat,
    Yes I know you will get that error. That is the reason why I have told you to add another parameter fixedLengthTooShortHandling as Cut. So add one more parameter in your file receiver communicaion channel: Also I hope ASFD0101 is your strcuture not the field in the strcuture.
    ASFD0101.fixedLengthTooShortHandling :  Cut
    Then I think it should work like a boom.
    ---Satish

  • File Content Conversion ignore fields

    HI ,
    I need to ignore some rows in the middle of the data in File content conversion for exaple
    H1,Field1,Field2,Field3
    A,GB07,MICHEL,1000
    H2,Field3,Field4,Field5
    B,GB08,andrew,2000
    The above is the sample text file from the source , I need to parse in the below
    RECORDset1
    <Field1>A</Field1>
    <Field2>MICHEL</Field2>
    <Field3>100</Field4>
    RecrodSet2
    <Field4>A</Field4>
    <Field5>andrew</Field5>
    <Field6>200</Field6>
    I need to omit or ignore the H1 and H2 rows from the File Content conversion.,
    Please guide me how to achive this using File Content conversion

    Hi Krishna,
    In case if H1 and H2 is your record type or line type then to ignore line for this type... just do not handle "keyFieldValue" in the content conversion for H1 and H2 record type.
    Thanks,
    Binod

  • Some fields are missing in some BO XI 3.1 reports

    Hi Guys,
    We are facing a strange issue on some webi reports, BO version is XI 3.1 and product version is 12.2.8.638. These reports are using a same universe which retrieves data from Data Federator
    Issue Detail: Some fields are showing empty when we run the report at 1st time, but these fields will shows correct value when we run the 2nd time. Universe level Max Row limitation is 5,000,000 and no run time limitation.
    I will appreciate if you can help me to fire the root cause.

    Hi Nigel,
    Good Morning.
    Please check following :
    1. Are you facing same issue in Webi Rich Client?
    2. If Report ran fine in WRC, see in which viewer (Web, Advanced etc.) issue persists.
    3. If all the viewers having same issue check whether loadbalancer or firewall (if any) blocking the data.
    - [You can test it with infoview link bypassing an loadbalancer and make sure your firewall is stop and disabled.]
    Regards,
    Veer S.

  • Some fields are missing in the ALV output

    Hi ,
    I have created a normal ALV report using REUSE_ALV_GRID_DISPLAY . It shows the output correctly. But when I take the prin out or download to an excel sheet some fields are not there. Can I know how to solve this issue ?
    Regards,
    Beena

    hi Beena,
    If you are downloading the ALV output to excel, please make sure that the DDIC structure is passed as a parameter to the REUSE_ALV. I doubt you are creating field catalog from the program and that DDIC structure is not used.
    Hope this helps,
    Sajan Joseph.

  • While field  mapping some fields are missing....

    Hi,
    In field mapping I have some fields are in unassigned status after select auto field mapping.How can I assign this fields ?bcs in standards program this fields are not there.pls guide me..

    Hi,
    In maintain source field option ....you will find a button square button with lines on it ......
    Thanks
    Dipak

  • File content conversion without field separator

    Hi experts,
    in my scenario I'm sending a txt file to an external receiver.
    Each field of the file must be separated from the others with differents field separators according with the requirement of the receiver, for example:
    field1;field2:field3, field4; ecc....
    For this reason I've created in the source message many "FieldSeparator" fields. These fields will be populated by ABAP program.
    I thought that it was possible to omit parameter fieldSeparator in content conversion, but testing the interface I receive an error because fieldSeparator is missing.
    Is possible to omit fieldSeparator or to specify a fieldSeparator null?
    The fields in the target file must be of variable lenght, so I cannot use FieldFixedLenght.
    The only solution I found is to create in the target message structure a single string with each field concatenated, is the only possible solution?
    Thanks
    Fabio Boni
    Edited by: Fabio Boni on Oct 21, 2010 5:47 PM

    Sorry...posting error earlier..
    The seperator can be concatenated at the end of each field in mapping.So seperator will be part of field value.
    But with receiver FCC, you need to either mentione fieldfixedlenght or fieldseperator.Please check if space is going to to work for you as separator.
    Edited by: nagarjuna _s on Oct 21, 2010 6:36 PM

  • Flat file content conversion repeating fields

    Hello,
       I have a flat file where the first three fields are fixed; the rest of the file line is made up of 1 .. n analysis characteristic results. The name of the field (Result) is always the same, but I never know how many results I will have on one line. Could anyone tell me how I might define this in content conversion ? Thanks in advance.
    Peter DOUGHERTY.

    Sorry,
       Of course ... here it is
    10059514     22/09/08 8:29:02     20,2     0     0     0     0,30     0     133     0     0     0     0     0     0     0     0     0     0     0     
    The first field is the Id of the sample
    Second field Date
    Third field Time
    The 4th ... 21st fields a (varying) number of results (here there are 18, but there could be any number from 1 upwards)
    Hope it is clearer
    Thanks
    Peter

  • File Content Conversion(SenderFileadapter) fields parameters

    Hi all
               I am doing aFile to File scenario,
    Using content Conversion at SENDER FILE adapter
    my source message type is as :  
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:MT_Cnet_Source xmlns:ns0="http://abc.com/Cnet">
       <<b>HeaderPayment</b>>
          <First_Payt_Doc/>
          <Beneficiary_email_id/>
       <<b>/HeaderPayment</b>>
       <<b>AdviceFormat</b>>
           <Client_Code/>
          <Payment_Document_No/>
          <Document_Date/>
       <<b>/AdviceFormat</b>>
       <<b>LineItem</b>>
         <Title1/>
          <Title3/>
       <<b>/LineItem</b>>
       <<b>FILENAME</b>>
          <FNAME/>
       <<b>/FILENAME</b>>
    </ns0:MT_Cnet_Source>
    it has 3 structures :HeaderPayment(0,1),AdviceFormat(0,1),LineItem(0,unbounded)
    in Recordsetstructure i gave= HeaderPayment,1,AdviceFormat,1,LineItem,1
    in FCC parameters i used
    HeaderPayment.fieldname... =First_Payt_Doc,Beneficiary_email_id
    HeaderPayment.fieldseperator ='nl'
    HeaderPayment.endseperator ='nl'
    ignorerecordset = true
    similarly for rest 2 structure also
    my source text  file is type :
    we0023
    [email protected]
    xyc
    acd
    21/05/2007
    10034
    acccd
    payment
    i tried alot of options,refering sdn..still on reading the file value are not coming in the designated fields...
    Thanks &Regards,
    ajay

    You are Right i correct it but i sxmb_moni
    i get as <HeaderPayment>
    <First_Payt_Doc/>
    </HeaderPayment>
    <AdviceFormat>
    <Client_Code/>
    </AdviceFormat>
    <LineItem>
    <Title1/>
    </LineItem>
    <FILENAME>
    <FNAME/>
    </FILENAME>
    <HeaderPayment>
    <First_Payt_Doc/>
    <Beneficiary_email_id/>
    </HeaderPayment>
    <AdviceFormat>
    <Client_Code/>
    <Payment_Document_No/>
    <Document_Date/>
    </AdviceFormat>
    <LineItem>
    <Title1/>
    <Title3/>
    </LineItem>
    <FILENAME>
    <FNAME/>
    </FILENAME>
    <HeaderPayment>
    <First_Payt_Doc/>
    <Beneficiary_email_id/>
    </HeaderPayment>
    <AdviceFormat>
    <Client_Code/>
    <Payment_Document_No/>
    <Document_Date/>
    </AdviceFormat>
    <LineItem>
    <Title1/>
    <Title3/>
    </LineItem>
    <FILENAME>
    <FNAME/>
    </FILENAME>
    <First_Payt_Doc/>
    <Beneficiary_email_id/>
    </HeaderPayment>
    <AdviceFormat>
    <Client_Code/>
    <Payment_Document_No/>
    <Document_Date/>
    </AdviceFormat>
    <LineItem>
    <Title1/>
    <Title3/>
    </LineItem>
    <FILENAME>
    <FNAME/>
    </FILENAME>
    <HeaderPayment>
    <First_Payt_Doc/>
    <Beneficiary_email_id/>
    </HeaderPayment>
    <AdviceFormat>
    <Client_Code/>
    <Payment_Document_No/>
    <Document_Date/>
    </AdviceFormat>
    <LineItem>
    <Title1/>
    <Title3/>
    </LineItem>
    <FILENAME>
    <FNAME/>
    </FILENAME>
    <HeaderPayment>
    <First_Payt_Doc/>
    <Beneficiary_email_id/>
    </HeaderPayment>
    <AdviceFormat>
    <Client_Code/>
    <Payment_Document_No/>
    <Document_Date/>
    </AdviceFormat>
    <LineItem>
    <Title1/>
    <Title3/>
    </LineItem>
    <FILENAME>
    <FNAME/>
    </FILENAME>
    <First_Payt_Doc/>
    <Beneficiary_email_id/>
    </HeaderPayment>
    <AdviceFormat>
    <Client_Code/>
    <Payment_Document_No/>
    <Document_Date/>
    </AdviceFormat>
    <LineItem>
    <Title1/>
    <Title3/>
    </LineItem>
    <FILENAME>
    <FNAME/>
    </FILENAME>
    <HeaderPayment>
    <First_Payt_Doc/>
    <Beneficiary_email_id/>
    </HeaderPayment>
    <AdviceFormat>
    <Client_Code/>
    <Payment_Document_No/>
    <Document_Date/>
    </AdviceFormat>
    <LineItem>
    <Title1/>
    <Title3/>
    </LineItem>
    <FILENAME>
    <FNAME/>
    </FILENAME>
    <HeaderPayment>
    <First_Payt_Doc/>
    <Beneficiary_email_id/>
    </HeaderPayment>
    <AdviceFormat>
    <Client_Code/>
    <Payment_Document_No/>
    <Document_Date/>
    </AdviceFormat>
    <LineItem>
    <Title1/>
    <Title3/>
    </LineItem>
    <FILENAME>
    <FNAME/>
    </FILENAME>
    <First_Payt_Doc/>
    <Beneficiary_email_id/>
    </HeaderPayment>
    <AdviceFormat>
    <Client_Code/>
    <Payment_Document_No/>
    <Document_Date/>
    </AdviceFormat>
    <LineItem>
    <Title1/>
    <Title3/>
    </LineItem>
    <FILENAME>
    <FNAME/>
    </FILENAME>
    <HeaderPayment>
    <First_Payt_Doc/>
    <Beneficiary_email_id/>
    </HeaderPayment>
    <AdviceFormat>
    <Client_Code/>
    <Payment_Document_No/>
    <Document_Date/>
    </AdviceFormat>
    <LineItem>
    <Title1/>
    <Title3/>
    </LineItem>
    <FILENAME>
    <FNAME/>
    </FILENAME>
    <HeaderPayment>
    <First_Payt_Doc/>
    <Beneficiary_email_id/>
    </HeaderPayment>
    <AdviceFormat>
    <Client_Code/>
    <Payment_Document_No/>
    <Document_Date/>
    </AdviceFormat>
    <LineItem>
    <Title1/>
    <Title3/>
    </LineItem>
    <FILENAME>
    <FNAME/>
    </FILENAME>
    <HeaderPayment>
    <First_Payt_Doc/>
    <Beneficiary_email_id/>
    </HeaderPayment>
    <AdviceFormat>
    <Client_Code/>
    <Payment_Document_No/>
    <Document_Date/>
    </AdviceFormat>
    <LineItem>
    <Title1/>
    <Title3/>
    </LineItem>
    <FILENAME>
    <FNAME/>
    </FILENAME>
    the header payment should not repeat....
    Regards
    Ajay

  • Some fields are missing while recording through shdb

    Dear Abapers,
                   I am doing bdc for F-27 t.code.Some fields,cobl-gsber(business area),cobl-kostl(Cost center) are missing while recording through SHDB.But when do it manualy the fields are displaying.Also i have ddded those fields manualy in the program,stll the fields are not getting captured.May anyone pls help me,why this problem is happening?What is the solution for this.
    Thanks in Advance.

    hi
    i can tell u that few transactions wont suffice us with BDC,so for such transactions we do bdc with similar kind of transactions.
    ie., The transactions FB60 and f-63 both are meant for Parking.
    But we cant do bdc for FB60 Parking. So we do bdc for f-63.
    similarly when we do bdc for vendor few fields wont appear...in that case, we use bapi for it....
    So try to find an appropriate bapi or similar tcode which will suffice ur need
    hope its clear.
    Regards
    Sajid

  • Some fields are missing from extractor to datsource in standard content

    Hi
    I have a standard datsource in CRM. when I see the extractor I can som eadditional fields which are not there in Datasource..
    I hav enot enhance any fields. There some include structure in extract structure...
    thanks for your help.
    Sudha..

    Extract structure can have more fields than what you see in your datasource...
    The additional fields in the extract structure can be BW hidden or not relevant for BW..
    You can check this in table ROOSFIELD for your relevant datasource

  • File content conversion: Target Field is optional

    I am using FCC in receiver file adapter.
    My file is getting generated.
    In target structure one field is optional and hence target xml element doesnt have value. hence that field is not there in txt file. with this what happens next subsequent field gets shifted to my optional field place and then i get error field length is not correct.
    I want to put 2 spaces if that optional field length is 2 char and then there should be field separator(space) and the subsequent column.
    I am already giving fixedfieldlegnth of all the fields.
    Pl can anyone suggest how to do this.
    thanks,
    sharada

    Hi Sharada,
    Do your normal mapping to the target field that is optional.
    Use a If function before mapping the field.
    Check if the node is created in usual mapping, else map a constant with 2 spaces.
    DO something like this:
    Mapping ---------------->
                               equalsS ----> if
    constant(empty Value)--->
                      constant(2 spaces)--> then -> tgtField
                       Mapping -----------> else   
    regards,
    P.Venkat

Maybe you are looking for

  • How to export photos from 3.5.1 library and import into 3.4 library and retain faces and location info

    i foolishly upgraded my imac to mavericks.  then a few days later when i opened my aperture libraries it asked me if i wanted to update them and that i wouldnt be able to read them in an older version of aperture. i foolishly didnt think much of it b

  • Strange results in adhoc report??

    Hi Experts, I have made changes to adhoc report in development and assigned transaction code ex: zreport to adhoc query.I executed the report by transaction code and through sq01 i am getting same results still here it is fine.      In quality when i

  • Yosemite doesn't recognize my built in RAID drives

    I have a MacPro circa 2010-2011. After installing Yosemite, it lost contact with and could not (or would not) locate my RAID drive. Built into the machine. Also, I have a backup drive built into the machine, so I was able to revert. But I'm concerned

  • Where is photoshop CS6 help?

    Where is photoshop CS6 help? Is it only on-line? Isn't there a version stored onto my mac?

  • Photoshop freezes after 2-5 minutes of startup

    My photoshop CS6 is freezing after 2-5 minutes of starting it up. I have recently installed this to my computer earlier this week and it has been working fine up until this afternoon. I had no problems with it this morning. I am using a PC running wi