Content conversion problem

Hi gurus
I sem to have a really silly problem
I'm only getting the FIRST field  on file content conversion and no new line
here's a part of the XML file from the payload manifest
<?xml version="1.0" encoding="UTF-8" ?>
- <rfc:Z_XI_005_RFC xmlns:rfc="urn:sap-com:document:sap:rfc:functions">
- <IP_CUSTOMER_HEADER>
- <item>
  <CUSTOMERID>100853</CUSTOMERID>
  <COMPANY>Bram Van Tuyl Coldstore</COMPANY>
  <SHORT_NAME>VAN TUYL</SHORT_NAME>
  <SALES_REGION>EUROP</SALES_REGION>
  </item>
  </IP_CUSTOMER_HEADER>
  </rfc:Z_XI_005_RFC>
I've defined the following parameters in the content conversion
Recordset sructure   item
content conversion parameters
item.fieldSeparator       ;   (a semi colon)
item.endSeparator      'nl'  
if I look in my file all i get is
100853
where's the rest of the data ????
When I don't use content conversion   xml file is generated correctly.
Any ideas
I am at 100% loss to see what's wrong here as this should be an EASY automatic conversion.
(the input structure is all character)..
Max pts to anyone who solves this
Cheers
jimbo

the file is identical
payload from  inbound message
for example
<rfc:Z_XI_005_RFC xmlns:rfc="urn:sap-com:document:sap:rfc:functions">
- <IP_CUSTOMER_HEADER>
- <item>
  <CUSTOMERID>1000001</CUSTOMERID>
  <COMPANY>One-time ship-to</COMPANY>
  <SHORT_NAME>ONE-TIME</SHORT_NAME>
  <STREET />
  <STREET2 />  .......
Paylioad under Receiver Grouping
<rfc:Z_XI_005_RFC xmlns:rfc="urn:sap-com:document:sap:rfc:functions">
- <IP_CUSTOMER_HEADER>
- <item>
  <CUSTOMERID>1000001</CUSTOMERID>
  <COMPANY>One-time ship-to</COMPANY>
  <SHORT_NAME>ONE-TIME</SHORT_NAME>
  <STREET />
  <STREET2 />
etc
text file 100001;1000001........  etc
There's no Payload that I can see under the response (checkered flag) where it says processed successfully.
cheers
jimbo

Similar Messages

  • How to debug file content conversion problems?

    Hi,
    I'm trying to debug a file content conversion problem.  I'm mapping a few nodes in an IDOC to a file of fixed length fields.  I'm using the "<Node A>.fieldFixedLengths", "<Node B>.fieldFixedLengths", "<Node C>.fieldFixedLengths", etc. parameters to specify the fixed length records.
    However, a certain node (for e.g. Node B) is causing a problem and if it is present in the IDOC, the output file does not get created.  Upon checking the XI monitor, I notice that the file gets mapped correctly and thus the problem lies when the file adapter does the file content conversion.  How do I debug this because there is no descriptive error in the XI log?  If this node is not present, the file gets generated fine.
    Thanks,
    Basant Gupta

    Hi,
    If your SXMB_MONI shows, success status, then go to RWB->Message Monitoring->Message display tool and then check Audit log for the analysis,
    So it wil help you debug the situation.
    If there is no error, then check RWB->Component Monitoring->Adapter Monitoring for you file communciation channel..
    /people/michal.krawczyk2/blog/2005/01/02/simple-adapter-and-message-monitoring
    Regards,
    Moorthy

  • FIle Content Conversion Problem in IDOC-XI-File Scenario

    Dear All,
    I am doing IDOC-XI-FILE scenario.
    I am facing one problem related to File Content Coversion.My requirement was to generate a dynamic file like <b>%store_code%_%current_date%_sitemaster.xml</b> , I have completed the dynamic generation successfully .
    Now there is slight change in the requirement ,<b>we have to suppress the current_date node of the xml content</b> . i have tried to suppress the current_date using these <b>DATE.fieldFixedLengths 0 , Date.fixedLengthTooShortHandling Cut</b> , But I am unable to suppress it Can some body provide me the details on this .
    The output xml version generated by Reciever file adapter is as below :
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ns0:MT_SITE_MASTER xmlns:ns0="http://sample-xitest.com/sitemaster">
    - <SITE_DATA>
    <STORE_CODE>N002</STORE_CODE>
    <TITLE_MEDI>Company</TITLE_MEDI>
    <STORE_NAME>Mount Road</STORE_NAME>
    <STREET>Chennai</STREET>
    <COUNTRY>IN</COUNTRY>
    <SALES_TAX_NO>12345678910</SALES_TAX_NO>
    </SITE_DATA>
    </ns0:MT_SITE_MASTER>
    Plz provide me the code I have to write in the file content conversion .
    Thanks in advance
    Regards
    Prabhat

    If u see my earlier reply, I mentioned that u can not suppress the field from the one node.i.e Form SITE_DATA data type u can not suppress the field called CURRENT_DATE.
    My suggestion is that , modify the Data type in such a way that you will be having two nodes as I have mentioned earlier.  Then use the Suppress Logic for the Current Date.
    So it will look like this-
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ns0:MT_SITE_MASTER xmlns:ns0="http://sample-xitest.com/sitemaster">
    - <SITE_DATA>
    <STORE_CODE>N002</STORE_CODE>
    <TITLE_MEDI>Company</TITLE_MEDI>
    <STORE_NAME>Mount Road</STORE_NAME>
    <STREET>Chennai</STREET>
    <COUNTRY>IN</COUNTRY>
    <SALES_TAX_NO>12345678910</SALES_TAX_NO>
    </SITE_DATA>
    <CURR_DATE>
       <CURRENT_DATE>20051105</CURRENT_DATE>
    </CURR_DATE>
    </ns0:MT_SITE_MASTER>
    So ur SITE_DATA is not having a field called CURRENT_DATE. This field is in separate node (segment ) called CURR_DATE. Now u can use the Suppress Logic for the same like this.
    CURR_DATE.fieldFixedLengths - 0
    CURR_DATE.fixedLengthTooShortHanling - Cut
    And in your Variable Substitution you can use the date from the other segment called CURR_DATE.
    Hope this solves ur problem.
    Regards,
    Moorthy

  • Receiver File Adapter Content Conversion Problem.

    Hi All,
    I am getting in receiver file adapter due to content conversion setting. Problem is that all the fields coming in file adapter are optional. In content conversion , i have specified fieldfixedlengths. So whenever any optional field is not present , it fails . How should we handle it? is there any option to declare fields as optional, I know that is the there for sender adapter. But no. of fields is also very large, so putting each and every field as optional is very time consuming.
    What should i do?
    Ranjeet Singh.

    Hi Daniele,
    Instead of using the standard funciton , i created a UDF for handling this situation.
    My logic is UDF is like
       //write your code here
    int Size = Integer.parseInt(Truncate_Size);
    String Return_Value = "";
         if  (!("".equals(Input)) )
              if  (Input.length() > Size )
                   Return_Value = Input.substring(0,Size);
              else
                   Return_Value = Input.substring(0, Input.length());
         else
              for(int i = 0; i< Size ; i++)
              Return_Value = Return_Value + " " ;
    return Return_Value;
    SO in this case also , it should be able to handle empy source element. But it is not working.

  • File adapter:  Receiver File Content Conversion problem.. XML to CSV..!!

    Hi,
    I am facing some problem in FCC for Receiver adapter. It has to convert from XML to CSV File.
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ns0:PaymentFull_Target xmlns:ns0="http://sdn.com/Payment">
    - <RECORDSET>
    - <Header>
      <LineItem>1</LineItem>
      <SaleNumber>102</SaleNumber>
      <TransNumber>105</TransNumber>
      <Store>1326</Store>
      <variant>Z6</variant>
      <TransType>NEW</TransType>
      <Adjustm_Type />
    </Header>
    - <Header>
      <LineItem>2</LineItem>
      <SaleNumber>102</SaleNumber>
      <TransNumber>105</TransNumber>
      <Store>1326</Store>
      <variant>Z6</variant>
      <TransType>NEW</TransType>
      <Adjustm_Type />
    </Header>
    - <Header>
      <LineItem>3</LineItem>
      <SaleNumber>102</SaleNumber>
      <TransNumber>105</TransNumber>
      <Store>1326</Store>
      <variant>Z6</variant>
      <TransType>NEW</TransType>
      <Adjustm_Type />
    </Header>
    </RECORDSET>
    </ns0:PaymentFull_Target>
    Output File is coming only with lineitem values , remaining fields are not coming.
    *1,2,3*
    FCC Used...
    RecordSet Structure -- Header
    Header.fieldNames -
    LineItem,SaleNumber,TransNumber,Store,variant,TransType,Adjustm_Type
    Header.fieldSeparator-----   ,
    Header.endSeparator-----    'nl'
    Did I miss anything.. any idea whats going wrong?
    Thanks
    Deepthi

    Hi Deepthi,
    Mention the occurrence of header in Recordset
    You specify like this:
    Recordset: Header, *
    Header.fieldSeparator : u2018Field Separatoru2019
    -->For FCC on Receiver side you donu2019t have to mention the field names.
    -->The u2018endSeparatoru2019 parameter needs to given for substructure only
    Check this links:
    http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
    /people/shabarish.vijayakumar/blog/2007/08/03/file-adapter-receiver--are-we-really-sure-about-the-concepts
    /people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
    Rgds,
    Akhila

  • File XML Content Conversion: Problem with special characters

    Hello,
    in a file sender cc content conversion is used to transform a flat structure to XML. What we experiencecd is that the message mapping failed due to a character that was not allowed in XML:
    I was assuming that the file content conversion just creates XML messages with allowed characters. Is there any way to configure content conversion to remove control characters which are not allowed in XML? Unfortunately the sender system cannot be modified.
    Thank you.

    Hi Florian,
      Please use this UDF to remove special characters which prevent XML messages to form properly.
    public static String removeSpecialChar(String s)
              try
                   s=s.replaceAll("&","& amp ;");
                   s=s.replaceAll("<"  , "  & lt ;");
                   s=s.replaceAll(">", "& gt ;");
                   s=s.replaceAll("'", "& apos ;");
                   s=s.replaceAll("\"", "& quot ;");
              catch(Exception e)
                   e.printStackTrace();
              return s;
    Please remove spaces between characters within double quotes. I have added them because otherwise you can't see this code properly. Please check this below link , please replace the characters with proper values as the display is causing a problem here   
    http://support.microsoft.com/kb/316063
    regards
    Anupam
    Edited by: anupamsap on Jul 7, 2011 4:22 PM
    Edited by: anupamsap on Jul 7, 2011 4:23 PM

  • File adaptor Content conversion problem

    Hi all,
    I have a client proxy > pi> CSV file scenario which im working on currently - everything is fine apart from 1 really annoying thing.
    The problem is this that when data is extracted from SAP it should put in 6 fields within the file produced e.g:
    field1,field2,field3,field4,field5,field6
    Which is fine however if one of the fields is blank there should still be the blank space which should appear instead of what it is curently doing which is ignoring the blank and shifting everything else left by 1 so:
    if out of 6 fields only 5 come out currently its doing this:
    field1,field2,field4,field5,field6      (Notice field3 is missing and there is no blank space in its place)
    What it should be doing is this:
    field1,field2,,field4,field5,field6       (Notice the blank space)
    I have gone through all the content conversion parameters I know for receiver file adaptors none have worked so if you know any which will do this please let me know!!
    Also if you know of other ways your ideas will be greatly appreciated.
    Many thanks in advance
    Edited by: Saqib Karim on Mar 5, 2009 5:45 PM

    >
    Saqib Karim wrote:
    > Hi Chirag,
    >
    > Does this mean that there is nothing in the file adaptor to cater for this and the only way is through mapping?
    >
    > I was hoping for an easier more straight forward solution along the lines of content conversion since this means that it has to apply to ALL FIELDS in the mapping!!??
    >
    > Thanks
    you solution is to alter the mapping in a simple way.
    If you are using graphical mapping then use this logic;
    Source field -> if EXISTS -> Target
                          else -> Pass an empty constant -> Target
    This will make sure an empty tag is created a the target and FCC will work fine.

  • Exchange 2010 Content Conversion problem

    Hi All
    Since a bunch of month, i've started to see some email stuck in the submission queue with this message:
    400 4.4.7 The server responded with: 550 5.6.0 M2MCVT.StorageError; storage error in content conversion. The failure was replaced by a retry response because the message was marked for retry if rejected
    It's always journaled emails that are stuck. Each time, i've extracted the message and opened it and each time it has a file called not supported calendar message.ics.
    I've opened this file with notepad and it's always something similar (UID changes):
    BEGIN:VCALENDAR
    METHOD:REPLY
    PRODID:AndroidEmail
    VERSION:2.0
    BEGIN:VEVENT
    UID:040000008200E00074C5B7101A82E0080000000020853DC44A70CE01000000000000
        0000100000008B5FA1A2DFA64D479B8043D0D5B03280
    DTSTAMP:20130624T014653Z
    DTSTART:20130624T040000Z
    DTEND:20130624T043000Z
    SUMMARY:
    DESCRIPTION:When: Jun 24\, 2013 12:00:00 AM\n--\n
    ORGANIZER;CN="First Last":MAILTO:[email protected]
    CLASS:PUBLIC
    STATUS:CONFIRMED
    TRANSP:OPAQUE
    PRIORITY:5
    SEQUENCE:0
    END:VEVENT
    END:VCALENDAR
    Anyone has a similar problem?
    Thanks!

    When it comes to this issue, I would suggest the following:
    Verify that you have the latest build of Exchange, Outlook, and mobile device OS/Application
    Seems to be multiple SP/update levels with 2010 SP2 UR 5 & higher
    Verify that the messages are not from external users which might be sent thru an antispam firewall -OR- have a disclaimer stamped (which can cause corruption in some instances)
    These are journal reports and they all originate internally (database reports versus hub).  Messages are sent through my external "Virus Firewall" (Trend Micro IMSVA) and then are delivered to my external, hosted mail archive. 
    Check the message for anything unique or unusual (ex: date, timezone, attachments, addresses, message-headers, language, etc)
    The journal reports are sent from the address "[email protected]".  This domain has its own send connector.  The only messages that get hung-up are journal reports of Calendar items and the various acctions (accepted, tenative, etc).
    Save the message and try to replay it in a test environment that does not have journaling enabled.  Does the message replay if journaling is disabled vs when it is enabled?
    Hopefully this will help narrow down the issue
    The messages themselves are fine and are delivered without issue.  The
    journal reports that are having the problem, so I don't think there is a need to try this step. 
    That all said, do you have any thoughts?
    Thanks.

  • File Content Conversion Problem

    Hi
    I have a flat file having 10 fileds with fixed length of field 7 characters
    abc  bcd  dce  cef  ecf  fgi
    123  234  343  233 434 343
    322  222  222  222 222 222
    +++++++++++++++++++++++++++++++
    XML CODE FOLLOWS
    +++++++++++++++++++++++++++++++
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ns0:MT_send xmlns:ns0="http://OTO-Continue.com">
      -<SEND>
       <abc>343</abc>
       <bcd>343</bcd>
       <dce>434</dce>
       <cef>3434</cef>
       <ecf>343</ecf>
       <fgi>434</fgi>
      </SEND>
      </ns0:MT_send
    As per the client req I'm going with FCC. The file is picking fine with the FILE. But not picking with the FCC.
    The parameters which I gave are as follows.
    SOURCE I feel it is fine since file is picking fine and keeping the same for FCC also.
    PROCESSING
    QOS -- Exactly Once
    Poll Interval -- 10
    Processing Mode -- Delete
    Empty-File Handling -- Process empty files
    CONTENT CONVERSION Parameters
    Document Name -- (am giving sender data type name) DT_send
    Document NSpace -- http://OTO-Continue.com
    Recordset Name -- SEND
    Recordset Structure -- SEND,*
    Recordset Sequence -- Ascending
    Recordset per Message -- 0
    And in the table the parameters am settings are
    SEND.fieldNames                 abc,bcd,cde,def,efg,ghk
    SEND.fieldFixedLengths      7,7,7,7,7,7       (because each and every field has 7 characters)
    SEND.keepIncompleteFields       No
    SEND.fieldFixedLengthType      char
    SEND.fieldContentFormatting     trim
    SEND.fieldEndSeparator            'nl'
    This was the configuration. But this is not working I monitored the Communication Channel and file is not reading and not getting deleting.
    What actually went wrong in above configuration. Why it is not working.
    Thanks.

    Hi Swarna,
    CONTENT CONVERSION Parameters
    Document Name -- ?
    DocumentNSpace -- ?
    Recordset Name -- ?
    Recordset Structure -- ?
    Recordset Sequence -- Ascending
    Recordset per Message -- ?
    Document Name - <Message Type> eg:- (MT_ABC)
    DocumentNSpace - Name space of your MT
    Recordset Name - The root node( Which has one occurence)
    Recordset Structure - The parent node of the fields(can have multiple occurences)
    Recordset Sequence -- Ascending
    Recordset per Message -- 1/* (No.of records per each record set)
    In your structure
    +++++++++++++++++++++++++++++++
    XML CODE FOLLOWS
    +++++++++++++++++++++++++++++++
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ns0:MT_send xmlns:ns0="http://OTO-Continue.com">
    -<SEND>
    <abc>343</abc>
    <bcd>343</bcd>
    <dce>434</dce>
    <cef>3434</cef>
    <ecf>343</ecf>
    <fgi>434</fgi>
    </SEND>
    </ns0:MT_send
    There is no root node,  so in your FCC you need to mention your RecordsetName and you can ignoreRecordSetName in result structure. Check the following blog simulates your requirement.
    /people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file
    Regards,
    Prasanna

  • Recevier File Content Conversion Problem

    HI,
    i am using File COntent Conversion on Recevier Side for getting output in .txt file.
    My Input File:
    0112345010101
    021111112222
    03100001111112222
    03100011111212223
    041000011111
    021231116722
    03100781119012332
    041005611001
    059453287699
    My Fields are: "header,hbatch,body,tbatch,trailer"
    RecordStrucure: header,hbatch,body,tbatch,trailer
    I used fiexefiledlenghts and seperator and end seprator. But its not working.
    Please guide me to generate the txt file in the output.
    Regards,
    Giridhar.C

    Thanks you all for your quick responses.
    I have used Sender FCC and created the following XML Format on the Receiver Side.
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:MT_INPUT xmlns:ns0 = "http://sealchennai.com/FCC2">
        <header>
            <key1>01</key1>
            <name>12345</name>
            <date>01010</date>
        </header>
        <hbatch>
            <key2>02</key2>
            <hvalue1>11111</hvalue1>
            <hvalue2>12222</hvalue2>
        </hbatch>
        <hbatch>
            <key2>02</key2>
            <hvalue1>12311</hvalue1>
            <hvalue2>16722</hvalue2>
        </hbatch>
        <body>
            <key3>03</key3>
            <bvalue1>10000</bvalue1>
            <bvalue2>11111</bvalue2>
            <bvalue3>12222</bvalue3>
        </body>
        <body>
            <key3>03</key3>
            <bvalue1>10001</bvalue1>
            <bvalue2>11112</bvalue2>
            <bvalue3>12223</bvalue3>
        </body>
        <body>
            <key3>03</key3>
            <bvalue1>10078</bvalue1>
            <bvalue2>11190</bvalue2>
            <bvalue3>12332</bvalue3>
        </body>
        <tbatch>
            <key4>04</key4>
            <tvalue1>10000</tvalue1>
            <tvalue2>11111</tvalue2>
        </tbatch>
        <tbatch>
            <key4>04</key4>
            <tvalue1>10056</tvalue1>
            <tvalue2>11001</tvalue2>
        </tbatch>
        <trailer>
            <key5>05</key5>
            <value1>94532</value1>
            <value2>87699</value2>
        </trailer>
    </ns0:MT_INPUT>
    But i need the Output in the follwont text format on Receiver Side.
    01,12345,010101
    02,11111,12222
    03,10000,11111,12222
    03,10001,11112,12223
    04,10000,11111
    02,12311,16722
    03,10078,11190,12332
    04,10056,11001
    05,94532,87699
    Please do the needful help to create the fiel in the text format.
    Regards,
    Giridhar.C

  • Reciever File Content conversion problem

    Hi,
    i am converting idoc into txt file
    in sxmb_moni,the payload of target xml is,
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:HRPayroll_014_MT xmlns:ns0="http://XXXX.com/xi/:XXX">
    <Infotype014>
         <infotype>001400</infotype>
         <zfty>400</zfty>
         <zicnum>111111</zicnum>
         <begda>20070428</begda>
         <lgart>4000</lgart>
         <betrg>0.00</betrg>
         <anzhl>99.00</anzhl>
    </Infotype014>
    </ns0:HRPayroll_014_MT>
    in File adapter i did like this-
    Infotype014.fileldNames       infotype,zfty,zicnum,begda,lgart,betrg,anzhl
    Infotype014.fieldFixedlenghts       6,3,7,8,4,13,12
    Infotype014.processConfiguration       FromConfiguration
    Infotype014.endSeparator       'nl'
    and in RunTime Workbench
    i am getting like this
    <b>Conversion initialization failed: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found:
    Parameter 'Infotye014.fieldFixedLengths' or 'Infotye014.fieldSeparator' is missing</b>.
    Channel has not been correctly initialized and cannot process messages
    please guide me ..how to declare in field Content conversion Prameters.
    i dont require column names.fields are fixed lenghts.
    regards
    Jagan

    Hi amitanshu,
    Thanks for your response..
    i given only  fieldFixedLenghts
    the auditlog is
    Time Stamp Status Description
    2007-05-10 15:15:58 Success Message successfully received by messaging system. Profile: XI URL: http://saps020:50100/MessagingSystem/receive/AFW/XI Credential (User): PIISUSER
    2007-05-10 15:15:58 Success Using connection File_http://sap.com/xi/XI/System. Trying to put the message into the receive queue.
    2007-05-10 15:15:58 Success Message successfully put into the queue.
    2007-05-10 15:15:58 Success The message was successfully retrieved from the receive queue.
    2007-05-10 15:15:58 Success The message status set to DLNG.
    2007-05-10 15:15:58 Success Delivering to channel: FILE_HRP_RECEIVER_HR_PAYROLL014_CC
    2007-05-10 15:15:58 Success MP: entering
    2007-05-10 15:15:58 Success MP: processing local module localejbs/CallSapAdapter
    2007-05-10 15:15:58 Success File adapter receiver: processing started; QoS required: ExactlyOnce
    2007-05-10 15:15:58 Error MP: exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: Channel has not been correctly initialized and cannot process messages
    Time Stamp Status Description
    2007-05-10 15:15:58 Error Exception caught by adapter framework: Channel has not been correctly initialized and cannot process messages
    2007-05-10 15:15:58 Error File adapter receiver channel FILE_HRP_RECEIVER_HR_PAYROLL014_CC is not initialized. Unable to proceed: null
    2007-05-10 15:15:58 Success Acknowledgement sent successfully for type: SystemErrorAck
    2007-05-10 15:15:58 Success Acknowledgement creation triggered for type: SystemErrorAck
    2007-05-10 15:15:58 Error Delivery of the message to the application using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Channel has not been correctly initialized and cannot process messages.
    2007-05-10 15:15:58 Success The asynchronous message was successfully scheduled to be delivered at Thu May 10 15:20:58 EEST 2007.
    2007-05-10 15:15:58 Success The message status set to WAIT.
    my adaper is in Active status only
    please guide me
    regards
    Jagan

  • IDOC to File - File Content Conversion Problem

    Hi,
    The scenario is IDOC to File. I am using file content conversion for my receiver adapter.  The receiver adapter parks the file in the receiver system but the file has no data.  In SXMB_MONI on checking the payload at every step, the data is transformed successfully.  I am able to see the data at the receiver payload but the file in the receiver system has got no data.
    I have used all possible parameters in the receiver adapter:-
    Recordset.fieldFixedLengths   1,1,1
    Recordset.endSeparator        'nl'
    Recordset.fieldNames          rec_type,action,del_in
    Recordset.fixedFieldType      char
    Kindly advice if some more parameters need to be added.
    Thanks in advance.
    Krishna

    Hi,
    if you're using stnadard SAP idoc
    you can try using the same approach as specified
    in this doc (but with module IDOC to XML insdead of XML to IDOC)
    https://websmp203.sap-ag.de/~sapdownload/011000358700001795162005E/HowToIDocXMLToFlat.pdf
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • Sender File Adapter content conversion problem

    Hi all,
    is it possible to do content conversion like this:
    Key;Field1;Field2;Field3
    PO00H;0482000000;20061102;PL61
    PO01I;00010;0A720;Material 1;100.000
    PO02D;20061102;100.000;
    PO00H;0482000001;20061102;PL63
    PO01I;00010;0A730;Material 2;40.000
    PO02D;20061102;40.000;
    PO01I;00010;0A740;Material 3;140.000
    PO02D;20061102;30.000;
    PO02D;20061103;110.000;
    convert to
    <?xml version="1.0" encoding="utf-8" ?>
    <MT_PO>
        <DT_PO>
            <DocumentHeader>
                <PONumber>0482000000</PONumber>
                <PODate>20061102</PODate>
                <CompanyCode>PL61</CompanyCode>
            </DocumentHeader>
            <Item>
                <ItemHeader>
                    <ItemNumber>00010</ItemNumber>
                    <MaterialCode>0A720</MaterialCode>
                    <MaterialDescription>Material 1</MaterialDescription>
                    <Quantity>100.000</Quantity>
                </ItemHeader>
                <ItemDetail>
                    <DeliveryDate>20061102</DeliveryDate>
                    <Quantity>100.000</Quantity>
                </ItemDetail>
            </Item>
        </DT_PO>
        <DT_PO>
            <DocumentHeader>
                <PONumber>0482000001</PONumber>
                <PODate>20061102</PODate>
                <CompanyCode>PL63</CompanyCode>
            </DocumentHeader>
            <Item>
                <ItemHeader>
                    <ItemNumber>00010</ItemNumber>
                    <MaterialCode>0A730</MaterialCode>
                    <MaterialDescription>Material 2</MaterialDescription>
                    <Quantity>40.000</Quantity>
                </ItemHeader>
                <ItemDetail>
                    <DeliveryDate>20061102</DeliveryDate>
                    <Quantity>40.000</Quantity>
                </ItemDetail>
            </Item>
            <Item>
                <ItemHeader>
                    <ItemNumber>00010</ItemNumber>
                    <MaterialCode>0A740</MaterialCode>
                    <MaterialDescription>Material 3</MaterialDescription>
                    <Quantity>140.000</Quantity>
                </ItemHeader>
                <ItemDetail>
                    <DeliveryDate>20061102</DeliveryDate>
                    <Quantity>30.000</Quantity>
                </ItemDetail>
                <ItemDetail>
                    <DeliveryDate>20061103</DeliveryDate>
                    <Quantity>110.000</Quantity>
                </ItemDetail>
            </Item>
        </DT_PO>
    </MT_PO>

    Ivan,
    I fear this is not possible.
    You can have
    <?xml version="1.0" encoding="utf-8" ?>
    <MT_PO>
    <DocumentHeader>
                <PONumber>0482000000</PONumber>
                <PODate>20061102</PODate>
                <CompanyCode>PL61</CompanyCode>
    </DocumentHeader>
    <ItemHeader>
                    <ItemNumber>00010</ItemNumber>
                    <MaterialCode>0A720</MaterialCode>
                    <MaterialDescription>Material 1</MaterialDescription>
                    <Quantity>100.000</Quantity>
    </ItemHeader>
    <ItemDetail>
                    <DeliveryDate>20061102</DeliveryDate>
                    <Quantity>100.000</Quantity>
    </ItemDetail>
    </MT_PO>
    Multiple <Item header> and multiple <Item details>
    Do the content conversion like this and then in mapping, convert it to any structure you need.
    Regards,
    JaiShankar

  • Sender file content conversion problem

    hi  Masters,
    I have sender side structure like this...below..
    emp_row                          unbounded.
       empid
       name
       city
       country.
    actually i had given few id with names and other details which i stored in txt file .
    like
      001, ram, newyork, usa.
      002 ,john,london,uk.
      003, smit,tokyo,japan.
    but if i see in reciever side then i wil get xml file where only 001,ram,newyork,usa. is mentioned ... and remaining records are not there..
    wht is the fault and how to rectify tht fault please help me ..
    Thanks in Advance ,
    jp.

    recordset structure -- emp_row
    emp_row.fieldSeparator  - ','
    emp_row.endSeparator - 'nl'
    if you have "." at the end of each record in your file then remove it and change it to new line -- "nl" -- by hitting the enter key on your keyborad at the end of each record Or if you want to use "." only then replace 'nl' in the above endSeparator  parameter list with '.'
    PS: Share u r current content conversion parameter settings also
    Cheer's

  • Sender content conversion problem

    Hi all,
    I am working on a file>XIrfc scenario.
    I need to convert the simple structure flat file to xml file.
    Flat file format
    74723123-45-678902100977      00000000001130200800000      M                  N
    i have done below configuration,
    DT_BNI1012.fieldFixedLengths : 5,11,2,12,5,5,8,5,5,1,1,1,1,1,14,1,1
    DT_BNI1012.endSeparator : 'nl'
    DT_BNI1012.fieldNames : bplan,ssn,rec_id,pernr,eepct,bcpct,begda,apbp,sup_per,e_ind,p_frq,md_flag,cgdp,nqdc,filler1,hc_ind,filler2
    Everything is working file & i am able to see the xml file in CC monitoring(RWB).
    But, final file is getting truncated at recordset.
    Any idea, what am i missing...... ?????

    Below is my payload , after content conversion,
    <?xml version="1.0" encoding="utf-8" ?>
    - <ns:MT_BNI1012 xmlns:ns="http://*******.com/******">
    - <Record>
    - <DT_BNI1012>
      <bplan>74723</bplan>
      <ssn>123-45-6789</ssn>
      <rec_id>02</rec_id>
      <pernr />
      <eepct />
      <bcpct />
      <begda />
      <apbp />
      <sup_per />
      <e_ind />
      <p_frq />
      <md_flag />
      <cgdp />
      <nqdc />
      <filler1 />
      <hc_ind />
      <filler2>N</filler2>
      </DT_BNI1012>
    - <DT_BNI1012>
      <bplan>74723</bplan>
      <ssn>123-45-6789</ssn>
      <rec_id>02</rec_id>
      <pernr>102727</pernr>
      <eepct>00000</eepct>
      <bcpct>00000</bcpct>
      <begda>11302008</begda>
      <apbp>00000</apbp>
      <sup_per />
      <e_ind />
      <p_frq>B</p_frq>
      <md_flag />
      <cgdp />
      <nqdc />
      <filler1 />
      <hc_ind />
      <filler2>N</filler2>
      </DT_BNI1012>
    - <DT_BNI1012>
      <bplan>74723</bplan>
      <ssn>123-45-6789</ssn>
      <rec_id>02</rec_id>
      <pernr />
      <eepct />
      <bcpct />
      <begda />
      <apbp />
      <sup_per />
      <e_ind />
      <p_frq />
      <md_flag />
      <cgdp />
      <nqdc />
      <filler1 />
      <hc_ind />
      <filler2 />
      </DT_BNI1012>
    - <DT_BNI1012>
      <bplan>74723</bplan>
      <ssn>123-45-6789</ssn>
      <rec_id>02</rec_id>
      <pernr>103571</pernr>
      <eepct>00000</eepct>
      <bcpct>00000</bcpct>
      <begda>11302008</begda>
      <apbp>00000</apbp>
      <sup_per />
      <e_ind />
      <p_frq>M</p_frq>
      <md_flag />
      <cgdp />
      <nqdc />
      <filler1 />
      <hc_ind />
      <filler2 />
      </DT_BNI1012>
    - <DT_BNI1012>
      <bplan>74723</bplan>
      <ssn>123-45-6789</ssn>
      <rec_id>02</rec_id>
      <pernr />
      <eepct />
      <bcpct />
      <begda />
      <apbp />
      <sup_per />
      <e_ind />
      <p_frq />
      <md_flag />
      <cgdp />
      <nqdc />
      <filler1 />
      <hc_ind />
      <filler2 />
      </DT_BNI1012>
    - <DT_BNI1012>
      <bplan>74723</bplan>
      <ssn>123-45-6789</ssn>
      <rec_id>02</rec_id>
      <pernr>129930</pernr>
      <eepct>00000</eepct>
      <bcpct>00000</bcpct>
      <begda>11302008</begda>
      <apbp>00000</apbp>
      <sup_per />
      <e_ind />
      <p_frq>M</p_frq>
      <md_flag />
      <cgdp />
      <nqdc />
      <filler1 />
      <hc_ind />
      <filler2 />
      </DT_BNI1012>
    - <DT_BNI1012>
      <bplan>74723</bplan>
      <ssn>123-45-6789</ssn>
      <rec_id>02</rec_id>
      <pernr />
      <eepct />
      <bcpct />
      <begda />
      <apbp />
      <sup_per />
      <e_ind />
      <p_frq />
      <md_flag />
      <cgdp />
      <nqdc />
      <filler1 />
      <hc_ind />
      <filler2 />
      </DT_BNI1012>
    - <DT_BNI1012>
      <bplan>74723</bplan>
      <ssn>123-45-6789</ssn>
      <rec_id>02</rec_id>
      <pernr>103613</pernr>
      <eepct>00000</eepct>
      <bcpct>10000</bcpct>
      <begda>11302008</begda>
      <apbp>00000</apbp>
      <sup_per />
      <e_ind />
      <p_frq>B</p_frq>
      <md_flag />
      <cgdp />
      <nqdc />
      <filler1 />
      <hc_ind />
      <filler2 />
      </DT_BNI1012>
    - <DT_BNI1012>
      <bplan>74723</bplan>
      <ssn>123-45-6789</ssn>
      <rec_id>02</rec_id>
      <pernr />
      <eepct />
      <bcpct />
      <begda />
      <apbp />
      <sup_per />
      <e_ind />
      <p_frq />
      <md_flag />
      <cgdp />
      <nqdc />
      <filler1 />
      <hc_ind />
      <filler2>N</filler2>
      </DT_BNI1012>
    - <DT_BNI1012>
      <bplan>74723</bplan>
      <ssn>123-45-6789</ssn>
      <rec_id>02</rec_id>
      <pernr>100977</pernr>
      <eepct>00000</eepct>
      <bcpct>00000</bcpct>
      <begda>11302008</begda>
      <apbp>00000</apbp>
      <sup_per />
      <e_ind />
      <p_frq>M</p_frq>
      <md_flag />
      <cgdp />
      <nqdc />
      <filler1 />
      <hc_ind />
      <filler2>N</filler2>
      </DT_BNI1012>
    - <DT_BNI1012>
      <bplan>74723</bplan>
      <ssn>TT112040800</ssn>
      <rec_id>06</rec_id>
      <pernr>000060000000</pernr>
      <eepct>00000</eepct>
      <bcpct>00000</bcpct>
      <begda>00</begda>
      <apbp />
      <sup_per />
      <e_ind />
      <p_frq />
      <md_flag />
      <cgdp />
      <nqdc />
      <filler1 />
      <hc_ind />
      <filler2 />
      </DT_BNI1012>
      </Record>
      </ns:MT_BNI1012>
    But, i am receiving output file as ,
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ns0:MT_BNI1012 xmlns:ns0="http://*******.com/******">
      <Record />
      </ns0:MT_BNI1012>
    Dunno.....wat is going wrong........
    Edited by: san485 on Nov 4, 2010 9:38 PM
    Edited by: san485 on Nov 4, 2010 9:39 PM

Maybe you are looking for

  • Reading a csv file with a large number of columns

    Hello I have been attempting to read data from large csv files with 38 columns by reading a line using readline and scanning the linebuffer using scan. The file size can be up to 100 MB. Scan does not seem support the large number of fields. Any sugg

  • How do I access Camera Raw editing program

    The Photoshop and Bridge tutorials show Camera Raw editing program...how do I access this program...Thanks.

  • Duplicate albums

    iTunes downloaded different tracks from the same album onto two different iTunes albums; I can't find a way to merge the two iTunes albums into one. I don't understand why it created two albums. Any suggestions?

  • Histograms issue During DB Upgrade.

    Hi, We are currently migrated our database to Oracle 11g i.e 11.2.0.3 (from 10.2.0.3). Now we are facing application slowness on 11g, we found the issue is with missing histogram or some unnecessary histograms in place. Given below are my details.If

  • My computer "does not support" lightroom. In other words it won't download

    Bought lightroom last night and came home to download it. It gave me an error that my computer can not support the download. What in the world do i do...